SKILL.md file, plus any reference files it comes with: instructions your agent reads when a task calls for them. This page and the tutorial do different jobs:
The skill you’ll add
playwright-cli teaches a model the commands of Microsoft’s browser automation CLI. Its page in the registry shows what it changes:
Passed 23 of 23 test cases with the skill, and 7 of 23 without it.That result was measured on version 4 of the skill, in September. The version you’ll add is version 6, which hasn’t been benchmarked yet. We use it here because the result is easy to see: a model can’t guess this tool’s exact commands. You’ll ask your agent one question, before and after adding the skill:
In a coding tool
A coding tool reads skills from a folder in your project. Claude Code reads.claude/skills/. Cursor and most other tools read .agents/skills/.
- Claude Code
- Cursor and editors
1
Ask without the skill
Open Claude Code in a project and ask the question above.
2
Add the skill
Type these in the session, one at a time. When the second one asks where to install, choose Install for you.The first two add DecimalAI’s plugin, which you only do once. The last one checks the skill’s safety rating, then writes
SKILL.md and its reference files to .claude/skills/playwright-cli/. You don’t need an account or API key, only python3 and curl on your machine.3
Ask again in a new session
Start a new Claude Code session in the same folder, so it finds the skill, and ask the same question.
In your own code
You need Python 3.10 or later (3.11 for Pydantic AI and Google ADK) and an API key for your model. macOS’s built-inpython3 is 3.9, where pip stops with No matching distribution found for decimalai, so check with python3 --version. Start in a new folder:
agent_config() gives every one of them the skill.
- OpenAI Agents SDK
- Claude Agent SDK
- OpenAI SDK
- Anthropic API
- LangChain
- Gemini API
- Pydantic AI
- Google ADK
- CrewAI
main.py:-
Deep Agents, Microsoft Agent Framework, Strands: after
decimalai skills add playwright-cli, their own skill loaders read the same folder. See Native skill loaders. - LlamaIndex and generic OpenTelemetry: these are tracing only, so skills don’t reach them this way. See OpenTelemetry.
-
Anything else: fetch the file and give its text to your model as instructions. This gets
SKILL.mdalone, without its reference files, and needs no account or package:
What you should see
With the skill: the real command.
agent_config() gave your agent a short list of its skills and a load_skill tool. The model read the list, decided this skill applied, and opened it. With no DecimalAI key, the list comes from your project, and nothing is sent to DecimalAI. How skills reach the model has the detail.
This skill shows a clear result because it holds facts a model can’t guess. Many skills change an agent less obviously, and a high score doesn’t guarantee they help yours. So test them on your own cases: see Test a change, and Part 5 of the tutorial for a worked example.
Add a free account
You can stop here: your agent keeps working without an account. With a free account andagent_config(), you can change an agent’s prompt and skills from the dashboard without redeploying, see what each run did, and compare your agent with and without a skill.
1
Sign up and create a key
Sign up. Then, in Settings → API keys, click Create new secret key, give it a name, and click Create secret key. Copy the key from the dialog that opens: it’s shown only once, and afterwards the list shows only its first few characters. If you copied the key shown once when you signed up, you can use that one instead.
2
Run your program with the key
The SDK reads the key from The first run creates the agent in your workspace, copies your skills onto it, and writes Then add the second line below to With that line,
DECIMAL_API_KEY. Set it and run the same program again, in a git repository:.decimal/link.toml, which you should commit. Skills on disk shows what changes from then on.On the CrewAI tab, the key alone sends nothing, because that program uses CrewAI’s own skill loader. Before you run it, install the tracing packages:main.py, right after its first line:main.py needs the key to run. CrewAI has the detail.3
See which skill the run loaded
Open
my-agent’s traces in the dashboard. Your run is at the top, and its Skills loaded column shows playwright-cli if the model opened it. A run takes a few seconds to arrive and the list doesn’t refresh by itself, so reload the page if it isn’t there yet. Click the run to see the rest of what it did.If something goes wrong
- The model didn’t use the skill. Check the skill’s folder is where this page says. In Claude Code or an editor, start a new session. You can also ask for it by name: “use the
playwright-cliskill”. /decimalai:installisn’t recognized. Run/pluginand check thatdecimalaiis installed, then restart Claude Code.ModuleNotFoundError. Run thepip installline in the same virtual environment you runmain.pyfrom.No matching distribution found for decimalai. Yourpython3is older than 3.10; macOS’s built-in one is 3.9. Check withpython3 --version, install a newer Python (for examplebrew install [email protected]), and make the virtual environment with it.No such command 'skills'. The virtual environment has an olddecimalaiwithout theskillscommand, usually because it was made with Python 3.9, where pip used to install an old release. Make a new virtual environment with Python 3.10 or later and run thepip installline again.agent_config()says the framework needs Python 3.11. Pydantic AI and Google ADK need Python 3.11 or later, and on 3.10 their extras installdecimalaiwithout the framework. Make the virtual environment with a newer Python.
Next
Find more skills
Search the registry for one that fits your agent, and read its results.
Your framework
Your own tools, conversations, changing the prompt, and tracing.
Build a whole agent
The five-part tutorial, from a web page to measured changes in your code.
Write your own skill
Write a skill that triggers at the right times and changes what your agent does.