ag-agent-strategy-compare
Evaluate 4 execution strategies (sequential, parallel-subagents, workflow, agent-team) for a phase or fan-out task.
Skill by ngxccc
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/ngxccc-ag-agent-strategy-compare
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: productivity, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Node.js package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/ag-agent-strategy-compare
What's inside
- Skill name
ag-agent-strategy-compare- Description
- Evaluate 4 execution strategies (sequential, parallel-subagents, workflow, agent-team) for a phase or fan-out task. Outputs 7-signal score table, agent count math, cost guards, and strategy recommendation.
- License
- MIT
- Instructions
- 293 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (4)
- SKILL.md
- fail.md · scripts/fixtures/validate-strategy-compare-output/
- pass.md · scripts/fixtures/validate-strategy-compare-output/
- validate-strategy-compare-output.mjs · scripts/
SKILL.md (first lines)
# ag-agent-strategy-compare ## When to Apply Use this skill when working with ag-agent-strategy-compare workflows, tasks, or system specifications. ## How to Use Refer to the workflow instructions and command references detailed below. > **Output style:** Follow `process/development-protocols/communication-standards.md` — answer-first, plain language, no unexplained jargon, TL;DR on long responses. Evaluate 4 execution strategies for any RIPER-5 phase or fan-out task. Computes the 7-signal score, shows explicit agent count math, applies cost guards, and outputs a ranked strategy recommendation. All strategies use the existing ag-system agents and skills. The question is only how they are orchestrated. --- ## Model Selection Policy Every spawned agent — across ALL four strategies (sequential, parallel subagents, dynamic workflow, agent team) — defaults to **sonnet**. Spawn opus ONLY when the agent is carrying out real source-code or build execution (writing/editing code, running builds, applying migrations). Planning, research, analysis, validation, review, and synthesis all run on sonnet. Concrete rules: - **Default = sonnet** for any teammate, parallel subagent, or `agent()` call in a workflow. State the model explicitly when spawning. - **opus ONLY for execution work**: the agent that actually implements code (the ag-execute-agent leg, or a workflow `agent()` step whose job is to modify source / run a build). The RIPER-5 phase that runs on opus is EXECUTE; all other phases (RESEARCH, SPEC, INNOVATE, PLAN, VALIDATE, UPDATE PROCESS) run on sonnet. - **Agent-team members**: assign sonnet to reviewers, researchers, validators, and planners; assign opus only to the teammate doing real code execution. - **Dynamic workflows**: pass `model: 'sonnet'` on `agent()` calls by default; pass `model: 'opus'` only on the execution stage that writes code or runs builds. - **Parallel subagents**: fan-out investigation/review subagents are sonnet; only an implementing subagent is opus. Rationale: opus is reserved for the one place judgment-under-execution materially changes code quality. Everything upstream is sonnet-cheap without quality loss, and this keeps fan-outs (which multiply agent count) on the cost-efficient tier. This mirrors the live agent frontmatter: `ag-execute-agent`, `ag-fast-mode-agent`, and `ag-quick-fix-agent` are opus; every other ag-agent is sonnet. --- ## Mode Selection This skill runs in one of two modes. Choose based on context availability and decision stakes. ### Simple Mode (default) Score the 7 signals from information already present in the conversation context. No additional file scanning. Use Simple Mode when: - File count and blast radius are already clear from the current plan or research summary - Test infrastructure status is already mentioned or irrelevant - The strategy decision is not gating a phase program kickoff - No signal is ambiguous given current context Output format: `Signal 3: +1 (estimated 5-10 files)` ### Deep Mode Run targeted codebase scans BEFORE scoring signals, then score each signal with concrete evidence. **Trigger conditions — any one is sufficient:** - Signal 3 (file count / directions) cannot be accurately determined from context alone - Signal 5 (test infra maturity) is unknown — no test files have been mentioned yet - The strategy recommendation will gate a phase program kickoff (high-stakes decision) - Caller explicitly requests deep mode (e.g. "run deep mode", "scan first") **Scans to run before scoring:** Signal 3 scan — count actual touchpoint files: ```bash find . -path '*/active/*' -name '*.md' | head -5 grep -A 30 "Touchpoints" [plan path] | grep -E "^\s*-" ``` Signal 5 scan — assess test infra maturity: ```bash # Check if local test script exists grep -l "test:local" packages/*/package.json apps/*/package.json 2>/dev/null | head -5 # Count test files in blast radius directories find [blast-radius-dirs] -name '*.test.ts' -o -name '*.spec.ts' 2>/dev/null | wc -l # Check validate-contract for tier assignments grep -A 5 "tier:" [plan path] | head -20 ``` Signal 6 scan — find independent phases for parallelization: ```bash grep -A 5 "Phase Ordering\|phase.*depend" [umbrella plan path] | head -20 ``` Signal 7 scan — check prior parallel execution outcomes: ```bash find process/features/[feature]/active/ process/features/[feature]/completed/ -name '*_REPORT_*' 2>/dev/null | grep -i "parallel\|execute" | head -5 ``` After scanning, score each affected signal with concrete evidence: `Signal 3: +1 (14 files confirmed via Touchpoints scan: packages/api/src/router/billing.ts, apps/web/src/components/billing/*, ...)` --- ## When To Invoke Invoke this skill at these five RIPER-5 checkpoints: 1. **RESEARCH** — when 2+ distinct investigation directions are identified before fanning out (Checkpoint 1: Research Fan-Out) 2. **INNOVATE** — after 2-3 approaches are surfaced and before the Decision Summary is locked (Checkpoint 2: Innovate Fan-Out) 3. **PLAN** — when 3+ phase plans will be created (phase program detected; Checkpoint 4: Phase-Program Validation Fan-Out) 4. **VALIDATE** — at V4 (Validate Menu) — always runs as part of the mandatory VALIDATE sequence 5. **UPDATE PROCESS** — when post-execute review involves multiple dimensions simultaneously (Checkpoint 5: Post-Execute Review Fan-Out) ### Phase-END Invocation Rule Invoke at the END of each RIPER-5 phase to recommend the execution strategy for the NEXT phase. The skill receives the current phase's output as context and produces a strategy recommendation that the orchestrator carries into the next phase handoff. ### Fan-Out-Level Invocation Rule When any agent is about to spawn multiple parallel subagents for work WITHIN the current phase, invoke `ag-agent-strategy-compare` FIRST to determine the execution method. - **Input context**: describe the specific fan-out task (not the whole phase). Example: "run feasibility checks on 5 phase plans" or "review 3 independent API surface changes." - **Output**: Workflow / Parallel-subagents / Agent team / Sequential recommendation for THIS fan-out only.
From ngxccc/agent-skills-kit, MIT.
More from ngxccc/agent-skills-kit
- 0.529score
ag-feasibility-test
ngxccc
Use when a SPEC, INNOVATE, or VALIDATE (Layer 2) approach hinges on an unverified runtime/library/external mechanism: run a probe from the 8-family taxonomy…
SkillBFreshness: BClaude Code +9 - 0.529score
ag-generate-context
ngxccc
Generate or update the project's authoritative repository context at process/context/all-context.md.
SkillBFreshness: BClaude Code +9 - 0.529score
ag-generate-plan
ngxccc
Create or update implementation plans in the repo's SIMPLE, COMPLEX, or PHASE PROGRAM format.
SkillBFreshness: BClaude Code +9 - 0.529score
ag-docs
ngxccc
Trigger keywords: docs, README, document codebase, ADR, architectural decision, decision record, design doc, architecture record, RFC, request for comments…
SkillBFreshness: BClaude Code +9 - 0.529score
ag-audit-plans
ngxccc
Audit active project plan files for staleness, completion, and routing truth.
SkillBFreshness: BClaude Code +9 - 0.529score
ag-generate-spec
ngxccc
Create or update a product-discovery SPEC (requirements doc) for user review.
SkillBFreshness: BClaude Code +9 - 0.529score
ag-audit-context
ngxccc
Audit project context routing, shared-skill discoverability, and Claude/Codex wiring.
SkillBFreshness: BClaude Code +9 - 0.529score
ag-brainstorming
ngxccc
Use when starting creative work, building components, or modifying behavior.
SkillBFreshness: BClaude Code +9 - 0.528score
ag-audit-ag
ngxccc
Use when auditing agent harness health, Claude/Codex agent parity, skill registry consistency, and protocol wiring.
SkillBFreshness: BClaude Code +9 - 0.526score
ag-generate-closeout
ngxccc
Generate the post-EXECUTE closeout packet for a plan or phase.
SkillBFreshness: BClaude Code +9 - 0.526score
ag-autoresearch
ngxccc
Loop: find gaps → fix → repeat until agents find no gaps or a metric goal is hit.
SkillBFreshness: BClaude Code +9 - 0.526score
ag-code-interrogation
ngxccc
Socratic Code Interrogation skill for conducting deep 5-Layer Cognitive Stack Q&A on AI-generated code, verifying developer mental models, and enforcing…
SkillBFreshness: BClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Aug 2, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/ngxccc/agent-skills-kit
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from ngxccc
- 0.570score
git-flow
ngxccc
Shape branches, slice atomic commits, create pull requests via the 3-Tier PR Matrix, or create sub-issues.
SkillAFreshness: AClaude Code +9 - 0.544score
codebase-design
ngxccc
Shared vocabulary for designing deep modules.
SkillAFreshness: AClaude Code +9 - 0.544score
diagnosing-bugs
ngxccc
Diagnosis loop for hard bugs and performance regressions.
SkillAFreshness: AClaude Code +9 - 0.544score
tdd
ngxccc
Test-driven development.
SkillAFreshness: AClaude Code +9 - 0.544score
domain-modeling
ngxccc
Build and sharpen a project's domain model.
SkillAFreshness: AClaude Code +9 - 0.541score
improve-codebase-architecture
ngxccc
Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.
SkillAFreshness: AClaude Code +9
Cite this page
ag-agent-strategy-compare skill. Agent Mart. https://agentmart.dev/skills/ngxccc-ag-agent-strategy-compare (last updated 2026-10-24)