Skip to content
Skill

Handoff prompt stale user hint newer state

Pauses a stale handoff or runbook prompt to re-check scope when newer issues or PRs land

Handoff prompt stale user hint newer state is an open-source agent skill for developer tools. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
5
Last commit
License
MIT
Listing updated

Similar skills

About Handoff prompt stale user hint newer state

This skill handles the case where a user asks the agent to execute a structured prompt, such as a handoff, runbook, plan or ADR, and adds a note that related GitHub issues or pull requests have changed since it was written. Instead of running the original steps as written, the agent is directed to stop before any scope-affecting action and check the current state of each artifact the user named, using the GitHub CLI to read issue and PR details, labels and cross-references.

The workflow has the agent map each artifact to what it would change in the prompt, then ask the user a single gating question with concrete options such as merging as-is with a caveat, re-scoping before merging, or holding the change. The chosen path is then followed, and the PR description or commit message records which newer artifact drove the amendment.

The skill expects a Git repository with the GitHub CLI available for reading issues and pull requests, and it relies on the agent's ability to pose a structured question to the user before making changes. It also says to ask for clarification when a hint is operational context rather than a scope change.

When your agent uses it

Gate execution of a structured runbook/handoff/plan prompt behind an AskUserQuestion when the user explicitly hints that newer state (issues filed, PRs merged, probes shipped) has landed since the prompt was authored. Use when: (1) the user invokes "execute docs/handoffs/session_NNN_*.md" or "run this plan" or "implement this ADR" AND adds an inline aside like "but please be aware of #A, #B, #C" / "watch out for PR #N" / "FYI #issue landed since this was written"; (2) before executing, a scan reveals issues/PRs in the user's hint list were filed/merged AFTER the prompt's authoring timestamp; (3) the newer artifacts could materially change what the prompt should do (e.g., a P1 issue surfacing that the prompt's design decision needs revisiting, a probe correction flipping a verdict, a sibling PR's merge claiming an ID the prompt reserved). Default behavior to avoid: execute the prompt verbatim and paper over the divergence in a post-merge comment. Correct behavior: pause, fetch current state of each hinted arti

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 (10 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-control

Or copy only this skill to ~/.claude/skills/handoff-prompt-stale-user-hint-newer-state:

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/handoff-prompt-stale-user-hint-newer-state &&
cp -R "$tmp/plugins/agent-traffic-control/skills/handoff-prompt-stale-user-hint-newer-state" ~/.claude/skills/handoff-prompt-stale-user-hint-newer-state &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/handoff-prompt-stale-user-hint-newer-state inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/handoff-prompt-stale-user-hint-newer-state 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/handoff-prompt-stale-user-hint-newer-state &&
cp -R "$tmp/plugins/agent-traffic-control/skills/handoff-prompt-stale-user-hint-newer-state" ~/.agents/skills/handoff-prompt-stale-user-hint-newer-state &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/handoff-prompt-stale-user-hint-newer-state inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/handoff-prompt-stale-user-hint-newer-state 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/handoff-prompt-stale-user-hint-newer-state &&
cp -R "$tmp/plugins/agent-traffic-control/skills/handoff-prompt-stale-user-hint-newer-state" ~/.cursor/skills/handoff-prompt-stale-user-hint-newer-state &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/handoff-prompt-stale-user-hint-newer-state inside it instead.

Cursor docs on skills

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/handoff-prompt-stale-user-hint-newer-state

Or copy the folder to ~/.gemini/skills/handoff-prompt-stale-user-hint-newer-state yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/handoff-prompt-stale-user-hint-newer-state:

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/handoff-prompt-stale-user-hint-newer-state &&
cp -R "$tmp/plugins/agent-traffic-control/skills/handoff-prompt-stale-user-hint-newer-state" ~/.copilot/skills/handoff-prompt-stale-user-hint-newer-state &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/handoff-prompt-stale-user-hint-newer-state inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/wan-huiyan/agent-traffic-control.git

Then copy agent-traffic-control/plugins/agent-traffic-control/skills/handoff-prompt-stale-user-hint-newer-state into your agent's skills folder as handoff-prompt-stale-user-hint-newer-state. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Pre-execution scope gate
Pauses before any code-modifying step when the user's aside suggests the prompt's premise has changed.
Artifact state check
Uses GitHub CLI commands to read the status, labels and body of each issue or PR the user mentions.
Implication mapping
Has the agent note, for each artifact, which prompt step or design choice it would change.
Structured scope options
Presents the user with concrete choices such as merge as-is, re-scope, or hold the work.
Divergence recording
Asks that the PR description or commit message cite the newer issues that shaped the final scope.

Good for

  • Execute a session handoff file while noting that a related bug issue was filed after it was written
  • Run an implementation plan after a teammate's PR has merged and may change the design
  • Carry out an ADR while checking whether a newly opened P1 issue alters its decisions
  • Confirm before merging a dashboard change when an input-quality issue has appeared since the plan

Handoff prompt stale user hint newer state FAQ

When does Handoff prompt stale user hint newer state trigger?

When the user asks to execute or run a structured prompt and adds an aside naming issues or PRs that should be considered, and those artifacts were filed or merged after the prompt was authored.

Does Handoff prompt stale user hint newer state execute the original prompt verbatim?

Not by default. It asks the user to choose how scope should shift, and the chosen option determines whether the original plan is followed as written.

What tools does Handoff prompt stale user hint newer state need?

The skill's instructions use the GitHub CLI (gh issue view and gh pr view) and git log to check artifact state. It ships no scripts.

Does Handoff prompt stale user hint newer state apply to casual scheduling notes?

No. The skill says calendar or operational context such as a deploy window does not count as a scope change, and it asks for clarification when a hint is ambiguous.

How do I install Handoff prompt stale user hint newer state in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/handoff-prompt-stale-user-hint-newer-state to use it in all your projects, or to .claude/skills/handoff-prompt-stale-user-hint-newer-state 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 Handoff prompt stale user hint newer state 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 Handoff prompt stale user hint newer state?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Handoff prompt stale user hint newer state?

The closest alternatives to Handoff prompt stale user hint newer state are Executed prompt not retired sibling redoes it, Commit push PR, Spec driven develop, Multi agent handoff and Agentic workflows.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from wan-huiyan/agent-traffic-control