agentleFS
arch3rProarch3rPro/ark-space-legacy/skills/orchestrator/SKILL.md

orchestrator

Skill2 starsChanged 6 months agoMITView on GitHub

Route ArkSpace requests that need role, skill, provider, or web capability selection, including unclear or cross-domain tasks.

48 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use reviewer, knowledge-base and 5 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • MicrosoftSkill

    reviewer

    ASP.NET Core ハンドブックの記事をレビューする。Use when: 記事をレビューする、ドキュメントを校正する、コードレビューする、PRをレビューする。技術ドキュメントのレビュー、品質チェック、校正。

    Also in 3 projects that use this

  • jacobraskSkill

    knowledge-base

    Manage your personal knowledge base of curated resources, bookmarks, and excerpts. Triggers include "knowledge base", "kb", "add to knowledge", "add tabs to", "what do I have on", "what do we know about", "find resources about". Use with safari-tabs skill for bulk ingestion from Safari windows. Location is ~/knowledge/.

    Also in 3 projects that use this

  • GoogleSkill

    code-reviewer

    Also in 3 projects that use this

  • OpenAISkill

    test-driven-development

    Use when implementing any feature or bugfix, before writing implementation code

    Also in 4 projects that use this

  • MicrosoftSkill

    api-design

    Guide for designing and documenting RESTful APIs. Use when asked to design an API, create endpoints, or document an API.

    Also in 3 projects that use this

  • BlockSkill

    plan

    Draft a TDD, PRD, or lightweight plan in the conversation without committing it.

    Also in 3 projects that use this

The file

Show its rules and text

We split this skill into the rules it gives an agent

22 rules. 0 are common, 15 are distinctive, and 7 are very specific to this project.

  • 0

    Common

    Most of the 40 edited versions we read keep these.

  • 15

    Distinctive

    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
  1. Distinctive:

    Use the lightest role and workflow that can safely complete the task.

    line 10
  2. Very specific:

    Read the matching provider registry, such as registry/search-providers.yaml.

    line 22
  3. Very specific:

    Run the provider's checkCommand when configuration state matters.

    line 24
  4. Very specific:

    If a selected provider requires configuration and the check fails, route to provider-manager setup and stop before producing capability …

    line 25
  5. Distinctive:

    When stopped for missing configuration, present the missing capability, the setup command, and the value needed from the user before …

    line 27
  6. Distinctive:

    Use one role for simple work.

    line 35
  7. Distinctive:

    Use multiple roles only when the task naturally crosses domains.

    line 36
  8. Distinctive:

    Ask one focused question when routing is unclear and a wrong choice would change the outcome.

    line 37
  9. Distinctive:

    Use the provider or skill the user explicitly names.

    line 66
  10. Distinctive:

    Read the provider registry entry before first use.

    line 67
  11. Very specific:

    If the selected provider has checkCommand, run it before using the provider.

    line 69
  12. Very specific:

    If provider configuration is missing, use provider-manager to guide or run setup instead of asking the user to find config files by hand.

    line 70
  13. Very specific:

    If configRequired: true and configuration is missing, stop at setup guidance before producing search or fetch results.

    line 71
  14. Distinctive:

    Prefer configured API-backed or private providers when their required environment is available.

    line 73
  15. Distinctive:

    Use the highest-priority active provider that fits the role and query.

    line 74
  16. Distinctive:

    If a search provider only returns snippets, fetch or open primary sources before making factual claims.

    line 75
  17. Distinctive:

    Do not use search when the user already provided the exact URL unless discovery is explicitly needed.

    line 76
  18. Distinctive:

    Use direct execution for narrow, low-risk requests with clear success criteria.

    line 100
  19. Distinctive:

    Use design-first handling when the task changes shared structure, creates a new workflow, spans multiple domains, or needs user approval …

    line 102
  20. Very specific:

    Use a multi-role flow when each role has a distinct artifact.

    line 104
  21. Distinctive:

    Do not create a large plan for a small single-file task unless the user asks for planning.

    line 106
  22. Distinctive:

    When handing off to a role, include:

    line 110

“Common” is measured: kept by at least 6 in 10 of the 40 edited versions of this file we could read. “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

Orchestrator

Route work before expanding process. When invoked as ark-space:orchestrator, act as the ArkSpace entrypoint, not as a generic host assistant.

Use the lightest role and workflow that can safely complete the task. Route first by user intent, then by artifact type, then by risk. Escalate only when the task crosses domains, changes shared structure, requires long-term maintainability, or has unclear success criteria.

ArkSpace runs inside the host's agent loop. Your task is to keep that loop focused: choose the role, workflow, skill, provider capability, and readiness check that make the requested work executable.

Entry Contract

ArkSpace work runs through ArkSpace roles, workflows, skills, and registries. Host-native capabilities are not ArkSpace providers.

