Listing Skills
stencila skillsstencila skills list
stencila skills# Only skills from .claude/skills/
stencila skills list --source claude
# Only base Stencila skills
stencila skills list --source stencilastencila skills list --as jsonInspecting Skills
stencila skills show data-analysis--as
stencila skills show data-analysis --as jsonHow Agents Use Skills
Discovery — Stencila walks up from the working directory looking for skill directories. The base layer ( .stencila/skills/) is always included; provider-specific directories (e.g. .claude/skills/) are added based on the agent's provider. Metadata injection — Compact metadata (name and description only) for all discovered skills is serialized as XML and included in the system prompt: <skills> <skill name="data-analysis" description="Analyze datasets and generate summary statistics." /> <skill name="code-review" description="Review code for correctness, style, and security." /> </skills>Tool registration — A use_skilltool is registered in the agent's tool registry with the description: "Load the full instructions for a workspace skill by name." On-demand loading — When the model determines a skill is relevant, it calls use_skillwith the skill name. Stencila loads the full SKILL.mdand returns it as XML: <skill name="data-analysis"> <description>Analyze datasets and generate summary statistics.</description> <instructions> Step 1: Load the dataset using pandas... </instructions> <compatibility>Requires Python 3.10+</compatibility> <allowed-tools>Bash(python:*) Read</allowed-tools> </skill>Execution — The model follows the skill's instructions to complete the task.
Controlling Skill Access
allowedSkillsAGENT.md
# Allow only specific skills
allowedSkills:
- data-analysis
- code-review# Disable skills entirely
allowedSkills: []allowedSkills
Skills in Workflows
allowedSkillsdata-analysis