agentleFS
hoatv2211hoatv2211/GameStudio-CodexKIT/skills/studio-agent-orchestration/SKILL.md

studio-agent-orchestration

Skill3 starsChanged 3 months agoMITView on GitHub

Use when selecting project investigator, implementer, independent verifier, or profile specialist roles with expected output, do-not-touch scope, critical-path ownership, disjoint writers, concurrency limits, or no child agents.

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use when two or more independent workstreams exist, repeated discovery can be partitioned, a stable slice needs independent verification, …

    line 35
  2. Distinctive:

    Do not delegate small one-file work, immediate blockers, overlapping writes, shared unstable contracts, or tightly coupled edit-test …

    line 38
  3. Very specific:

    Use registry/agent-roles.yaml in a full repository clone and project-local .codex/agents.generated.toml only as an activation snippet.

    line 83

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

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

Studio Agent Orchestration

Overview

Choose agent roles only where parallelism creates leverage. Keep the immediate critical path on the main thread and make every sidecar contract independently verifiable.

When to use

Use when two or more independent workstreams exist, repeated discovery can be partitioned, a stable slice needs independent verification, or a project profile declares a specialist role.

When NOT to use

Do not delegate small one-file work, immediate blockers, overlapping writes, shared unstable contracts, or tightly coupled edit-test iteration. Do not use a specialist outside its declared repository.

Required inputs and context discovery

Collect the workspace route, immediate critical-path action, candidate workstreams, resolved profile and inferred role templates, capability scopes, exact active file assignments, read-only scopes, expected outputs, concurrency limit, available role definitions, and validation requirements.

Safety and risk level

Planning is read-only. Agent role selection never expands mutation permissions. Investigator and review lanes remain read-only; implementers own exact disjoint paths; verifiers may write only normal test/build artifacts.

Workflow

  1. Identify the immediate critical-path action and keep it on the main thread. Completion criterion: no sidecar blocks the next local action.
  2. Resolve profile specialists, inferred specialists, and canonical templates before reviewing effective owned scopes. Record broad scope intersections as capability-overlap; they describe what roles can own and do not by themselves block activation. Completion criterion: the review distinguishes effective capability patterns from exact files assigned in the current work packet.
  3. Reject an active assignment outside its role's effective scope or any exact file assigned to more than one simultaneous writer. Also reject generated targets or unstable shared interfaces that lack one owner. Completion criterion: every concurrent writer has a disjoint exact write set, while disjoint assignments remain allowed even when role capabilities overlap.
  4. Select the narrowest role: investigator for ownership discovery, implementer for bounded writes, verifier for independent checks, or a profile-declared specialist for difficult domain work. Completion criterion: role choice is justified by scope rather than prestige.
  5. Bound concurrency by project profile and available independent work. Completion criterion: concurrency never exceeds three and may be zero.
  6. Give each sidecar ownership, do-not-touch scope, expected output, and verification contract. Completion criterion: sidecars cannot create child agents and the main thread owns integration.

Evidence and output contract

Produce agent-plan.yaml with critical path, role, owner, resolved scopes, advisory capability overlaps, exact active assignments, paths, do-not-touch, expected output, validation, concurrency, delegation reason, integration owner, and rejected parallelism.

Handoff contract

Record active roles, ownership transfers, completed outputs, conflicts, commands, remaining verification, integration decisions, and the next main-thread action.

Pitfalls and anti-rationalization

  • More agents do not make coupled work independent.
  • Broad capability overlap is not proof that two agents will write the same file; inspect the active exact assignments.
  • Different disciplines are not permission to assign the same file to concurrent writers.
  • A verifier does not become a source writer because a test fails.
  • Specialist knowledge does not grant sibling-repository ownership.
  • Waiting for a sidecar while local work is available wastes the critical path.

Verification checklist

  • The main thread retains the critical path.
  • Resolved profile, inferred, and template scopes were reviewed.
  • Concurrent exact file assignments are disjoint and within each role's effective owned scope.
  • Role selection matches the task contract.
  • Concurrency respects the profile and never exceeds three.
  • Sidecars have expected outputs and cannot delegate.

References and scripts

Use registry/agent-roles.yaml in a full repository clone and project-local .codex/agents.generated.toml only as an activation snippet. Full-clone and bundled scaffold planners expose scope_review; callers may pass current active_assignments as role IDs plus exact relative write paths. Use studio-workspace-routing before selecting project specialists.

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.