npm-packages: Skill for Claude Code

.agents/skills/docs-authoring/SKILL.md

docs-authoring is a skill for Claude Code, Codex from WebMCP-org/npm-packages. It costs 56 tokens per session (4,845 once invoked), scanned A, original, MIT.

Guidelines for writing and reviewing WebMCP documentation, a documentation site for exposing website tools through a standard web interface.

In plain words
What is it for?
It helps create, edit, reorganize, and validate pages in the WebMCP documentation website.
Why use it?
It keeps pages organized by documentation purpose and aligned with the site's navigation, writing rules, and source boundaries.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; installed under .agents/ (shared by several agents); mentions AGENTS.md.

This is WebMCP-org/npm-packages's own configuration. It tells Claude Code and Codex how to work on npm-packages itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything npm-packages configures →

Reuse

Borrowing it

Nothing to install: this file belongs to WebMCP-org/npm-packages. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/WebMCP-org/npm-packages/main/.agents/skills/docs-authoring/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/WebMCP-org/npm-packages

Made for: Claude Code, Codex.

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 docs-authoring

README.md
[![agentmods](https://agentmods.dev/badge/skills/webmcp-org/npm-packages/docs-authoring/github.svg)](https://agentmods.dev/skills/webmcp-org/npm-packages/docs-authoring)
Your own site
<a href="https://agentmods.dev/skills/webmcp-org/npm-packages/docs-authoring"><img src="https://agentmods.dev/badge/skills/webmcp-org/npm-packages/docs-authoring/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 docs-authoring

Your own site · 80×15
<a href="https://agentmods.dev/skills/webmcp-org/npm-packages/docs-authoring"><img src="https://agentmods.dev/badge/skills/webmcp-org/npm-packages/docs-authoring.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,845 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 4 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Agent Snooping · line 122
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Prompt Injection · line 223
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 254
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 264
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
How audits are shown
Origin original No closer match found 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.00056 $0.04845
Opus 5.5 $0.00022 $0.01938
Sonnet 5.5 $0.00011 $0.00969
Haiku 4.5 $0.00006 $0.00485

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

Security

Grade A, and why

docs-authoring 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 1mo 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.

.agents/skills/docs-authoring/SKILL.md · 349 lines

How it starts

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

WebMCP Documentation: Authoring Guide

Reference for writing and editing the WebMCP docs. The repo-wide agent instructions live in the root AGENTS.md; this file covers the docs-specific rules (Diataxis, writing style, Mintlify components, source-of-truth boundaries).

What this is

Documentation for WebMCP, a Community Group proposal for exposing website tools through document.modelContext. Built with Mintlify. Live at docs.mcp-b.ai.

Site structure

apps/documentation-website/docs.json is the single source of truth for navigation, pages, groups, and hierarchy. Read it first.

Tab Path prefix Diataxis type
Home index, start-here/ Landing + routing
Packages packages/, reference/webmcp/ Information-oriented
Tutorials tutorials/ Learning-oriented
How-To Guides how-to/ Goal-oriented
Explanation explanation/ Understanding-oriented

Every package gets an overview page and a reference page under packages/<name>/. The reference/webmcp/ pages route proposal and platform details to upstream sources and sit in the same tab. explanation/design/spec-status-and-limitations keeps its legacy URL but is a reference directory in the WebMCP platforms and agents navigation group.

Key files

File Purpose
apps/documentation-website/docs.json Navigation, theme, config. Do not modify without explicit request.
../diataxis/SKILL.md Diataxis framework overview and compass
../diataxis/references/ 17 unabridged Diataxis reference pages from diataxis.fr
../mintlify/SKILL.md Mintlify best practices (components, navigation, frontmatter, deployment)
references/design-system.mdx Brand colors, typography, Mintlify component examples

Read the full file on GitHub · 349 lines

Files

What ships with it

1 file 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. 1mo ago Changed · +3 lines 8a871714bfdc
  2. 2mo ago First seen · 346 lines · 56 tokens per session scan A c224f5f29527

Subscribe to this mod's changes

docs-authoring is a skill published in the GitHub repository WebMCP-org/npm-packages (106 stars, last pushed 2d ago), licensed MIT. It adds 56 tokens to every session and 4,845 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

docs-authoring compared with skills from other repositories

docs-authoring next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
docs-authoringWebMCP-org/npm-packagesSkill1062d agoMITA56Claude Code, Codex
imagegenopenai/codexSkill133kyesterdayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill99kyesterdayApache-2.0A19Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79k4d agoMITA200Claude Code, Codex
systematic-debuggingobra/superpowersSkill313k3d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143kyesterdayMITA95Claude Code
next-partial-prefetching-adoptionvercel/next.jsSkill143kyesterdayMITA103Claude Code