
Executed prompt not retired sibling redoes it
Stops agents from re-running briefs and prompts that were already executed or retired
Executed prompt not retired sibling redoes it is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 5
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Executed prompt not retired sibling redoes it
This skill is a checklist for working with session briefs and prompt indexes shared between parallel agent sessions. Before executing a brief, the agent checks whether the linked GitHub issue is closed and whether a merged pull request already covers it, and checks the artifacts directory for existing results. After finishing a brief, it adds a DONE banner to the brief file and updates the matching index row, leaving the original text unedited.
When writing a new prompt, the skill asks the agent to register it in the index in the same commit, noting what it is, what it is blocked on, and its task and issue identifiers. It also describes reconciling the index against the directory listing to find unregistered files, recounting table rows to correct prose counts, and keeping only one row marked as next.
The guidance uses the GitHub CLI for issue and pull request state and standard shell tools such as ls, grep, comm and sed. The skill ships as a single SKILL.md with no scripts.
When your agent uses it
A prompt/brief/runbook file and the index that lists it are SHARED STATE between parallel sessions, so finishing the work is only half of finishing: the session that executes a brief must retire it on BOTH surfaces, and the session that writes one must register it, or a sibling redoes work that already merged or never sees the file at all. Use when: (1) you are about to execute a brief from a handoffs/plans/runbooks directory, or an index says "take this one" / "next" / "live, unclaimed"; (2) you have just finished executing such a brief and are writing the wrap-up; (3) you just authored a new prompt for a future session; (4) an index line claims a row count, a "next" pick, or an unclaimed state; (5) a session reports "this was already done" or "the prompt would have re-derived a committed result". Symptoms: the top recommendation names an issue that is CLOSED or a PR that is MERGED; two or more rows both say "next"; the prompt file has no DONE banner though its issue is closed; `ls` of the prompt directory r
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 1 file (9 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the agent-traffic-control plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add wan-huiyan/agent-traffic-control
/plugin install agent-traffic-control@wan-huiyan-agent-traffic-controlOr copy only this skill to ~/.claude/skills/executed-prompt-not-retired-sibling-redoes-it:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/wan-huiyan/agent-traffic-control.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/executed-prompt-not-retired-sibling-redoes-it &&
cp -R "$tmp/plugins/agent-traffic-control/skills/executed-prompt-not-retired-sibling-redoes-it" ~/.claude/skills/executed-prompt-not-retired-sibling-redoes-it &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/executed-prompt-not-retired-sibling-redoes-it inside it instead.
Copy the skill folder to ~/.agents/skills/executed-prompt-not-retired-sibling-redoes-it to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/wan-huiyan/agent-traffic-control.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/executed-prompt-not-retired-sibling-redoes-it &&
cp -R "$tmp/plugins/agent-traffic-control/skills/executed-prompt-not-retired-sibling-redoes-it" ~/.agents/skills/executed-prompt-not-retired-sibling-redoes-it &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/executed-prompt-not-retired-sibling-redoes-it inside it instead.
Copy the skill folder to ~/.cursor/skills/executed-prompt-not-retired-sibling-redoes-it to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/wan-huiyan/agent-traffic-control.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/executed-prompt-not-retired-sibling-redoes-it &&
cp -R "$tmp/plugins/agent-traffic-control/skills/executed-prompt-not-retired-sibling-redoes-it" ~/.cursor/skills/executed-prompt-not-retired-sibling-redoes-it &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/executed-prompt-not-retired-sibling-redoes-it inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/wan-huiyan/agent-traffic-control.git --path plugins/agent-traffic-control/skills/executed-prompt-not-retired-sibling-redoes-itOr copy the folder to ~/.gemini/skills/executed-prompt-not-retired-sibling-redoes-it yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/executed-prompt-not-retired-sibling-redoes-it:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/wan-huiyan/agent-traffic-control.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/executed-prompt-not-retired-sibling-redoes-it &&
cp -R "$tmp/plugins/agent-traffic-control/skills/executed-prompt-not-retired-sibling-redoes-it" ~/.copilot/skills/executed-prompt-not-retired-sibling-redoes-it &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/executed-prompt-not-retired-sibling-redoes-it inside it instead.
Get the folder:
git clone --depth 1 https://github.com/wan-huiyan/agent-traffic-control.gitThen copy agent-traffic-control/plugins/agent-traffic-control/skills/executed-prompt-not-retired-sibling-redoes-it into your agent's skills folder as executed-prompt-not-retired-sibling-redoes-it. Agents that support SKILL.md read one folder per skill.
What it does
- Pre-execution state check
- Verifies whether a brief's linked issue is closed or a pull request has merged before work begins.
- Brief retirement banner
- Marks an executed brief as done at the top while keeping its original text intact.
- Index row updating
- Changes the matching index row to show it is retired and records the outcome.
- Prompt registration rule
- Requires a new prompt to be added to the index in the same commit that creates it.
- Index directory reconciliation
- Compares prompt files on disk against index rows to find unregistered files.
- Single next-pick enforcement
- Ensures only one index row is marked as next and re-resolves it when a row retires.
Good for
- Check whether a brief's issue is already closed before starting it
- Mark a finished handoff brief as done and update the index
- Register a newly written prompt in the session index
- Find prompt files that have no row in the handoff index
- Correct the row count in an index that has drifted from its table
Executed prompt not retired sibling redoes it FAQ
What does Executed prompt not retired sibling redoes it need to run?
It uses the GitHub CLI to query issue and pull request state, along with standard shell commands such as ls, grep and comm, against a repository that keeps briefs in a handoffs directory with an index file.
Does Executed prompt not retired sibling redoes it change any code or files automatically?
No scripts are bundled. The skill instructs the agent to add a banner to a brief file and to update index rows as part of the wrap-up.
When does Executed prompt not retired sibling redoes it apply?
It applies when an agent is about to execute a brief from a handoffs, plans or runbooks directory, has just finished one, has written a new prompt, or sees an index entry that claims a row count, a next pick or an unclaimed state.
Is Executed prompt not retired sibling redoes it meant for concurrent writes to a machine-written index?
No. The skill states that it does not cover concurrent writes to a machine-written index, which is handled by a separate skill.
How do I install Executed prompt not retired sibling redoes it in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/executed-prompt-not-retired-sibling-redoes-it to use it in all your projects, or to .claude/skills/executed-prompt-not-retired-sibling-redoes-it in one project. Or install the agent-traffic-control plugin, which includes it: /plugin marketplace add wan-huiyan/agent-traffic-control, then /plugin install agent-traffic-control@wan-huiyan-agent-traffic-control.
Does Executed prompt not retired sibling redoes it run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Executed prompt not retired sibling redoes it?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Executed prompt not retired sibling redoes it?
The closest alternatives to Executed prompt not retired sibling redoes it are Handoff prompt stale user hint newer state, Finalize agent prompt, Subagent brief, Skill creator and Generate prompt request.
Where this comes from
- Description: from the skill's own SKILL.md.
More from wan-huiyan/agent-traffic-control

Teaches agents to refuse a flawed instruction only with measured evidence attached
- Open source
- 5 GitHub stars
- Developer tools

Catches silent deletions when a subagent edits large files with repeated blocks
- Open source
- 5 GitHub stars
- Developer tools

Holds a pull request from merging by stopping its agent, disarming auto-merge, then
- Open source
- 5 GitHub stars
- Developer tools

Checks that a batch of pull requests does not cite file paths that will never exist
- Open source
- 5 GitHub stars
- Developer tools

Checks whether a pull request truly landed by comparing file content, not commit subjects
- Open source
- 5 GitHub stars
- Developer tools

Checks a branch for stale-base changes that would silently undo newer main work
- Open source
- 5 GitHub stars
- Developer tools




