Stuck

Stuck is a skill for Claude Code, Codex from wrg32786/aigent-os. It costs 46 tokens per session (1,155 once invoked), scanned A, original, MIT.

A workflow for working through several possible solutions before declaring a task blocked. It starts with alternate approaches, tries explicit options, and escalates only at the end.

In plain words
What is it for?
Use it when an API call, test, compile step, library method, or unclear decision is preventing progress.
Why use it?
It reduces premature requests for help when the next solution may simply require a different method. It makes the attempts and remaining uncertainty clearer.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents.

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.

agentmods
npx agentmods add skills/wrg32786/aigent-os/stuck
Any agent
npx skills add wrg32786/aigent-os --skill stuck
Clone the repo
git clone --depth 1 https://github.com/wrg32786/aigent-os

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 Stuck

README.md
[![agentmods](https://agentmods.dev/badge/skills/wrg32786/aigent-os/stuck.svg)](https://agentmods.dev/skills/wrg32786/aigent-os/stuck)
Your own site
<a href="https://agentmods.dev/skills/wrg32786/aigent-os/stuck"><img src="https://agentmods.dev/badge/skills/wrg32786/aigent-os/stuck.svg" alt="Measured on agentmods" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,155 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00046 $0.01155
Opus 5 $0.00023 $0.00577
Sonnet 5 $0.00009 $0.00231
Haiku 4.5 $0.00005 $0.00115

Measured 3d ago against content hash 172b59a72cee, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

Stuck 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 3d 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/stuck/SKILL.md · 94 lines

How it starts

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

Stuck

Before posting "I'm blocked", "not sure how to proceed", or "should I…?" — walk this ladder. Stopping is the last resort, not the first response. Most obstacles aren't blockers; they're the next thing to try.

When to use

  • About to surface to the principal for help
  • Hit an error, an obstacle, or genuine ambiguity
  • Tempted to type "I'm stuck" or "this isn't working"
  • Triggered by Caddy on prompts like: "blocked", "not sure how", "can't find", "need help", "should I ask", "stuck on", "this isn't working", "hitting a wall", "give up", "ask for help"

The ladder (climb top-to-bottom; only stop at the bottom)

Rung 1 — Try a different approach

Most obstacles aren't blockers. Did you try plan A? Try plan B.

  • API call failed → retry with different params, fallback to alternative API
  • Test broken → fix the test
  • Compile error → read the error and fix it
  • Library doesn't do what you expected → try a different method on the same library

Rung 2 — Try 2-3 alternatives explicitly

Brainstorm 3 ways to solve this. Note them down. Try each.

  • Can the data come from a different source?
  • Can the problem be solved at a different layer (UI vs API vs DB)?
  • Is there a workaround that gets 80% of the value?

If you can't think of 3 alternatives, you haven't thought hard enough — keep listing.

Rung 3 — Use a helper

Spawn an exploration subagent with a specific question.

  • Not "help me figure this out" — that's a survey.
  • "Find all callers of generateHeadline and report whether any pass null for the archetypeId argument" — that's a question.

Rung 4 — Re-read the user's request

Sometimes the path is in the wording. The principal often gives the answer; you just read past it.

  • Did they specify a constraint you've been violating?
  • Did they reference a file or pattern you haven't checked?
  • Did they say "like X" — and have you actually looked at X?

Rung 5 — Genuinely ask

Only if rungs 1-4 have failed AND the missing information is user-only (a product decision, a credential, an ambiguous behavior with no code-side answer).

Read the full file on GitHub · 94 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. 3d ago First seen · 94 lines · 46 tokens per session scan A 172b59a72cee

Subscribe to this mod's changes

Stuck is a skill published in the GitHub repository wrg32786/aigent-os (18 stars, last pushed yesterday), licensed MIT. It adds 46 tokens to every session and 1,155 once invoked, about $0.0002 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-09-03.