For any capability represented by a provider registry, use that registry as the authority before execution:

  1. Choose the role from roles/ or the default route table.
  2. Choose the capability, such as web_search, web_fetch, web_map, web_crawl, structured_extract, web_interact, web_monitor, deep_research, code_context, or related_pages.
  3. Read the matching provider registry, such as registry/search-providers.yaml.
  4. Select the highest-priority active provider that matches the role, capability, and privacy requirements.
  5. Run the provider's checkCommand when configuration state matters.
  6. If a selected provider requires configuration and the check fails, route to provider-manager setup and stop before producing capability results.
  7. Continue only after the provider check succeeds, another registered provider passes the same checks, or the user explicitly asks to bypass ArkSpace provider routing.
  8. When stopped for missing configuration, present the missing capability, the setup command, and the value needed from the user before offering alternatives. If the user declines, defers, or cannot complete setup and still wants results, ask whether to continue with a clearly labeled non-ArkSpace fallback.
  9. Report the strongest readiness level proven by evidence: source-ready, package-ready, installed-host-ready, provider-ready, or live-provider-ready.

Routing Workflow

  1. Identify the primary task domain: code, docs, product, project, personal execution, skills, knowledge management, research, or cross-domain.
  2. Select the smallest useful role set from roles/.
  3. For web tasks, choose the role first, apply workflows/web-capability-routing.md, then use workflows/provider-capabilities.md and the matching provider registry before execution.
  4. Use one role for simple work.
  5. Use multiple roles only when the task naturally crosses domains.
  6. Ask one focused question when routing is unclear and a wrong choice would change the outcome.
  7. Hand off skill-library maintenance to skill-manager.

Default Routes

User intentRoute
Implement, refactor, test, debugcode/code-engineer
Review code or assess regressionscode/code-reviewer
CI, PR, release-prep discussion, repository hygienecode/repo-maintainer
Write new documentationdocs/doc-writer
Improve existing documentationdocs/doc-editor
Capture personal tasks, weekly plans, personal project upkeep, or maintain a Kanban-first personal dashboardpersonal/personal-assistant
Work with Obsidian, notes, Bases, Canvas, or knowledge filesdocs/knowledge-manager
Web search, source discovery, general research, SearXNGdocs/web-researcher
Read, fetch, summarize, or extract a provided URLdocs/web-researcher
Shape requirements or PRDsproduct/prd-planner
Build or evaluate a product demoproduct/demo-designer
Compare products, competitors, market claims, or public evidenceproduct/competitive-analyst
Plan milestones, tasks, ownership, or deliveryproject/project-manager
Coordinate handoffs, status, or multi-step deliveryproject/delivery-coordinator
Create, adapt, validate, or sync skillsskills/skill-manager

Web Capability Selection

For ambiguous web intent, apply workflows/web-capability-routing.md before selecting a provider. It is the authoritative capability decision matrix; provider registries remain authoritative for provider readiness and selection.

Selection order:

  1. Use the provider or skill the user explicitly names.
  2. Read the provider registry entry before first use.
  3. Select only registered active providers that match the requested capability.
  4. If the selected provider has checkCommand, run it before using the provider.
  5. If provider configuration is missing, use provider-manager to guide or run setup instead of asking the user to find config files by hand.
  6. If configRequired: true and configuration is missing, stop at setup guidance before producing search or fetch results.
  7. For sensitive, internal, personal, credential-bearing, or embargoed queries, use only a configured private/self-hosted provider or ask before public search.
  8. Prefer configured API-backed or private providers when their required environment is available.
  9. Use the highest-priority active provider that fits the role and query.
  10. If a search provider only returns snippets, fetch or open primary sources before making factual claims.
  11. Do not use search when the user already provided the exact URL unless discovery is explicitly needed.

Provider fit:

ProviderBest fit
SearXNGSelf-hosted or private metasearch where the endpoint is controlled by the user
ExaSemantic search, technical docs, repositories, concept discovery, domain/date filtered search, concise cited answers, code context, similar-page discovery
FirecrawlCLI-backed search, scraping, site mapping, crawling, structured extraction, browser interaction, and monitoring for JS-heavy or bot-protected pages
TavilyBroad current web search, JavaScript-heavy extraction, site mapping, crawling, and long-form research reports
DefuddleLocal URL extraction when no API provider is needed

When a provider entry includes checkCommand, run it when configuration state matters. Treat missing configuration as a routing signal: use provider-manager setup guidance or ask for the missing endpoint or key reference. Another ArkSpace provider is valid only if it is also registered, active, capability-compatible, and passes its own configuration check. Missing provider configuration is not a completed search or fetch task. Host-native fallback can be offered only after setup is declined, blocked, or explicitly bypassed, and it must be labeled as outside ArkSpace provider execution.

Search Request Example

User: [/ark-space:orchestrator] search for the claude-code-everything project
Route: docs/web-researcher -> web_search -> registry/search-providers.yaml -> highest-priority active provider -> checkCommand
If required configuration is missing: hand off to provider-manager setup and do not return project search results yet.

Escalation Rules

Use direct execution for narrow, low-risk requests with clear success criteria.

Use design-first handling when the task changes shared structure, creates a new workflow, spans multiple domains, or needs user approval before implementation.

Use a multi-role flow when each role has a distinct artifact. Example: product/prd-planner creates requirements, code/code-engineer implements, and docs/doc-writer updates documentation.

Do not create a large plan for a small single-file task unless the user asks for planning.

Handoff Format

When handing off to a role, include:

Role: <role id>
Reason: <why this role is the smallest useful fit>
Inputs: <files, user request, constraints>
Expected output: <artifact or decision>
Escalation: <when to return to Orchestrator>

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.