agentleFS
TenureAITenureAI/PhD-Zero/.agents/skills/human-checkpoint/SKILL.md

human-checkpoint

Skill52 starsChanged 8 months agoMITView on GitHub

Escalate critical decisions to a human with options, tradeoffs, and recommendation. TRIGGER when: major safety risk, high irreversible impact, large GPU spend, destructive data ops, shared-memory publication, or hard blockers requiring human approval. DO NOT TRIGGER when: routine confirmations handled by run-governor, or low-stakes reversible actions.

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 1

    1. dagarre00/claude-code-template★ 1same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository10 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

12 rules. About 0 are common, 10 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈10

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If the built-in tool is unavailable in the current runtime, degrade to concise plain-text questions in chat.

    line 20
  2. Distinctive:

    Never silently skip a required checkpoint because the preferred channel is unavailable.

    line 22
  3. Distinctive:

    Always trigger for shared-memory publication.

    line 41
  4. Distinctive:

    Treat these as major risks:

    line 45
  5. Very specific:

    When using request_user_input, map the same structure into 1-3 short option-based questions.

    line 65
  6. Distinctive:

    When using plain-text fallback, ask one concise direct question at a time.

    line 66
  7. Distinctive:

    If option 2 is chosen, record it in run policy for this run only.

    line 77
  8. Distinctive:

    Keep options executable now.

    line 81
  9. Distinctive:

    Put recommended option first when appropriate.

    line 83
  10. Distinctive:

    Keep request short and clear.

    line 84
  11. Very specific:

    If fallback is used, record fallback_reason.

    line 92
  12. Distinctive:

    If no human response is available:

    line 96

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Human Checkpoint

Mission

Request human decisions only at meaningful risk or decision points, using executable options.

Interaction Channel Policy

For checkpoints that require user input, choose interaction channel in this order:

  1. In moderate or detailed, prefer built-in user-question tool (request_user_input) for all required user interactions.
  2. If the built-in tool is unavailable in the current runtime, degrade to concise plain-text questions in chat.
  3. In full-auto, avoid non-essential questions and trigger checkpoints only by mode policy.
  4. Never silently skip a required checkpoint because the preferred channel is unavailable.

Mode-Aware Trigger Policy

  1. full-auto
    • Trigger only for hard blockers or major safety risks.
  2. moderate
    • Trigger for plan-finalization confirmations.
    • Trigger before high-resource actions.
    • Trigger for major safety risks.
    • Trigger for required intake clarification and parameter confirmations.
    • Trigger for replan confirmations when route changes materially.
  3. detailed
    • Trigger when path is unclear.
    • Trigger before high-resource actions.
    • Trigger for major safety risks.
    • Trigger for required intake clarification and parameter confirmations.
    • Trigger for replan confirmations when route changes materially.

Always trigger for shared-memory publication.

Major Safety Risk Examples

Treat these as major risks:

  1. potential large-scale file deletion
  2. likely secret leakage
  3. destructive remote/shared resource mutation
  4. actions with clear financial or operational damage potential

In all modes, checkpoint is required for major risks.

Request Format

Use this structure:

  1. Decision Needed
  2. Context
  3. Options
  4. Recommendation
  5. If Approved
  6. If Rejected

When using request_user_input, map the same structure into 1-3 short option-based questions. When using plain-text fallback, ask one concise direct question at a time.

Required Option Set for Risky Actions

Provide these options unless user already gave explicit policy:

  1. allow once
  2. allow same action type for this run
  3. disallow and stop
  4. user-defined handling

If option 2 is chosen, record it in run policy for this run only.

Option Design Rules

  1. Keep options executable now.
  2. State tradeoffs in cost, risk, and learning value.
  3. Put recommended option first when appropriate.
  4. Keep request short and clear.

After Decision

  1. Execute only approved behavior.
  2. Record rationale and outcome in memory/logs.
  3. Re-check if another checkpoint is needed before next high-impact action.
  4. Record interaction_channel=request_user_input|plain-text-fallback.
  5. If fallback is used, record fallback_reason.

Failure Handling

If no human response is available:

  1. In full-auto, continue with safest reversible path unless major safety risk remains unresolved.
  2. In moderate or detailed, use plain-text fallback if built-in question tool is unavailable.
  3. In moderate or detailed, remain blocked until user response for required checkpoints.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.