unstuck

unstuck is a skill for Claude Code, Codex from momentmaker/kaijutsu. It costs 64 tokens per session (1,801 once invoked), scanned A, original, MIT.

A guided troubleshooting aid for when a coding problem is unclear or repeated attempts are going nowhere.

In plain words
What is it for?
Use it to investigate failures, clarify symptoms, test likely causes, and record a confirmed solution.
Why use it?
It makes you describe the problem and gather evidence before suggesting a fix, while checking project memory for similar issues.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to investigate failures, clarify symptoms, test likely causes, and record a confirmed solution.

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

Made for: Claude Code, Codex.

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 unstuck

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/momentmaker/kaijutsu/unstuck"><img src="https://agentmods.dev/badge/skills/momentmaker/kaijutsu/unstuck.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 64 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,801 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.00064 $0.01801
Opus 5 $0.00032 $0.00901
Sonnet 5 $0.00013 $0.00360
Haiku 4.5 $0.00006 $0.00180

Measured 9d ago against content hash 746ec23c6415, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

unstuck 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 9d 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/core/unstuck/SKILL.md · 175 lines

How it starts

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

Unstuck

Break out of unproductive loops. Articulate the problem, then either solve it through clarity or escalate systematically.

Step 0.5's iron-law framing + multi-component instrumentation pattern adapted from obra/superpowers/skills/systematic-debugging under MIT.

Step 0: Memory-first

Before asking the user anything, check project memory for prior similar problems:

  1. Read MEMORY.md index, scan descriptions for matches against the current symptom (error message, stack trace, behavior)
  2. For any matches, read the full memory entry
  3. If a strong match exists, present it: "We've hit something like this before: . Is this the same problem? If yes, the prior fix was: ."

If the user confirms it's the same problem, jump straight to Step 5 (Solution Capture) — the entry confirms the user already had the answer.

If no match or user says it's different, proceed to Step 0.5.

Memory format follows the project-memory schema — kebab-case slug + YAML frontmatter (name / description / type).

Step 0.5: Gather evidence

Iron law: no fix proposals without root-cause investigation first. Symptom-fixes mask underlying issues and create new bugs. This step is for the AGENT to do legwork BEFORE asking the human articulation questions — so Step 1's discussion is grounded in facts, not memory of facts.

  1. Read the actual error message in full.

    • Don't paraphrase. Copy the literal stack trace, exit code, log line.
    • Note line numbers, file paths, error codes — the message often contains the exact answer.
    • If the error was N invocations ago and you don't have it, ask the user to re-run with the failure reproduced.
  2. Check recent changes.

    • git log --oneline -10 on suspect files
    • git diff against last known good
    • New dependencies, config edits, env-var changes
    • The cause is usually in the most recent change, but the SYMPTOM may surface later.

Read the full file on GitHub · 175 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 9d ago First seen · 175 lines · 64 tokens per session scan A 746ec23c6415

Subscribe to this mod's changes

unstuck is a skill published in the GitHub repository momentmaker/kaijutsu (3 stars, last pushed 2mo ago), licensed MIT. It adds 64 tokens to every session and 1,801 once invoked, about $0.0003 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-08-31.

Related

Other skills, from other repositories

printing-press-polish

Polish a generated CLI to pass verification and become publish-ready. Runs diagnostics (dogfood, verify, scorecard, go vet, gosec), automatically fixes all issues (verify failures, static-analysis findings, dead code, descriptions, README, MCP tool quality), reports the before/after delta, and offers to publish. Use…

mvanhorn/cli-printing-press · 125 tokens

printing-press-amend

Amend a published CLI from one of two input sources: (1) dogfood mode mines the active Claude Code session transcript for friction (missing flags, hand- rolled API payloads, silent-null returns); (2) direct-input mode accepts user-supplied asks (rename a command, add commands or feeds, fix a named bug, optionally…

mvanhorn/cli-printing-press · 222 tokens

printing-press-output-review

Internal sub-skill: agentic review of a printed CLI's sampled command output for plausibility issues that rule-based checks can't encode (substring-match relevance, format bugs, silent source drops, ranking failures). Invoked via the Skill tool by the main printing-press skill at Phase 4.85 and printing-press-polish…

mvanhorn/cli-printing-press · 102 tokens

fix

Dispatch fix subagent for FIX-FIRST gaps from review, re-review, then diagnose unresolved failures after 2 loops.

automagik-dev/genie · 25 tokens

report

Investigate bugs comprehensively — cascade through trace, capture browser evidence, extract observability data, and prepare or explicitly create a GitHub issue with grounded findings.

automagik-dev/genie · 34 tokens

trace

Dispatch trace subagent to investigate unknown issues — reproduces, traces, and reports root cause for fix handoff.

automagik-dev/genie · 25 tokens