agentleFS
krzysztofsurdykrzysztofsurdy/code-virtuoso/skills/tools/using-ecosystem/SKILL.md

using-ecosystem

Skill22 starsChanged 9 months agoMITView on GitHub

Ecosystem discovery advisor. Use when the user asks 'what skill should I use', 'what agent should I delegate to', 'which team fits this task', or when onboarding to available skills, agents, and teams. Scans ALL installed skills at runtime - not limited to any single plugin or vendor. Triggers: 'which skill', 'which agent', 'what do I use for', 'orient me', 'what tools do I have'.

The file

Show its rules and text

We split this skill into the rules it gives an agent

14 rules. About 0 are common, 8 are distinctive, and 6 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈8

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 6

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Run the discovery commands from discovery-commands to build a live index of installed skills, agents, and teams.

    line 27
  2. Distinctive:

    Do NOT skip this step. Do NOT recommend from memory.

    line 29
  3. Very specific:

    Check user-invocable: - if the user wants to run something interactively, only recommend user-invocable skills.

    line 72
  4. Very specific:

    Never recommend what is not installed: If a skill would fit but is not present, suggest installing it with npx skills add.

    line 74
  5. Distinctive:

    When a single skill or agent is not enough, chain them.

    line 80
  6. Distinctive:

    When the user has just finished work with an agent, skill, or team and asks "what next?" or "where do I go from here?":

    line 95
  7. Very specific:

    Ask what they just completed (which agent/skill/team, what output they have)

    line 97
  8. Very specific:

    Verify the recommended agent/skill/team is installed (scan first - do not recommend from memory)

    line 99
  9. Distinctive:

    If multiple paths exist, present 2-3 options and let the user choose

    line 101
  10. Distinctive:

    If nothing chains naturally, say so - not every task needs a follow-up

    line 102
  11. Very specific:

    Before answering a "which skill/agent/team" question:

    line 148
  12. Distinctive:

    Scan first: Every recommendation starts with a live scan of what is installed.

    line 162
  13. Distinctive:

    Chain over stretch: If a single skill does not cover the work, combine two.

    line 165
  14. Distinctive:

    Respect agent boundaries: Read-only agents do not edit files.

    line 167

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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

Using Ecosystem

Discover the right skill, agent, or team for the situation at hand. This skill teaches a discovery PROCESS - it does not maintain a hardcoded inventory. Every recommendation comes from scanning what is actually installed.

Core Principles

PrincipleMeaning
Scan, don't guessAlways scan installed skills/agents/teams before recommending. Never assume something is available.
Match situation, not topicPick the skill whose description triggers match what the user is doing, not the skill whose title loosely matches.
Agents act, skills informSkills are reference material. Agents are actors. Delegate work to an agent; consult a skill.
Teams for multi-role workIf the work needs 3+ agents coordinating, check for a pre-composed team before assembling ad-hoc.
Narrower winsIf two skills overlap, pick the one with the tighter trigger match.
Chain when work crosses domainsMulti-step tasks often need two or three agents in sequence.

Step 1: Scan What Is Installed

Run the discovery commands from discovery-commands to build a live index of installed skills, agents, and teams. Read each frontmatter name and description field.

Do NOT skip this step. Do NOT recommend from memory. The installed set varies per user and per project.


Step 2: Classify the User's Situation

Determine what the user needs:

SignalCategory
Needs reference material, patterns, or principlesKnowledge skill
Needs to generate a specific output (ticket, PR message, report, rules file)Tool skill
Needs to follow a step-by-step operational procedurePlaybook skill
Needs framework-specific component referenceFramework skill
Needs a single focused task done (investigate, review, implement)Specialist agent
Needs ongoing domain ownership (requirements, architecture, QA)Role agent
Needs coordinated multi-agent delivery (feature, release, review cycle)Team

Step 3: Match and Recommend

Decision Tree

User request
   |
   v
Does it need multiple agents coordinating?
   +-- Yes --> Scan bundled and project teams for a match
   |            +-- Found --> Recommend the team
   |            +-- None  --> Assemble ad-hoc from agents (see chaining below)
   |
   +-- No --> Is it a well-scoped actionable task?
               +-- Yes --> Scan agents/ for a matching specialist or role
               +-- No  --> Scan skills/ for a matching skill
                            Use the category signals from Step 2

