polish-docs-meta

polish-docs-meta is a skill for Claude Code from cyanheads/shift-mcp-server. It costs 54 tokens per session (5,394 once invoked), scanned A, a copy of polish-docs-meta, Apache-2.0.

Instructions for finishing the documentation and project metadata of a completed MCP server. An MCP server lets a coding agent use registered tools, data resources, or prompts.

In plain words
What is it for?
Auditing registered tools and resources, updating documentation and metadata, and preparing a tested server for publication.
Why use it?
They ensure the public documentation reflects what the server actually exposes before the project is released or shared.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions .claude-plugin; mentions CLAUDE.md; mentions Claude Code.

Part of the shift-mcp-server plugin — 33 skills, 1 MCP server shipped together

Good fit Auditing registered tools and resources, updating documentation and metadata, and preparing a tested server for publication.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cyanheads/shift-mcp-server/polish-docs-meta
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add cyanheads/shift-mcp-server --skill polish-docs-meta
Clone the repo
git clone --depth 1 https://github.com/cyanheads/shift-mcp-server

Made for: Claude Code.

Or install shift-mcp-server, the plugin that ships this one along with the rest of its 33 skills, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for polish-docs-meta

README.md
[![agentmods](https://agentmods.dev/badge/skills/cyanheads/shift-mcp-server/polish-docs-meta/github.svg)](https://agentmods.dev/skills/cyanheads/shift-mcp-server/polish-docs-meta)
Your own site
<a href="https://agentmods.dev/skills/cyanheads/shift-mcp-server/polish-docs-meta"><img src="https://agentmods.dev/badge/skills/cyanheads/shift-mcp-server/polish-docs-meta/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for polish-docs-meta

Your own site · 80×15
<a href="https://agentmods.dev/skills/cyanheads/shift-mcp-server/polish-docs-meta"><img src="https://agentmods.dev/badge/skills/cyanheads/shift-mcp-server/polish-docs-meta.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,394 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00054 $0.05394
Opus 5.5 $0.00022 $0.02158
Sonnet 5.5 $0.00011 $0.01079
Haiku 4.5 $0.00005 $0.00539

Measured 8d ago against content hash 4a671f3c402d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

polish-docs-meta scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to polish-docs-meta — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

framework-skills/polish-docs-meta/SKILL.md · 287 lines

How it starts

The opening of the file, as written. The whole thing — 287 lines — stays where its author put it; the contents beside it link to each section on GitHub.

When to Use

  • Server implementation is functionally complete (tools, resources, prompts, services all working)
  • bun run devcheck passes, tests pass
  • You're preparing for first commit, first release, or making the repo public
  • User says "polish", "polish docs", "finalize", "make it ship-ready", "clean up docs", or similar
  • Re-running after adding/removing tools, resources, or other surface area changes

Prefer running after implementation is complete, but safe to re-run at any point — steps are idempotent.

Companion: pair with security-pass for a full pre-ship review — this skill polishes docs and metadata; security-pass audits handlers for MCP-specific security gaps.

Prerequisites

  • All tools/resources/prompts implemented and registered
  • bun run devcheck passes
  • Tests pass (bun run test)

If these aren't met, address them first.

Steps

1. Audit the Surface Area

Read all tool, resource, and prompt definitions. Build a mental model of what the server actually does — names, descriptions, input/output shapes, auth scopes. This inventory drives every document below.

Read:

  • src/index.ts (what's registered in createApp())
  • All files in src/mcp-server/tools/definitions/
  • All files in src/mcp-server/resources/definitions/
  • All files in src/mcp-server/prompts/definitions/
  • All files in src/services/ (if any)
  • src/config/server-config.ts (if any)

Capture: tool count, resource count, prompt count, service count, required env vars.

2. README.md

Read the gold standard first: the pubmed-mcp-server README — https://github.com/cyanheads/pubmed-mcp-server/blob/main/README.md (or ../pubmed-mcp-server/README.md when that repo is checked out beside this one). Mirror its structure, section order, heading forms, and density. Reuse its non-server-specific content as-is — the framework line under Features, and the Getting started / Configuration / Running the server / Development guide / Contributing boilerplate — and tune only what is server-specific: the header, the Overview description, the primitives and their Capability reference entries, the domain-specific and agent-friendly bullets, env vars, project structure. Then read references/readme.md for the conventions spelled out; where it and the pubmed README disagree, the README wins — note the discrepancy in your report rather than editing the reference.

Read the full file on GitHub · 287 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago Changed · +1 lines 4a671f3c402d
  2. 26d ago Changed · +9 lines a35cfa92eff5
  3. 1mo ago First seen · 277 lines · 54 tokens per session scan A 50926cd53e50

Subscribe to this mod's changes

polish-docs-meta is a skill published in the GitHub repository cyanheads/shift-mcp-server (1 stars, last pushed 10d ago), licensed Apache-2.0. It adds 54 tokens to every session and 5,394 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to polish-docs-meta, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories