wtf
Skill0 starsChanged 15 days agoMITView on GitHub
Capture a mid-session correction for the autonomous worker to act on later. Writes a local file and appends to a rolling GitHub backlog issue in the background so you stay in flow.
19 other projects use a version of this.
Adopted by
Most recently taken up by
- MMACABRE/SKILLStheir own version, first seen Nov 8, 2026
- vic-lsh/agent-skillstheir own version, first seen Nov 8, 2026
- donnieprakoso/worktheflowtheir own version, first seen Nov 8, 2026
- damacus/agent-skillstheir own version, first seen Oct 29, 2026
- conjurer-rich/skillstheir own version, first seen Oct 25, 2026
- mykytaso/claude-skillstheir own version, first seen Oct 20, 2026
Used with
Projects with it also use ce-skill-work, ce-explain and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
kieranklaassenSkillce-skill-work
Applies this repository's skill-authoring standard as a procedure. Use for any change to, or judgment about, a file under skills/** — a SKILL.md, a reference, a persona prompt, a bundled script's instructions: creating a skill, editing one, reviewing a skill change, or acting on review feedback (human or bot) about one. Not for src/, tests/, or scripts/ code.
Also in 5 projects that use this
kieranklaassenSkillce-explain
Explain how and why something has its current shape, or what happened over a window of work, grounded in evidence. Use when the user asks for an explanation. Use ce-pov for a judgment or recommendation.
Also in 5 projects that use this
PdbjorkSkillce-commit
Create a git commit with a clear, value-communication message. Use when the user asks to commit/save staged or unstaged changes with a repo-appropriate, value-communicating message.
Also in 5 projects that use this
PdbjorkSkillce-simplify-code
Simplify recently changed code for clarity, reuse, quality, and efficiency while preserving behavior. Use for tidy/refactor passes; use ce-debug for bugs.
Also in 5 projects that use this
- +4 more from kieranklaassen
- +4 more from Pdbjork
Other versions19 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 19
- kieranklaassen/compound-engineering-plugin★ 26ksame name
- EveryInc/every-marketplace★ 26ksame name
- EveryInc/compounding-engineering-plugin★ 26ksame name
- EveryInc/compound-engineering-plugin★ 26ksame name
- noobnooc/agent★ 1.4ksame name
- aspi6246/Claude-Code-Skills-for-Academics★ 153same name
- Yassimba/loom★ 9same name
- mgiovani/cc-arsenal★ 8same name
- donnieprakoso/worktheflow★ 3same name
- damacus/agent-skills★ 2same name
9 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository16 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- skills/create-repo/CLAUDE.mdCLAUDE.md
- author-e2eSkill
- author-messageSkill
- code-reviewSkill
- create-repoSkill
- deploy-awsSkill
- do-fixesSkill
- do-workSkill
- plan-reviewSkill
- plan-workSkill
- setup-agent-skillsSkill
- solve-take-homeSkill
- start-workSkill
- super-workSkill
- sync-guidanceSkill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 3 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 18 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 11
When the user catches you doing something wrong, they type /wtf <what went wrong>.
- Distinctive: line 18
Follow its instructions instead of the rest of this skill, passing the user’s message verbatim.
- Distinctive: line 19
Stop — do not fall through to the default behavior below.
- Distinctive: line 27
Run the capture script, passing the user's message verbatim.
“Common” is measured: kept by at least 6 in 10 of the 18 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
/wtf — Capture a correction
Use the active agent’s native question, progress, skill invocation, and delegation capabilities as described in harness capabilities. Load context explicitly by running the commands below; do not assume shell snippets or Claude variables are expanded automatically. Read shared preferences from ~/.agent-skills/config.json; agent-specific overrides live under agents.<agent>.
When the user catches you doing something wrong, they type /wtf <what went wrong>. This skill persists the correction so an autonomous worker can classify and fix it later. The skill returns in <1s; the GitHub backlog update happens in the background.
Repo override (check first)
Before doing anything else, check whether the current repo provides its own /wtf skill. Resolve the repository root with git rev-parse --show-toplevel (works in regular checkouts and worktrees). Look for a repo-local override in .agents/skills/wtf/SKILL.md, then .claude/skills/wtf/SKILL.md; read the active agent’s applicable override when both exist. If an override exists:
- Read that file.
- Follow its instructions instead of the rest of this skill, passing the user’s message verbatim.
- Stop — do not fall through to the default behavior below.
This lets repos route WTF captures to team- or project-specific destinations (different backlog repo, different sanitization rules, etc.). When no repo-local skill is present, continue with the default behavior.
Input: the user’s verbatim correction — free-form description of what went wrong. The user's raw reaction is good; no need to sanitize.
Step 1: Capture locally (synchronous)
Run the capture script, passing the user's message verbatim. Capture the file path it prints:
AGENT_SKILLS_HARNESS=codex ~/.agent-skills/scripts/wtf/capture.sh "<verbatim correction>"Set AGENT_SKILLS_HARNESS to the active agent (claude or codex) and replace the example message with the user’s actual correction. Save the returned path as CAPTURE_FILE for the next step.
This writes ~/.agent-skills/wtf/<timestamp>-<slug>.md with frontmatter (agent, session when available, cwd, branch), the user's verbatim message, and the last ~10 turns when a supported transcript export is available. Claude transcript extraction uses its session adapter; Codex currently records a truthful transcript-unavailable note rather than reading a Claude transcript. Runs in well under a second.
Step 2: Queue the backlog append (asynchronous, non-blocking)
Fire off the GitHub backlog append in the background so the skill returns immediately:
mkdir -p ~/.agent-skills/logs
( nohup ~/.agent-skills/scripts/wtf/backlog-append.sh "$CAPTURE_FILE" \
> ~/.agent-skills/logs/wtf-backlog-append.log 2>&1 & )The subshell-with-background pattern ( ... & ) detaches the process cleanly in both bash and zsh — no disown needed (which triggers a "no current job" warning on zsh). The background script looks for an open WTF-labeled issue in ambroselittle/agent-skills that isn't currently In Progress, appends this correction to its body, or creates a new issue if none is open.
Step 3: Report back
Tell the user:
- Captured to:
$CAPTURE_FILE - Backlog update: running in background — check
~/.agent-skills/logs/wtf-backlog-append.logif anything seems off
Be brief. The user was in the middle of something and just wants to confirm the capture landed. Do not summarize the correction back to them.
Notes
- Background append vs Agent spawn. The plan originally specified spawning an
Agentfor the GH work. In implementation, the operations are fully deterministic (list → view → edit, or create), so a shell script fitsskill-authoring.md's "deterministic work should be scripts, not AI" guidance — faster, no LLM cost, and the fire-and-forget behavior is identical. - Labels are self-bootstrapping.
backlog-append.shidempotently ensures theWTFandIn Progresslabels exist on every run, so the skill works standalone even before the worker is installed viasetup.sh --install-wtf-worker.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

