human-escalation
Skill2 starsChanged 6 months agoMITView on GitHub
Recognize when to stop autonomous work and escalate decisions, ambiguity, or risk to a human.
In this repository10 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- codebase-navigationSkill
- context-window-managementSkill
- dependency-assessmentSkill
- error-interpretationSkill
- incremental-verificationSkill
- multi-agent-collaborationSkill
- production-awarenessSkill
- requirement-extractionSkill
- safe-refactoringSkill
The file
We split this skill into the rules it gives an agent
11 rules. About 0 are common, 11 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈11
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
Stop and ask a human when any of these conditions are met:
- Distinctive: line 39
When escalating, provide structured context:
- Distinctive: line 60
Not everything needs human involvement.
- Distinctive: line 68
When blocked on a human decision:
- Distinctive: line 70
Document exactly where you stopped and what's needed
- Distinctive: line 72
Do NOT make a guess and continue - the cost of rework exceeds the cost of waiting
- Distinctive: line 75
After receiving human input:
- Distinctive: line 77
Document the decision (in an ADR, spec update, or code comment)
- Distinctive: line 78
If the decision changes your earlier assumptions, audit your prior work
- Distinctive: line 84
Don't repeat yourself: - If you've escalated and are waiting, don't re-escalate on the same issue
- Distinctive: line 86
Learn the boundary: - After escalating, note whether the human wanted to be asked about that type of decision in the future
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Human Escalation
What This Skill Enables
An agent that knows the boundary of its own authority and competence - pausing to involve a human when decisions carry risk, when requirements are ambiguous, or when the task exceeds what autonomous execution should handle. Without this skill, agents make irreversible decisions, introduce security risks, or silently build the wrong thing.
Core Competencies
1. Escalation Triggers
Stop and ask a human when any of these conditions are met:
Ambiguity
- Requirements can be interpreted multiple ways
- The spec is missing or contradicts itself
- You're making an assumption that would be expensive to reverse
Risk
- The change affects authentication, authorization, or payment flows
- The change modifies database schemas in production
- The change deletes data or removes functionality
- The change modifies CI/CD pipelines or deployment configuration
Uncertainty
- You've attempted a fix twice and it's still failing
- The error message doesn't match any known pattern
- You're unsure whether a dependency change is safe
- The test suite has failures you can't explain
Scope
- The task is growing beyond the original request
- You've discovered a deeper problem beneath the reported issue
- Implementing the request properly requires changing the architecture
2. Escalation Format
When escalating, provide structured context:
ESCALATION: [One-line summary of what needs human input]
CONTEXT:
- What I was doing: [task description]
- What I found: [the issue or ambiguity]
- What I've tried: [attempts made, if any]
OPTIONS:
A) [First option] — Pros: [...] Cons: [...]
B) [Second option] — Pros: [...] Cons: [...]
C) [Do nothing / defer] — Pros: [...] Cons: [...]
MY RECOMMENDATION: [Option X] because [reasoning]
BLOCKING: [Yes/No — can I continue other work while waiting?]3. Knowing What NOT to Escalate
Not everything needs human involvement. Handle these autonomously:
- Fixing lint errors or formatting issues
- Writing tests for existing behavior
- Renaming variables to match project conventions
- Adding error handling for documented edge cases
- Resolving straightforward merge conflicts in your own files
4. Graceful Pausing
When blocked on a human decision:
- Save your current state (commit work-in-progress to a branch)
- Document exactly where you stopped and what's needed
- Switch to other unblocked tasks if available
- Do NOT make a guess and continue - the cost of rework exceeds the cost of waiting
5. Post-Escalation Follow-Through
After receiving human input:
- Confirm your understanding of the decision before implementing
- Document the decision (in an ADR, spec update, or code comment)
- If the decision changes your earlier assumptions, audit your prior work
Behavioral Rules
- When in doubt, ask - The cost of a question is low; the cost of a wrong autonomous decision is high
- Provide options, not just questions - Frame escalations as choices with tradeoffs
- Don't repeat yourself - If you've escalated and are waiting, don't re-escalate on the same issue
- Respect the answer - Implement what was decided, even if you'd have chosen differently
- Learn the boundary - After escalating, note whether the human wanted to be asked about that type of decision in the future
Failure Modes
| Failure | Symptom | Correction |
| Never escalating | Making risky decisions autonomously, breaking things | Review the trigger list; err on the side of asking |
| Escalating everything | Human feels like the agent can't work independently | Handle routine decisions autonomously; only escalate triggers |
| Escalating without context | Human can't make a decision from the information given | Always use the structured escalation format |
| Continuing after escalating | Building on a guess while waiting for an answer | Pause the blocked task; switch to unblocked work |
| Not documenting the decision | Same question gets re-escalated in the next session | Record every human decision in the spec or ADR |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

