agentsclimarketplace

Authoring skills vs mcp

Skill selamy-labs/agent-skills/skills/authoring-skills-vs-mcp

Use when deciding whether a capability should be a SKILL or an MCP SERVER, and how to author either well. The axis is knowledge-vs-capability: would the agent READ this to know how, or CALL this to do it?From its SKILL.md

Install
npx -y skills add selamy-labs/agent-skills --skill authoring-skills-vs-mcp

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

4.3 KB, 999 tokens by cl100k_base, as published. Nobody here has run it

Authoring: Skills vs MCP Servers

Two different ways to extend an agent, for two different things. Picking the wrong one is the most common waste: knowledge bloated into a server, or a real capability trapped in prose the model can only read, never call. This skill is the decision axis plus how to author each artifact. It composes with skill-creator / writing-skills (authoring mechanics) and mcp-builder (server mechanics) — it covers the choice between them, which they don't.

1. The decision axis (apply this first)

  • SKILL = knowledge. Methodology, convention, domain knowledge the model reads into context and then acts on with the tools it already has. There is nothing to "call."
  • MCP SERVER = capability. An external system / API / DB / service that needs credentials and structured I/O — a callable tool the model invokes to do something and get a typed result back.

The test: "Would the agent READ this to know how, or CALL this to do it?"

  • Read-to-know-how → skill. (e.g. "how to model a REST resource", "how we review for regressions".)
  • Call-to-do-it → MCP. (e.g. "search this ticketing system", "write a DNS record", "query the metrics warehouse".)

Two failure modes to reject:

  • Don't MCP-ify knowledge. A methodology doesn't become a server because it's important. It has no creds, no structured call — it's a skill.
  • Don't trap a capability in prose. A skill that says "here's how to hit API X: curl this, parse that" is a capability wearing a skill costume. Extract it into an MCP tool; leave at most a thin methodology skill behind.

Hybrids are real: keep the methodology as a skill and the call as an MCP (e.g. a "research discipline" skill beside a "search the source" MCP). Split along the read/call line.

2. How to author a SKILL

  • Frontmatter: name (kebab-case purpose), a description that says when to use (and when not) so it's discoverable cold.
  • Progressive disclosure: lead with the decision/the rule; push detail and edge cases lower or into companion files.
  • When-to-use / when-not: state both. A skill that never says when not to fire mis-activates.
  • Examples + anti-patterns: show the right call and the common wrong ones.
  • Gold-bar, no slop: a skill earns its place by changing behavior. If it restates what a capable model already does, don't ship it.

3. How to author an MCP SERVER

  • Tools & resources: model each tool as one clear verb with a typed input/output schema. Prefer a few sharp tools over one overloaded one.
  • Structured I/O: return structured results, not prose blobs — the caller is a program path.
  • Credentials stay out of the server body: fetch them at call-time from a secrets broker / secret store; never bake keys into the server or its config. Keys live in the broker, not the workload.
  • Idempotency & errors: make writes safe to retry; return typed errors the agent can branch on.
  • Provenance / security audit: run the server through a static skill/tool audit (malicious-code + injection scan) before any agent adopts it.

4. Gates and where it ships

Both artifacts clear the same publishing bar — gold-only utility, privacy/secret scan, gated PR, public-first routing. That bar lives in skill-curation; apply it, don't restate it here.

When to use / not

  • Use when classifying a capability/knowledge item, or deciding how to extend an agent.
  • Not for the line-by-line mechanics of writing a skill (skill-creator / writing-skills) or wiring a server (mcp-builder) — this picks which one, then hands off.

Anti-patterns

  • Building an MCP server for a pure methodology (knowledge-as-a-server).
  • A skill that teaches the agent to hand-call an external API (capability-in-prose) instead of an MCP tool.
  • One mega-tool with an untyped grab-bag input.
  • Credentials embedded in the server instead of fetched from a broker at call-time.
  • Adopting a server with no provenance/security audit.
  • Publishing either artifact with org traces, or on elegance instead of proven value.

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Gives 0 of the 12 instructions most mcp tooling skills give in 999 tokens

Counted across 638 of the 750 authors here whose files we hold, read 2026-08-07

  • Create ten complex or independent read-only evaluation questionsin 69 of 638, across 15 files
  • Test servers using MCP Inspectorin 61 of 638, across 19 files
  • Provide actionable error messages with specific next stepsin 54 of 638, across 12 files
  • Prioritize comprehensive API coverage over specific workflows or workflow toolsin 54 of 638, across 12 files
  • Use TypeScript and Streamable HTTP for remote servers or clientsin 54 of 638, across 8 files
  • Define structured output schemas where possiblein 50 of 638, across 8 files
  • Use Zod or Pydantic for input schemasin 47 of 638, across 5 files
  • Fetch MCP specification pages with markdown suffixin 46 of 638, across 4 files
  • Load framework documentation using WebFetchin 45 of 638, across 3 files
  • Verify each evaluation answer independentlyin 45 of 638, across 3 files
  • Implement API client with authentication and paginationin 45 of 638, across 3 files
  • Define input schemas with validationin 27 of 638, across 9 files

Said here and by no other author read

  • Classify extensions as knowledge or capability
  • Read-to-know-how is a skill
  • Call-to-do-it is an MCP
  • Lead skills with the core rule
  • Push skill edge cases into companion files
  • Prefer few sharp MCP tools over overloaded ones

Grouped from the skills themselves: near-identical wordings counted once, and counted by distinct author, so one author publishing three of these counts once. Length counted with cl100k_base; the agent that loads this file may tokenize it differently.

Keep looking

Skills are one crate of 326,764. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.