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.
npx skills add doancan/mags --skill mags-docs-creategit clone --depth 1 https://github.com/doancan/magsWrote 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.
[](https://agentmods.dev/skills/doancan/mags/mags-docs-create)<a href="https://agentmods.dev/skills/doancan/mags/mags-docs-create"><img src="https://agentmods.dev/badge/skills/doancan/mags/mags-docs-create/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.
<a href="https://agentmods.dev/skills/doancan/mags/mags-docs-create"><img src="https://agentmods.dev/badge/skills/doancan/mags/mags-docs-create.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00012 | $0.00293 |
| Opus 5.5 | $0.00005 | $0.00117 |
| Sonnet 5.5 | $0.00002 | $0.00059 |
| Haiku 4.5 | $0.00001 | $0.00029 |
Grade A, and why
mags-docs-create 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.
What it actually says
MAGS Docs Create
Create a new document from a predefined template.
Usage
/mags-docs-create <template>
Available Templates
| Template | File | Purpose |
|---|---|---|
adr |
docs/adr/NNN-<title>.md |
Architecture Decision Record |
module |
docs/modules/<name>.md |
Module documentation |
rule |
docs/rules/<name>.md |
Coding/process rule |
guide |
docs/guides/<name>.md |
How-to guide |
api |
docs/api/<name>.md |
API endpoint documentation |
Steps
- Parse the template name from the argument.
- If the template name is not recognized, list the available templates and stop.
- Ask the user for the document title/name.
- Call
mags_create_docwith the appropriate path and template content. - Confirm: "Created
<path>. Edit it to fill in the details, or describe what it should contain and I will draft it."
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.
- 1mo ago First seen · 38 lines · 12 tokens per session scan A cd10f517f76c
mags-docs-create is a skill published in the GitHub repository doancan/mags (3 stars, last pushed 8mo ago), licensed MIT. It adds 12 tokens to every session and 293 once invoked, about $0.0000 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-31.
Other skills, from other repositories
portable-text-conversion
Convert HTML and Markdown content into Portable Text blocks for Sanity. Use when migrating content from legacy CMSs, importing HTML or Markdown into Sanity, building content pipelines that ingest external content, converting rich text between formats, or programmatically creating Portable Text documents. Covers…
fetch-firecrawl
Use to scrape a URL into clean Markdown when the page is JS-rendered, behind anti-bot, or a PDF — and FIRECRAWLAPIKEY is available. Degrades gracefully to warn when key is missing.
kolmopdf
A workflow for using KolmoPDF, a paid cloud service, to process PDFs or Markdown files. It supports PDF parsing, translation, export to common document formats, and reading aids such as outlines and summaries.
dokmatiq-docgen
Dokmatiq DocGen skill for Codex, Claude Code, and MCP-enabled AI assistants. Use this skill when the user wants to generate, transform, or analyze documents — including PDF, DOCX, ODT, or Excel/XLSX files — with optional stationery overlay (Briefpapier/letterhead/company letterhead branding applied to generated PDFs).…
document
Builds technical A4 PDF documents with D2 diagrams (architecture, sequence, mapping, ERD, flowchart and state) from one HTML source, checks every diagram against the page and previews every page. Use it when the user asks for a PDF, a document, a spec with flowcharts or sequence diagrams, or an ERD of a database or an…
n8n-binary-and-data
Handle files and binary data in n8n correctly. Use when working with files, images, PDFs, attachments, uploads or downloads, base64, vision/multimodal input, or when an AI agent needs a file as tool input or output — and whenever the user mentions $binary, binaryPropertyName, "read the PDF", "attach the file", "send…