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/mphinance-orchestrate
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: 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
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/orchestrate
What's inside
- Skill name
orchestrate- Description
- Run an orchestrator-pattern build on any codebase. Decompose a goal (or open-ended "improve this") into waves, fan out parallel subagents on non-overlapping slices, verify between waves, commit wave-by-wave. Use when the user says "orchestrate", "fan out to agents", "parallel agents", "swarm this", "overnight build", "ship a batch of fixes", "improve this codebase", "find bugs", "what should we fix here", "ideas for this codebase", or any request that's bigger than one agent can comfortably do in one shot.
- License
- MIT
- Instructions
- 192 lines in SKILL.md · view on GitHub
Before installing
- Instructions call the network
Files (2)
- SKILL.md
- STATUS_TEMPLATE.md
SKILL.md (first lines)
# Orchestrate
You are now the **orchestrator**. You do not write the bulk of the code. You write specs, pre-stage shared files, dispatch subagents via the Agent tool, verify between waves, and commit wave-by-wave. The proven pattern: 82/87 features in ~70 minutes wall-clock on an overnight build.
## Triage first — pick the mode
The user's request lands in one of three buckets. Identify which before doing anything else:
| Mode | Signal | First move |
|---|---|---|
| **Build** | "build X", "ship feature Y", greenfield project, named scope | Write SPEC + feature_list, then waves |
| **Fix** | "bug in X", "fix the slow queries", "refactor Y", known target | Reproduce + isolate, then plan minimal-blast-radius waves |
| **Recon** | "improve this", "find bugs", "ideas", "what should we fix", no named target | Read the repo end-to-end, produce a prioritized findings list, *then* ask the user which to execute |
If you can't tell, ask **once** which bucket and what "done" looks like — but bias toward making the call yourself in Auto Mode.
## The non-negotiable rules
These apply to every mode. Skip any and you lose the parallelism dividend or corrupt the repo.
1. **Ground yourself before anything else.** Read `README`, `CLAUDE.md` / `AGENTS.md` / `CONTRIBUTING.md` if present, top-level directory listing, recent commits (`git log --oneline -20`), and any obvious entrypoint (`package.json`, `pyproject.toml`, `Cargo.toml`, `go.mod`). Tell the user in 3-5 sentences what you understand the work to be. Then proceed.
2. **Spec or findings doc → file in the repo.** Build mode writes `SPEC.md`. Recon mode writes `FINDINGS.md` with a prioritized list. Fix mode writes a short `FIX_PLAN.md` covering repro, root cause hypothesis, blast radius, and rollback. These are concrete artifacts the subagents can read — not just stuff in your head.
3. **Feature list as source of truth for "done".** ~20-100 testable assertions in `feature_list.json`:
```json
[{"id": 1, "category": "functional", "description": "...", "steps": ["..."], "passes": false}]
```
You (orchestrator) own this file. Subagents may NOT modify it — they report their results and you flip `passes: true` after verification. For Recon mode the equivalent is `FINDINGS.md` checkboxes you tick as items ship.
4. **Pre-stage shared files BEFORE running parallel agents.** If two agents both need `router.js` or `App.jsx` or `main.go`, *you* the orchestrator edit those files first to mount stubs that the parallel agents will replace. Each parallel agent then owns only its own files. This is the single biggest unlock for parallelism — skip it and you'll spend more time reconciling merge conflicts than you saved fanning out.
5. **Every subagent prompt MUST include all of these:**
- Absolute working directory path
- Required reading (specific files, with one-line reasons)
- **Explicit file ownership**: a list of files the agent MAY touch + a list it MAY NOT touch. The may-nots are what prevents collisions.
- Contract from upstream waves (data shapes, env vars, API conventions, auth)
- Verification steps that MUST run before reporting (build, test, smoke check)
- Commit instructions with **explicit file paths** — never `git add -A`, which would grab parallel agents' work
- "Report back in under N words" (200-400 typical) — the report comes into your context, so keep it small
- Voice/style constraints if relevant (banned words, formatting rules, CLAUDE.md conventions)
6. **Cap parallelism at 3-4 per wave.** More than that and the pre-staging burden eats the savings, and conflicts get harder to debug.
7. **Verify between waves.** Boot the app, hit one endpoint, run the build, run the existing test suite (existing-codebase work), grep for forbidden patterns. *Then* flip the feature list. Commit `feature_list.json` separately from build commits so verification commits are distinct.
8. **Commit between every wave.** Explicit file paths only. Wave-by-wave commits mean if you hit a rate limit or something breaks, the user can resume from the last green wave.
9. **Process hygiene.** Long-running dev servers orphan during parallel agent verification. Before each new wave, kill stragglers. Pick the right command for the platform:
- Windows (PowerShell): `Get-Process -Name node -ErrorAction SilentlyContinue | Stop-Process -Force`
- Unix: `pkill -f node` (substitute the actual process name for the stack)
Have agents do the same at the start of their verification.
10. **Never run `git add -A` during parallel work.** Ever. One agent's `git add -A` will grab another agent's in-flight changes and commit them under the wrong name. Always explicit paths.
11. **Tier the model per agent — cheap for breadth, Opus for judgment.** Every Agent tool call takes an optional `model` param. Pass it deliberately so a wide fan-out does not burn Opus on work that does not need it. This is the single biggest cost-and-speed lever in a long run.
- `model: "haiku"` — truly mechanical work: scaffolding boilerplate, renaming, mounting stubs you fully specified, dumping file contents, running a verify command and pasting output.
- `model: "sonnet"` — the default for breadth: Recon scans, exploration, search, most parallel slices where you wrote a tight spec and the agent is filling in known shape, verification and smoke checks.
- **Omit `model` (inherit Opus)** only where judgment earns its cost: the Wave 1 foundation contract everything depends on, anything touching live-trading-path logic, the polish wave that needs taste, and final synthesis. When unsure, the slice probably has a tight enough spec for Sonnet.
The orchestrator (you, the main loop) stays on whatever `/model` is set. This rule only governs the agents you spawn.
## Wave decomposition
The canonical shape — adapt to the work, don't follow it blindly:
- **Wave 0 — Scaffold.** Git init (if greenfield), `SPEC.md` / `FINDINGS.md` / `FIX_PLAN.md`, `feature_list.json` seeded. Single commit.
- **Wave 1 — Foundation (serial).** The thing everything else builds on: data model, core types, auth contract, shared utilities. Serial, single agent, because the contract here is what later waves depend on.
- **Wave 2 — Shell + one critical slice (serial).** Framework boot + one end-to-end vertical that proves the stack works. If this wave doesn't work, nothing else will. Serial.
- **Wave 3 — First parallel fan-out (2-4 agents).** Non-overlapping slices that only depend on the Wave 1/2 contract, not each other's internals. UI page + its backend route is the canonical "one slice."
- **Wave 4 — Second parallel fan-out (2-4 agents).** More slices, more parallelism, possibly with pre-staging changes you learned you needed from Wave 3.
- **Wave 5 — Polish.** Single agent, or two non-overlapping (e.g. "tighten copy" + "fix accessibility"). Not fan-out — polish needs taste, not throughput.
- **Wave 6 — Final verify + status doc.** You re-run the full smoke. Final commit. Write `STATUS.md` using [STATUS_TEMPLATE.md](STATUS_TEMPLATE.md) as the structure (build mode) or a PR description in the same shape (existing-codebase mode). Match the user's voice if known.
**Serial vs parallel**: serial when later agents need the earlier agent's contract; parallel when slices touch non-overlapping files and only depend on contract, not internals.
**Model per wave (see rule 11)**: Wave 0 scaffold and Wave 6 verify lean Haiku/Sonnet. Wave 1 foundation contract stays Opus (everything downstream depends on it). Wave 3/4 parallel slices default to Sonnet. Wave 5 polish stays Opus (taste, not throughput). A mixed fleet inside one wave is fine and expected.
**Adapt the shape:**
- **Fix mode** often collapses to: Wave 0 (FIX_PLAN + failing test/repro), Wave 1 (fix), Wave 2 (verify + regression test). No fan-out needed for a single bug.
- **Recon mode**: Wave 0 is "produce FINDINGS.md and get user buy-in on what to execute." Then it becomes Build or Fix mode for the items the user picks.
- **Small change** (< 1 hour of work): collapse to two waves — Wave 1 implementation, Wave 2 verify+commit. Don't add ceremony for ceremony's sake.
## Mode-specific guidance
### Build mode (greenfield or named-feature)
- `SPEC.md` includes: goal, stack, voice/style rules so subagents self-enforce, explicit acceptance criteria, out-of-scope list.
- `feature_list.json` has both `functional` and `style` categories. Mix of narrow (2-5 steps) and comprehensive (10+ steps) tests. At least 25% have 10+ steps.
- Order features by priority: fundamental first.
- Verification: actual browser automation through the UI when possible — not just curl. Curl is necessary but not sufficient.
### Fix mode (existing codebase)
- **Branch off main** for the work. Optional: git worktree for true agent isolation if blast radius is wide.
- `FIX_PLAN.md` includes: minimal repro, root cause hypothesis, blast radius (what files/systems the fix could break), rollback steps.
- First wave produces a **failing test** that demonstrates the bug. The fix wave makes the test pass without breaking the existing suite.
- Verification includes the existing test suite, not just the new test.
- Read CLAUDE.md / AGENTS.md / CONTRIBUTING.md first and pass conventions to subagents in required-reading.
- Final wave produces a PR description, not a morning summary.
### Recon mode (open-ended "improve this / find ideas")
This is the mode that gets used when the user has no specific target — they just want to know "what should we do."
- **Wave 0 — Comprehensive scan.** Dispatch a single Explore/general-purpose subagent OR do it yourself for small repos. Read every file that matters: configs, package manifests, top-level source dirs, tests directory, recent commits, open TODOs, README claims vs reality.
- Produce `FINDINGS.md` with sections:
- **Bugs** (anything actually broken or wrong — high confidence)
- **Risks** (security, performance, reliability — could break)
- **Tech debt** (refactor candidates with payoff justification)
- **Quick wins** (< 30 min, high value)
- **Ideas** (new features or improvements aligned with the codebase's apparent direction)
- For each item: severity, effort estimate, blast radius, suggested approach.
- **Bring findings back to the user.** Don't just start executing. The user picks which items to ship. Then you switch to Build or Fix mode for the chosen items.
## Subagent prompt template
Every subagent prompt should look roughly like this. Customize but don't drop sections. Set the Agent tool's `model` param per rule 11 when you dispatch (most slices: `"sonnet"`).
```From mphinance/alpha-skills, MIT.
More from mphinance/alpha-skills
- 0.650score
mph-pine
mphinance
Build TradingView Pine Script v6 indicators in Michael's house style.
SkillAFreshness: A★ 29Claude Code +9 - 0.615score
dividend-growth-pullback-screener
mphinance
Use this skill to find high-quality dividend growth stocks (12%+ annual dividend growth, 1.5%+ yield) that are experiencing temporary pullbacks, identified by…
SkillBFreshness: B★ 29Claude Code +9 - 0.615score
breakout-trade-planner
mphinance
Generate Minervini-style breakout trade plans from VCP screener output with worst-case risk calculation, portfolio heat management, and Alpaca-compatible…
SkillBFreshness: B★ 29Claude Code +9 - 0.615score
economic-calendar-fetcher
mphinance
Fetch upcoming economic events and data releases using FMP API.
SkillBFreshness: B★ 29Claude Code +9 - 0.615score
edge-candidate-agent
mphinance
Generate and prioritize US equity long-side edge research tickets from EOD observations, then export pipeline-ready candidate specs for…
SkillBFreshness: B★ 29Claude Code +9 - 0.615score
coil-scan
mphinance
Daily scanner that finds stocks sitting in the "bottom of the coil" using a dual-timeframe Williams %R Trend Exhaustion indicator, then flags the ones that…
SkillBFreshness: B★ 29Claude Code +9 - 0.615score
edge-pipeline-orchestrator
mphinance
Orchestrate the full edge research pipeline from candidate detection through strategy design, review, revision, and export.
SkillBFreshness: B★ 29Claude Code +9 - 0.615score
broker-mcp-selector
mphinance
Pick a broker MCP server your AI agent can actually execute trades through, and wire it up safely.
SkillBFreshness: B★ 29Claude Code +9 - 0.615score
earnings-trade-analyzer
mphinance
Analyze recent post-earnings stocks using a 5-factor scoring system (Gap Size, Pre-Earnings Trend, Volume Trend, MA200 Position, MA50 Position).
SkillBFreshness: B★ 29Claude Code +9 - 0.615score
edge-strategy-reviewer
mphinance
Critically review strategy drafts from edge-strategy-designer for edge plausibility, overfitting risk, sample size adequacy, and execution realism.
SkillBFreshness: B★ 29Claude Code +9 - 0.612score
edge-concept-synthesizer
mphinance
Abstract detector tickets and hints into reusable edge concepts with thesis, invalidation signals, and strategy playbooks before strategy design/export.
SkillBFreshness: B★ 29Claude Code +9 - 0.612score
downtrend-duration-analyzer
mphinance
Analyze historical downtrend durations and generate interactive HTML histograms showing typical correction lengths by sector and market cap.
SkillBFreshness: B★ 29Claude Code +9
Signals
- Stars
- 29
- Forks
- 6
- Open issues
- 0
- Last commit (this folder)
- Jun 16, 2026 (4 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/mphinance/alpha-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from mphinance
- 0.650score
mph-pine
mphinance
Build TradingView Pine Script v6 indicators in Michael's house style.
SkillAFreshness: A★ 29Claude Code +9 - 0.615score
broker-mcp-selector
mphinance
Pick a broker MCP server your AI agent can actually execute trades through, and wire it up safely.
SkillBFreshness: B★ 29Claude Code +9 - 0.615score
breakout-trade-planner
mphinance
Generate Minervini-style breakout trade plans from VCP screener output with worst-case risk calculation, portfolio heat management, and Alpaca-compatible…
SkillBFreshness: B★ 29Claude Code +9 - 0.615score
earnings-trade-analyzer
mphinance
Analyze recent post-earnings stocks using a 5-factor scoring system (Gap Size, Pre-Earnings Trend, Volume Trend, MA200 Position, MA50 Position).
SkillBFreshness: B★ 29Claude Code +9 - 0.615score
coil-scan
mphinance
Daily scanner that finds stocks sitting in the "bottom of the coil" using a dual-timeframe Williams %R Trend Exhaustion indicator, then flags the ones that…
SkillBFreshness: B★ 29Claude Code +9 - 0.615score
dividend-growth-pullback-screener
mphinance
Use this skill to find high-quality dividend growth stocks (12%+ annual dividend growth, 1.5%+ yield) that are experiencing temporary pullbacks, identified by…
SkillBFreshness: B★ 29Claude Code +9
Cite this page
orchestrate skill. Agent Mart. https://agentmart.dev/skills/mphinance-orchestrate (last updated 2026-10-24)