Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions docs/_ext/msagent_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
[('', '', 'introduction quick-start python-sdk')]),
('使用教程', 'User guide', 'user-guide',
[('', '',
'webui tui cli projects-sessions model-settings skills-mcp memory scheduled-tasks deployment troubleshooting'
'webui tui cli projects-sessions model-settings skills-mcp skill-management memory scheduled-tasks deployment troubleshooting'
)]),
('核心模块', 'Core modules', 'core', [
('配置与执行', 'Configuration & execution',
Expand All @@ -30,7 +30,7 @@
)]),
('开发与参考', 'Development & reference', 'development',
[('', '',
'configuration-reference cli-reference storage glossary architecture contributing'
'configuration-reference cli-reference storage glossary architecture contributing skill-management skill-management-checklist'
),
('设计提案(RFC)', 'Design proposals (RFCs)',
'rfcs/plugins rfcs/hooks-executors rfcs/mcp-runtime-api')]),
Expand All @@ -54,6 +54,7 @@
'components/tools': 'core/tools',
'components/workflow': 'core/workflows',
'components/agentskills': 'core/skills',
'components/skillmanagement': 'user-guide/skill-management',
'components/multimodalsupport': 'core/multimodal',
'components/contributorguide': 'development/contributing',
'components/capabilitygateway': 'core/capability-gateway',
Expand All @@ -68,6 +69,9 @@
'architecture/rfcs/hooksexecutors': 'development/rfcs/hooks-executors',
'architecture/rfcs/mcpruntimeapi': 'development/rfcs/mcp-runtime-api',
'design/webuiinsessioninput': 'core/messages-events',
'design/skillupdatemanagement': 'development/skill-management',
'design/skillupdateimplementation': 'development/skill-management',
'design/skillupdatewalkthrough': 'development/skill-management-checklist',
'design/hooksdesign': 'core/hooks',
'design/permissiondesign': 'core/permissions',
'design/pluginsdesign': 'core/plugins',
Expand Down
14 changes: 14 additions & 0 deletions docs/en/Components/SkillManagement.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
orphan: true
---

# This page has moved

<a id="skill-installation-and-updates"></a>
<a id="webui-workflow"></a>
<a id="sources-and-versions"></a>
<a id="sdk-example"></a>

[Read the updated guide](../user-guide/skill-management.md).

For SDK APIs, see [design and implementation](../development/skill-management.md).
4 changes: 3 additions & 1 deletion docs/en/core/skills.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,6 @@ Default BM25 retrieval needs no embedding model. Vector/hybrid modes require add

`ms-agent-skills` is one capability-gateway skill package, not the collection of all skills or an automatic WebUI installer. See [Capability service](capability-gateway.md).

Next: [Skills and MCP](../user-guide/skills-mcp.md), [Plugins](plugins.md). Implementation: `skill/catalog.py`, `schema.py`, `runtime.py`, `prompt_injector.py`, `config/skills_manager.py`.
Managed installation, updates, and restore belong to `ms_agent.skill.management`, separate from discovery and runtime loading. WebUI opts into `skills.update_notice_in_sdk`, committing the notice baseline when the SDK persists the message. TUI retains its independent notifications. See [skill management design and implementation](../development/skill-management.md) for APIs and consistency boundaries.

Next: [Skills and MCP](../user-guide/skills-mcp.md), [installation and updates](../user-guide/skill-management.md), [Plugins](plugins.md). Implementation: `skill/catalog.py`, `schema.py`, `runtime.py`, `prompt_injector.py`, `config/skills_manager.py`.
1 change: 1 addition & 0 deletions docs/en/development/configuration-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ Bundled examples use temperature 0.3, top_k 20, and stream true. This does not g
| `skills.enable_manage` | bool | Expose management tools separately from loading |
| `skills.prompt_injection` | str | all / always_only / none |
| `skills.update_notice` | bool | Default false; stabilizes skill summaries only |
| `skills.update_notice_in_sdk` | bool | Default false; with `update_notice`, enables SDK session notices. WebUI enables it by default; TUI keeps independent delivery. See [design and implementation](skill-management.md) |
| `skills.search` | mapping | BM25/vector/hybrid selection and dependencies |
| `skills.safety` | mapping | Enabling, trust policy, optional LLM checks |
| `hooks` | mapping | Event→matcher groups→handlers; command executor currently implemented |
Expand Down
46 changes: 46 additions & 0 deletions docs/en/development/skill-management-checklist.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Skill management: manual checklist

