txtskills: llms.txt → Agent Skills
Use this skill when you need to turn documentation into a reusable Agent Skill quickly.
What this skill does
- Converts a docs URL into a published skill via
txtskills convert - Supports base URLs and explicit files:
example.comexample.com/llms.txtexample.com/llms-full.txtexample.com/.well-known/llms.txtexample.com/.well-known/llms-full.txt
- Can install immediately after conversion (interactive or auto)
Quick start
npx txtskills@latest convert github.com/llms.txt
npx txtskills@latest convert docs.anthropic.com
Recommended workflow
- Convert from a docs URL.
- Review generated skill name and GitHub URL.
- Install immediately when prompted.
- If content changed and skill exists, re-run with
--force.
Agent execution workflow (important)
When the user gives only a product name (for example: "Google AI Studio"), do this:
- Discover candidate URLs by checking in this order:
<domain>/llms.txt<domain>/.well-known/llms.txt<domain>/llms-full.txt<domain>/.well-known/llms-full.txt
- If domain is unknown, search web for
"<product> llms.txt"and"<product> llms-full.txt". - Run conversion:
npx txtskills@latest convert <best-url>
- If convert succeeds, offer immediate install.
- If multiple valid sources exist, ask user to choose before publishing.
Example user intent this skill should handle:
- "Find Google AI Studio llms.txt and convert it to a txtskills skill"
Command reference
npx txtskills@latest convert <url>
Options:
-n, --name <skill-name>: set custom skill slug-f, --force: regenerate when skill already exists--install: auto-install after conversion--skip-install: skip install prompt-g, --global: install globally (when auto-installing)-a, --agent <agents...>: target specific agents-y, --yes: auto-confirm prompts--json: machine-readable output--api <url>: custom convert API base or full endpoint
Naming guidelines
Use lowercase, hyphenated names (Agent Skills standard):
- ✅
payment-docs - ✅
ai-sdk - ❌
PaymentDocs - ❌
docs_skill
Troubleshooting
- If conversion fails, verify the docs site exposes
llms.txtorllms-full.txt. - If skill exists but docs changed, run with
--force. - If install is skipped, run:
npx txtskills@latest add <skill-name>
Useful links
- txtskills web: https://txtskills.hari.works
- Skills registry: https://github.com/hk-vk/skills
- Agent Skills spec: https://agentskills.io/specification
- llms.txt spec: https://llmstxt.org