Adds standardized example documentation to the RLinf gallery in both English and Chinese.
Install
mkdir -p .claude/skills/add-example-doc-model-env && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/2691" && unzip -o skill.zip -d .claude/skills/add-example-doc-model-env && rm skill.zipInstalls to .claude/skills/add-example-doc-model-env
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Adds example documentation for a new model or environment in RLinf (RST pages in the docs gallery for both English and Chinese). Use when adding a new embodied or reasoning example, or new benchmark (e.g. LIBERO, ManiSkill).Key capabilities
- →Generates RST documentation for new models or environments
- →Updates category-specific index files (e.g., embodied, agentic, system)
- →Registers new entries in hidden toctree directives
- →Updates gallery cards for benchmark environments
- →Maintains consistency across English and Chinese docs
How it works
It applies a file-writing script to create RST content based on category paths and modifies index files by appending entries to the appropriate toctree list.
Inputs & outputs
When to use add-example-doc-model-env
- →Documenting a new VLA model
- →Adding a benchmark environment
- →Updating English documentation for a new module
- →Translating documentation into Chinese
About this skill
Add Example Doc to a Model or Environment
Use this skill when adding example documentation for a new model (e.g. π₀, GR00T, OpenVLA) or environment (e.g. LIBERO, ManiSkill, MetaWorld) in RLinf. Documentation is added for both English and Chinese.
Steps
-
Create the English RST file
Examples are now grouped by category:embodied/– embodied RL/VLA examples (e.g. ManiSkill, LIBERO, Dexbotic, π₀, OpenSora)agentic/– agent / tool-use / coder / math reasoning examples (e.g. SearchR1, coding_online_rl, reasoning)system/– placement, scheduling, system demos
Path pattern:docs/source-en/rst_source/examples/<category>/<name>.rst- Example (embodied):
docs/source-en/rst_source/examples/embodied/dexbotic.rst - Example (agentic):
docs/source-en/rst_source/examples/agentic/searchr1.rst
Follow the structure of existing examples in the same category (see reference.md).
-
Register in the English category index
The embodied gallery is split into five category index files that live directly underexamples/(not insideembodied/):simulators_index.rst(benchmark/simulator-centric),real_world_index.rst(real-robot hardware),vla_wam_index.rst(model-centric: π₀, GR00T, …),sft_index.rst(SFT recipes), andmethods_index.rst(algorithm-centric: DAgger, RECAP, IQL, …). The example RST itself still lives atdocs/source-en/rst_source/examples/embodied/<name>.rst; the index files reference it asembodied/<name>. Non-embodied categories (agentic, system) still usedocs/source-en/rst_source/examples/<category>/index.rst.- Edit the matching index file (e.g.
docs/source-en/rst_source/examples/vla_wam_index.rstfor a new VLA model, orexamples/<category>/index.rstfor agentic/system). - Add an entry for
<name>in the hidden.. toctree::at the bottom (for embodied, prefixed: e.g.embodied/dexbotic). - Optionally add a gallery card in the correct section using the same HTML block pattern as existing cards (image, hyperlink to the rendered doc —
embodied/<name>.htmlfor embodied — short title + description).
Note: The top-levelexamples/index.rstonly links to the category indexes and usually does not need to be changed when adding a single example.
- Edit the matching index file (e.g.
-
If it is an embodied evaluation environment
Indocs/source-en/rst_source/evaluations/index.rstor the relevant evaluation guide, add the new evaluation flow:- For embodied examples:
:doc:\Display Name <../examples/embodied/<name>`` - For other categories, follow the existing pattern in that file and mirror the relative path used there.
- For embodied examples:
-
Create the Chinese RST file
Use the same<category>and<name>as in English:
Path:docs/source-zh/rst_source/examples/<category>/<name>.rst.
Mirror the English content (same structure and sections). Use existing EN/ZH pairs under the same category (e.g.embodied/libero.rstin bothsource-enandsource-zh) as reference. -
Register in the Chinese category index
Edit the matching Chinese index file — for embodied, the same five split indexes underdocs/source-zh/rst_source/examples/(simulators_index.rst,real_world_index.rst,vla_wam_index.rst,sft_index.rst,methods_index.rst); for agentic/system,docs/source-zh/rst_source/examples/<category>/index.rst:- Add the same
<name>entry to the hidden.. toctree::. - If you added a gallery card in the English index, add a matching Chinese gallery card here, following existing HTML patterns.
If the Chinese evaluation docs list the same benchmark or environment, add the new example using the same relative path pattern as in English.
- Add the same
-
Update README.md
In the "What's NEW!" section at the top, add a new dated bullet, with the documentation link pointing to the correct category path, e.g.:- [YYYY/MM] 🔥 ... Doc: [Display Title](https://rlinf.readthedocs.io/en/latest/rst_source/examples/embodied/<name>.html).
If the example is a simulator, model, or feature that appears in the Key Features table, add a corresponding list item in the right column using the same category path (see reference.md).
-
Update README.zh-CN.md
In the "最新动态" section, add the same news item in Chinese with the doc link using/zh-cn/and the correct category path, for example:https://rlinf.readthedocs.io/zh-cn/latest/rst_source/examples/embodied/<name>.html
If you added a feature list entry in README.md, add the same entry in README.zh-CN.md (Chinese display text,zh-cnin the link, and the same<category>segment).
RST structure (concise)
- Title (overbar length matches title).
- Optional HuggingFace icon block (copy from libero.rst).
- Short intro (what this example does, which model + env).
- Environment: env name, task, observation/action space, task description format, data shapes.
- Algorithm: PPO/GRPO/etc. and model architecture notes.
- Dependency Installation: clone, install (Docker or pip).
- Quick Start: exact commands and key YAML/config snippets.
- Evaluation (if applicable): eval command and config notes.
Use existing examples in the same category (e.g. embodied/libero.rst, embodied/pi0.rst, agentic/searchr1.rst) as templates; see reference.md for a minimal template.
Checklist
- English RST created:
docs/source-en/rst_source/examples/<category>/<name>.rst. - English category index updated:
docs/source-en/rst_source/examples/<category>/index.rst(toctree; optional gallery card). - If embodied eval env:
docs/source-en/rst_source/evaluations/index.rstor the relevant evaluation guide updated with the new flow. - Chinese RST created:
docs/source-zh/rst_source/examples/<category>/<name>.rst. - Chinese category index updated:
docs/source-zh/rst_source/examples/<category>/index.rst(toctree; gallery card if added for EN). - If embodied eval env: Chinese evaluation page updated if it lists environments (use the same relative path pattern as EN).
- README.md updated: new bullet in "What's NEW!" and, if applicable, entry in Key Features table (using the correct category path).
- README.zh-CN.md updated: new bullet in "最新动态" and, if applicable, entry in 核心特性 table (using the correct category path).
When not to use it
- →Updating existing non-gallery documentation
- →Changing the overarching site navigation structure
Limitations
- →Requires manual adherence to existing reference file structure
- →Limited to the predefined category folders
How it compares
It automates the specific file structure and registration logic required to maintain the RLinf documentation gallery versus manually drafting files.
Compared to similar skills
add-example-doc-model-env side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| add-example-doc-model-env (this skill) | 2 | 6mo | No flags | Beginner |
| ml-paper-writing | 48 | 6mo | Review | Advanced |
| docs-review | 10 | 7mo | No flags | Beginner |
| claude-md-improver | 21 | 6mo | Review | Beginner |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by RLinf
View all by RLinf →You might also like
ml-paper-writing
davila7
Write publication-ready ML/AI papers for NeurIPS, ICML, ICLR, ACL, AAAI, COLM. Use when drafting papers from research repos, structuring arguments, verifying citations, or preparing camera-ready submissions. Includes LaTeX templates, reviewer guidelines, and citation verification workflows.
docs-review
metabase
Review documentation changes for compliance with the Metabase writing style guide. Use when reviewing pull requests, files, or diffs containing documentation markdown files.
claude-md-improver
anthropics
Audit and improve CLAUDE.md files in repositories. Use when user asks to check, audit, update, improve, or fix CLAUDE.md files. Scans for all CLAUDE.md files, evaluates quality against templates, outputs quality report, then makes targeted updates. Also use when the user mentions "CLAUDE.md maintenance" or "project memory optimization".
write-docs
tldraw
Writing SDK documentation for tldraw. Use when creating new documentation articles, updating existing docs, or when documentation writing guidance is needed. Applies to docs in apps/docs/content/.
update-docs
vercel
This skill should be used when the user asks to "update documentation for my changes", "check docs for this PR", "what docs need updating", "sync docs with code", "scaffold docs for this feature", "document this feature", "review docs completeness", "add docs for this change", "what documentation is affected", "docs impact", or mentions "docs/", "docs/01-app", "docs/02-pages", "MDX", "documentation update", "API reference", ".mdx files". Provides guided workflow for updating Next.js documentation based on code changes.
wiki-architect
microsoft
Analyzes code repositories and generates hierarchical documentation structures with onboarding guides. Use when the user wants to create a wiki, generate documentation, map a codebase structure, or understand a project's architecture at a high level.