Matching Rules

  1. Read the description field of each candidate. Match on trigger phrases, not the name.
  2. Prefer the narrower skill. database-design beats clean-architecture for a schema question.
  3. Check user-invocable - if the user wants to run something interactively, only recommend user-invocable skills.
  4. Skills stack. You can recommend multiple knowledge skills for one task (e.g., security + solid for a security review).
  5. Never recommend what is not installed. If a skill would fit but is not present, suggest installing it with npx skills add.

Step 4: Chain When Needed

When a single skill or agent is not enough, chain them. Common patterns:

PatternShape
Investigation flowRead-only agent --> Design agent --> Implementation agent --> Review agent
Feature flowRequirements role --> Architecture role --> Dev roles (parallel) --> QA role
Review flowSmell scanner --> Reviewer --> (optional) Implementer for fixes
Coverage flowTest gap analyzer --> Implementer --> Reviewer

These are guidelines, not rituals. Skip steps that do not apply. Add steps that do. If a pre-composed team matches the chain, use the team instead.


Step 5: Compass - What Next?

When the user has just finished work with an agent, skill, or team and asks "what next?" or "where do I go from here?":

  1. Ask what they just completed (which agent/skill/team, what output they have)
  2. Consult compass for the recommended next step
  3. Verify the recommended agent/skill/team is installed (scan first - do not recommend from memory)
  4. Present the recommendation with one-line reasoning
  5. If multiple paths exist, present 2-3 options and let the user choose
  6. If nothing chains naturally, say so - not every task needs a follow-up

Compass mode is conversational. Ask the user, do not scan the filesystem to infer what happened.


Ecosystem Structure

The ecosystem has five layers. The structure is stable - it does not change when skills are added.

LayerLocationFormatPurpose
Skillsskills/{category}/{name}/SKILL.mdMarkdown + YAML frontmatterReference material, tools, playbooks, roles, frameworks
Agentsagents/{name}.mdMarkdown + YAML frontmatterSpecialist and role sub-agents
TeamsBundled inside dispatching skill or at project teams/{name}.mdMarkdown + YAML frontmatterPre-composed agent teams with coordination protocols
Specsspec/*.mdMarkdownFormat specifications for skills, agents, teams, plugins
Plugins.claude-plugin/marketplace.jsonJSONDistribution bundles grouping skills and agents

Skill Categories

CategoryPathInvocation
Knowledgeskills/knowledge/Auto-loaded when relevant
Toolsskills/tools/User-invocable slash commands
Playbooksskills/playbooks/User-invocable slash commands
Rolesskills/roles/Auto-loaded by matching role agents
Frameworksskills/frameworks/{name}/Loaded when the framework is in play

Agent Tiers

TierScopeExamples
SpecialistSingle repeatable task (stateless)investigator, reviewer, refactor-scout
RoleDomain of responsibility (some carry memory)architect, backend-dev, qa-engineer

Team Spawning Modes

ModeWhenHow
PeerPlatform supports agent-to-agent messagingLead creates team, teammates claim tasks and message each other
SequentialAll other platformsLead dispatches one sub-agent per phase, passes outputs forward

Quality Checklist

Before answering a "which skill/agent/team" question:

  • Did I scan installed skills/agents/teams rather than recommending from memory?
  • Did I match on the description's trigger phrases, not just the name?
  • Did I consider whether a narrower, more specific skill exists?
  • Did I recommend an agent when the work is actionable, not just reference material?
  • Did I check for a pre-composed team when the work needs 3+ agents?
  • Did I mention chaining when the work crosses domains?
  • Did I avoid recommending something that is not installed?

Critical Rules

  1. Scan first. Every recommendation starts with a live scan of what is installed. No hardcoded lists.
  2. Situation over title. Match what the user is doing, not what the skill is called.
  3. Specialist for scoped tasks, role for domain work, team for multi-role delivery.
  4. Chain over stretch. If a single skill does not cover the work, combine two. Do not force one skill beyond its fit.
  5. Never recommend uninstalled skills as available. Suggest installing with a hint, not as a next step.
  6. Respect agent boundaries. Read-only agents do not edit files. Dev agents run in worktrees.
  7. Category is a signal. Tools for interactive output, playbooks for procedures, knowledge for reference.

Reference Files

ReferenceContents
discovery-commandsShell commands to scan installed skills, agents, and teams at runtime
chaining-patternsMulti-agent chain templates with when-to-use guidance
compass"What next?" recommendation map for post-task navigation

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.