Start this branch's WebUI and create an isolated test project without overwriting everyday skills. See the [WebUI guide](../user-guide/webui.md) for startup and [design and implementation](skill-management.md) for the code and execution boundaries.

## Installation and sources

| Done | Action | Expected result |
| --- | --- | --- |
| ☐ | Choose Add skill → Install from link and enter a public GitHub repository/subdirectory | Real candidates, inspectable sources and destination; multiple candidates can be selected |
| ☐ | Enter a ModelScope Skill page | Provenance retains its exact entry ID and commit, visible in details |
| ☐ | Enter `https://modelscope.cn/collections/Gaodekaifangpingtai/gaodekaifangpingtai-skill` | Current collection candidates and repository sources appear; unavailable entries have individual errors |
| ☐ | Select all in a collection with conflicting names, then choose one in a conflict group | Unambiguous candidates are selected; conflicting entries cannot overwrite each other |
| ☐ | Install several candidates, reviewing static findings when required | Per-item progress; successful items appear in the chosen scope; installation executes no packaged scripts |
| ☐ | Inspect the same source again | Installed candidates cannot be selected again; other sources with the same name show conflicts |
| ☐ | Import locally, then link a source in details | Identical content only adds provenance; different content requires explicit backup/replacement confirmation |

## Updates, restore, and execution boundaries

Use a repository you control: publish and install V1, then commit V2. A `SKILL.md` and a plain file containing a version marker are sufficient; no permanent example project is needed. Do not modify third-party repositories.

| Done | Action | Expected result |
| --- | --- | --- |
| ☐ | Check for updates | Changed skill content shows an update; changes to other skills in the repository do not |
| ☐ | Review file changes and confirm an update | Correct text diffs; recognizable binary/permission changes; concise success feedback |
| ☐ | In the next turn of the same conversation, request an actual read of the skill's version marker | A tool reads the new content, visible in its call record |
| ☐ | After using the test skill, update while idle, then send only “continue” | Model input and raw session history contain the internal notice; the model reloads the skill; the user bubble contains only “continue” |
| ☐ | Continue without another edit; then restart the service, edit, and continue | No repeated reminder for unchanged files; new changes remain detectable after restart |
| ☐ | Queue or steer during a reply and attempt an update; stop, update, and resume | Continuous execution blocks updates; stopping permits them; queued skill calls use fresh content and carry a reminder |
| ☐ | Restore the previous version, then check again | V1 is restored and the update becomes available again |
| ☐ | Add a local custom file before updating | Local changes are shown and preserved by default; after confirmed replacement, restore can recover the custom file |
| ☐ | Edit local files after preview, then apply | The old plan expires as stale and requires a new preview |
| ☐ | Update or delete during a model task in the same scope | A task-running error; retry works after completion or stopping |
| ☐ | Repeat updates and restore for one collection member | Only that installation changes; collection membership changes do not add/remove local files |

## Cancellation, failures, and presentation

| Done | Action | Expected result |
| --- | --- | --- |
| ☐ | Cancel during download, then reopen | No partially installed directory or late progress |
| ☐ | Retry a partially failed batch | Successful items stay installed; only unfinished items are retried |
| ☐ | Simulate a list failure, then retry | Existing cards remain; initial failure is not presented as an empty list |
| ☐ | Change global/project scope while loading | Old responses do not replace the new scope |
| ☐ | Disable automatic checks, then check manually | Automatic checks stop; manual checks still work |
| ☐ | Switch languages, light/dark themes, and use a narrow window | Long sources remain readable, no horizontal overflow, usable scrolling and footer actions |

Use automated tests for interrupted transactions, failed message persistence, notice retries after cancellation, malicious archives, credential redirects, and concurrency. Do not inject these faults into an everyday workspace. Verify notices from model input or raw session records, not solely from the model's self-report. Public sources change; check actual membership and commits instead of relying on a fixed candidate count.
Loading
Loading