planloop

planloop is a skill for Claude Code from nmahavishnu/planloop. It costs 128 tokens per session (2,501 once invoked), scanned A, original, MIT.

A structured work process for tasks that need planning, decisions, multiple steps, or more than one session. It asks questions, records a plan, assigns work, checks the result, and captures useful lessons.

In plain words
What is it for?
Use it for substantial coding, design, research, or implementation tasks that need a written plan, delegated work, review, and follow-up questions.
Why use it?
It keeps requirements and decisions from being lost in the conversation. It also creates checkpoints for unresolved questions and verification before work is considered finished.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: reads .claude/ paths; mentions subagents; mentions Claude Code.

Part of the planloop plugin — 1 skill shipped together

Good fit Use it for substantial coding, design, research, or implementation tasks that need a written plan, delegated work, review, and follow-up questions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nmahavishnu/planloop/planloop
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.

Any agent
npx skills add nmahavishnu/planloop --skill planloop
Clone the repo
git clone --depth 1 https://github.com/nmahavishnu/planloop

Made for: Claude Code.

Or install planloop, the plugin that ships this one along with the rest of its 1 skill.

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 planloop

README.md
[![agentmods](https://agentmods.dev/badge/skills/nmahavishnu/planloop/planloop/github.svg)](https://agentmods.dev/skills/nmahavishnu/planloop/planloop)
Your own site
<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.

agentmods 80×15 button for planloop

Your own site · 80×15
<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>
Per session 128 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,501 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.00128 $0.02501
Opus 5.5 $0.00051 $0.01000
Sonnet 5.5 $0.00026 $0.00500
Haiku 4.5 $0.00013 $0.00250

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

Security

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.

skills/planloop/SKILL.md · 135 lines

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:

  1. 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.
  2. 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.
  3. 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.
  4. Proportional cap. Max 2 questions when only one thing is unresolved. Max 5 when several are, or when the task is large. Never more.
  5. Group related questions. Fold related concerns into one question; split only when they are genuinely separate.
  6. Closed questions. Every question is closed form with a proposed default: "A or B? I would pick A because X."
  7. 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.

Read the full file on GitHub · 135 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. 1mo ago Changed · +9 lines fee96c627934
  2. 3mo ago First seen · 126 lines · 128 tokens per session scan A de93ffb82506

Subscribe to this mod's changes

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.

Related

planloop compared with skills from other repositories

planloop next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
planloopnmahavishnu/planloopSkill51mo agoMITA128Claude Code
component-family-consistencydembrandt/dembrandt-skillsSkill245yesterdayMITA38Claude Code
modular-scale-typographydembrandt/dembrandt-skillsSkill245yesterdayMITA34Claude Code
data-display-and-selectiondembrandt/dembrandt-skillsSkill245yesterdayMITA37Claude Code
extract-designdembrandt/dembrandt-skillsSkill245yesterdayMITA43Claude Code
modal-and-overlay-patternsdembrandt/dembrandt-skillsSkill245yesterdayMITA38Claude Code
brand-visual-languagedembrandt/dembrandt-skillsSkill245yesterdayMITA35Claude Code