From mk
Generates llms.txt files from project documentation following the llmstxt.org spec. Scans directories, extracts metadata, categorizes content, and produces AI-friendly documentation indexes.
How this skill is triggered — by the user, by Claude, or both
Slash command
/mk:llms [path] [--full] [--output path] [--url base]When to use
Use when generating llms.txt or LLM-friendly documentation for AI consumers.
[path] [--full] [--output path] [--url base]The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Generate [llms.txt](https://llmstxt.org/) files — LLM-friendly markdown indexes of project documentation.
Generate llms.txt files — LLM-friendly markdown indexes of project documentation.
Path convention: Commands below assume cwd is
$CLAUDE_PROJECT_DIR(project root). Prefix paths with"$CLAUDE_PROJECT_DIR/"when invoking from subdirectories.
Explicit: /mk:llms [path] [--full]
Operates in Phase 6 (Reflect) or on-demand. Output supports the documenter agent.
| Flag | Effect |
|---|---|
| (no args) | Scan ./docs directory |
path | Scan specific directory |
--full | Also generate llms-full.txt with inline content |
--output path | Custom output location (default: project root) |
--url base | Base URL prefix for links |
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)
.claude/skills/.venv/bin/python3 .claude/skills/llms/scripts/generate-llms-txt.py \
--source ./docs [--output .] [--base-url https://example.com/docs] [--full]
# Preview metadata first (Claude reviews before generating)
.claude/skills/.venv/bin/python3 .claude/skills/llms/scripts/generate-llms-txt.py \
--source ./docs --json
generate-llms-txt.py --source <path> --json to preview metadata--json to produce llms.txt--full: review llms-full.txt for completeness# {Project Name}
> {Brief project description with essential context.}
## {Section Name}
- [{Doc Title}]({url}): {Brief description}
- [{Another Doc}]({url}): {What this covers}
## Optional
- [{Less Important Doc}]({url}): {Supplementary info}
| Reference | When to load | Content |
|---|---|---|
| llms-txt-spec.md | Step 4 — generating | Full llmstxt.org specification rules |
| Failure | Recovery |
|---|---|
| No .md files found | Report "No documentation found in {path}" |
| No H1 in doc file | Use filename as title, warn user |
| Output path not writable | Suggest alternative path |
.claude/scripts/bin/setup-workflow once from the project root before invoking this skill. Re-run after upgrading the toolkit.npx claudepluginhub ngocsangyem/meowkit --plugin mkGenerates llms.txt file from repo structure per llmstxt.org spec, with project summary and categorized file links for LLM repo navigation. Invoke manually via /create-llms or auto when relevant.
Generates llms.txt and llms-full.txt files for LLM-friendly project documentation following the llms.txt specification. Use to make project wikis accessible to language models.
Generates or audits llms.txt per spec, creates CLAUDE.md/AGENTS.md by analyzing README, build files, docs, and API surface.