Skip to content
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
164 changes: 164 additions & 0 deletions .agents/skills/analyst-ops/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,164 @@
---
name: analyst-ops
description: Evidence-first analyst operations workflow for metric definitions, source-backed numbers, decision readouts, and chart integrity.
metadata:
origin: ECC
---

# Analyst Ops

Use this when the user is preparing, reviewing, or pressure-testing an analytical readout for business, product, finance, operations, people, or go-to-market decisions.

This is not a generic reporting template. The purpose is to keep analytical work traceable: no number ships unless the source, definition, denominator, grain, and time window are clear.

## Skill Stack

Pull these ECC-native skills into the workflow when relevant:

- `research-ops` when external facts, public datasets, or current market evidence matter
- `market-research` when the analysis supports a market, competitor, investor, or category decision
- `verification-loop` when the readout must pass an explicit evidence and consistency check
- `dashboard-builder` when the output becomes a reusable dashboard or metric surface
- `data-scraper-agent` when source collection needs repeatable extraction from pages or files
- `knowledge-ops` when definitions or decisions should be captured for future reuse

## When to Use

- user asks for a business, product, ops, HR, procurement, or sales analysis
- user has a report, chart, dashboard, spreadsheet, or executive readout to verify
- the answer includes metrics, percentages, rates, rankings, forecasts, segments, or benchmarks
- the task requires turning messy evidence into a recommendation

## Guardrails

- do not present a number without a named source
- define each metric before interpreting it
- state denominator, grain, time window, and snapshot timestamp when available
- separate fact, inference, assumption, and recommendation
- do not imply causation from correlation without a defensible causal design
- do not blend cohorts, currencies, regions, or time windows without labeling the blend
- do not hide missing data, exclusions, filters, or sample-size limits
- do not use charts that distort scale, baseline, or uncertainty

## Workflow

### 1. Pin the decision

Start by naming what the analysis is meant to change:

- decision owner
- decision date or cadence
- options being compared
- cost of being wrong
- required confidence level

If the user only asks for "analysis", infer the likely decision and label it as an assumption.

### 2. Build the metric contract

For every important metric, capture:

- name
- definition
- numerator
- denominator
- grain
- time window
- source
- freshness or snapshot timestamp
- known exclusions

If any field is missing, mark the metric as provisional before using it in a recommendation.

### 3. Classify the evidence

Separate the readout into:

- sourced facts
- calculated facts
- assumptions
- inferences
- recommendations

Do not let a recommendation inherit the certainty of the facts underneath it.

### 4. Check comparisons and segments

Before comparing two numbers, verify:

- same metric definition
- same denominator
- same grain
- same time window
- same currency or unit
- comparable cohorts or segments

If they are not comparable, explain the mismatch instead of forcing the comparison.

### 5. Review chart integrity

For every chart or table, check:

- axis baseline and scale
- sort order
- labels and units
- sample size or row count
- treatment of missing values
- whether uncertainty or volatility should be shown
- whether the visual claim matches the underlying data

### 6. End with decision-grade output

Deliver a readout that makes the next action clearer:

- answer
- evidence
- caveats
- confidence
- recommended next step
- one follow-up analysis that would most reduce uncertainty

## Output Format

```text
DECISION
- owner / decision / date

METRIC CONTRACT
- metric
- definition
- source
- denominator / grain / time window
- freshness

FINDINGS
- fact
- inference
- caveat

RECOMMENDATION
- action
- confidence
- risk if wrong

FOLLOW-UP
- highest-value missing evidence
```

## Pitfalls

- treating dashboard labels as definitions
- using percentages without denominators
- comparing a weekly rate to a monthly count
- using trailing averages without saying the window
- presenting a filtered segment as the whole population
- ignoring survivorship bias, seasonality, or channel mix
- making a chart persuasive before making it truthful

## Verification

