[path|url] Source path or URL
Documentation source to index. Omit it to scan ./docs; when the source is a URL, fetch or map it before running the bundled generator because the script itself scans local directories.
/ak:llms docs/reference Quick Ref / Command
Engineer Kit
/ak:llms
Generate llms.txt and optional llms-full.txt from a docs directory, file, or documentation URL, following the llmstxt.org structure with concise sections, links, and validation.
Choose source
Discover docs
Extract metadata
Generate index
Rule 01
Follow llmstxt.org structure rather than inventing a custom sitemap.
Rule 02
Keep descriptions concise and useful for context selection.
Rule 03
Generate only llms.txt and llms-full.txt; hosting and SEO surfaces are out of scope.
Core lanes from input to output, aligned with the command's real execution path.
Start
Input, scope, route
Work
Agent / skill execution
Verify
Gate, review, validation
Close
Report, handoff, artifact
How to invoke the skill: syntax, positional arguments, shared options, then each subcommand with its own syntax and outcome.
Syntax
/ak:llms [path|url] [--full] [--output path] [--url base][path|url] Source path or URL
Documentation source to index. Omit it to scan ./docs; when the source is a URL, fetch or map it before running the bundled generator because the script itself scans local directories.
/ak:llms docs/reference --full Full artifact
Also write llms-full.txt with inline documentation content. Review size and private content before publication.
/ak:llms docs --full --output path Output directory
Write llms.txt and any llms-full.txt to this directory instead of the project root. It does not publish or deploy files.
/ak:llms docs --output public --url base Base URL
Use this public base URL for generated Markdown links. Direct script runs use --base-url; this option does not perform HTTP link checks.
/ak:llms docs --url https://example.com/docs Concrete invocations for each flag, subcommand, mode, or route available in the live workflow.
/ak:llms /ak:llms docs/reference /ak:llmsdocs--full
/ak:llmsdocs--outputpublic--urlhttps://example.com/docs
llms.txt outputs
Pattern
llms.txt always; llms-full.txt when --full is requested. The files are documentation indexes for LLM context, not deployment or SEO configuration.