swag2mcp: Skill for Claude Code

.agents/skills/swag2mcp-doc-writer/SKILL.md

swag2mcp-doc-writer is a skill for Claude Code, Codex from mmadfox/swag2mcp. It costs 55 tokens per session (2,827 once invoked), scanned A, original, Apache-2.0.

A project-specific writing guide for maintaining swag2mcp documentation. It requires matching the English documentation across seven translated locales and describes the project's writing and file rules.

In plain words
What is it for?
It is for creating, editing, moving, or removing documentation pages, examples, configuration references, and related files in the swag2mcp project.
Why use it?
It prevents documentation changes from becoming inconsistent between languages or from missing required files and configuration updates.

Skill for Claude CodeCodex

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

This is mmadfox/swag2mcp's own configuration. It tells Claude Code and Codex how to work on swag2mcp 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 swag2mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to mmadfox/swag2mcp. 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/mmadfox/swag2mcp/main/.agents/skills/swag2mcp-doc-writer/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/mmadfox/swag2mcp

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 swag2mcp-doc-writer

README.md
[![agentmods](https://agentmods.dev/badge/skills/mmadfox/swag2mcp/swag2mcp-doc-writer/github.svg)](https://agentmods.dev/skills/mmadfox/swag2mcp/swag2mcp-doc-writer)
Your own site
<a href="https://agentmods.dev/skills/mmadfox/swag2mcp/swag2mcp-doc-writer"><img src="https://agentmods.dev/badge/skills/mmadfox/swag2mcp/swag2mcp-doc-writer/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 swag2mcp-doc-writer

Your own site · 80×15
<a href="https://agentmods.dev/skills/mmadfox/swag2mcp/swag2mcp-doc-writer"><img src="https://agentmods.dev/badge/skills/mmadfox/swag2mcp/swag2mcp-doc-writer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,827 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 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.00055 $0.02827
Opus 5 $0.00028 $0.01413
Sonnet 5 $0.00011 $0.00565
Haiku 4.5 $0.00006 $0.00283

Measured 11d ago against content hash 0dd0032766d2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

swag2mcp-doc-writer 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 11d 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/swag2mcp-doc-writer/SKILL.md · 353 lines

How it starts

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

swag2mcp-doc-writer — Documentation Writing Skill

When this skill activates

Activate when the user asks to write, edit, add, remove, or restructure any documentation file in the docs/ directory. This includes:

  • Creating new pages or sections
  • Updating existing content (commands, flags, config fields, examples)
  • Adding or removing files
  • Renaming or moving files
  • Updating the VitePress config (config.mjs)

Critical Rule: Multi-Language Consistency

The documentation is maintained in 8 locales. The root docs/ directory is English. Every change to an English file MUST be replicated identically to all 7 translated locales:

Locale Directory Prefix
English (default) docs/ /
Russian docs/ru/ /ru/
German docs/de/ /de/
French docs/fr/ /fr/
Spanish docs/es/ /es/
Chinese docs/zh-CN/ /zh-CN/
Japanese docs/ja/ /ja/
Korean docs/ko/ /ko/

Synchronization rules

  1. File structure is identical across all locales — same subdirectories, same filenames, same number of files
  2. Content is copied as-is from English to all locales. Translation is done separately — the skill only ensures structural consistency
  3. When adding a file — create it in English first, then copy to all 7 locale directories
  4. When deleting a file — remove from English and all 7 locale directories
  5. When renaming a file — rename in English and all 7 locale directories, then update all links in config.mjs and all .md files that reference the old path
  6. When updating content — update the English file, then copy the exact same content to the corresponding file in each locale directory
  7. config.mjs — only one file exists at docs/.vitepress/config.mjs. It contains sidebar and nav definitions for all 8 locales. Update it once.

Verification command

After any change, run:

npm run docs:build

The build must complete without errors. If it fails, fix the issues before reporting success.

Read the full file on GitHub · 353 lines

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. 11d ago First seen · 353 lines · 55 tokens per session scan A 0dd0032766d2

Subscribe to this mod's changes

swag2mcp-doc-writer is a skill published in the GitHub repository mmadfox/swag2mcp (0 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 55 tokens to every session and 2,827 once invoked, about $0.0003 per session on Opus 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-31.

Related

Other skills, from other repositories