- every important number has a named source
- every key metric has a definition and denominator
- facts, assumptions, inferences, and recommendations are separated
- comparisons use compatible grain, time window, and population
- chart claims match their axes, labels, and underlying data
7 changes: 7 additions & 0 deletions .agents/skills/analyst-ops/agents/openai.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
interface:
display_name: "Analyst Ops"
short_description: "Source-backed analyst readouts"
brand_color: "#0F766E"
default_prompt: "Use $analyst-ops to produce or review source-backed analyst readouts."
policy:
allow_implicit_invocation: true
2 changes: 1 addition & 1 deletion .claude-plugin/marketplace.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
{
"name": "ecc",
"source": "./",
"description": "Harness-native ECC operator layer - 67 agents, 278 skills, 94 legacy command shims, reusable hooks, rules, selective install profiles, and production-ready workflows for Claude Code, Codex, OpenCode, Cursor, and related agent harnesses",
"description": "Harness-native ECC operator layer - 68 agents, 279 skills, 94 legacy command shims, reusable hooks, rules, selective install profiles, and production-ready workflows for Claude Code, Codex, OpenCode, Cursor, and related agent harnesses",
"version": "2.0.0",
"author": {
"name": "Affaan Mustafa",
Expand Down
2 changes: 1 addition & 1 deletion .claude-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "ecc",
"version": "2.0.0",
"description": "Harness-native ECC plugin for engineering teams - 67 agents, 278 skills, 94 legacy command shims, reusable hooks, rules, MCP conventions, and operator workflows for Claude Code plus adjacent agent harnesses",
"description": "Harness-native ECC plugin for engineering teams - 68 agents, 279 skills, 94 legacy command shims, reusable hooks, rules, MCP conventions, and operator workflows for Claude Code plus adjacent agent harnesses",
"author": {
"name": "Affaan Mustafa",
"url": "https://x.com/affaanmustafa"
Expand Down
7 changes: 4 additions & 3 deletions AGENTS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Everything Claude Code (ECC) — Agent Instructions

This is a **production-ready AI coding plugin** providing 67 specialized agents, 278 skills, 94 commands, and automated hook workflows for software development.
This is a **production-ready AI coding plugin** providing 68 specialized agents, 279 skills, 94 commands, and automated hook workflows for software development.

**Version:** 2.0.0

Expand All @@ -16,6 +16,7 @@ This is a **production-ready AI coding plugin** providing 67 specialized agents,

| Agent | Purpose | When to Use |
|-------|---------|-------------|
| analyst-reviewer | Analyst readout review | Metrics, charts, sourced numbers, and decision readouts |
| planner | Implementation planning | Complex features, refactoring |
| architect | System design and scalability | Architectural decisions |
| tdd-guide | Test-driven development | New features, bug fixes |
Expand Down Expand Up @@ -151,8 +152,8 @@ Troubleshoot failures: check test isolation → verify mocks → fix implementat
## Project Structure

```
agents/ — 67 specialized subagents
skills/ — 278 workflow skills and domain knowledge
agents/ — 68 specialized subagents
skills/ — 279 workflow skills and domain knowledge
commands/ — 94 slash commands
hooks/ — Trigger-based automations
rules/ — Always-follow guidelines (common + per-language)
Expand Down
15 changes: 8 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ If you stacked methods, clean up in this order:
/plugin list ecc@ecc
```

**That's it!** You now have access to 67 agents, 278 skills, and 94 legacy command shims.
**That's it!** You now have access to 68 agents, 279 skills, and 94 legacy command shims.

### Dashboard GUI

Expand Down Expand Up @@ -583,7 +583,7 @@ ECC/
| |-- plugin.json # Plugin metadata and component paths
| |-- marketplace.json # Marketplace catalog for /plugin marketplace add
|
|-- agents/ # 67 specialized subagents for delegation
|-- agents/ # 68 specialized subagents for delegation
| |-- planner.md # Feature implementation planning
| |-- architect.md # System design decisions
| |-- tdd-guide.md # Test-driven development
Expand Down Expand Up @@ -1436,7 +1436,7 @@ installed cache can resolve the manifest's skills, MCP config, and assets.
|-----------|-------|---------|

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Codex skill table count lags the reported total

The configuration row now correctly reports 39 Codex skills (matching the 39 directories in .agents/skills/ after this PR), but the listing table below it documents only 34 entries. Five directories present in .agents/skills/ since before this PR — benchmark-methodology, brand-discovery, competitive-platform-analysis, competitive-report-structure, and mle-workflow — are missing from the table. A reader who trusts the table as the canonical list would not know those five skills are available.

| Config | 1 | `.codex/config.toml` — top-level approvals/sandbox/web_search, MCP servers, notifications, profiles |
| AGENTS.md | 2 | Root (universal) + `.codex/AGENTS.md` (Codex-specific supplement) |
| Skills | 32 | `.agents/skills/` — SKILL.md + agents/openai.yaml per skill |
| Skills | 39 | `.agents/skills/` — SKILL.md + agents/openai.yaml per skill |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "== repo files =="
git ls-files | rg '(^|/)README\.md$|(^|/)README_zh-CN\.md$|(^|/)README\.md$|docs/zh-CN/README\.md$|\.agents/skills|AGENTS\.md$|openai\.yaml$|SKILL\.md$' | sed -n '1,200p'

echo
echo "== skill directories =="
if [ -d .agents/skills ]; then
  find .agents/skills -maxdepth 1 -type d ! -name .agents/skills | sort | wc -l
  find .agents/skills -maxdepth 1 -type d ! -name .agents/skills -print | sort | sed -n '1,120p'
fi

echo
echo "== README skill count mentions =="
for f README.md docs/zh-CN/README.md; do
  [ -f "$f" ] || continue
  echo "--- $f ---"
  rg -n "Skills|技能|[0-9]+\s*\.\s*|\bSKILL|openai\.yaml|native|原生|AGENTS" "$f" | sed -n '1,220p'
done

echo
echo "== focused line context =="
for f README.md docs/zh-CN/README.md; do
  [ -f "$f" ] || continue
  echo "--- $f lines 1410-1465 / 1025-1065 ---"
  nl -ba "$f" | sed -n '1410,1465p'
  [ "$f" = "docs/zh-CN/README.md" ] || true
  if [ "$f" = "README.md" ]; then
    nl -ba "$f" | sed -n '1685,1715p'
  fi
  if [ "$f" = "docs/zh-CN/README.md" ]; then
    nl -ba "$f" | sed -n '1235,1262p'
  fi
done

Repository: affaan-m/ECC

Length of output: 9722


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "== skill counts =="
python3 - <<'PY'
import pathlib
for root in ["README.md", "docs/zh-CN/README.md"]:
    p=pathlib.Path(root)
    print(f"--- {root} ---")
    if p.exists():
        for line_no, line in enumerate(p.read_text(encoding="utf-8").splitlines(),1):
            if "Skill" in line or "技能" in line or "native" in line or "原生" in line or "39" in line or "34" in line or "33" in line or "10" in line:
                print(f"{line_no}: {line}")
    else:
        print("missing")
print("package dir count:", sum(1 for p in pathlib.Path(".agents/skills").iterdir() if p.is_dir()))
print("SKILL count:", sum(1 for p in pathlib.Path(".agents/skills").rglob("SKILL.md")))
PY

echo
echo "== focused context =="
for f README.md docs/zh-CN/README.md; do
  [ -f "$f" ] || continue
  echo "--- $f skill list context ---"
  nl -ba "$f" | sed -n '660,730p;1020,1075p;1235,1265p'
done

Repository: affaan-m/ECC

Length of output: 11882


Decide whether the Codex skill count is 39 or 40, then apply the same number to all Codex skill mentions.

.agents/skills contains 39 skill directories and 39 SKILL.md files, but the English and Chinese Codex docs state | Skills | 39 | while showing 40 rows in the skill table. Apply that label consistently across README.md and docs/zh-CN/README.md.

📍 Affects 2 files
  • README.md#L1439-L1439 (this comment)
  • README.md#L1707-L1709
  • docs/zh-CN/README.md#L1054-L1054
  • docs/zh-CN/README.md#L1252-L1254
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@README.md` at line 1439, Use one consistent Codex skill count across the
identified documentation: update README.md lines 1439 and 1707-1709, and
docs/zh-CN/README.md lines 1054 and 1252-1254. Choose either 39 or 40 based on
the actual skill directories and table rows, then apply that number to every
corresponding Codex skill mention and table entry.

| MCP Servers | 6 | GitHub, Context7, Exa, Memory, Playwright, Sequential Thinking (7 with Supabase via `--update-mcp` sync) |
| Profiles | 2 | `strict` (read-only sandbox) and `yolo` (full auto-approve) |
| Agent Roles | 3 | `.codex/agents/` — explorer, reviewer, docs-researcher |
Expand All @@ -1451,6 +1451,7 @@ Canonical Anthropic skills such as `claude-api`, `frontend-design`, and `skill-c
|-------|-------------|
| agent-introspection-debugging | Debug agent behavior, routing, and prompt boundaries |
| agent-sort | Sort agent catalogs and assignment surfaces |
| analyst-ops | Source-backed analyst readouts and metric contracts |
| api-design | REST API design patterns |
| article-writing | Long-form writing from notes and voice references |
| backend-patterns | API design, database, caching |
Expand Down Expand Up @@ -1542,9 +1543,9 @@ The configuration is automatically detected from `.opencode/opencode.json`.

| Feature | Claude Code | OpenCode | Status |
|---------|---------------------|----------|--------|
| Agents | PASS: 67 agents | PASS: 12 agents | **Claude Code leads** |
| Agents | PASS: 68 agents | PASS: 12 agents | **Claude Code leads** |
| Commands | PASS: 94 commands | PASS: 35 commands | **Claude Code leads** |
| Skills | PASS: 278 skills | PASS: 37 skills | **Claude Code leads** |
| Skills | PASS: 279 skills | PASS: 37 skills | **Claude Code leads** |
| Hooks | PASS: 8 event types | PASS: 11 events | **OpenCode has more!** |
| Rules | PASS: 29 rules | PASS: 13 instructions | **Claude Code leads** |
| MCP Servers | PASS: 14 servers | PASS: Full | **Full parity** |
Expand Down Expand Up @@ -1703,9 +1704,9 @@ ECC is the **first plugin to maximize every major AI coding tool**. Here's how e

| Feature | Claude Code | Cursor IDE | Codex CLI | OpenCode | GitHub Copilot |
|---------|-----------------------|------------|-----------|----------|----------------|
| **Agents** | 67 | Shared (AGENTS.md) | Shared (AGENTS.md) | 12 | N/A |
| **Agents** | 68 | Shared (AGENTS.md) | Shared (AGENTS.md) | 12 | N/A |
| **Commands** | 94 | Shared | Instruction-based | 35 | 5 prompts |
| **Skills** | 278 | Shared | 10 (native format) | 37 | Via instructions |
| **Skills** | 279 | Shared | 10 (native format) | 37 | Via instructions |
| **Hook Events** | 8 types | 15 types | None yet | 11 types | None |
| **Hook Scripts** | 20+ scripts | 16 scripts (DRY adapter) | N/A | Plugin hooks | N/A |
| **Rules** | 34 (common + lang) | 34 (YAML frontmatter) | Instruction-based | 13 instructions | 1 always-on file |
Expand Down
2 changes: 1 addition & 1 deletion README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ Copy-Item -Recurse rules/typescript "$HOME/.claude/rules/"
/plugin list ecc@ecc
```

**完成!** 你现在可以使用 67 个代理、278 个技能和 94 个命令。
**完成!** 你现在可以使用 68 个代理、279 个技能和 94 个命令。

### multi-* 命令需要额外配置

Expand Down
1 change: 1 addition & 0 deletions agent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ skills:
- agentic-os
- ai-first-engineering
- ai-regression-testing
- analyst-ops
- android-clean-architecture
- api-design
- architecture-decision-records
Expand Down
Loading