SKILL.md folders, offer the skills to the model, and give it tools to load a skill, read its files and run its scripts. decimalai skills add writes folders all eight accept.
Each framework has a helper in its decimalai.<framework> module (pip install "decimalai>=0.27") that points its loader at your installed skills. With DecimalAI’s instrumentation on, each skill the loader hands the model is recorded as an activation: the Loaded step, for the exact version the model received.
Deep Agents, Microsoft Agent Framework and Strands are covered in full here. The other five have their own pages, linked below.
These loaders read files. In a project connected to DecimalAI,
skills add writes none: see In a connected project.What DecimalAI records
When a loader delivers a skill to the model, that run’s trace gets an activation with the skill’s registry id and version id. The version comes from the bytes the model received, never from the folder on disk:- the identity stamp in the delivered copy (
metadata.decimalai-*), when the delivered body’s hash matches it - otherwise the lock, by the delivered body’s hash
- otherwise any version this process has already seen with that hash
decimalai skills update. Some loaders keep serving a skill they already loaded, so the folder holds version 4 while the model still reads version 3, and the activation says version 3:
A skill loaded twice in one run is one activation, and the skills the loader listed are recorded as offered.
An agent whose loader serves its skills gets no DecimalAI skill list and no DecimalAI
load_skill tool, so the model sees one list. If both still reach the model, because the loader was attached where DecimalAI couldn’t see it, a WARNING says so once. See Don’t deliver a skill two ways.
Setup at a glance
Import a helper’s module first (
import decimalai.adk): import decimalai alone doesn’t load it.
Microsoft Agent Framework, Strands and the Pydantic AI harness need no DecimalAI adapter. With init(otel=True) (and on Pydantic AI, Agent.instrument_all()), their own OpenTelemetry spans become the trace and the load is recorded on it. Pass agent_name, since the exporter names the trace by it. Inside decimalai.start_trace(), the load goes on that trace instead. With neither, the load is dropped, and a warning says so once.
decimalai.skills_dir()
The helpers start from decimalai.skills_dir(), and you can use it directly too.
relative_to=, a relative one for the two loaders that need it (OpenAI Agents and the Pydantic AI harness).
It raises SkillsNotInstalledError when the project has no lock or no root yet (run decimalai skills install), LegacyLockError for a lock in an old format (run decimalai skills migrate), and IllegalEntryError when .agents or .agents/skills is a symlink.
The eight loaders
The SDK’s own test suite runs each setup below against the real framework, at these versions or newer:
claude-agent-sdk>=0.2.166, google-adk>=2.12.0, crewai>=1.15.27, openai-agents>=0.23.1, deepagents>=0.7.25, agent-framework-core>=1.21.0, pydantic-ai-harness>=0.57.0, strands-agents>=1.61.0. In the snippets, model, llm and client are your framework’s own model objects.
Claude Agent SDK and Claude Code
The Claude Agent SDK drives the Claude Code CLI, and both load.agents as a plugin named decimalai-skills. Its skills/ folder is the root the other seven read. Pass options to query(), as the Claude Agent SDK page shows.
- The plugin path must be absolute. A relative one from a subdirectory loads nothing and reports nothing.
- Skills are listed as
decimalai-skills:<install-name>. - It pre-approves the tools a skill lists. A skill your organization authored can run its own bundled scripts with no prompt, and any other skill lists only
Read,GrepandGlob. - The frontmatter never reaches your process, so the version comes from the lock, by the hash of the delivered body.
Google ADK
- The plugin traces each invocation and records each load.
- ADK parses the skills when
skills()runs, so rebuild the agent afterdecimalai skills update. - Without a
code_executor, ADK offers norun_skill_script.UnsafeLocalCodeExecutorruns scripts on your machine with no sandbox, so use it only for skills you trust.
CrewAI
- CrewAI has no tool to read a skill’s other files or run its scripts.
skill_tools()addsload_skill_resourceandrun_skill_script, which accept only installed skills and paths inside them.run_skill_scriptdoesn’t enforce a skill’sallowed-tools, andskill_tools(scripts=False)leaves it out. - It has the strictest
metadataparser of the eight: every value must be a string. A bad folder is skipped with aSkillLoadFailedEventand a log line.
OpenAI Agents (SandboxAgent)
- Run from the project root. A source outside the working directory, reached through a symlink or the macOS
/tmpalias, lists zero skills. sandbox_skills()warns when it would list nothing, and answers an unknown skill name with the names it can load, where the plain capability aborts the run.- The sandbox copies a skill’s folder to
.agents/<install-name>when the model loads it and drops the exec bit, so run scripts through their interpreter (python3 scripts/compute_refund.py).
Deep Agents
Deep Agents is a LangGraph agent that reads skills itself. It needs Python 3.11 or newer.decimalai.deepagents.skills()returns two arguments together:skills=[<your skills folder>]and abackendthat can see it. Without that backend, the skill list comes up empty and nothing says so.- The default backend is a
FilesystemBackendover the project, which reads files but has no shell, so a skill’s scripts can’t run. To run them, passdecimalai.deepagents.skills(backend=LocalShellBackend(root_dir=project, virtual_mode=False)).LocalShellBackendruns commands on your machine. - Keep
virtual_mode=False. WithTrue, the prompt names virtual/skills/...paths thatexecutecan’t open. - The model reads a skill’s
SKILL.mdwithread_file. A read that stops short of the whole file delivers part of the body, and the activation then carries no version. decimalai.init(langchain=True)traces the agent and puts nothing into its prompt. Don’t addagent_config()’s middleware as well: the model would see two skill lists, and the SDK warns once.
Microsoft Agent Framework
skills() is SkillsProvider.from_paths(...) over your skills folder, with three things added on the same object:
- The observer that records each load.
- A script runner. The framework ships none, so without one a script answers that it needs a runner.
-
An approval rule. The framework makes every skill tool wait for approval. The helper lets skill loads and file reads run unasked, and keeps scripts waiting unless you pass
skills(auto_approve_scripts=True). -
It caches skills by default, so a long-running provider keeps serving the old version after
decimalai skills update, and the activation says so. Restart the process to serve the new one. -
Without
enable_sensitive_telemetry(), the activation is still recorded, but the trace doesn’t show what each tool call read or returned. -
A bad folder is skipped, with an ERROR line on the
agent_frameworklogger.
Pydantic AI harness
- The skills folder must sit inside the workspace. One outside it still lists, but
read_filerefuses its files. - The harness drops
metadata, so the version comes from the lock, by the hash of the delivered body. - It doesn’t enforce
allowed-tools, and says so on every run with aUserWarning. - Don’t also give this agent
agent_config()’s capability: the harness already serves its skills, and one warning says so.
Strands Agents
skills()isAgentSkills(skills=<absolute skills folder>, strict=True)with the observer attached. Theskillstool answers with the body and aLocation:line, and the model then reads files withfile_editor, which refuses relative paths, and runs scripts withshell.- Always pass
model=. Strands’ default model is Amazon Bedrock. - Strands loads an agent’s skills once, so build the agent again after
decimalai skills update. strict=Trueon the plugin doesn’t raise. It logs “failed to load skill” and skips that folder.- Strands puts tool arguments and results in span events, which the exporter doesn’t read. Set
OTEL_SEMCONV_STABILITY_OPT_IN=gen_ai_latest_experimental,gen_ai_span_attributes_onlybefore the first agent is built to get them on the trace. The activation is recorded either way.
Known upstream gaps
Facts about the frameworks, not about the folders. The helpers on this page close the gaps they can, such as CrewAI’s missing file tools. These remain:What a loader does with a bad folder
- Google ADK raises and loads nothing at all.
decimalai.adk.skills()skips that folder instead, with a WARNING that names it. - Microsoft Agent Framework, CrewAI, Strands and the Pydantic AI harness skip the folder and log a warning.
- OpenAI Agents, Deep Agents and Claude Code rename: a
name:that differs from its folder is listed under that name.
decimalai skills verify reports these defects first, and the folders decimalai skills add writes have none of them.
Without a helper
The adapters for the Claude Agent SDK, Google ADK, CrewAI, OpenAI Agents and Deep Agents watch the framework’s own loader however you set it up. For Microsoft Agent Framework, Strands and the Pydantic AI harness, the observer lives on the object the helper returns. Anywhere else, record each load yourself withdecimalai.log_skill_activation(): see Record what a native loader loaded. How usage is counted says how installs and loads are counted.