task-framing-claims-need-subagent-grep-verify

Instructs write-content sub-agents to grep-verify and tag corrections to dispatcher task-framing claims.

3|Updated May 8, 2026
One-click install
npx skills add https://github.com/wan-huiyan/agent-traffic-control --skill task-framing-claims-need-subagent-grep-verify-wan-huiyan
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: task-framing-claims-need-subagent-grep-verify
Source: https://github.com/wan-huiyan/agent-traffic-control/tree/main/plugins/agent-traffic-control/skills/task-framing-claims-need-subagent-grep-verify
Command: npx skills add https://github.com/wan-huiyan/agent-traffic-control --skill task-framing-claims-need-subagent-grep-verify-wan-huiyan

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? When you dispatch a sub-agent to write an analysis doc, design plan, or review summary, your prompt often asserts facts about the existing codebase ("X is not in v6.1", "Y is already implemented at module Z"). If those claims are wrong, the sub-agent either faithfully reproduces the error or silently corrects it without telling you — leaving you with an authoritative-looking document built on a stale premise. ## Core Features & Use Cases - Explicit correction permission: A prompt block that grants the sub-agent license to verify and override your framing claims instead of deferring to them. - Named grep targets: Directs the sub-agent to specific canonical source files so verification is concrete, not open-ended. - Mandatory correction tags: Requires [VERIFIED], [Contradicts task framing], or [NEEDS-VERIFICATION] tags with file:line citations so contradictions surface back to you. - Use Case: You dispatch a sub-agent to write a v7 retrain implications doc listing 8 features "not in v6.1". With the verify-and-tag block, the sub-agent grep-checks each claim and flags that 2 of the 8 features already exist — preventing wrong recommendations from shipping in the design review. ## Quick Start Before dispatching an Agent or Task sub-agent whose prompt asserts facts about existing code, add a verify-and-tag block granting correction permission, naming the source files to grep, and requiring [VERIFIED] or [Contradicts task framing] tags with file:line evidence.

Frequently Asked Questions about task-framing-claims-need-subagent-grep-verify

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I stop a sub-agent from repeating wrong facts in my prompt?▼

Add an explicit verify-and-tag block to the sub-agent prompt: grant permission to correct your framing claims, name the exact source files to grep against, and require [VERIFIED] or [Contradicts task framing] tags with file:line evidence for each claim.

How to make Claude Code sub-agents verify codebase claims before writing docs?▼

State in the prompt that your task-framing claims are not grep-confirmed, list the canonical files to verify against using Read/Grep/Glob, and require tagged findings. Without the explicit grant, sub-agents default to deferring to the dispatcher's framing.

Why do sub-agents silently correct my instructions without telling me?▼

Sub-agents are trained to be helpful and follow dispatcher instructions, so when they find your claim wrong they often substitute the correct view quietly. Requiring a visible [Contradicts task framing] tag forces the discrepancy to surface instead of merging silently into the document.

When should I not use grep-verify instructions for sub-agents?▼

Skip it when the sub-agent is doing pure exploration, has no Read/Grep/Glob access to the code being claimed about, or produces throwaway scratch output. The technique targets authoritative deliverables that downstream consumers will cite.

What is the difference between this and factcheck-subagent-needs-complete-sources?▼

factcheck-subagent-needs-complete-sources covers feeding fact-check agents complete source material. This skill covers the inversion: telling write-content sub-agents they may verify and correct the dispatcher's own task-framing claims, with tagged corrections.