Skip to content
OpenClaw 不踩坑恶意 Skills ,企业需 Skills Registry:Nacos 3.2 发布Know more

Skill Registry

Skill Registry is a Skill management center provided by Nacos, serving as a private Skill repository for teams and organizations. It centralizes Skill storage, version management, security review, and distribution on a single platform, making it easy for team members to discover, install, and share Skills.

Starting from version 3.2.0, Nacos provides the Skill Registry, supporting Skill creation, version management, security review, publishing, and distribution.

1. Skill in Nacos

1.1. Skill Definition and Structure

Skills typically refer to Agent Skills, designed to transform general-purpose large language models into “expert Agents” with domain-specific knowledge and reusable workflows.

A Skill is a reusable capability unit for AI Agents. Each Skill defines a set of instructions that tell the Agent in what scenario and by what steps to complete a specific task. A Skill consists of:

  • SKILL.md: The core file containing YAML frontmatter (metadata such as name and description) and a Markdown body (detailed instructions). When an Agent loads a Skill, the complete SKILL.md content is injected into the execution context.
  • Resource files: Optional supplementary files such as templates, data, and scripts, organized by type in subdirectories.

Example:

skill-sample/
├── SKILL.md # Required: instructions + metadata
├── scripts/ # Optional: executable code
├── references/ # Optional: documentation
└── assets/ # Optional: templates, resources

1.2. Core Values of Skill Registry

  • Team Sharing: Codify team best practices into Skills — create once, share across the team
  • Version Control: Complete version lifecycle management with support for draft, review, publish, and online/offline transitions
  • Security Assurance: Built-in publishing pipeline with integrated security scanning to prevent Prompt injection, data leakage, and other risks
  • Flexible Distribution: Discover and install Skills via CLI, API, and SDK
  • Visibility Control: Support PUBLIC / PRIVATE visibility modes to control Skill access scope as needed

2. Skill Management

2.1. Lifecycle

Each Skill version has four states that form a complete lifecycle:

draft ──> reviewing ──> online ──> offline
^ │ │
└───────────┘ │
(Reverts when Pipeline rejects) │
└──> online (can go back online)
StateDescription
draftDraft, content can be freely edited
reviewingSubmitted for review, Pipeline is running
onlinePublished and available
offlineTaken offline, no longer available

Constraints:

  • Only one draft or reviewing version can exist for the same Skill at any time.
  • Once a version is published (online), its content cannot be modified. To make changes, create a new draft based on that version, then submit it for review and publish.

A Skill goes through the following complete workflow from creation to use:

2.1.1. Creation

Three creation methods are supported:

MethodDescription
Manual CreationFill in the name, description, and SKILL.md content in the console to create a draft version
ZIP UploadUpload a ZIP package containing SKILL.md; the system automatically parses and creates the Skill
AI GenerationProvide a background description and let Copilot automatically generate the complete Skill content

2.1.2. Draft

  • New Draft: Create a brand new Skill or create a new version draft for an existing Skill
  • Fork Draft: Create a draft based on a published version, automatically inheriting content with an incremented version number
  • Edit Draft: Modify SKILL.md content, description, and resource files
  • Delete Draft: Discard the current draft and release the working slot

Only one draft or reviewing version is allowed per Skill at a time. You must wait for the current working version to be processed before creating a new draft.

2.1.3. Submit for Review

Submit a draft version for review. After submission, the version state changes to reviewing:

  • With Pipeline configured: Triggers the publishing pipeline for security scanning and other checks
  • Without Pipeline configured: Directly publishes to online state

2.1.4. Publishing Pipeline

The Pipeline is a configurable review process that performs automated checks before Skill publication. The Pipeline is disabled by default; when disabled, submitting for review will directly publish to online state.

The Pipeline uses a plugin-based architecture, loading check nodes via Java SPI. A built-in skill-scanner plugin is provided (based on Cisco AI Defense skill-scanner). Users can also implement the PublishPipelineServiceBuilder interface to develop custom plugins and register them via SPI. Multiple plugins are executed serially in order of getPreferOrder(), with each plugin proceeding only after the previous one passes.

To enable the Pipeline, configure in application.properties:

# Enable Pipeline and specify check nodes
nacos.plugin.ai-pipeline.enabled=true
nacos.plugin.ai-pipeline.type=skill-scanner
# Check node configuration (skill-scanner example)
nacos.plugin.ai-pipeline.skill-scanner.enabled=true
nacos.plugin.ai-pipeline.skill-scanner.command=/path/to/skill-scanner

The skill-scanner plugin detects the following risks:

  • Prompt injection attacks
  • Data leakage risks
  • Malicious code patterns

Pipeline execution results:

ResultAction
APPROVEDVersion remains in reviewing state, awaiting manual publish
REJECTEDVersion reverts to draft, can be modified and resubmitted

2.1.5. Publish

  • Normal Publish: After Pipeline approval, publish the reviewing version as online, with the option to update the latest label
  • Force Publish: Administrator privilege operation that bypasses Pipeline validation for direct publishing. When the Pipeline rejects a publish but the situation requires an emergency release, global administrators can force publish from the console. This operation is recorded in the audit log

2.1.6. Online / Offline

Two granularities of online/offline operations are supported:

GranularityDescription
Version LevelPerform online / offline operations on individual versions
Skill LevelGlobally enable / disable the entire Skill, affecting the discoverability of all versions

