mk:llms

mk:llms is a skill for Claude Code from ngocsangyem/MeowKit. It costs 21 tokens per session (1,034 once invoked), scanned A, original, MIT.

A documentation tool that creates an `llms.txt` file, a standard Markdown index that helps AI assistants find and understand a project's documentation.

In plain words
What is it for?
Use it to scan project docs, group and link pages, and optionally create an expanded file with the documentation text included.
Why use it?
It removes the need to build this documentation index by hand and keeps the index tied to the contents of a documentation folder.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: reads .claude/ paths.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node .claude/hooks/lib/skill-python.cjs ${CLAUDE_SKILL_DIR}/scripts/generate-llms-txt.py \.

Good fit Use it to scan project docs, group and link pages, and optionally create an expanded file with the documentation text included.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/ngocsangyem/MeowKit
agentmods
npx agentmods add skills/ngocsangyem/meowkit/llms

Made for: Claude Code.

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 mk:llms

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/ngocsangyem/meowkit/llms"><img src="https://agentmods.dev/badge/skills/ngocsangyem/meowkit/llms.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,034 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.00021 $0.01034
Opus 5.5 $0.00008 $0.00414
Sonnet 5.5 $0.00004 $0.00207
Haiku 4.5 $0.00002 $0.00103

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

Security

Grade A, and why

mk:llms 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 10d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/generate-llms-txt.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

.claude/skills/llms/SKILL.md · 116 lines

How it starts

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

llms.txt Generator

Generate llms.txt files — LLM-friendly markdown indexes of project documentation.

Run from the project root. The script path below is relative to this skill's directory.

When to Use

  • Project needs LLM-friendly documentation index
  • User asks for "llms.txt", "LLM documentation", "AI-friendly docs"
  • Publishing docs site and want AI discoverability
  • After major documentation updates

Explicit: /mk:llms [--source path] [--full]

Workflow Integration

On demand, or after docs change. Output supports the documenter agent.

Arguments

Flag Effect
(no args) Scan ./docs
--source path Scan a specific directory (default ./docs)
--full Also generate llms-full.txt with inline content
--output dir Output directory (default: project root)
--base-url url Base URL prefix for links

Scripts

Script-first approach — the Python script handles all deterministic work (scanning, extracting, categorizing, generating). Claude only reviews and improves the output.

# Generate llms.txt (script does the heavy lifting)
node .claude/hooks/lib/skill-python.cjs ${CLAUDE_SKILL_DIR}/scripts/generate-llms-txt.py \
  --source ./docs [--output .] [--base-url https://example.com/docs] [--full]

# Preview metadata first (Claude reviews before generating)
node .claude/hooks/lib/skill-python.cjs ${CLAUDE_SKILL_DIR}/scripts/generate-llms-txt.py \
  --source ./docs --json

Process

  1. Run script — execute generate-llms-txt.py --source <path> --json to preview metadata
  2. Review metadata — check project name, description, file categorization
  3. Generate — run script again without --json to produce llms.txt
  4. Review output — read generated llms.txt, improve descriptions if needed
  5. Validate — run these four checks and fix what fails (the full rules are in references/llms-txt-spec.md): the file starts with one H1; a blockquote summary follows; every list entry is - [title](url): description; an Optional section, if present, is last
  6. If --full: review llms-full.txt for completeness
  7. Return the output path(s) and the four-status block from .claude/rules/agent-conduct.md (A1)

Read the full file on GitHub · 116 lines

Files

What ships with it

2 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. 10d ago Changed · +1 lines · +7 tokens per session 4e50a2c87989
  2. 12d ago Changed · -5 tokens per session 2cd11cf0367a
  3. 17d ago Changed · -9 tokens per session 4cad60cc6e11
  4. 24d ago Changed · +1 lines · -18 tokens per session 90045934c42c
  5. 3mo ago First seen · 114 lines · 46 tokens per session scan A 987d620024fa

Subscribe to this mod's changes

mk:llms is a skill published in the GitHub repository ngocsangyem/MeowKit (18 stars, last pushed 2d ago), licensed MIT. It adds 21 tokens to every session and 1,034 once invoked, about $0.0001 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-09-03.

Related

mk:llms compared with skills from other repositories

mk:llms next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mk:llmsngocsangyem/MeowKitSkill182d agoMITA21Claude Code
mcp-builderShubhamsaboo/awesome-llm-appsSkill147kyesterdayApache-2.0A123Claude Code, Codex
thinking-out-loudShubhamsaboo/awesome-llm-appsSkill147kyesterdayApache-2.0A206Claude Code, Codex
hugging-face-model-trainerpatchy631/ai-engineering-hubSkill42k1mo agoMITA131Claude Code
hugging-face-evaluationpatchy631/ai-engineering-hubSkill42k1mo agoMITA55Claude Code
hugging-face-datasetspatchy631/ai-engineering-hubSkill42k1mo agoMITA49Claude Code
hugging-face-clipatchy631/ai-engineering-hubSkill42k1mo agoMITA68Claude Code