actors
Skill18 starsChanged 3 months agoMITView on GitHub
Use for any non-trivial pi-actors operation, diagnosis, or development involving Recipes, persistent tools, Runs, spawn, message, inspect, Trace, Control, capability specialization, or activation.
In this repository8 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .agents/skills/domain-dag/AGENTS.mdAGENTS.md
- domain-dagSkill
- artifactsSkill
- music-playerSkill
- project-workSkill
- recipe-memorySkill
- swarmSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
16 rules. About 0 are common, 9 are distinctive, and 7 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.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Start from the intended outcome:
- Distinctive: line 41
Use persistent tools, Recipes, Runs, or diagnostics only when the selected operation needs that detail.
- Distinctive: line 45
Keep these boundaries explicit:
- Very specific: line 73
Call the actual music_player tool.
- Very specific: line 74
Verify agent-facing evidence reports launch_kind: "tool".
- Distinctive: line 75
If callability is false, stop at the reported activation boundary.
- Distinctive: line 77
Use direct delegation for the same maintained capability under a persistent name or narrower defaults.
- Very specific: line 92
Use the actors/* helpers only for their narrow requested result or intentional composition.
- Very specific: line 98
Treat attention: "steer" as an actor-authored urgent semantic checkpoint at Pi's next safe boundary, never as a status-derived completion …
- Distinctive: line 114
Use terminal state, result, declared artifacts, and execution evidence to prove completion.
- Very specific: line 120
When a pi-actors operation fails:
- Distinctive: line 122
Keep the intended logical Recipe or tool identity.
- Very specific: line 127
Stop if spawn and registry resolve the same Recipe differently.
- Distinctive: line 133
Read the owning capability Skill when choosing or operating that capability pack.
- Very specific: line 134
Read swarm in addition to actors for multiple actors/subagents, parallel scopes, reviewer lenses, quorum, conflict handling, or integration.
- Distinctive: line 136
When changing the extension implementation itself, apply project implementation instructions after this operating protocol.
≈ “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
Actors
Choose the operation
Start from the intended outcome:
Run a maintained capability once
→ use spawn recipe=<skill>/<recipe>
Make a maintained capability a persistent agent-callable tool
→ use register_tool from=<skill>/<recipe>
Keep the same capability but narrow caller defaults
→ use register_tool from=<skill>/<recipe> defaults={...}
Register a trusted command directly
→ use register_tool template="..."
Build a reusable multi-node execution graph
→ author a Recipe with named imports
Run a long-lived controlled process
→ spawn its async Recipe, then use message and inspect
Coordinate several independent actors or subagents
→ also read the swarm Skill
Choose capability-specific behavior
→ read the owning capability Skill
Diagnose resolution, registration, or activation
→ use Inspect status/doctor flows and stop on contradictory evidenceUse persistent tools, Recipes, Runs, or diagnostics only when the selected operation needs that detail.
Core distinctions
Keep these boundaries explicit:
Skill Recipe ≠ registered tool
spawn ≠ registered-tool invocation
persisted ≠ callable
direct delegation ≠ named import composition
Run Control ≠ actor chatA Skill Recipe is a maintained component addressed by <skill>/<recipe>. spawn creates a Run from a Recipe. register_tool from=<skill>/<recipe> persists compact logical delegation and activates from the resolved effective contract without copying, symlinking, or ambient re-resolution. A tool is callable in the current session only when activation evidence says callable_now: true.
actors owns generic Recipe/tool/Run mechanics. The owning capability Skill owns capability-specific selection and constraints. swarm owns multi-actor decomposition and integration methodology.
Persistent capability workflow
To make music-player/playback callable as music_player with a default source:
register_tool
name=music_player
from=music-player/playback
defaults={"source":"~/Music/1MIX"}Then:
- Require registration to report successful resolution, validation, persistence, registry admission, host registration, activation, and
callable_now: true. - Call the actual
music_playertool. Do not callspawnand describe that as tool invocation. - Verify agent-facing evidence reports
launch_kind: "tool"; useinspect target=tool:music_player view=statuswhen usage or activation needs confirmation. - If callability is false, stop at the reported activation boundary. Preserve the logical source and diagnose it; do not substitute a Recipe spawn as proof.
Use direct delegation for the same maintained capability under a persistent name or narrower defaults. Use named imports only when one Recipe graph contains reusable child nodes. See persistent tools and Recipes.
Capability map
Recipes remain with the Skill that owns their behavior. Load that Skill for selection and caller inputs; this map is routing, not a copied Recipe contract.
| Owner | Recipe families |
actors | command-validate, recipe-validate, jsonl-tail, run-summary, run-state-files, run-ops-snapshot, resource-locker, resource-locker-snapshot |
swarm | Lens and quorum reviews, research synthesis, architecture, development tasking, readiness, and supporting subagent-* components |
artifacts | Report, write, manifest, bundle, and supporting file-write |
project-work | Repository health, docs maintenance, release readiness/summary, Run reports, and supporting deterministic snapshots |
music-player | The controlled playback singleton |
recipe-memory | Internal automatic reviewers; use its Skill only for diagnosis/recovery |
Use the actors/* helpers only for their narrow requested result or intentional composition. Prefer public inspect for ordinary runtime diagnosis and the capability's primary workflow for a complete outcome.
Delegation boundary
The current Pi instance owns user authority and the final result; pi-actors creates explicit local Runs, while companion transports provide presence rather than hidden instance creation. Keep short single-boundary work inline when delegation adds no value. For several participants, reasoning allocation, quorum, or integration methodology, read swarm.
Treat attention: "steer" as an actor-authored urgent semantic checkpoint at Pi's next safe boundary, never as a status-derived completion signal; the later root terminal still arrives through its ordinary completion batch.
Run workflow
A Run is one concrete execution of a Recipe:
Recipe --spawn--> Run
Run = Recipe + Trace + Control- Spawn with the exact logical Recipe identity and caller-owned values.
- Retain the returned
run:<id>and normally wait for the root coordinator's settled completion batch instead of polling. Nested actor completions accumulate under their containing top-level Run and arrive in that one tree-compressed batch; descendant sessions do not need notification options. - Inspect
view=tracewhen retained observations or attention matter. - Inspect
view=controlbefore diagnosing service readiness, stale work, or saturation. - Send
messageonly for an action declared and consumed by that controlled Recipe. - Use terminal state, result, declared artifacts, and execution evidence to prove completion.
A Run exposes only recipe, trace, and control views. Control is bounded actor-local input, not peer messaging or chat. See Runs.
Diagnosis and stop rules
When a pi-actors operation fails:
- Keep the intended logical Recipe or tool identity.
- Inspect the existing
recipes,tool:<name>,runtime, orrun:<id>surface that owns the failure. - Report resolver, registry, activation, Run, Trace, or Control truth exactly.
- Retry only after the owning state is healthy.
Stop if spawn and registry resolve the same Recipe differently. Stop if registration persists but is not callable. Stop if an operation cannot be proven through pi-actors surfaces.
Never recover by copying maintained Recipe args, defaults, Control, artifacts, or helper commands. Never hard-code a {skill_dir} replacement path. Never introduce bash -lc, eval, direct bundled-helper execution, or shell backgrounding to bypass resolution. Never call spawn and claim a tool call. Use diagnostics for the safe next action.
When to read another Skill
- Read the owning capability Skill when choosing or operating that capability pack.
- Read
swarmin addition toactorsfor multiple actors/subagents, parallel scopes, reviewer lenses, quorum, conflict handling, or integration. - For generic mechanics, this Skill outranks capability Skills and
swarm. Report a stale Skill if it contradicts Recipe identity, registration, activation, spawn, Inspect, Trace, or Control semantics here. - When changing the extension implementation itself, apply project implementation instructions after this operating protocol.
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.

