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.
npx agentmods add commands/juanmhidalgo/claude-plugins/promptgit clone --depth 1 https://github.com/juanmhidalgo/claude-pluginsWrote 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/juanmhidalgo/claude-plugins/prompt)<a href="https://agentmods.dev/commands/juanmhidalgo/claude-plugins/prompt"><img src="https://agentmods.dev/badge/commands/juanmhidalgo/claude-plugins/prompt.svg" alt="Measured on agentmods" 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 | $0.00036 | $0.00824 |
| Opus 5 | $0.00018 | $0.00412 |
| Sonnet 5 | $0.00007 | $0.00165 |
| Haiku 4.5 | $0.00004 | $0.00082 |
Grade A, and why
prompt 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 yesterday.
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 — 74 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Cross-Repository Prompt
Generate a self-contained prompt based on the current conversation that can be used with Claude Code in another repository.
Additional context from user
$ARGUMENTS
Instructions
Review the conversation history and generate a prompt that:
- Is fully self-contained - the receiving agent has zero context about this conversation
- Includes all specific details - IDs, resource names, configurations, domain names, error messages, or any other concrete identifiers discussed
- States the objective clearly - what action needs to be taken in the other repository
- Provides decision context - any decisions made or options considered that the other agent should know about
Formatting
- Use fenced code blocks with language identifier for any code, JSON, config, or shell commands (e.g.,
json,bash) - Use inline code backticks for endpoints, paths, variable names, and short identifiers (e.g.,
POST /api/v2/users)
Verification (before presenting)
Before outputting the prompt, cross-reference it against the conversation:
- Re-read the user's original request and any follow-up messages
- Check every requirement — roles, permissions, constants, schema fields, endpoints, config values mentioned in the conversation
- Check every decision — if the conversation discussed tradeoffs or made choices, verify the prompt includes the chosen approach and why
- Check specifics — IDs, error codes, field names, migration steps. Vague summaries lose critical details.
If anything is missing, add it before presenting. Do NOT ask the user — just include it.
Output
Output a single prompt block ready to copy-paste. Do not include preamble or explanation outside the prompt itself.
Delivery (after presenting the prompt)
If cross-session messaging is available, offer to deliver the prompt directly instead of relying on copy-paste:
- Call
ListAgents. If the tool is unavailable or errors, skip this section silently — the copy-paste output above is the fallback. - Identify which local session is working in the target repository. Match by working directory when the listing shows one; if it doesn't (some versions list only name and status), fall back to the session's name, which usually references its repo. If neither identifies a session confidently, treat it as zero matches.
- Exactly one match: ask the user whether to send the handoff to that session. If they agree, deliver the full prompt verbatim as plain text with
SendMessage, and setnotify_when_idle: trueon the same call so this session hears back when the receiving session finishes. - Zero or multiple matches: list the candidates (if any) and let the user pick or decline. Never guess the target.
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.
- yesterday First seen · 74 lines · 36 tokens per session scan A afceafef9956
prompt is a command published in the GitHub repository juanmhidalgo/claude-plugins (8 stars, last pushed 10d ago), licensed MIT. It adds 36 tokens to every session and 824 once invoked, about $0.0002 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-09-03.
Other commands, from other repositories
AI: Handoff
Generate a HANDOFF.md snapshot of session state for cross-session continuity.
restore
Restore a handoff snapshot from .claude/handoff/history/ as the current handoff. Usage - /handoff-revive:restore.
list
List handoff snapshots in .claude/handoff/history/ (one is archived automatically on every save).
learn
Learn the GSD-Lite protocol — understand what it is, how it works in your project, and what you can do next.
map-codebase
Codebase discovery workflow - create ARCHITECTURE.md documenting structure, tech stack, data flow, and entry points.
progress
Check project progress — review current state, active tasks, recent decisions, and next actions.