agent-integration
Skill2 starsChanged 2 months agoMITView on GitHub
Load before the lead decides whether to handle substantive research, planning, implementation, testing or review locally or assign it; discover Delegate Teams passively. Use Delegate for work assigned to another agent, model, or separate harness CLI session. Load this before a provider-specific skill or plugin, including when a user names a CLI for research, planning, implementation, tests, reviews, consultations, comparisons, or debates. Also manage optional Delegate Teams and explicit Member selection. A named destination still routes through Delegate. Ordinary same-harness subagents and questions about tools remain local; respect an explicit choice of another integration. Also route Delegate installation upgrades and upgrade-related recovery.
3 other projects use a version of this.
Adopted by
Most recently taken up by
- fastclaw-ai/fastclawtheir own version, first seen Oct 8, 2026
- entireio/clitheir own version, first seen Jun 25, 2026
- Victoriakaey/build-reliable-agentstheir own version, first seen Apr 3, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- entireio/cli★ 5.4ksame name
- fastclaw-ai/fastclaw★ 1.4ksame name
- Victoriakaey/build-reliable-agents★ 0same 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 repository11 other files it gives its agents.
- AGENTS.mdAGENTS.md
- add-an-adapterSkill
- delegate-upgradeSkill
- delegation-architectSkill
- docs-updaterSkill
- go-concurrencySkill
- go-implementerSkill
- go-reviewerSkill
- go-test-writerSkill
- live-e2eSkill
- supervisor-architectSkill
The file
We split this skill into the rules it gives an agent
12 rules. 0 are common, 10 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
10
Distinctive
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
- Distinctive: line 62
Do not retry, substitute an integration, or change configuration without authorization covering that action.
- Distinctive: line 66
Keep credentials and unrestricted private provider output out of briefs, options, control responses, and messages.
- Distinctive: line 77
If missing or unusable, report the blocker and stop dependent discovery and external work.
- Distinctive: line 99
Keep provider defaults when model/effort were not requested and are not required.
- Distinctive: line 114
Use a supplied brief or write the worker's bounded assignment and acceptance criteria to a regular file.
- Distinctive: line 119
Do not copy the orchestration request into worker briefs.
- Very specific: line 126
Only pass --root when the user explicitly supplies a root or existing work has an already recorded custom or historical root.
- Distinctive: line 146
Use the read-only task example, or its authorized write variation.
- Distinctive: line 151
Never dispatch again to recover output or discover the prior exit code.
- Distinctive: line 152
Keep concurrent requests independently associated.
- Distinctive: line 188
Read continuation for eligibility, cancellation precedence, and exact-session follow-up.
- Very specific: line 216
Use observed responses and validated evidence.
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Delegation Layer
When to use
The lead responsible for the user's request loads this skill and discovers
Teams before deciding whether to keep or assign substantive research, planning,
implementation, testing or review work, including work it expects to do itself,
even when no Team, worker or provider is named. Follow the passive procedure
below. Also load it before choosing tools for external collaboration you choose.
A named CLI identifies the destination; discover its provider ID through
Delegate. “CCR” or “Claude Code Router” means ccr:print; read
CCR guidance.
Skip automatic discovery for quick answers, tool or configuration discussion, explicit native-only or no-delegation instructions, and named providers, models or integrations. Still resolve any explicit Team/Member target. An agent working from a bounded brief or assignment skips discovery unless that assignment explicitly grants work-allocation authority.
Ordinary subagents inside the current harness remain available, even when that harness is named. A separate CLI session uses Delegate, including another instance of your current harness. Discussing, documenting, or configuring a tool is local work. Respect an explicit user choice of another integration.
Teams and native skills complement each other: Teams supply Member execution defaults; the selected provider loads its own available skills and configuration under the requested permissions. Delegate does not copy or synchronize skills. For Team management and selection, use Teams. Management is passive unless an explicit mutation is requested; ordinary delegation needs no Team setup.
For recurring tasks, use the schedule commands and the independent scheduler runtime.
For a Codex lead that calls Delegate itself, use the one-time native rule setup. A sandbox denial is not authorization to change permissions or make the state root writable.
For Delegate installation upgrades and upgrade-related recovery, use the
delegate-upgrade skill. If only this skill is installed, read the bundled
upgrade workflow. Ordinary delegation remains
under this skill.
Boundaries
- Preserve the requested destination, exact model ID, effort, permissions, workspace, and state root. Do not guess ambiguous model IDs.
- Delegate owns task lifecycle and evidence. Providers and users own their CLI installations, accounts, settings, extensions, and native sessions.
- Permissions request native behavior, not an independent sandbox.
workspace-writeauthorizes unattended commands and edits; native access can extend beyond the workspace. - A
stop_and_reportends that attempt, not investigation of its cause. Follow failure diagnosis without another generic troubleshooting request: inspect bounded evidence, distinguish facts from uncertainty, and propose a concrete next step. Do not retry, substitute an integration, or change configuration without authorization covering that action. Independent requests may proceed. - Observe through Delegate
status,collect, orevents; do not use process searches or Pueue commands. Delegate manages its supervisor. - Keep credentials and unrestricted private provider output out of briefs, options, control responses, and messages.
Operating procedure
1. Verify the control CLI
command -v delegate && delegate --versionIf missing or unusable, report the blocker and stop dependent discovery and external work. Continue independent authorized local work; never substitute it or another integration for explicitly requested external work. This skill does not install or repair the CLI. A trusted plugin startup hook normally handles bootstrap.
2. Discover Teams before deciding how to handle substantive work
The responsible lead follows automatic Team discovery and Member selection before deciding whether to keep or assign each substantive phase, even when it expects to keep all work local. Read afresh for each new substantive work decision or batch; do not require the user to mention Teams. Discovery alone starts no work. Prefer a suitable Member for work being assigned to a separate worker; keep work the lead retains local. An explicit native-only request or another integration choice wins.
Preserve explicit Team/Member targets. A named provider or model without a Team
stays direct, without automatic Team flags that could change native defaults.
Resolve named destinations through providers --json and existing model
discovery. Without a selected Member or named destination, ordinary --auto
remains available. Catalog support is not host readiness; normal work needs no
separate preflight.
Keep provider defaults when model/effort were not requested and are not required. For an explicit choice or natural-language model name, read model selection. An exact requested ID passes unchanged even when discovery omits it. Ask for an exact ID only when a name remains ambiguous.
For work likely to need questions or guidance, read
interaction before dispatch and use --interactive
when supported. Check clarification and steering separately; automatic
interactive selection does not require steering support.
For explicit native Codex review, read
review scope.
3. Prepare separate paths and a finite brief
Use a supplied brief or write the worker's bounded assignment and acceptance criteria to a regular file. Identify the worker's bounded assignment and explicitly forbid further recruitment unless that assignment authorizes decomposition. Workers and native subagents do not discover Teams or recruit merely because they receive this skill; only the agent assigned to allocate work does so. Do not copy the orchestration request into worker briefs. These instructions guide the provider; they are not an independent sandbox or recruitment guard.
For ordinary task, schedule, observation, interaction, and continuation commands,
omit --root; the CLI owns default-root resolution for the user's configuration
context, independently of the project cwd. Do not assemble a default path, use a
sample path or shell fallback, or treat ambient DELEGATE_ROOT as authority.
Only pass --root when the user explicitly supplies a root or existing work has
an already recorded custom or historical root; preserve that exact path for
every command concerning that work. Never search other roots for an old task.
Task IDs separate tasks; do not invent per-task or per-project roots. The state
root must remain outside provider-writable workspaces, provider runtime
directories, and temporary trees they may write.
Prepare paths and dispatch in one tool invocation; shell variables may not
persist between calls. Use saved absolute paths in later calls. Do not use
process substitution or ephemeral /dev/fd paths for briefs.
For independent parallel writes, choose managed worktrees unless the user explicitly chooses shared coordination. Read workspaces before creating or attaching one. To fork current uncommitted content, the Lead follows checkpoint before fork. A worker must not checkpoint a workspace its own turn holds.
4. Dispatch one bounded turn
Use the read-only task example, or its authorized write variation. The command reference owns flags and defaults.
Capture each response and exit status once in the original invocation. Never dispatch again to recover output or discover the prior exit code. Keep concurrent requests independently associated; see parallel reviews and debates.
Before any observation or retry, read and apply task creation. A task ID alone is not creation. That reference owns admission decisions, including the same-root supervisor migration exception, workspace waits, resource refusals, and uncertain creation. A failed continuation retains its original command and intent.
5. Observe and collect
Follow observation decisions with the created task ID, using the CLI default for ordinary work:
delegate status TASK_ID --json
delegate collect TASK_ID --watch 5s --jsonFor work bound to an explicit custom or historical root, add its exact
--root to both commands under the root rule.
Apply the owning decision order before waiting: terminal outcomes and concrete errors, cancellation/timeout/interruption, interaction, then pending observation. Keep collection in the foreground until completion or a reported blocker; detach only when requested and retain the exact task IDs and root. A pending watch is not success. Read the complete validated answer and check the requested deliverables before claiming completion.
For several workers, use passive multi-task wait instead of handwritten polling loops. Readiness is not provider success; inspect each summary and collect results through the normal result rules.
6. Continue a timed out or interrupted turn
Read continuation for eligibility, cancellation precedence, and exact-session follow-up. Preserve the root and finite budget, then apply task creation to the successor response. Never replace an uncertain or failed continuation with a fresh dispatch.
Comparisons, debate, and follow-up
Choose a finite scope and number of rounds. Collect each participant's actual result before giving it to another participant as challenge material. Keep attribution and failed/blocked requests visible. Use each participant's own predecessor for an exact-session follow-up. The collaboration reference owns coordination examples.
Details when needed
- Commands and discovery
- Optional Teams and Members
- Remote devices and tasks
- Task/result decisions, including conditional offline recheck
- Continuation
- Interaction
- Managed workspaces and checkpoints
- Managed workspace example
- JSON examples
Completion report
Use observed responses and validated evidence. Report each original task ID,
returned provider ID, admission/liveness/publication fields, terminal outcome,
evidence descriptors, and any successor or blocked authentication state.
For a not_created stop, name the requested destination and preserve its
saved JSON failure with sensitive content redacted. Report the evidence-backed
cause or what remains unknown and a specific next step; do not invent paths
or infer installation, authentication or configuration from rejection 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.

