Agent skills for the Read the Docs now available
Photo by Almos Bechtold on Unsplash

Photo by Almos Bechtold on Unsplash

Trying to figure out how to pass up-to-date information to AI agents is a hard problem currently. We have experimented with MCP servers and llms.txt, but we have found that Agent Skills are the current best way to handle this problem explicitly.

We have been building the Read the Docs Skills repository to allow more experimentation. Today we are highlighting two skills that we've found the most useful: the Read the Docs API skill and the Read the Docs Config skill.

Each skill is a small, self-contained package with a SKILL.md that teaches an agent how to perform a specific task. You can easily read them to understand more about how they work.

You can also read the Read the Docs Skills documentation for more background and usage guidance.

Read the Docs API skill example

Read the Docs API skill

The Read the Docs API skill gives your AI agent the ability to interact with the Read the Docs REST API. This requires having an API token with the appropriate permissions.

If you want to manage updates or changes to your project (eg. adding a redirect for the current PR, or triggering a new build), this skill will help you do that.

Read the Docs Config Writer skill

The Read the Docs Config Writer skill helps you create or update .readthedocs.yaml files. It has information about the actual configuration options available, and won't try to invent options that don't exist.

This skill should automatically be used whenever you ask your agent to help you write or update a Read the Docs configuration file. 🪄

Install the skills

Clone the repository and use the skills directly by copying them where your agent expects skills to be:

git clone https://github.com/readthedocs/skills.git

If your agent supports the Agent Skills CLI, you can install the repository with:

npx skills add readthedocs/skills

Give us feedback

We're excited to see how to integrate AI tooling in a way that works well for our community. This is a fast moving space, and providing context to AI tooling is an interesting challenge we want to help solve.