turnfile-<agent>-collaboration
Skill9 starsChanged 5 months agoApache-2.0View on GitHub
Turnfile protocol execution guide for <AGENT_NAME>
In this repository9 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- docs/llms.txtllms.txt
- turnfile-protocol-geminiSkill
- turnfile-protocol-claudeSkill
- turnfile-protocol-claudeSkill
- turnfile-codex-collaborationSkill
- turnfile-codex-collaborationSkill
- turnfile-protocol-geminiSkill
- skill-provenanceSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. About 0 are common, 9 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 35
Read TURNFILE.yaml for current coordination state.
- Distinctive: line 42
First step: Read mailbox inbox snapshot.
- Distinctive: line 45
If unread cannot be cleared, escalate to maintainer with blocker context.
- Distinctive: line 70
Read boot file for orientation.
- Very specific: line 71
Read TURNFILE.yaml for coordination state.
- Distinctive: line 72
Read WORKLOG status block.
- Distinctive: line 73
Read MAILBOX inbox snapshot.
- Very specific: line 74
Read OPEN_QUESTIONS Active + Deferred.
- Distinctive: line 75
Read chat-<agent>.md session close snapshot.
- Distinctive: line 78
Stop condition: All orientation reads complete and reported.
- Distinctive: line 79
Escalation: If boot file is missing or stale, notify maintainer.
- Very specific: line 103
If TURNFILE.yaml is missing, notify maintainer and operate in propose-only mode.
- Distinctive: line 104
If mailbox validator is unavailable, perform manual inbox count.
≈ “Common” is an estimate: at least 1 in 5 of the 383,637 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
Protocol Skill — <AGENT_NAME>
<!--
Copy this template to skills/<agent>/SKILL.md and fill in agent-specific details.
This file is the agent's complete, self-contained protocol execution guide (PRD-012 R1).
Key principles:
- Each agent maintains its own full skill file (no shared core with thin wrappers).
- The repository copy (skills/<agent>/SKILL.md) is canonical.
- Policy tests in skills/policy-tests/ validate cross-agent consistency.
- Skills are invoked only by explicit maintainer instruction (PRD-012 R3).
-->Overview
| Field | Value |
| Version | 0.1.0 |
| Status | Draft |
| Protocol baseline | PRD-003, 004, 008, 009, 010, 011, 013, 014 |
| Last updated | YYYY-MM-DD |
How to use
Maintainer invokes modules by name. This skill file is not self-triggering. The agent reads this file at session start for operational guidance.
Execution contract
- Read TURNFILE.yaml for current coordination state.
- Execute the requested module steps.
- Propose changes — do not write without explicit maintainer confirmation (PRD-012 R5.1).
- Log all substantive actions in WORKLOG and/or MAILBOX.
Active-turn boundary discipline (PRD-012 R2.2)
- First step: Read mailbox inbox snapshot; check for unread messages.
- Execute assigned work.
- Last step: Re-check mailbox; confirm unread = 0 before declaring turn complete.
- If unread cannot be cleared, escalate to maintainer with blocker context.
Startup orientation read order (PRD-011 R3)
working-session/boot-<agent>.md— this agent's boot fileworking-session/TURNFILE.yaml— coordination stateworking-session/WORKLOG.mdlines 1–11 (status block)working-session/MAILBOX.mdinbox snapshotworking-session/OPEN_QUESTIONS.mdActive + Deferred sectionsworking-session/chat-<agent>.mdsession close snapshot (bottom of file)- Files relevant to current task
Modules
<!--
Each module corresponds to a protocol workflow (PRD-012 R2).
Define: trigger phrases, expected inputs, deterministic outputs, stop/escalation conditions.
Example module:
### Module 1 — Session start (PRD-011, PRD-013)
**Trigger phrases:** "start session", "boot up", "initialize"
**Inputs:** boot file, TURNFILE.yaml
**Steps:**
1. Read boot file for orientation.
2. Read TURNFILE.yaml for coordination state.
3. Read WORKLOG status block.
4. Read MAILBOX inbox snapshot.
5. Read OPEN_QUESTIONS Active + Deferred.
6. Read chat-<agent>.md session close snapshot.
7. Report readiness to maintainer.
**Outputs:** Agent status set to `active` in TURNFILE.yaml (pending confirmation).
**Stop condition:** All orientation reads complete and reported.
**Escalation:** If boot file is missing or stale, notify maintainer.
-->Module 1 — Session start (PRD-011, PRD-013)
Module 2 — Mailbox lifecycle (PRD-003, PRD-012)
Module 3 — Maintainer decision request (PRD-004)
Module 4 — Cross-agent review (PRD-008, PRD-009)
Module 5 — Shared-file transaction (PRD-010, PRD-013)
Module 6 — Session close (PRD-011, PRD-013, PRD-014)
Module 7 — Turnfile coordination (PRD-013)
Module 8 — OQ registry management (PRD-009)
Fallback rules
<!--
Define graceful degradation when tools or artifacts are unavailable.
Example:
1. If TURNFILE.yaml is missing, notify maintainer and operate in propose-only mode.
2. If mailbox validator is unavailable, perform manual inbox count.
-->Output format requirements
<!--
Define how the agent reports results to the maintainer.
Example:
1. Summarize actions taken and files modified.
2. List any unresolved items or blockers.
3. Provide revision token for any modified artifacts.
-->Environment-specific notes
<!--
Agent-specific tooling, context window management, or behavioral notes.
These may differ between agents without affecting protocol outcomes.
-->Versioning
| Field | Value |
| Skill version | 0.1.0 |
| Validated against | — |
| Policy test status | not yet run |
| Aligned with PRDs | 003, 004, 008, 009, 010, 011, 013, 014 |
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.

