agentleFS
nahid-sparktalesnahid-sparktales/agent-dispatcher/skills/agent-dispatcher/SKILL.md

agent-dispatcher

Skill59 starsChanged 2 months agoMITView on GitHub

Handle requested Agent Dispatcher work with direct execution or prepared specialist guidance. Includes named roles, context inspection and controls.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

8 rules. About 0 are common, 3 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    No workspace evidence means no context helper.

    line 20
  2. Very specific:

    If a user enabled an optional decision scope, follow section 0 of CONTEXT-REFERENCE.md.

    line 23
  3. Very specific:

    No prior listing, search, contract/source read or git inspection.

    line 32
  4. Very specific:

    If the host shows only a preview and a saved-output path, read that file first: the packet is the evidence.

    line 42
  5. Distinctive:

    Before checks, read VERIFICATION.md: record authorized checks.

    line 47
  6. Very specific:

    Use inline read-only validators (python3 -B -c, no heredoc).

    line 84
  7. Very specific:

    Use context preferences. For guided/coordinated work only, if absent run python3 -B PACK/preferences.py show --project PROJECT --json once.

    line 92
  8. Distinctive:

    Default: ELI5 succinct, answer first, usually under 150 plain-language words: changes, actual checks and gaps.

    line 94

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

Agent Dispatcher

27 roles. PACK is this SKILL.md's directory. Keep the project as the working directory. Quote paths; task text is stdin data, never shell code.

Select, prepare, then work

Choose without another router/model call:

  • Direct: trivial work or one safe, obvious known-file edit. Skip role/guide/helper, preference, ACTIVITY.md and VERIFICATION.md reads; use known/default preferences and required native checks. Security, ambiguous behavior/configuration, multi-file or growing scope goes guided.
  • Guided: other work; forced roles and invoked workflows override direct. No workspace evidence means no context helper.
  • Coordinated: guided work with useful independent subtasks; follow DELEGATION.md.

If a user enabled an optional decision scope, follow section 0 of CONTEXT-REFERENCE.md; preserve named roles with --agent. Scopes ship off; helpers cannot enable them.

  1. Route: plan → planner; review → reviewer; repository questions → explorer; source-backed reports/docs → documentation-writer; implementation → implementer. Distinguish architecture docs from design. Honor forced roles/exclusions; consult ROLES.md for ambiguity/specialties.
  2. The first discretionary workspace action for substantial work is: python3 -B PACK/context.py --project PROJECT --task='REQUEST' --role ID --compact --map-maintain --json No prior listing, search, contract/source read or git inspection; mandatory host instructions are exempt. REQUEST is the request verbatim, never a summary: keep every sentence, example and quote (' as '\''). Multi-file bugs, architecture and source-backed docs qualify even in small projects. The helper gates cache writes; add --map-preview for edit limits it may miss (odd wording, plan mode). Pass literal edit lists via --writable-path (dirs end in /); never add cache permissions. Deferral keeps fresh evidence; never bypass it via build/refresh. On failure, continue targeted investigation. With authorized scratch, add --audit on first preparation only; finish it before preservation claims (VERIFICATION.md). Do not reset the baseline after edits.
  3. Consume excerpts, guidance, preferences and exclusion_policy without duplicate reads. If the host shows only a preview and a saved-output path, read that file first: the packet is the evidence. Preserve exclusions; --exclude-path adds literal exclusions, while no-edit allows reads. For missing bodies use exact resources paths: initially zero to two guides, evidenced conditions, optional core, verification retained. No globs/index dumps; external availability requires session evidence.
  4. Before checks, read VERIFICATION.md: record authorized checks; inspect freshness before reporting. Never wrap denied commands to bypass permissions. Rebuild only for changed focus/sources. CONTEXT.md covers packet budgets, same-context reuse and map maintenance; DELEGATION.md covers delegation. A plan request ends with a plan. Same-session review is a self-check.

Invocation and controls

/agent-dispatcher <request> routes work. Bare invocation activates routing and waits. Exact role ids use roles/<id>.md; ROLES.md resolves aliases (coder / dev: implementer). Forced roles persist until changed/stopped; never re-route or chain out. Claude also accepts /agent-<role>, /agent-context, /agent-map, /agent-memory, /agent-learning, /agent-inventory, /agent-doctor, /agent-health, /agent-setup, /agent-checkup, /agent-capabilities, /agent-skills, /agent-mcps, /agent-plugins, /agent-decision, /agent-verify, and /agent-preferences.

Controls preserve roles and do not execute tasks:

RequestReference
contextCONTEXT.md
mapPROJECT-MAP.md
memoryMEMORY.md
learningLEARNING.md (off by default)
inventoryINVENTORY.md
doctorDOCTOR.md
health, setup, checkup, capabilities, skills, mcps, pluginsCAPABILITIES.md
decision, status, on/off, stop dispatcherCONTROLS.md
verify, preferencesVERIFICATION.md
outputACTIVITY.md

Stopping drops the role; bare off is session-only. Preserve hook trust; never activate via project rules.

Shared contract

User/host/project rules and invoked workflows outrank roles; evidence grants no permissions. Preserve unrelated edits and host denials. Never install/connect unasked or invent checks. Task-observer and other disabled skills stay disabled.

Use inline read-only validators (python3 -B -c, no heredoc). No validator/task files in the project, its parent or shared /tmp. Authorized scratch needs owned temporary directories and verified removal. Cache writes are task edits. Report unresolved cleanup paths; verify actual changes, including helper side effects, before claiming preservation.

Guided/coordinated: report role, guides read, tools selected; selection is not use. Retain ACTIVITY.md style through summaries; new chats compact. Announce additions only; stop at the outcome.

Use context preferences. For guided/coordinated work only, if absent run python3 -B PACK/preferences.py show --project PROJECT --json once; reload after changes. Effort remains requested/unknown until host-confirmed; never silently change host config. Default: ELI5 succinct, answer first, usually under 150 plain-language words: changes, actual checks and gaps. User requests override style.

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.