Grounded discovery
EISPATCH reads local host configuration to find capabilities that are actually installed:- MCP servers: discovered from host config files such as
.claude.jsonor Codexconfig.toml. - Skills: found by locating
SKILL.mdfiles in host-specific skill directories. - Plugins: detected from host plugin registries or workspace plugin directories.
- Bots and subagents: enumerated from the active host’s subagent configuration.
sanitizeMetadataText, which redacts URLs and common credential patterns (Bearer tokens, api_key=, token=, secret=, password=, and keys starting with sk-, ghp_, or AIza). Redaction is pattern-based, so avoid storing secrets in capability metadata.
Recommender scoring
The recommender (core/recommender.mjs) scores each discovered capability using deterministic matching. It is fully local and has no external AI dependencies.
Scoring signals
Capabilities can also be demoted:
- Meta or admin skills (for example
plugin,automation,dispatch,find-skills) lose 70 points unless named in the prompt. - SaaS-specific capabilities (for example
gmail,gdrive,semrush,firebase-mcp-server) lose 60 points unless named in the prompt or the prompt matches thebackend-dataintent. - Disabled capabilities and EISPATCH itself are excluded.
Recommendation limits
- In simple mode: up to 4 recommendations, each with a score of at least 25.
- In breakdown mode: up to 3 recommendations per task, each with a score of at least 25.
- If no capability reaches the threshold, the top 2 by score are recommended anyway.
- When a
browsersubagent is recommended, browser skills are skipped, and only oneopendesigner*skill is recommended unless the prompt names it.
Advisory vs host-enforced controls
Each capability in the compiled prompt carries one of two labels:
The compiled manifest records both under
manifest.controls: enforceable.allowedMcpServers (labels of enforceable capabilities) and advisory.capabilities ({ id, kind, name, taskId? } for everything else). Each group carries an enforcementNote; the advisory note states that model adherence is advisory. See Compiled prompt for the exact format.
Capability instructions
For each capability, the recommender suggests an instruction. If the prompt matches a domain intent (ui-app, verification, or backend-data), the instruction comes from that intent’s template for the capability kind. Otherwise a default per kind is used, for example:
You can edit any instruction before approval. In breakdown mode, recommendations and instructions are generated per task.
How to use recommendations
- Type or trigger your prompt in the composer.
- Review starred recommendations in the Capabilities drawer.
- Add capabilities you want, remove those you do not.
- Edit the generated instructions if you want stricter or broader scope.
- Proceed to Approve and dispatch.