orchestrator-present-approval
Skill4 starsChanged 5 months agoMITView on GitHub
Use when presenting a returned APPROVAL_REQUEST for informed user consent
In this repository38 other files it gives its agents.
- agent-contract-handoffSkill
- agent-creationSkill
- agent-protocolSkill
- agent-responseSkill
- blog-writingSkill
- brief-specSkill
- code-reviewSkill
- code-standardsSkill
- command-executionSkill
- diagram-builderSkill
- executionSkill
- fast-queriesSkill
- gaia-auditSkill
- gaia-checkSkill
- gaia-compactSkill
- gaia-patternsSkill
- gaia-plannerSkill
- gaia-releaseSkill
- gaia-researchSkill
- gaia-verifySkill
- git-conventionsSkill
- gmail-policySkill
- gmail-triageSkill
- gws-setupSkill
- investigationSkill
- memorySkill
- pending-approvalsSkill
- readme-writingSkill
- scheduled-taskSkill
- security-tiersSkill
- session-reflectionSkill
- skill-creationSkill
- subagent-request-approvalSkill
- technical-explanationSkill
- ticket-writingSkill
- verification-oracleSkill
- verification-rubricSkill
- visual-verifySkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
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
- Very specific: line 28
Run gaia approvals question <approval_id> [<approval_id> ...] with the pending ids -- up to 4 questions in all, one per command.
- Distinctive: line 30
Call your question tool (AskUserQuestion in Claude Code, question in OpenCode) with that output unchanged, and print nothing about the …
- Very specific: line 46
Read the decision with gaia approvals show <approval_id> (its State).
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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
Present Approval — Orchestrator Branch
Gaia builds every signature, and each of its commands is one question on one
line, marked [ GAIA-SECURITY ] so the user reads it as Gaia's check and not as
your question: who asks and the exact command; Details adds what it does, its
impact and the rollback. No model writes any of it.
You never print, copy, summarise or translate any part of it; you
only run gaia approvals question and open what it gives you, unchanged. You
can run it again at any time for the approvals still pending -- for example
when several specialists return signatures.
A signature is approved only when every one of its questions gets Approve; a Reject on any of them rejects the whole signature. One call asks at most 4 questions, so a signature carries at most 4 commands.
Presenting
The flow is the same in Claude Code and OpenCode. Only you open the question:
a specialist that asks for a signature, or is blocked on a command, asks the
user nothing. It ends its turn and returns APPROVAL_REQUEST with the
approval id in its contract. You decide when to ask.
- Run
gaia approvals question <approval_id> [<approval_id> ...]with the pending ids -- up to 4 questions in all, one per command. - Call your question tool (AskUserQuestion in Claude Code, question in OpenCode) with that output unchanged, and print nothing about the signature. Gaia checks the call before the questions open -- the hook in Claude Code, the plugin in OpenCode, which fills the call with every signature's questions -- and ties each answer to its own signature. Only approvals your own specialists requested are accepted. In OpenCode, ask two signatures of the same specialist in separate calls: that specialist runs one approval at a time.
- Details: Gaia names the command to run -- the hook's message in Claude
Code, your call's result in OpenCode --
gaia approvals question --details <approval_id> .... Pass its output to the question tool the same way. If Gaia refuses a question, rungaia approvals questionagain for the ids it names.
After the answer
Read the decision with gaia approvals show <approval_id> (its State). Approved:
resume the specialist that requested it -- the same agent, not a new one --
with execution; the signature is bound to that agent and session. Rejected:
nothing runs; tell the requester if its work depends on it. A typed answer is
not a decision. You may withdraw a pending approval (pending-approvals), but
the decision to approve is the user's alone.
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.

