handoff-prompt-stale-user-hint-newer-state

handoff-prompt-stale-user-hint-newer-state is a skill for Claude Code from wan-huiyan/agent-traffic-control. It costs 340 tokens per session (2,903 once invoked), scanned A, original, MIT.

A safety check for executing an existing runbook or implementation plan when the user says that newer issues, pull requests, commits, or other project changes may affect it.

In plain words
What is it for?
It is for pausing before execution to ask about the newer project state and determine whether the plan needs adjustment.
Why use it?
It prevents an outdated plan from being followed without first reconsidering information that has arrived since the plan was written.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: mentions subagents; names the AskUserQuestion tool; mentions Claude Code.

Part of the agent-traffic-control plugin — 107 skills shipped together

Good fit It is for pausing before execution to ask about the newer project state and determine whether the plan needs adjustment.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wan-huiyan/agent-traffic-control/handoff-prompt-stale-user-hint-newer-state
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.

Any agent
npx skills add wan-huiyan/agent-traffic-control --skill handoff-prompt-stale-user-hint-newer-state
Clone the repo
git clone --depth 1 https://github.com/wan-huiyan/agent-traffic-control

Made for: Claude Code.

Or install agent-traffic-control, the plugin that ships this one along with the rest of its 107 skills.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/wan-huiyan/agent-traffic-control/handoff-prompt-stale-user-hint-newer-state/github.svg)](https://agentmods.dev/skills/wan-huiyan/agent-traffic-control/handoff-prompt-stale-user-hint-newer-state)
Your own site
<a href="https://agentmods.dev/skills/wan-huiyan/agent-traffic-control/handoff-prompt-stale-user-hint-newer-state"><img src="https://agentmods.dev/badge/skills/wan-huiyan/agent-traffic-control/handoff-prompt-stale-user-hint-newer-state/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for handoff-prompt-stale-user-hint-newer-state

Your own site · 80×15
<a href="https://agentmods.dev/skills/wan-huiyan/agent-traffic-control/handoff-prompt-stale-user-hint-newer-state"><img src="https://agentmods.dev/badge/skills/wan-huiyan/agent-traffic-control/handoff-prompt-stale-user-hint-newer-state.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 340 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,903 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00340 $0.02903
Opus 5 $0.00170 $0.01452
Sonnet 5 $0.00068 $0.00581
Haiku 4.5 $0.00034 $0.00290

Measured 12d ago against content hash 0649f08d8b80, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

handoff-prompt-stale-user-hint-newer-state 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 12d 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.

plugins/agent-traffic-control/skills/handoff-prompt-stale-user-hint-newer-state/SKILL.md · 216 lines

How it starts

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

Stale handoff prompt: user hints newer state landed since authoring

Problem

You're asked to execute a structured prompt (handoff, runbook, plan, ADR, implementation spec) that was authored at time T0. The user's invocation includes a casual aside — "but please be aware of #X, #Y, #Z" / "watch out for PR #N" / "FYI X landed". Between T0 and execution, those artifacts were filed or merged and they materially change what the prompt should do.

The default behavior is to execute the prompt verbatim and surface any divergence in a post-execution comment. That's wrong: the user is telling you the premise has changed and is asking you to re-evaluate scope before executing.

Failure mode: you ship the prompt's original plan, the newer state's implications get documented retroactively, and the user has to file a follow-up PR (or worse — a fix-up PR after auto-deploy) to reconcile.

Trigger conditions

Activate this skill when all of these hold:

  1. The user's instruction has two parts: (a) "execute / run / implement [structured prompt file or runbook]" AND (b) an aside flagging GitHub issues, PRs, commits, or state-of-the-world that should be "aware of" / "factor in" / "watch out for" / "FYI." Phrasings include:

    • "execute X, but be aware of #N"
    • "run the prompt — watch out for PR #M"
    • "implement this, factoring in #issue"
    • "but FYI #N was filed since"
    • "remember #X is open now"
  2. Before any code changes, a quick check (gh issue view, gh pr view, git log) shows at least one hinted artifact was filed/merged AFTER the prompt's authoring timestamp (Date: line, frontmatter, git mtime, or first commit on the prompt's feature branch).

  3. The artifact's content is non-trivial — a P1+ issue, a merged PR, a probe verdict, a panel review request_changes. (If the hint is just "remember the deploy schedule is Friday" — that's calendar context, not a scope change. Don't fire this skill.)

Solution

Step 1: Pause before the first scope-affecting action.

Read the full file on GitHub · 216 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. 12d ago First seen · 216 lines · 340 tokens per session scan A 0649f08d8b80

Subscribe to this mod's changes

handoff-prompt-stale-user-hint-newer-state is a skill published in the GitHub repository wan-huiyan/agent-traffic-control (3 stars, last pushed yesterday), licensed MIT. It adds 340 tokens to every session and 2,903 once invoked, about $0.0017 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-08-31.

Related

Other skills, from other repositories

codex-coplan

Bring in an external model (Codex) to co-develop a plan — both models draft independently, align on disagreements, and merge into one plan. Load this only when the user explicitly names Codex (e.g. "let's discuss this with Codex," "what does Codex think about this approach") — don't auto-trigger just because a plan…

jiayx01/codex-claude-skills · 92 tokens

codex-orchestrator

Delegate execution tasks to Codex (Claude plans and reviews). Load this only when the user names Codex explicitly — no matter how big the task is, if the user hasn't mentioned Codex, do it yourself.

jiayx01/codex-claude-skills · 49 tokens

good-bad-ugly

Use when the user asks to "orchestrate", "conduct", invoke "good bad ugly" / "gbu", or tackle a large multi-part coding task (audits, refactor sweeps, multi-feature sessions, "clean this up and fix everything") — anything too big for one linear pass. Runs the tiered orchestration workflow: The Good (brain) plans and…

XyndoX/good-bad-ugly · 131 tokens

orchestrate

Use only when the user explicitly types /orchestrate:orchestrate to decompose a large task, spawn a tree of parallel worker/subplanner/verifier subagents, and collect structured handoffs. Do not invoke autonomously.

odysseus0/claude-orchestrate · 54 tokens

api-testing

HTTP API testing for TypeScript (Supertest) and Python (httpx, pytest). Test REST APIs, GraphQL, request/response validation, authentication, and error handling.

secondsky/claude-skills · 39 tokens

bun-test-coverage

Use for test coverage with Bun, --coverage flag, lcov reports, thresholds, and CI integration.

secondsky/claude-skills · 26 tokens