Borrowing it
Nothing to install: this file belongs to kimrejstrom/alpacalyzer-algo-trader. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/kimrejstrom/alpacalyzer-algo-trader/main/.agents/commands/plan-feature.mdgit clone --depth 1 https://github.com/kimrejstrom/alpacalyzer-algo-traderWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/kimrejstrom/alpacalyzer-algo-trader/plan-feature)<a href="https://agentmods.dev/commands/kimrejstrom/alpacalyzer-algo-trader/plan-feature"><img src="https://agentmods.dev/badge/commands/kimrejstrom/alpacalyzer-algo-trader/plan-feature/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/kimrejstrom/alpacalyzer-algo-trader/plan-feature"><img src="https://agentmods.dev/badge/commands/kimrejstrom/alpacalyzer-algo-trader/plan-feature.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.01609 |
| Opus 5 | $0.00000 | $0.00805 |
| Sonnet 5 | $0.00000 | $0.00322 |
| Haiku 4.5 | $0.00000 | $0.00161 |
Grade A, and why
plan-feature scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 206 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Plan Feature Command
Decompose a high-level feature into well-formed, agent-sized GitHub issues with dependency ordering and Agent Metadata — ready for the orchestrator.
Usage
/plan-feature <feature_description>
Arguments:
feature_description: A natural-language description of the feature to plan. Can be a sentence, a paragraph, or a reference to an existing issue/doc.
Argument Indexing
- Claude Code: Use
$1for the first argument (feature description, may be multi-word) - OpenCode: Use
$ARGUMENTSto get all arguments
Steps
1. Get Repo Info
git remote get-url origin
Parse owner and repo name.
2. Understand the Codebase Context
Read the key context files to understand what exists:
AGENTS.md— architecture overview, component locationsdocs/architecture/overview.md— module structure, layering rulesdocs/principles.md— code invariants (if exists)
Scan the source directory to understand the current module structure.
3. Analyze the Feature
Break the feature description into concrete work items. For each, determine:
- What changes: Which files/modules are affected
- Scope: Is this a new module, modification to existing, or cross-cutting?
- Complexity: small (< 1 hour agent work), medium (1-3 hours), large (needs further decomposition)
- Dependencies: Does this require another piece to land first?
- Parallel safety: Can an agent work on this while other agents work on sibling issues?
4. Decomposition Rules
Follow these rules when breaking down work:
- One issue = one agent session = one worktree. If a task requires touching more than 3-4 files across different modules, it's probably too big.
- Large → split further. Any issue estimated as "large" must be decomposed into small/medium sub-issues. Agents work best with focused, bounded tasks.
- Test-first is non-negotiable. Every issue must be testable. If you can't describe a test scenario, the issue is too vague.
- Data models before consumers. If the feature needs new data models, that's issue #1. Code that uses those models depends on it.
- Infrastructure before features. Config, schemas, migrations, shared utilities come before the features that use them.
- Vertical slices over horizontal layers. Prefer "implement feature X end-to-end" over "add all database models, then add all API routes, then add all tests." But respect dependency ordering — if 3 features share a model, the model is its own issue.
- Explicit acceptance criteria. Every issue needs concrete, checkable criteria. "Implement the thing" is not an acceptance criterion. "Function X returns Y when given Z" is.
- No orphan issues. Every issue should be reachable from the dependency graph. If an issue has no dependents and no dependencies, question whether it belongs in this feature.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 10d ago First seen · 206 lines · 0 tokens per session scan A fe33766c7308
plan-feature is a command published in the GitHub repository kimrejstrom/alpacalyzer-algo-trader (2 stars, last pushed 3mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,609 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other commands, from other repositories
template
Manage issue templates for streamlined issue creation.
sync-linear
Sync current work with Linear ticket status.
add-note
Add an internal or external note to a ConnectWise PSA ticket.
fest-show
Show festival progression (in-progress tasks, roadmap, and dependency view).
dispatcher
Pick the next-best repo to work on across the portfolio — rank free repos, recommend one, claim its lease atomically, and route to the entry command.
workpm
A project-management workflow for coordinating multiple AI workers through five stages. It includes task assignment, shared activity logs, worker replacement, and final checks.