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 skills add nmahavishnu/planloop --skill planloopgit clone --depth 1 https://github.com/nmahavishnu/planloopWrote 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/skills/nmahavishnu/planloop/planloop)<a href="https://agentmods.dev/skills/nmahavishnu/planloop/planloop"><img src="https://agentmods.dev/badge/skills/nmahavishnu/planloop/planloop/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/skills/nmahavishnu/planloop/planloop"><img src="https://agentmods.dev/badge/skills/nmahavishnu/planloop/planloop.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.00128 | $0.02501 |
| Opus 5.5 | $0.00051 | $0.01000 |
| Sonnet 5.5 | $0.00026 | $0.00500 |
| Haiku 4.5 | $0.00013 | $0.00250 |
Grade A, and why
planloop 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 1mo 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 — 135 lines — stays where its author put it; the contents beside it link to each section on GitHub.
planloop
Ask. Plan. Delegate. Verify. Ask again. State lives on disk, not in conversation.
At invocation, check for a learnings file at planloop.learnings.md in the user config directory (~/.claude/ for Claude Code, ~/.codex/ for Codex, ~/.gemini/ for Gemini CLI, and so on). If it exists, its lines tailor how you work and fill gaps. They do not override the core loop: a learning can change how you ask or verify, not whether you plan, get approval, and check. If it does not exist, do not create or mention it.
Step 0: Size the task
Run the loop if the task leaves anything to guess at, if a requirement is unresolved, or if the work is large enough to need slices or to outlive this session. Skip it only when the task is fully specified and small. Skipping means going straight to work with one confirming sentence, no questions, no plan file. The user invoking planloop by name always runs the loop.
Step 1: Ask
One batched round of questions up front. Questions that cannot be answered yet go into plan.md under Open Questions, and each is raised when the work reaches the slice that needs it, not now.
Rules, in order:
- Infer first. Mine the request, the codebase, existing conventions, and prior conversation before asking. Anything inferable becomes a stated assumption, not a question, unless a wrong guess would be costly or hard to reverse, in which case it is a question no matter how inferable.
- Decision relevance test. A question earns a slot only if the answer would change plan.md. If every answer leads to the same plan, do not ask.
- Assumptions as vetoes. Output format:
- "Assumptions I am proceeding with (veto any): A, B, C."
- "Questions I cannot infer: 1, 2." Silence on an assumption is consent.
- Proportional cap. Max 2 questions when only one thing is unresolved. Max 5 when several are, or when the task is large. Never more.
- Group related questions. Fold related concerns into one question; split only when they are genuinely separate.
- Closed questions. Every question is closed form with a proposed default: "A or B? I would pick A because X."
- Security. If the task plausibly touches auth, user data, external input, or tool/MCP integrations, ask about it. When the surface is unclear, ask. When it is obviously absent, do not.
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.
- 1mo ago Changed · +9 lines fee96c627934
- 3mo ago First seen · 126 lines · 128 tokens per session scan A de93ffb82506
planloop is a skill published in the GitHub repository nmahavishnu/planloop (5 stars, last pushed 1mo ago), licensed MIT. It adds 128 tokens to every session and 2,501 once invoked, about $0.0005 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-08-31.
planloop compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| planloopnmahavishnu/planloop | Skill | 5 | 1mo ago | MIT | A | 128 | Claude Code |
| component-family-consistencydembrandt/dembrandt-skills | Skill | 245 | yesterday | MIT | A | 38 | Claude Code |
| modular-scale-typographydembrandt/dembrandt-skills | Skill | 245 | yesterday | MIT | A | 34 | Claude Code |
| data-display-and-selectiondembrandt/dembrandt-skills | Skill | 245 | yesterday | MIT | A | 37 | Claude Code |
| extract-designdembrandt/dembrandt-skills | Skill | 245 | yesterday | MIT | A | 43 | Claude Code |
| modal-and-overlay-patternsdembrandt/dembrandt-skills | Skill | 245 | yesterday | MIT | A | 38 | Claude Code |
| brand-visual-languagedembrandt/dembrandt-skills | Skill | 245 | yesterday | MIT | A | 35 | Claude Code |