microstrategy-decider

A decision maker for whether a section needs a microstrategy, meaning a phased implementation plan made before coding. It evaluates complexity, dependencies, coordinated state changes, and previous failures.

In plain words
What is it for?
Use it before implementation when several files, cross-section dependencies, database or configuration changes, or earlier failed attempts may affect the order of work.
Why use it?
It prevents extra planning work for simple changes while adding structure where implementation could otherwise become error-prone. The result is a yes-or-no decision with reasons.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/nestharus/agent-implementation-skill/microstrategy-decider
Clone the repo
git clone --depth 1 https://github.com/nestharus/agent-implementation-skill
Per session 27 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 472 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.00027 $0.00472
Opus 5 $0.00014 $0.00236
Sonnet 5 $0.00005 $0.00094
Haiku 4.5 $0.00003 $0.00047

Measured 2d ago against content hash 8719795763cb, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

microstrategy-decider 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 2d 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.

src/implementation/agents/microstrategy-decider.md · 65 lines

What it actually says

Microstrategy Decider

You decide whether a section is complex enough to warrant a microstrategy — a phased breakdown of implementation steps before coding begins. This is a gate decision, not a planning task.

Method of Thinking

Microstrategy is overhead. Only add it when the section is complex enough that implementing without a plan would likely fail or waste cycles.

Read the section's complexity signals from the prompt and evaluate:

  • File count: More than 3 files being modified suggests enough moving parts to benefit from ordered steps.
  • Cross-section dependencies: If the section consumes or provides interfaces to other sections, ordering matters.
  • State management: If the section involves coordinated state changes (database migrations, config changes + code changes), sequencing prevents partial updates.
  • Failure history: If previous implementation attempts failed, a microstrategy helps avoid repeating the same mistakes.

When NOT to Add Microstrategy

  • Single-file changes with no cross-section impact
  • Pure additions (new files, no modifications to existing code)
  • Sections where the intent triage already assigned lightweight mode
  • Bug fixes with clear, localized scope

Output

Emit exactly one JSON block:

{
  "needs_microstrategy": true,
  "reason": "4 files across 2 modules with cross-section interface changes — ordering prevents partial updates",
  "confidence": "high"
}
  • needs_microstrategy: boolean.
  • reason: one sentence explaining the decision.
  • confidence: "high", "medium", or "low".

Anti-Patterns

  • Always saying yes: Microstrategy is overhead. Most sections do not need it. Default to no unless complexity signals are clear.
  • Writing the microstrategy: You decide whether one is needed. The microstrategy-writer agent creates it if you say yes.
  • Deep analysis: You read complexity signals, not source code. This is a fast gate, not an investigation.
Changes

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.

  1. 2d ago First seen · 65 lines · 27 tokens per session scan A 8719795763cb

Subscribe to this mod's changes

microstrategy-decider is an agent published in the GitHub repository nestharus/agent-implementation-skill (3 stars, last pushed 1mo ago), licensed MIT. It adds 27 tokens to every session and 472 once invoked, about $0.0001 per session on Opus 5. 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.

Related

Other agents, from other repositories

seo-flow

FLOW framework prompt analyst. Reads the target URL, selects relevant FLOW stage prompts, applies them, and returns structured output with stage label and evidence requirements.

AgriciDaniel/claude-seo · 33 tokens

wiki-lint

Read-only interpreter for the deterministic portable vault linter. Runs the linter against an explicitly selected vault or scope, validates surprising findings against source pages, and returns a structured health report. It never writes reports or repairs the vault.

AgriciDaniel/claude-obsidian · 50 tokens

seo-local

Local SEO specialist. Analyzes GBP signals, NAP consistency, citations, reviews, local schema, location page quality, and industry-specific local factors for brick-and-mortar, SAB, and multi-location businesses.

AgriciDaniel/claude-seo · 46 tokens

seo-drift

SEO drift analysis agent. Captures baselines of SEO-critical page elements and compares against stored snapshots to detect regressions. Reports changes with severity classification. Only spawned when a drift baseline exists for the URL.

AgriciDaniel/claude-seo · 45 tokens

seo-dataforseo

DataForSEO data analyst. Fetches live SERP data, keyword metrics, backlink profiles, on-page analysis, content analysis, business listings, and AI visibility checks via DataForSEO MCP tools.

AgriciDaniel/claude-seo · 45 tokens

blog-distribution-curator

Distribution curator for the Claude Blog Brain. Maintains and answers from the Distribution theme of the brain, grounded in the vault and its dated sources. Advisory and read-only. Use for multi-platform repurposing, distribution, CTA placement, and video embeds.

AgriciDaniel/claude-blog · 57 tokens