Skip to content

docs: document that explicit tools must include Skill for skills to work#1006

Open
Oxygen56 wants to merge 2 commits into
anthropics:mainfrom
Oxygen56:fix/skills-all-tool-docs
Open

docs: document that explicit tools must include Skill for skills to work#1006
Oxygen56 wants to merge 2 commits into
anthropics:mainfrom
Oxygen56:fix/skills-all-tool-docs

Conversation

@Oxygen56
Copy link
Copy Markdown

When skills is set alongside an explicit tools list, the SDK only adds Skill to allowed_tools (the --allowedTools flag) — not to the tools list (the --tools flag). Since the --tools flag determines which built-in tools are available to the model, the Skill tool ends up silently unavailable.

This is the simpler documentation fix mentioned in the issue. Both the tools and skills docstrings now include a .. note:: admonition documenting this interaction.

Fixes #977

Autumn and others added 2 commits June 1, 2026 01:46
When skills is set alongside an explicit tools list, the SDK only
automatically adds Skill to allowed_tools (the auto-allow list), not
to the tools list (the available-tools list). This means the Skill
tool is unavailable even though skills are configured.

Update both the tools and skills docstrings with a .. note::
admonition documenting this interaction.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

skills="all" does not add "Skill" to tools

1 participant