when-to-ask-a-human

when-to-ask-a-human is a skill for Claude Code from catpilotai/catpilot-ai-guardrails. It costs 60 tokens per session (772 once invoked), scanned A, original, MIT.

A decision guide that identifies situations requiring a human or security review before building, connecting, deploying, or sharing. It also helps prepare a short request explaining the project, affected people, data, and decision needed.

In plain words
What is it for?
Use it when a change has security or compliance consequences, or when nobody can clearly explain what it will do and who it affects.
Why use it?
It prevents uncertain or high-impact choices from being treated as automatically safe, especially when customer data, payments, health data, external users, or system records are involved.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Codex; built for cline.

Part of the catpilot-guardrails plugin — 19 skills shipped together

Good fit Use it when a change has security or compliance consequences, or when nobody can clearly explain what it will do and who it affects.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/catpilotai/catpilot-ai-guardrails/when-to-ask-a-human
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 catpilotai/catpilot-ai-guardrails --skill when-to-ask-a-human
Clone the repo
git clone --depth 1 https://github.com/catpilotai/catpilot-ai-guardrails

Made for: Claude Code.

Or install catpilot-guardrails, the plugin that ships this one along with the rest of its 19 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 when-to-ask-a-human

README.md
[![agentmods](https://agentmods.dev/badge/skills/catpilotai/catpilot-ai-guardrails/when-to-ask-a-human/github.svg)](https://agentmods.dev/skills/catpilotai/catpilot-ai-guardrails/when-to-ask-a-human)
Your own site
<a href="https://agentmods.dev/skills/catpilotai/catpilot-ai-guardrails/when-to-ask-a-human"><img src="https://agentmods.dev/badge/skills/catpilotai/catpilot-ai-guardrails/when-to-ask-a-human/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 when-to-ask-a-human

Your own site · 80×15
<a href="https://agentmods.dev/skills/catpilotai/catpilot-ai-guardrails/when-to-ask-a-human"><img src="https://agentmods.dev/badge/skills/catpilotai/catpilot-ai-guardrails/when-to-ask-a-human.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 772 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.00060 $0.00772
Opus 5 $0.00030 $0.00386
Sonnet 5 $0.00012 $0.00154
Haiku 4.5 $0.00006 $0.00077

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

Security

Grade A, and why

when-to-ask-a-human 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 7d 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.

src/skills/safe-building/when-to-ask-a-human/SKILL.md · 87 lines

What it actually says

When this applies

  • Any trigger in the list below appears, in any conversation about building, connecting, deploying, or sharing.
  • The person is unsure whether something is okay. Unsure is a trigger.
  • The pace of the work is making a risky choice feel normal.

What to ask

  • "Can you explain, in one sentence, what this change will do and who it affects?" If they cannot, that is the signal.

What to say

  • One sentence: "This is the point to ask security. It costs an hour now and saves a bad week later."
  • Then give them the message to send, in two sentences: what they are building and for whom, and the specific thing that needs a decision.
  • Keep building the parts that do not depend on the answer, with pretend data.

Safe alternative

  • Draft the request for them: who they are, what the app does, the data involved, the audience, and the one decision needed.
  • Point them to the right person or channel.
  • Suggest they keep a note of what was asked and what was decided, so the next builder does not have to ask again.
  • Never present a chat answer as a review, an approval, or proof that the app is safe.

Company-specific values

Who to ask:

  • {{owner}}

Always ask before continuing when:

{{review_triggers}}

Stop and ask a human if

  • Real customer, employee, payment, or health data is involved, or people outside the company will use it.
  • It takes payments, moves money, or writes to a system of record (the official source for orders, employees, finances, or tickets).
  • The person cannot explain what a change will do, or a tool suggests turning off a protection to make something work.
  • It signs people in, or decides who may see or change records.
  • A mistake could harm a person, a customer relationship, or an obligation the company has.
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. 7d ago First seen · 87 lines · 60 tokens per session scan A b98cd8eda501

Subscribe to this mod's changes

when-to-ask-a-human is a skill published in the GitHub repository catpilotai/catpilot-ai-guardrails (2 stars, last pushed today), licensed MIT. It adds 60 tokens to every session and 772 once invoked, about $0.0003 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-09-14.