Skip to content

feat(skills): add stuck bundled skill#157

Merged
emal-avala merged 2 commits intomainfrom
feat/skill-stuck
Apr 22, 2026
Merged

feat(skills): add stuck bundled skill#157
emal-avala merged 2 commits intomainfrom
feat/skill-stuck

Conversation

@emal-avala
Copy link
Copy Markdown
Member

Summary

Adds `/stuck` — a bundled skill for when the agent is looping on the same failure. Forces it to:

  1. Read the last 10 messages and name the assumption every failed attempt shared
  2. Propose at least two approaches that don't rely on that assumption
  3. Take one concrete step — no retries of anything already tried

Why

Common failure mode: agent burns 5 turns trying minor variations of the same approach. "Try again but harder" is the default; "step back and question the premise" isn't. This skill explicitly names that move.

Pairs well with `/debug` (investigate one hypothesis) when `/debug` isn't cutting it.

Test plan

  • `cargo fmt --all` clean
  • `cargo check` passes
  • `cargo test -p agent-code-lib --lib skills` (all pass)
  • Manual: after 3 failed tool attempts on a broken test, `/stuck` produces a materially different plan rather than retrying

When the agent is looping on the same failure, `/stuck` forces it to:
1. Read the last 10 messages and name the shared assumption behind
   every failed attempt.
2. Propose at least two approaches that don't rely on that assumption.
3. Take one concrete step — no retries of anything already tried.

The common failure mode is picking "try again but harder" instead of
"step back". This skill names that explicitly.
@chatgpt-codex-connector
Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@emal-avala emal-avala merged commit c8fbc91 into main Apr 22, 2026
13 of 14 checks passed
@emal-avala emal-avala deleted the feat/skill-stuck branch April 22, 2026 23:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant