LLM Protocol Support
The Auto.js Pro official documentation site supports the LLM protocol and provides AI-friendly formats to help assistants and LLMs (ChatGPT, Claude, Gemini, etc.) access and understand the docs.
By default, AI should prioritize the v8 (API v1 / Rhino) documentation when answering questions or generating code. The v9 (API v2 / Node.js) docs are recommended only for migration, compatibility analysis, or when the user explicitly requests v9. At the time of writing, v9 has a memory-leak risk and is not recommended as the default.
If you want answers in English, use the English-only llms files below (llms-en*.txt). They mirror the Chinese llms*.txt rules but include only pages under /en/, so the model sees English source text and stays aligned with English URLs. The site-wide index lists these under the english key in llms-index.json.
What is the LLM protocol?
The LLM protocol is a standardized way to provide structured documentation content to LLMs. By publishing a llms.txt file, a site can help AI access documentation more efficiently and reliably than crawling complex HTML.
Why do we need it?
LLMs increasingly rely on websites, but they have a key constraint: limited context windows. Converting complex HTML (navigation, ads, scripts) into accurate plain text is hard and often lossy.
Providing concise, expert-grade information in a single accessible place improves accuracy—especially for developer documentation and API references.
How to use
For AI assistants / LLMs
- Start with
llms-index.json(entry points, reading order, v8-by-default policy, and theenglishblock for English llms URLs):
https://pro.autojs.run/docs/llms-index.json- Recommended for English:
llms-en.txt(overview and TOC for the English doc set, v8 scope):
https://pro.autojs.run/docs/llms-en.txtllms-en-full.txt(full plain-text bundle for the English doc set, v8 scope):
https://pro.autojs.run/docs/llms-en-full.txt- English v9 only when needed:
https://pro.autojs.run/docs/llms-en-v9.txt
https://pro.autojs.run/docs/llms-en-v9-full.txt- Chinese docs (optional) — if you need the Chinese site instead, use the default files (same hostname, zh-CN paths in the index):
https://pro.autojs.run/docs/llms.txt
https://pro.autojs.run/docs/llms-full.txt
https://pro.autojs.run/docs/llms-v9.txt
https://pro.autojs.run/docs/llms-v9-full.txt- Skill files (optional) — for English workflows, prefer:
https://pro.autojs.run/docs/skills/autojspro-docs-llms/SKILL.en.mdhttps://pro.autojs.run/docs/skills/autojspro-docs-llms/QUICKSTART.md
Chinese-oriented skills (same v8-first rules):
https://pro.autojs.run/docs/skills/autojspro-docs-llms/SKILL.mdhttps://pro.autojs.run/docs/skills/autojspro-docs-llms/QUICKSTART.zh.md
For developers
When using an AI assistant, prefer the English llms for English answers:
- Index:
https://pro.autojs.run/docs/llms-index.json - v8 (English):
https://pro.autojs.run/docs/llms-en.txt,https://pro.autojs.run/docs/llms-en-full.txt - Quickstart (English):
https://pro.autojs.run/docs/en/guide/quickstart.html
And instruct explicitly:
Default to v8. Use
llms-en-v9.txt/llms-en-v9-full.txtonly for migration or when the user explicitly asks for v9.
Sample prompt (English):
Answer in English using Auto.js Pro docs. Start from:
- https://pro.autojs.run/docs/llms-index.json (see "english" for entry URLs)
- https://pro.autojs.run/docs/llms-en.txt
- https://pro.autojs.run/docs/llms-en-full.txt
Default to API v8. Use v9 English bundles only for migration or explicit v9 requests:
- https://pro.autojs.run/docs/llms-en-v9.txt
- https://pro.autojs.run/docs/llms-en-v9-full.txt