2.2. Versions and Labels

Skills use Semantic Versioning (SemVer), e.g. 1.0.0, 1.1.2. When creating a new draft, the version number auto-increments or can be manually specified (must be greater than the baseline version).

Labels are label → version mappings that assign semantic aliases to versions:

LabelExamplePurpose
latestlatest → 1.2.0Default version fetched by clients
stablestable → 1.1.0Marks a verified stable version
Customcanary → 1.3.0Custom routing labels as needed

When querying a Skill, clients can retrieve a specific version by label name, defaulting to the latest label.

Label management operations:

  • Optionally auto-update the latest label to point to the new version when publishing
  • Manually bind/unbind custom labels (e.g. stable, canary) in the version timeline

2.3. Visibility

Each Skill has a scope attribute controlling its visibility:

ScopeDescription
PUBLICVisible and downloadable by all users within the namespace
PRIVATEVisible only to the Owner (creator) and authorized users

Visibility affects list queries, detail viewing, and download operations. Write operations (edit, publish, delete, etc.) require Owner identity or explicit write permissions. Toggle the Skill’s scope (PUBLIC ↔ PRIVATE) at any time from the detail page; after switching to PRIVATE, non-Owner users will no longer see the Skill in the list.

2.4. Business Tags

Business tags (Biz Tags) are used to categorize Skills by business domain, e.g. ["retail", "finance"].

  • Add or remove business tags from the detail page
  • Tags are stored in JSON array format
  • Can be used for filtering and categorized display on the list page

3. Management Console

The Nacos console provides a complete Skill management interface, located under AI Registry > Skill Management.

3.1. Skill List Page

The list page displays all Skills in card format with the following features:

  • Search: Search by Skill name keyword
  • Sort: Sort by default order or download count
  • Card Info: Displays name, description, business tags, online version count, draft status, download count, and update time
  • Batch Operations: Multi-select for batch deletion
  • Quick Actions: Upload ZIP, create new Skill

3.2. Skill Detail Page

The detail page provides a comprehensive management view of a Skill, including basic info, version management, content editing, Pipeline status, CLI command card, and more.

3.2.1. Version Management

The right side of the detail page displays all versions in a timeline, supporting version switching and the following operations:

OperationDescription
Create DraftCreate a new draft based on an existing version; only one draft or reviewing version is allowed at a time
Edit DraftEdit SKILL.md content, description, and resource files online with auto-save
Delete DraftDiscard the current draft and release the working slot
Submit for ReviewSubmit the draft as reviewing; description and SKILL.md content must not be empty
PublishPublish as online after Pipeline approval, with the option to auto-update the latest label
Force PublishVisible to administrators only; bypasses Pipeline validation when it rejects

3.2.2. Online / Offline Management

  • Version Level: Perform online / offline on individual versions from the version timeline or action area
  • Skill Level: The enable toggle at the top of the detail page controls the discoverability of the entire Skill; when disabled, all versions become invisible to clients

3.2.3. Visibility Management

A visibility toggle at the top of the detail page supports switching between PUBLIC ↔ PRIVATE. After switching to PRIVATE, non-Owner users will not be able to discover the Skill.

3.2.4. Label Management

  • Version Labels: Bind / unbind custom labels (e.g. stable, canary) from the version timeline or sidebar card; only online / offline versions can be operated on
  • Business Tags (Biz Tags): Add or remove business category tags from the sidebar card, used for filtering and categorized display on the list page

3.3. Skill Creation and Upload

Three methods are available to create a new Skill:

  • Manual Creation: Fill in the Skill name, description, and SKILL.md content through the creation dialog
  • AI Generation: Enter a background description, optionally associate MCP tools and conversation history, and let Copilot generate the complete Skill via streaming
  • ZIP Upload: Upload a Skill ZIP package directly; the system automatically parses the SKILL.md and resource files and creates a new version

3.4. Skill Optimization

AI-assisted optimization is available for existing Skills from the detail page:

  • Select the target file to optimize (SKILL.md or resource files)
  • Enter the optimization goal description
  • Optionally associate MCP tools and conversation history as optimization context
  • Copilot streams the optimized content, with one-click apply support

The AI generation in section 3.3 and AI optimization in section 3.4 are powered by Copilot. Before using them, you need to configure a large model API Key via the COPILOT_API_KEY environment variable (recommended) or through the Settings Center page in the console.

4. CLI / API / SDK Reference

Skill Registry provides multiple access methods. Refer to the respective documentation for detailed usage.

4.1. nacos-cli

nacos-cli is the command-line tool for Skill Registry, providing Skill search, installation, upload, and sync capabilities. For detailed installation and Skill management commands, see Nacos CLI User Guide - AI Skill Management.

4.2. REST API

Skill Registry provides three layers of REST APIs:

API LayerDescriptionDocumentation
Client APIClient runtime query/download Skills (supports anonymous access)Client API - Download Skill
Console APIConsole management operations (requires login authentication)Console API - Skills Management
Admin APICluster internal management interfaceAdmin API - AI Skills Management

4.3. Java SDK

Nacos provides two Java SDKs for programmatic Skill management:

SDKUse CaseDocumentation
nacos-clientClient runtime Skill loading and subscriptionJava SDK - Skill
nacos-maintainer-clientOperations management (create, publish, online/offline, etc.), suitable for automation and CI/CDMaintainer SDK - Skill