Overview¶
How llm.energy works.
Supported Standards¶
llm.energy supports two complementary standards for LLM-friendly documentation:
llms.txt Standard¶
Many documentation sites provide their content in a machine-readable format at /llms.txt or /llms-full.txt. This format is designed for AI consumption.
| Endpoint | Description |
|---|---|
/llms.txt |
Concise version |
/llms-full.txt |
Complete documentation |
install.md Standard¶
The install.md standard provides structured installation instructions that LLMs can execute autonomously.
| Endpoint | Description |
|---|---|
/install.md |
LLM-executable installation guide |
/docs/install.md |
Alternative location |
install.md files include:
- OBJECTIVE: What the installation should achieve
- DONE WHEN: Success criteria
- TODO: Checklist of tasks
- Steps: Detailed instructions with code blocks
How It Works¶
flowchart LR
A[Enter URL] --> B[Fetch llms.txt]
B --> C[Fetch install.md]
C --> D[Parse Content]
D --> E[Generate Files]
E --> F[Download]
1. Fetch¶
llm.energy fetches:
{url}/llms-full.txt(complete documentation)- Falls back to
{url}/llms.txtif full version unavailable {url}/install.md(installation instructions)- Also checks
/docs/install.mdanddocs.{domain}/install.md
2. Parse¶
Content is split into sections based on markdown headers:
##headers become document boundaries- Each section becomes its own
.mdfile - Filenames are generated from section titles
3. Generate¶
Four types of output:
| File | Description |
|---|---|
*.md |
Individual section files |
llms-full.md |
Consolidated document with TOC |
AGENT-GUIDE.md |
Instructions for AI assistants |
install.md |
Installation instructions (if available) |
Supported Sites¶
Any site that provides /llms.txt or /llms-full.txt will work:
- modelcontextprotocol.io
- docs.anthropic.com
- docs.stripe.com
- And many more...