Repository navigation
feat: add analyst ops role pack #2552
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| 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 |
| 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 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -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 | ||
|
|
||
|
|
@@ -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 | ||
|
|
@@ -1436,7 +1436,7 @@ installed cache can resolve the manifest's skills, MCP config, and assets. | |
| |-----------|-------|---------| | ||
| | 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 | | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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
doneRepository: 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'
doneRepository: 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.
📍 Affects 2 files
🤖 Prompt for AI Agents |
||
| | 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 | | ||
|
|
@@ -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 | | ||
|
|
@@ -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** | | ||
|
|
@@ -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 | | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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, andmle-workflow— are missing from the table. A reader who trusts the table as the canonical list would not know those five skills are available.