plan-loop

plan-loop is a skill for Claude Code from fredrikaverpil/dotfiles. It costs 52 tokens per session (872 once invoked), scanned A, original, MIT.

A project skill named plan-loop. The supplied information identifies its file path but does not explain what the loop plans or how it works.

In plain words
What is it for?
It appears related to planning, but its concrete use cannot be determined from the description.
Why use it?
There is not enough information to describe a specific benefit or workflow accurately.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: reads .claude/ paths.

Good fit It appears related to planning, but its concrete use cannot be determined from the description.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fredrikaverpil/dotfiles/plan-loop
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 fredrikaverpil/dotfiles --skill plan-loop
Clone the repo
git clone --depth 1 https://github.com/fredrikaverpil/dotfiles

Made for: Claude Code.

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 plan-loop

README.md
[![agentmods](https://agentmods.dev/badge/skills/fredrikaverpil/dotfiles/plan-loop/github.svg)](https://agentmods.dev/skills/fredrikaverpil/dotfiles/plan-loop)
Your own site
<a href="https://agentmods.dev/skills/fredrikaverpil/dotfiles/plan-loop"><img src="https://agentmods.dev/badge/skills/fredrikaverpil/dotfiles/plan-loop/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 plan-loop

Your own site · 80×15
<a href="https://agentmods.dev/skills/fredrikaverpil/dotfiles/plan-loop"><img src="https://agentmods.dev/badge/skills/fredrikaverpil/dotfiles/plan-loop.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 872 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.00052 $0.00872
Opus 5.5 $0.00021 $0.00349
Sonnet 5.5 $0.00010 $0.00174
Haiku 4.5 $0.00005 $0.00087

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

Security

Grade A, and why

plan-loop 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.

stow/shared/.claude/skills/plan-loop/SKILL.md · 83 lines

How it starts

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

Plan loop

We discuss the work, write it down in PLAN.md, then implement it step by step, with /clear once the context fills up. This keeps the context small: cheaper, and you stay sharper.

Recommended: Opus at high effort. If you are not running on Opus, say so and ask whether to proceed anyway. You cannot see the effort level (no need to remind me about it).

Gather information

Work back and forth with me, starting with your open questions and outline before writing the plan.

PLAN.md

When I mention a PLAN.md, ask whether to use a git worktree or work directly.

Keep the plan in PLAN.md at the root of the worktree (./.claude/worktrees/<tree-name>/PLAN.md), or at the repo root when working directly. It is the source of truth that survives /clear:

  • Goal, decisions made (with a short why), open questions.
  • Steps as a checklist.
  • Key files to re-read when resuming.

Update it as soon as a decision is made, not only after a step.

Step loop

Keep the context under the limit: 200k tokens or 20% of the window, whichever comes first, and never past 25%. The context-meter plugin (~/.claude/local-plugins/context-meter) reports usage on demand through mcp__context-meter__usage (load it with ToolSearch), and adds a Context window: ... warning to a tool result once the context passes the limit.

  1. After /clear, read PLAN.md and the files it lists before doing anything else. If no PLAN.md is at the root of the current checkout, list .claude/worktrees/*/PLAN.md and ask which one.
  2. Call mcp__context-meter__usage and estimate what the first unticked step will add. If that would take the context well past the limit, stop and ask me to run /clear, then /plan-loop; if the step alone would, propose splitting it. Otherwise implement the step.
  3. Update PLAN.md: tick the step once its commits land, record decisions and findings, name the next step.
  4. Re-read all of PLAN.md for contradictory or outdated passages and fix them.
  5. If the step or the re-read raised a decision, a surprise or a change of course, discuss it with me. Otherwise continue with the next step (back to 2).

Read the full file on GitHub · 83 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 · +82 lines · +52 tokens per session da883f10c89e
  2. 1mo ago First seen · 1 lines · 0 tokens per session scan A edfb66fa7bab

Subscribe to this mod's changes

plan-loop is a skill published in the GitHub repository fredrikaverpil/dotfiles (261 stars, last pushed today), licensed MIT. It adds 52 tokens to every session and 872 once invoked, about $0.0002 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-10-12.

Related

plan-loop compared with skills from other repositories

plan-loop next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
plan-loopfredrikaverpil/dotfilesSkill261todayMITA52Claude Code
writing-skillsdenolfe/dotfilesSkill885d agononeA20Claude Code, Codex
brainstormingdenolfe/dotfilesSkill885d agononeA37Claude Code, Codex
executing-plansdenolfe/dotfilesSkill885d agononeA35Claude Code, Codex
userscriptsdenolfe/dotfilesSkill885d agononeA36Claude Code, Codex
writing-plansdenolfe/dotfilesSkill885d agononeA21Claude Code, Codex
finishing-a-development-branchdenolfe/dotfilesSkill885d agononeA27Claude Code, Codex