agentleFS
ThirdKeyAIThirdKeyAI/symbi-claude-code/skills/symbi-pin/SKILL.md

symbi-pin

Skill4 starsChanged 9 months agoApache-2.0View on GitHub

Pin an MCP server's schema using SchemaPin so future sessions detect tampering. Use when adding a new MCP server to .mcp.json, after a trusted server update, or when the SessionStart hook warns about unsigned servers.

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before relying on a server in production workflows

    line 15
  2. Distinctive:

    Do NOT pin a server you do not trust right now -- pinning only freezes the current schema, it does not judge provenance.

    line 17
  3. Very specific:

    Use the pin_schema tool from the symbi MCP server (or invoke symbi schemapin pin --mcp-server <name>).

    line 23
  4. Very specific:

    If symbi is not on PATH, fall back to explaining the pin workflow and point at /symbi-status.

    line 31

≈ “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

SchemaPin Pinning

Establish trust-on-first-use (TOFU) for an MCP server by fetching its schema, recording the publisher's public key, and storing a signature the SessionStart hook can verify on every future launch.

When to Pin

  • A new MCP server was added to .mcp.json
  • SessionStart reports "Unsigned MCP servers: ..."
  • A trusted server update changed the schema (re-pin intentionally)
  • Before relying on a server in production workflows

Do NOT pin a server you do not trust right now -- pinning only freezes the current schema, it does not judge provenance.

Pinning Process

  1. Identify the MCP server name from .mcp.json (or ask the user).
  2. Confirm the user actually trusts this server in its current state -- pinning is a commitment.
  3. Use the pin_schema tool from the symbi MCP server (or invoke symbi schemapin pin --mcp-server <name>).
  4. Report the pinned fingerprint and key ID so the user can record it out-of-band.
  5. Suggest re-running /symbi-verify to confirm the pin round-trips.

After Pinning

  • Future SessionStart runs will detect any schema mutation and surface a FAILED warning.
  • To intentionally accept an upstream schema change, the user must re-run this skill -- tell them so.
  • If symbi is not on PATH, fall back to explaining the pin workflow and point at /symbi-status.

Failure Modes

  • Server unreachable: cannot fetch schema -- ask the user to verify the server starts.
  • Conflicting pin exists: a prior pin is present; do not silently overwrite. Show both fingerprints and ask the user to choose.
  • No publisher key: server does not publish a SchemaPin key -- warn the user that only TOFU pinning is possible.

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.