agent-glovebox: Skill for Claude Code

.claude/skills/explore-plan/SKILL.md

explore-plan is a skill for Claude Code from AlexanderMattTurner/agent-glovebox. It costs 171 tokens per session (1,712 once invoked), scanned B, original, Apache-2.0.

A disciplined workflow for exploring a codebase, writing an implementation plan, critiquing it, reviewing it, and verifying the result. It also records important constraints and decides whether to work around or remove them.

In plain words
What is it for?
It helps plan non-trivial coding tasks, especially when several files or systems are involved. It is used to investigate the code, define the work, challenge the plan, and verify completion.
Why use it?
It reduces the risk of changing code before understanding how it works. The written checks make the intended solution and its remaining risks easier to inspect.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md; mentions subagents; names the ExitPlanMode tool.

This is AlexanderMattTurner/agent-glovebox's own configuration. It tells Claude Code how to work on agent-glovebox itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything agent-glovebox configures →

Reuse

Borrowing it

Nothing to install: this file belongs to AlexanderMattTurner/agent-glovebox. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/AlexanderMattTurner/agent-glovebox/main/.claude/skills/explore-plan/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/AlexanderMattTurner/agent-glovebox

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/alexandermattturner/agent-glovebox/explore-plan/github.svg)](https://agentmods.dev/skills/alexandermattturner/agent-glovebox/explore-plan)
Your own site
<a href="https://agentmods.dev/skills/alexandermattturner/agent-glovebox/explore-plan"><img src="https://agentmods.dev/badge/skills/alexandermattturner/agent-glovebox/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/skills/alexandermattturner/agent-glovebox/explore-plan"><img src="https://agentmods.dev/badge/skills/alexandermattturner/agent-glovebox/explore-plan.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 171 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,712 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00171 $0.01712
Opus 5 $0.00086 $0.00856
Sonnet 5 $0.00034 $0.00342
Haiku 4.5 $0.00017 $0.00171

Measured 2d ago against content hash 08edf2644191, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade B, and why

explore-plan scanned grade B with 1 finding 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 2d 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

**Then name the ONE definition that will own each fact the change touches, before you list the files.** For every rule, list, threshold, mapping or vocabulary the plan adds or edits, grep for what already answers it, and
.claude/skills/explore-plan/SKILL.md · 69 lines

How it starts

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

Explore / Plan Skill

Exact context beats approximation and a written plan beats diving in. Outside plan mode no plan gate fires, so this skill is the gate: run the same steps, write the plan to a scratch file under /tmp/claude, and execute without pausing. Skip this for trivial edits (typos, single-line tweaks) — say so.

1. Explore (read-only)

Understand before changing. Trace the relevant files and data models read-only. Prefer references over descriptions: cite path/to/file.py:42 and read the real code rather than guessing. Pipe real errors in (cat error.log | claude) instead of paraphrasing them. Launch parallel Explore agents when scope is uncertain or spans multiple areas.

Every constraint exploration surfaces gets a verdict, not just a description: work around, or delete toward? A constraint written down without one becomes terrain the plan navigates — which is how a removable duplication survives a planning phase that found it. Answer in one clause per constraint: "two registries → delete toward the packaged one" or "KVM absent on this runner → work around". "Delete toward" is the answer whenever one side is authoritative (a published package, a generated artifact, an upstream already depended on); the cost of the deletion belongs in the plan as work, not as a reason to bridge instead.

2. Plan (written, explicit)

Write an explicit plan: the problem, the approach, the specific files to touch, and the existing helpers/patterns to reuse (search for them — do not invent new code when a utility already exists).

Then name the ONE definition that will own each fact the change touches, before you list the files. For every rule, list, threshold, mapping or vocabulary the plan adds or edits, grep for what already answers it, and write one line per fact: which definition owns it, and what happens to the other copies. A plan step that reads "and also update" is the tell, and so is a diff that edits two files to change one behaviour. Collapse the copies onto one definition in this change, then make the fix at that definition — a deliberate variant is a named sibling beside the owner, never a second copy at a call site. Three functions each deciding which lever a merge state takes is not three edits: it is the divergence the defect came from. .claude/rules/code-style.md owns the rest.

Read the full file on GitHub · 69 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. 2d ago Changed · +2 lines 08edf2644191
  2. 3d ago Changed 57ee4f8969a2
  3. 4d ago Changed · +2 lines scan A → B becb8818be83
  4. 5d ago Changed af2b3993c7c3
  5. 10d ago First seen · 65 lines · 171 tokens per session scan A 3fdf989b9350

Subscribe to this mod's changes

explore-plan is a skill published in the GitHub repository AlexanderMattTurner/agent-glovebox (60 stars, last pushed yesterday), licensed Apache-2.0. It adds 171 tokens to every session and 1,712 once invoked, about $0.0009 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens

next-cache-components-optimizer

Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…

vercel/next.js · 170 tokens

next-partial-prefetching-adoption

Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…

vercel/next.js · 103 tokens