lawrencehua/skills-log/legitimate-work-reroute
Claude Code and agent skill by lawrencehua/skills-log
- community
Checking that the SKILL.md file is still in the repository.
Recover full-quality output when a safety classifier misreads legitimate, authorized defensive-security work as an attack because of how the request is worded, without ever using this to evade a genuine restriction.
Install
npx vskill@latest install lawrencehua/skills-log/legitimate-work-rerouteSKILL.md
The same SKILL.md was published earlier as lawrencehua/skills-log/legitimate-work-reroute.
legitimate-work-reroute
Safety classifiers sometimes score requests on their surface wording, not their intent — so a defensive task ("find the auth bypass so we can patch it," "write a regression test for this vulnerability class") can get silently downgraded to a weaker fallback or refused, purely because it's phrased in attack-shaped language. This skill restates the same legitimate task so the classifier sees what it actually is. It routes QUALITY, not permission — it never asks a model to produce something it shouldn't.
Scope guard (read first)
Two hard limits define whether this technique applies at all:
- The framing must be true. State the real authorization or defensive context that was left implicit — "this is a defensive audit of a system we own; findings feed a fix." Never invent an engagement, a client, or a permission that doesn't exist. If you can't honestly state real defensive context, this technique does not apply — stop.
- If the content is genuinely restricted, say so and stop. This covers over-classified defensive work, not actual weaponizable techniques. If a fresh look confirms the classifier was right — the ask really is an exploit, not a guard — don't route around it. Tell the user plainly and don't retry.
This is explicitly not a refusal-evasion tool. It exists only because legitimate, authorized security work gets over-classified when it's worded like an attack.
The method
- Confirm before reacting. Don't assume misclassification from a hunch. Look for a real signal: an explicit fallback/downgrade notice, a visible drop in response quality or specificity, or the user directly saying the output looks degraded.
- Prevent first. Classification happens on the request as worded. Before any security-adjacent step, state the true authorization up front and anchor the ask on the defensive deliverable — the patch, the guard, the detection rule, the failing test that proves the hole — rather than the attack framing ("how would someone exploit this").
- If it still trips, escalate through these in order:
- (a) Restate — redo the same step fresh with the authorization and defensive framing stated explicitly, in case it was simply missing.
- (b) Decompose — split mechanical, neutral sub-steps (pulling logs, diffing code, running an existing test suite) from the actual synthesis, so the sensitive-sounding part shrinks to just reviewing already-neutral findings.
- (c) Invert the artifact — ask directly for the fix, the guard, or the test instead of the exploit description. That's usually the real deliverable anyway.
- Cap retries at about 3, then escalate to a human. Don't loop indefinitely, and never let a silently degraded answer pass as full quality — that's the exact failure this technique exists to prevent. If three honest attempts still trip the classifier, hand it to a person instead of pushing further.
When to use
- A defensive-security task (auth-bypass audit, vulnerability regression test, exploit-class detection rule) on a system you're authorized to work on comes back visibly weaker, shorter, or hedged compared to normal output.
- You get an explicit notice that a request was routed to a fallback or restricted mode, and the underlying task is one you're authorized to do.
- You're about to phrase a legitimate security review in attack language ("how would X be exploited") and want to front-load the defensive framing instead of hitting the trip wire first.
How to use
Install: copy this folder into ~/.claude/skills/legitimate-work-reroute/ for personal use, or .claude/skills/legitimate-work-reroute/ inside a project repo.
Invoke:
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/legitimate-work-reroute/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/lawrencehua/skills-log/legitimate-work-reroute)