llms-txt

llms-txt is a skill for Claude Code from littlebearapps/pitchdocs. It costs 61 tokens per session (1,771 once invoked), scanned A, original, MIT.

A generator for `llms.txt` and `llms-full.txt`, Markdown files that give AI coding tools a structured map of a project’s important documentation. It follows the llmstxt.org format and curates links to relevant files.

In plain words
What is it for?
Use it to create or update AI-friendly documentation indexes for coding assistants such as Cursor, Windsurf, and Claude Code, as well as AI search systems.
Why use it?
AI assistants cannot always read an entire repository within their available context, so they may miss important project information.

Skill for Claude Code

Written for Claude Code: Claude Code plugin machinery. Also seen: mentions Claude Code.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is - [Getting Started](./docs/guides/getting-started.md): Install, configure, and deploy your first worker in under 5 minutes.

Part of the pitchdocs plugin — 16 skills, 15 commands, 4 agents shipped together

Good fit Use it to create or update AI-friendly documentation indexes for coding assistants such as Cursor, Windsurf, and Claude Code, as well as AI search systems.

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/littlebearapps/pitchdocs
agentmods
npx agentmods add skills/littlebearapps/pitchdocs/llms-txt

Made for: Claude Code.

Or install pitchdocs, the plugin that ships this one along with the rest of its 16 skills, 15 commands, 4 agents.

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 llms-txt

README.md
[![agentmods](https://agentmods.dev/badge/skills/littlebearapps/pitchdocs/llms-txt.svg)](https://agentmods.dev/skills/littlebearapps/pitchdocs/llms-txt)
Your own site
<a href="https://agentmods.dev/skills/littlebearapps/pitchdocs/llms-txt"><img src="https://agentmods.dev/badge/skills/littlebearapps/pitchdocs/llms-txt.svg" alt="Measured on agentmods" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,771 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.00061 $0.01771
Opus 5 $0.00030 $0.00886
Sonnet 5 $0.00012 $0.00354
Haiku 4.5 $0.00006 $0.00177

Measured 8d ago against content hash ad79d5ab2dd2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

llms-txt 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 8d 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.

.claude/skills/llms-txt/SKILL.md · 208 lines

How it starts

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

llms.txt Generator

Generate structured, LLM-friendly content indexes following the llmstxt.org specification.

Background

llms.txt was proposed by Jeremy Howard (Answer.AI) in September 2024. It provides a curated Markdown file that gives LLMs a structured map of a project's most important content — solving the problem of context windows being too small to process entire websites or repositories.

Adopted by: Anthropic, Cloudflare, Stripe, Vercel, Cursor, Mintlify, GitBook, Fern.

Used by: Cursor, Windsurf, Context7 MCP, Claude Code (reading local files), AI search engines.

Specification (llmstxt.org)

An llms.txt file is a Markdown document with sections in this exact order:

  1. H1 heading (required) — the name of the project or site
  2. Blockquote (optional) — short summary with key information for understanding the rest of the file
  3. Body text (optional) — zero or more Markdown sections of any type except headings
  4. H2 sections with file lists (optional) — each contains a Markdown list where every item has:
    • A required hyperlink: [name](url)
    • Optionally a : followed by notes about the file
  5. ## Optional section (special) — URLs here can be skipped when shorter context is needed

No other heading levels are used. Only H1 (one, at the top) and H2 (for sections).

Two Output Files

File Content Size Target Use Case
llms.txt Index with links and descriptions Under 10K tokens Real-time AI assistants navigating quickly
llms-full.txt Concatenated Markdown of all referenced files Varies (can be 100K+ tokens) RAG ingestion, IDE indexing, full-context tools

Generation Workflow

Step 1: Gather Project Metadata

Read the primary manifest for the project name and description:

File Name Field Description Field
package.json name description
pyproject.toml [project].name [project].description
Cargo.toml [package].name [package].description
go.mod module path First line of README
.claude-plugin/plugin.json name description

Read the full file on GitHub · 208 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. 8d ago First seen · 208 lines · 61 tokens per session scan A ad79d5ab2dd2

Subscribe to this mod's changes

llms-txt is a skill published in the GitHub repository littlebearapps/pitchdocs (8 stars, last pushed 4mo ago), licensed MIT. It adds 61 tokens to every session and 1,771 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

docs

Generate and update living documentation — tech docs, user guides, philosophy overview. Composable building block for CLOSE and other skills.

martineserios/thebrana · 27 tokens

init-rpm

Project setup and verification. First run creates rpm context for a project. Repeat runs verify that an existing rpm setup matches the latest expected layout and apply safe migrations.

dppdppd/rpm · 48 tokens

root-cause-first

A debugging discipline that requires finding the underlying cause of a bug before changing the code. It also sets rules for handling errors, fallbacks, retries, and temporary diagnostics.

jx-hxxx/hi-vibe · 88 tokens

refresh

Use when an existing contextualizer's references may have drifted from current upstream state — typically weekly, or whenever a few days of upstream changes have accumulated — to bring them back into agreement.

nick-railsback/skill-engine · 40 tokens

backlog

Manage the rpm backlog (long-term project tasks in docs/rpm/future/tasks.org — distinct from Claude's native TaskCreate list, which is session-scoped). Add, list, review, postpone, or complete entries. TRIGGER on natural-language backlog operations — phrasings like "backlog X", "add X to backlog", "add to backlog"…

dppdppd/rpm · 156 tokens

using-skill-engine

When the user mentions skill-engine or "the engine" without naming a specific workflow, or wants first-run setup. Inspects .claude/skills/-context/ install state (and any pending -context.proposed/ proposals) across all three install levels, then dispatches to engine-bootstrap when no contextualizer exists, to…

nick-railsback/skill-engine · 101 tokens