Files
deepseek-harness/packages/skill
LegGasai b6aa7b437c feat(working-directory): route sandbox, file views, and discovery through the Session workspace root
Every consumer that describes the project to the user or draws the write
boundary reads rootOf(session) instead of the header directory: the sandbox
workspace-write policy, the workspace file service and desktop file drag, the
change recorder, the client Files tree, deliverables, open-in-app actions and
Session rows, new sidebar terminals, @ file candidates, the skill catalog,
project-instruction discovery, and the LSP workspace. The model's relative
paths keep resolving from the current directory.

The sandbox policy derives a linked checkout's Git administration directory
and common directory from its .git pointer and grants them as extra writable
roots; tool executions wait for that derivation through prepare(), and
Session creation and directory changes start it early. Windows ACL
confinement grants each extra root a standing ACE through a repeatable
--writable runner argument instead of refusing the policy.

Refs #2658
2026-11-03 18:49:34 +08:00
..
2026-11-03 13:37:26 +08:00
2026-11-03 13:37:26 +08:00

description, kind
description kind
The skill group map: reusable agent instructions discovered from providers and loaded through the session catalog and skill tool, for users and maintainers navigating the group. package-group

skill/ — skill capability family

English | 中文

Summary

The skill family lets agents and users discover and load reusable task instructions only when needed. Use skill/ to combine catalogs and expose one instruction set per name; choose skill-filesystem for project, custom, or user-directory discovery, skill-office for Word, PowerPoint, and Excel workflows. Add tool-skill when models should receive a sorted, durable session catalog, load full instructions through the skill tool, or accept direct /name invocation. Different sources produce the same model-visible format, and model access requires at least one source.

Table of Contents


Packages

Package Role ctx key
skill/ Registry that merges skill catalogs from any provider and resolves the winning skill for a name ctx.skills
skill-filesystem/ Discovers skills from project, custom, and user directories and watches them for changes registers on ctx.skills
skill-office/ Bundles Word, PowerPoint, and Excel workflows with structural file checks registers on ctx.skills
tool-skill/ Publishes the session skill catalog and the model-facing skill loader tool registers on ctx.tools
tool-workspace-dependencies/ Reports bundled Office interpreter paths and versions for Desktop and SDK carriers registers on ctx.tools

Start with the subsystem reference for the shared vocabulary, then read the Agent Notes for the design rationale.


See skill-badge for the experimental optional capability.

Dev Note

Working context for maintainers — click to expand

None.