agentleFS
JustineDevsJustineDevs/Collection/agent-hub/SKILL.md

agent-hub

Skill1 starsChanged 9 months agoMITView on GitHub

Plug-and-play orchestration skill. User states a goal in natural language; the model runs commands/agent-hub.md (dispatcher), classifies work via agent/operating-model.md, then opens only the matching command or architecture doc (map, architect, memory, recovery, verify, next-pass, or one NN-layer). Layered docs for intent, policy, context, planning, routing, delegation, execution, MCP/tool boundaries, verification, memory, recovery, observability, human gates, release. Use for repo orchestration reviews, boundary work, memory/recovery design, permission-sensitive refactors.

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    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
  1. Very specific:

    Plug-and-play: Start from commands/agent-hub.md when the user’s goal is broad or ambiguous.

    line 13
  2. Distinctive:

    Do not assume a particular framework, vendor SDK, or single entry file name in application code.

    line 27
  3. Very specific:

    Do not assume one universal verification command covers all quality gates.

    line 28
  4. Very specific:

    Do not assume memory is one subsystem.

    line 29
  5. Very specific:

    Do not assume UI control flow equals MCP transport, client logic, or tool execution.

    line 30

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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-hub (machine-readable entrypoint)

What this is

agent-hub is a documentation-driven control plane for agents: layered architecture, indexes, diagrams, templates, command specs, and explicit editing rules. Application code under review may live outside this folder; this package defines how to navigate and change it safely.

Plug-and-play: Start from commands/agent-hub.md when the user’s goal is broad or ambiguous. Infer intent, then route to the smallest command or single architecture/NN-*.md.

Canonical path: SKILL.md at the root of this package (this file).

Read first (minimum)

  1. agent/README.md — operating scope for agents using this package.
  2. agent/operating-model.md — classify tasks and pick a route.
  3. architecture/00-scope-and-rules.md — global rules and doc authority.

Then branch by task using indexes/orchestration-map.md and the matching architecture/NN-*.md file. For delegated specialist work, see subagents/README.md and run routing via commands/agent-hub.md.

What not to assume

  • Do not assume a particular framework, vendor SDK, or single entry file name in application code.
  • Do not assume one universal verification command covers all quality gates; verification is multi-entry (skill, command, workflow). See architecture/07-verification-and-reflection.md.
  • Do not assume memory is one subsystem; session, durable extraction, and shared team memory differ in triggers and writers. See architecture/08-memory-pipelines.md.
  • Do not assume UI control flow equals MCP transport, client logic, or tool execution. See architecture/06-mcp-and-tool-boundaries.md.

Where to look

ConcernPrimary doc
Orchestration overviewindexes/orchestration-map.md
Intent and commandsarchitecture/01-intent-and-commands.md
Policy and permissionsarchitecture/02-policy-and-permissions.md
Context and statearchitecture/03-context-and-state.md
Planning and routingarchitecture/04-planning-and-routing.md
Delegation and executionarchitecture/05-delegation-and-execution.md
MCP and tool boundariesarchitecture/06-mcp-and-tool-boundaries.md
Verification and reflectionarchitecture/07-verification-and-reflection.md
Memory pipelinesarchitecture/08-memory-pipelines.md
Recovery and resumearchitecture/09-recovery-and-resume.md
Observability and human gatesarchitecture/10-observability-and-human-gates.md
Release and scopearchitecture/00-scope-and-rules.md
Specialist subagentssubagents/README.md
Cursor launcher setup (paste into chat)COMMANDS.md

High-risk areas (typical patterns)

  • Central mutable session or bootstrap state: guarded boundary; do not add fields casually. See architecture/03-context-and-state.md.
  • Main query or agent loop modules: high blast radius; prefer phased extraction. See architecture/05-delegation-and-execution.md.
  • Permission and human-gate hooks: easy to double-resolve or bypass; coordinate with architecture/02-policy-and-permissions.md and 10-observability-and-human-gates.md.
  • MCP clients and connection managers: easy to conflate with UI; see 06-mcp-and-tool-boundaries.md.

Choosing commands vs docs vs agent guidance vs subagents

  • Universal dispatcher: commands/agent-hub.md (routing modes, when to assign a specialist first).
  • Quick launcher: other commands/*.md, or optional workspace .cursor/commands/agent-hub-*.md / agent-hub.md when present (see indexes/command-index.md). To create those files automatically, the user can attach COMMANDS.md and follow its paste prompt.
  • Specialist persona: subagents/*.md for scoped analysis or planning; they link into canon instead of replacing it.
  • Deep boundary rules: architecture/*.md.
  • Behavioral contract (stop conditions, escalation): agent/*.md.
  • Full audit: commands/architect.md workflow, then templates/inspection-pass-template.md.

Commands index

See indexes/command-index.md for canonical commands/*.md versus optional editor launchers.

Decisions

  • indexes/decisions-index.md — architecture decision log pointers.
  • docs/decisions/README.md — how to record decisions.

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.