explore-plan

explore-plan is a command for Claude Code from juanmhidalgo/claude-plugins. It costs 36 tokens per session (3,684 once invoked), scanned A, original, MIT.

A command for exploring a multi-part feature and creating a structured implementation plan before coding.

In plain words
What is it for?
Use it to inspect a feature's repository scope, connect it to an optional specification, and produce a plan for implementation.
Why use it?
It organizes the investigation of changes that touch several parts of a codebase, so implementation work has a clear sequence.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter; names the AskUserQuestion tool.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the feature-dev plugin — 2 skills, 8 commands, 13 agents shipped together

Good fit Use it to inspect a feature's repository scope, connect it to an optional specification, and produce a plan for implementation.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add juanmhidalgo/claude-plugins
Claude Code
/plugin install feature-dev

Made for: Claude Code.

Or install feature-dev, the plugin that ships this one along with the rest of its 2 skills, 8 commands, 13 agents.

Wrote 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.

agentmods badge for explore-plan

README.md
[![agentmods](https://agentmods.dev/badge/commands/juanmhidalgo/claude-plugins/explore-plan/github.svg)](https://agentmods.dev/commands/juanmhidalgo/claude-plugins/explore-plan)
Your own site
<a href="https://agentmods.dev/commands/juanmhidalgo/claude-plugins/explore-plan"><img src="https://agentmods.dev/badge/commands/juanmhidalgo/claude-plugins/explore-plan/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.

agentmods 80×15 button for explore-plan

Your own site · 80×15
<a href="https://agentmods.dev/commands/juanmhidalgo/claude-plugins/explore-plan"><img src="https://agentmods.dev/badge/commands/juanmhidalgo/claude-plugins/explore-plan.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,684 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00036 $0.03684
Opus 5.5 $0.00014 $0.01474
Sonnet 5.5 $0.00007 $0.00737
Haiku 4.5 $0.00004 $0.00368

Measured 26d ago against content hash ed1dc1402684, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

explore-plan 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 26d 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.

feature-dev/commands/explore-plan.md · 195 lines

How it starts

The opening of the file, as written. The whole thing — 195 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Context

  • Repository: !git remote get-url origin
  • Current branch: !git branch --show-current
  • Feature: $ARGUMENTS
  • Feature store: each feature lives in .feature-dev/features/<slug>/, managed by ${CLAUDE_PLUGIN_ROOT}/scripts/features.py (every call below passes --root <repo root>). Layout: artifact-locations.md.

Phase 0: Resolve Feature and Validate

Requires the Workflow tool. If it is not available, STOP and say so: Phase 1 runs as the feature-dev:plan-fanout workflow, and under claude -p or the SDK it needs a Workflow(feature-dev:plan-fanout) allow rule. There is no in-session fallback: a generator spawned from here cannot fan out to the explorers (a named spawn is a teammate, and a teammate cannot spawn agents), and a plan written by one reader that looks like eight cross-checked it is the failure the workflow exists to prevent.

  1. Resolve the feature. Run, once:

    ${CLAUDE_PLUGIN_ROOT}/scripts/features.py resolve spec '<argument>' --skip-implemented --root <repo root>
    

    <argument> is $ARGUMENTS as given (omit it when empty). The script takes a SPEC-*.md path (a PLAN-*.md path resolves to the spec beside it), #N, owner/repo#N or an issue URL, a feature slug or title, or nothing (every feature with a spec, implemented ones skipped since they are already shipped; several are narrowed to the current branch). It prints one JSON line. On success: path, slug, feature, branch, repos (the names in the frontmatter's repos: block), status, plan (progress, or null), issue (ref, or null), plan_path (a PLAN already beside the spec, or null), external (the spec sits in another repo's .feature-dev/features/) and matched (how it was found). On failure: error, plus reason (exit 2) or candidates (exit 3).

    Exit Meaning Do
    0 Resolved Continue with the JSON. When matched is not path, say: "Auto-selected spec: <path> (feature: , status: )"
    2 reason: issue_unlinked No local feature is linked to issue (repo null means this repo: resolve it per issue-store.md's Argument parsing). Run issue-store.md's Import algorithm against it, start to finish; do not restate Import's steps here. A failed gh preflight, or a failed gh issue view call, stops here and names the issue that could not be read. Then re-run resolve spec with the SPEC-<slug>.md path Import produced (the reference's own step 6) and read that result
    2 reason: unknown_name $ARGUMENTS is a feature description. There is no spec: this is a plan-only feature (step 3)
    2 reason: no_candidates STOP and ask the user for a feature description or a spec path
    2 reason: file, outside_store or no_sibling STOP and refuse it in one line, quoting error, naming .feature-dev/features/<slug>/ as the only place specs live (a root SPEC-*.md, or the layout older than 2.0.0, is outside_store)
    3 Ambiguous AskUserQuestion over candidates (label = feature, description = <slug> — status: <status>), then re-run resolve spec with the chosen path
    4 Malformed STOP and quote error: the spec, or its feature.json, has to be fixed before planning

Read the full file on GitHub · 195 lines

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. 26d ago Changed · +1 lines ed1dc1402684
  2. 29d ago Changed · +11 lines 6b2f391a35d7
  3. 1mo ago Changed · -144 lines b2b7d5c375da
  4. 1mo ago Changed · +14 lines c33128ecb88a
  5. 1mo ago Changed · +2 lines 96f66764d681
  6. 2mo ago Changed · +7 lines a8049dc2f352
  7. 2mo ago Changed · +58 lines c8af04abd5ad
  8. 2mo ago Changed · -4 lines 4ea0061d2ec4
  9. 2mo ago Changed · +7 lines 9c2d3963fe44
  10. 2mo ago First seen · 243 lines · 36 tokens per session scan A b448e20fdf82

Subscribe to this mod's changes

explore-plan is a command published in the GitHub repository juanmhidalgo/claude-plugins (8 stars, last pushed 18d ago), licensed MIT. It adds 36 tokens to every session and 3,684 once invoked, about $0.0001 per session on Opus 5.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-09-03.

Related

explore-plan compared with commands from other repositories

explore-plan next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
explore-planjuanmhidalgo/claude-pluginsCommand818d agoMITA36Claude Code
smart-helpData-Wise/craftCommand45d agoMITA7Claude Code
sruja-bugfix-triagesruja-ai/srujaCommand251mo agoApache-2.0A0Claude Code, Cursor
securityCartapenaBark/DotNetAnalyzerCommand36d agoMITA14Claude Code
spec-acceptHabib0x0/spec-driven-pluginCommand111mo agoMITA15Claude Code
planPharaoh-so/pharaoh-mcpCommand2todayMITA17Claude Code
triagealejandrosaenz117/bonfires-marketplaceCommand41mo agoMITA48Claude Code