Skip to content

Skills, MCP, and orchestration

Sumi keeps content, capability, and workflow responsibilities separate. This lets the same reviewed documentation work in a browser and through different MCP clients without making the MCP server depend on one agent runtime.

Ownership boundaries

Layer Responsibility
Skill Decide when the capability applies and describe the usage procedure, prerequisites, examples, failures, and validation.
Sumi-Docs-MCP Acquire a bounded local or remote corpus and expose four stateless, read-only tools over either supported transport.
Agent host or workflow Select and sequence tools, retry, delegate, request approval, and own any client session.
Astro and Starlight Render reviewed content for people and publish the explicit raw corpus and route map.
Reviewed BFF or service Own future browser credentials, authorization, or server-side sessions if those capabilities are designed.

A Skill can tell an agent when to search Sumi and how to cite the page returned by fetch_doc. It should not copy the MCP server’s parser, path validation, network limits, or schemas. The MCP server does not decide which agent runs next or retain conversation state. Stateless transport does not provide agent memory, checkpoint recovery, or host filesystem isolation; those remain owned by the client host or a separately reviewed controller.

Repository Skills

The repository ships three reviewed, project-scoped Skills under .agents/skills/:

  • $sumi-docs-use selects a local, default, or published corpus and verifies the active MCP or Web process;
  • $sumi-docs-pr classifies a change, selects its engineering record and validation gates, and prepares a pull request without publishing it;
  • $sumi-docs-audit performs a read-only, evidence-bound repository, architecture, or release-candidate audit without changing local or remote state.

These Skills are optional workflow routers. They do not duplicate MCP parsing, contain mutable state, or replace the host’s project trust and MCP approval.

The reviewed docs/ tree and catalog are the content authority. The Web site and MCP server are projections of that authority; the agent host is an MCP client. A Skill can select a role or workflow, but it is never the document store or a prerequisite for tool discovery. Agents should prefer the MCP projection for ordinary documentation questions and inspect source and tests when changing or verifying implementation behavior.

Retrieval versus model training

The server is a retrieval substrate. Its lexical search and exact document fetches can supply context to an agent host, which is the RAG pattern when a model uses that context to answer. There is no embedding index, vector store, or model-weight update in this repository. Fine-tuning is therefore outside the freshness path: a changed document is published as a new corpus revision and loaded after the process is rebuilt or restarted.

Maintainer Skill

Local developers may install the optional $sumi-docs-maintain role in their global agent Skill catalog. Its activation must remain limited to the Sumi Docs project family. The repository does not ship or require that broader local role; the project MCP adapters provide the documentation-query fallback for Codex, Claude Code, and VS Code. See Agent host integration.

Open an issue before changing or adding a reusable integration. Include trigger and non-trigger examples, supported host versions, MCP prerequisites, the ordered workflow, failure behavior, credential and approval boundaries, deterministic evals, compatibility impact, and rollback.

If the proposal changes an MCP tool, update the server schema, tests, tool reference, examples, and changelog in the server repository. If it introduces stateful orchestration, authenticated acquisition, or multi-agent control, it requires a separate architecture decision or service boundary rather than code inside the current read-only MCP server.

For the full repository process, see Contributing.