Files
deepseek-harness/packages/core/tool-skill
2026-07-08 15:50:38 +08:00
..
2026-07-08 15:50:38 +08:00
2026-07-08 15:50:38 +08:00
2026-07-08 15:50:38 +08:00
2026-07-08 15:50:38 +08:00
2026-06-25 23:36:16 +08:00

@deepseek-ai/dsh-tool-skill

The model-facing skill tool for loading full skill instructions.

Requires ctx.tools and ctx.skills (inject: ['tools', 'skills']).

Tool: skill

Arg Type Notes
name string (required) Exact kebab-case skill name from the available skills listing.

Execution uses the calling agent's session.header.cwd so workspace-sensitive providers can resolve the right winning skill. A successful call returns a text block containing <skill_content name="...">, the skill body, and provider resource guidance. Local filesystem skills include a base directory for resolving relative files; remote or embedded providers can return URL or opaque provider-managed guidance instead. Unknown names, invalid names, and skills marked disableModelInvocation: true return isError tool results through the normal tool registry error path.

The tool does not call agent.inject() in v1. Its result is already recorded as the tool result and becomes available to the next model step without duplicating the content as synthetic context.