nacos-skill-registry
Skill33k starsChanged 10 months agoApache-2.0View on GitHub
Discover, install, update, merge, and publish AI skills with Nacos for personal or team skill registries.
Trending
More talk lately.about the whole repository
Who's talking about alibaba/nacos
- alibaba/fastjson2“:wrench: use Maven Central Portal”GitHub · May 19, 2025 · 2 reactions
- A Hacker News story“Nacos: Dynamic Naming and Configuration Service”Hacker News · Apr 8, 2024 · 2 points
- alibaba/spring-cloud-alibaba“[notify-error]动态刷新错误”GitHub · Nov 3, 2025 · 1 reactions
- nacos-group/nacos-spring-boot-project“需要发个新版以支持springboot3和snakeyaml2 (附临时解决方案,仅供参考)”GitHub · May 21, 2025 · 1 reactions
- nacos-group/nacos-docker“nacos2.3.0的mysql镜像初始化失败”GitHub · Jan 22, 2025 · 1 reactions
The biggest 5 of 51 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 51
Talked about on GitHub and Hacker News (51 times).
On GitHub · 50
- May 19, 2025:wrench: use Maven Central Portal — alibaba/fastjson22 reactions
- Nov 3, 2025[notify-error]动态刷新错误 — alibaba/spring-cloud-alibaba1 reaction · 4 comments
- May 21, 2025需要发个新版以支持springboot3和snakeyaml2 (附临时解决方案,仅供参考) — nacos-group/nacos-spring-boot-project1 reaction · 1 comment
- Jan 22, 2025nacos2.3.0的mysql镜像初始化失败 — nacos-group/nacos-docker1 reaction · 2 comments
- Nov 4, 2023增加nacos2集群之间,cosul、eureka、zookeeper与nacos2.x集群之间的同步功能 — nacos-group/nacos-sync1 reaction · 5 comments
45 more on GitHub
- Jun 1, 2023fix security issue of the base image for slim. — nacos-group/nacos-docker1 reaction
- Aug 10, 2021[Summer 2021] Adapt to the new version of gRPC interface for Nacos Python SDK — nacos-group/nacos-sdk-python1 reaction
- Jan 19, 2021After the configuration is released, the next release cannot take effect — alibaba/spring-cloud-alibaba1 reaction · 3 comments
- Nov 9, 2026Bump com.alibaba.nacos:nacos-client from 2.4.2 to 2.5.5 — sg-scale/dubbo--dubbo-3.2.190 reactions
- Nov 7, 2026Update existing library: tools.jackson.core:jackson-core:3.1.2 — oracle/graalvm-reachability-metadata0 reactions · 1 comment
- Nov 7, 2026Update existing library: org.springframework:spring-tx:7.0.7 — oracle/graalvm-reachability-metadata0 reactions · 1 comment
- Nov 7, 2026Update existing library: org.springframework.security:spring-security-crypto:7.0.5 — oracle/graalvm-reachability-metadata0 reactions · 1 comment
- Nov 7, 2026Update existing library: org.springframework.boot:spring-boot-webmvc:4.0.6 — oracle/graalvm-reachability-metadata0 reactions
- Nov 7, 2026Update existing library: org.springframework.boot:spring-boot-web-server:4.0.6 — oracle/graalvm-reachability-metadata0 reactions · 1 comment
- Nov 7, 2026Update existing library: org.springframework.boot:spring-boot-jdbc:4.0.6 — oracle/graalvm-reachability-metadata0 reactions · 1 comment
- Nov 7, 2026Update existing library: org.springframework.boot:spring-boot-actuator-autoconfigure:4.0.6 — oracle/graalvm-reachability-metadata0 reactions
- Nov 7, 2026Update existing library: org.slf4j:slf4j-api:2.0.13 — oracle/graalvm-reachability-metadata0 reactions · 1 comment
- Nov 7, 2026Update existing library: org.jspecify:jspecify:1.0.0 — oracle/graalvm-reachability-metadata0 reactions · 1 comment
- Nov 7, 2026Update existing library: org.jetbrains.kotlin:kotlin-stdlib:2.2.21 — oracle/graalvm-reachability-metadata0 reactions · 1 comment
- Nov 7, 2026Update existing library: org.apache.tomcat.embed:tomcat-embed-core:11.0.21 — oracle/graalvm-reachability-metadata0 reactions · 1 comment
- Nov 7, 2026Update existing library: jakarta.annotation:jakarta.annotation-api:3.0.0 — oracle/graalvm-reachability-metadata0 reactions · 1 comment
- Nov 7, 2026Update existing library: io.micrometer:micrometer-observation:1.16.5 — oracle/graalvm-reachability-metadata0 reactions · 1 comment
- Nov 7, 2026Update existing library: io.grpc:grpc-core:1.81.0 — oracle/graalvm-reachability-metadata0 reactions · 1 comment
- Nov 7, 2026Update existing library: com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.21.2 — oracle/graalvm-reachability-metadata0 reactions · 1 comment
- Nov 7, 2026Update existing library: com.fasterxml.jackson.core:jackson-core:2.21.2 — oracle/graalvm-reachability-metadata0 reactions · 1 comment
- Nov 7, 2026Support for org.springframework:spring-beans:7.0.7 — oracle/graalvm-reachability-metadata0 reactions · 1 comment
- Nov 7, 2026Support for org.springframework:spring-aop:7.0.7 — oracle/graalvm-reachability-metadata0 reactions · 2 comments
- Nov 7, 2026Support for org.springframework.security:spring-security-core:7.0.5 — oracle/graalvm-reachability-metadata0 reactions · 1 comment
- Nov 7, 2026Support for org.springframework.boot:spring-boot-security:4.0.6 — oracle/graalvm-reachability-metadata0 reactions · 2 comments
- Nov 7, 2026Support for org.springframework.boot:spring-boot-http-converter:4.0.6 — oracle/graalvm-reachability-metadata0 reactions · 1 comment
- Nov 7, 2026Support for org.apache.httpcomponents.client5:httpclient5:5.5.2 — oracle/graalvm-reachability-metadata0 reactions · 2 comments
- Nov 7, 2026Support for com.alipay.sofa:rpc-grpc-impl:1.4.1 — oracle/graalvm-reachability-metadata0 reactions · 2 comments
- Nov 7, 2026Support for org.springframework:spring-core:7.0.7 — oracle/graalvm-reachability-metadata0 reactions · 2 comments
- Nov 6, 2026Bump com.alibaba.nacos:nacos-client from 2.3.0 to 3.3.0 — huaweicloud/spring-cloud-huawei0 reactions
- Nov 1, 2026Bump the maven group across 1 directory with 4 updates — geedge/schema-updater-tool0 reactions
- Nov 1, 2026Bump the maven group across 1 directory with 7 updates — geedge/dos-detection-job0 reactions
- Nov 1, 2026Bump the maven group across 1 directory with 4 updates — geedge/app-protocol-stat-traffic-agent0 reactions
- Oct 27, 2026build(deps): bump com.alibaba.nacos:nacos-client from 3.1.1 to 3.2.4 — Ken-coding-afk/micro-service0 reactions
- Oct 26, 2026chore(deps-dev): bump com.alibaba.nacos:nacos-client from 2.5.2 to 2.5.4 — AlanSmithDev/dubbo-learning-lab0 reactions
- Oct 16, 2026Bump nacos-client.version from 3.2.1-2026.03.30 to 3.2.4 — kush-coder/autopilot-agentscope-java0 reactions
- Oct 7, 2026build(deps): bump com.alibaba.nacos:nacos-client from 1.4.2 to 3.2.4 in /hoj-springboot — whysblog/hoj-why0 reactions
- Sep 29, 2026chore(deps): bump the spring-stack group across 1 directory with 5 updates — lifuchun522/springaialibabapractice0 reactions
- Sep 14, 2026Bump nacos-client.version from 3.2.1-2026.03.30 to 3.2.4 — agentscope-ai-java/agentscope-java0 reactions
- Sep 4, 2026[docs] Add Request/Result pattern API and 304 cache documentation for Java SDK — nacos-group/nacos-group.github.io0 reactions · 1 comment
- Aug 28, 2026Bump nacos-client.version from 3.2.1-2026.03.30 to 3.2.3 — constanji/agentscope-java0 reactions
- Aug 14, 2026build(deps): bump com.alibaba.nacos:nacos-client from 3.0.2 to 3.2.3 — liulangjietou/customer_work0 reactions
- Aug 12, 2026chore(deps): bump com.alibaba.nacos:nacos-client from 3.1.1 to 3.2.3 in /services/portal-bff — tianqiongenze/education-platform0 reactions · 1 comment
- Aug 12, 2026chore(deps): bump com.alibaba.nacos:nacos-client from 3.1.1 to 3.2.3 in /services/payment-platform/payment-platform-service — tianqiongenze/education-platform0 reactions · 1 comment
- Jul 20, 2026deps(deps): bump com.alibaba.nacos:nacos-client from 3.2.1-2026.04.03 to 3.2.3 — liweinan/tcprest0 reactions · 1 comment
- Jul 19, 2026build(deps): bump com.alibaba.nacos:nacos-client from 2.4.3 to 3.2.3 — Zferrys/flashflow0 reactions · 1 comment
On Hacker News · 1
- Apr 8, 2024Nacos: Dynamic Naming and Configuration Service2 points
The file
Show its rules and text
We split this skill into the rules it gives an agent
45 rules. About 0 are common, 23 are distinctive, and 22 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈23
Distinctive · estimate
This author's own choices. Worth a look.
22
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Use this skill when the user:
- Very specific: line 48
Always check the installed nacos-cli version and available skill commands before publishing or documenting a workflow:
- Distinctive: line 55
Use the command contract that matches the installed version:
- Very specific: line 73
Check if nacos-cli is installed:
- Distinctive: line 79
If not found, install it using the official installer script:
- Very specific: line 97
Before asking the user to create or edit a profile, check whether the environment already provides a complete sts-hiclaw setup:
- Very specific: line 104
If NACOS_AUTH_TYPE=sts-hiclaw, HICLAW_CONTROLLER_URL is set, and HICLAW_AUTH_TOKEN_FILE points to a readable local token file, use …
- Very specific: line 113
Treat NACOS_AUTH_TYPE as the source of truth for environment-based auth selection.
- Distinctive: line 139
Ask the user the following information:
- Distinctive: line 159
Do not include concrete usernames, passwords, access keys, or secret keys in shared docs or skill examples.
- Distinctive: line 165
After writing the config, verify it works:
- Distinctive: line 177
If the connection succeeds, tell the user:
- Distinctive: line 184
If it fails (auth error, connection refused, etc.), help the user troubleshoot:
- Very specific: line 192
If the user needs to connect to multiple Nacos servers (e.g., dev and prod), they can create named profiles:
- Distinctive: line 200
Do not hard-code real credentials in shared docs, repositories, or skill examples.
- Distinctive: line 211
When a user asks for help, identify:
- Distinctive: line 263
When you find relevant skills, present them clearly:
- Distinctive: line 315
After installation, confirm the skill is available:
- Very specific: line 323
When a user wants to update a locally installed skill from Nacos, there may be a conflict: the user has made local edits to the skill, and …
- Very specific: line 327
When nacos-cli skill-get installs a skill, it creates a _meta.json file in the skill directory with version and origin info:
- Very specific: line 344
If the active local skill directory does not have _meta.json (for example, a skill under $CODEX_HOME/skills), use the version field in …
- Distinctive: line 350
Before updating a skill, check if the user has made local modifications since it was installed.
- Very specific: line 358
Check if any files (excluding _meta.json) have been modified after the install.
- Very specific: line 381
If _meta.json is absent, compare the remote online/latest version with the version field in the local SKILL.md frontmatter.
- Distinctive: line 399
If the local version and remote online/latest version are the same, the remote has not advanced beyond the local base.
- Distinctive: line 400
When local files contain intended edits, publish the local skill directly according to the installed CLI contract.
- Distinctive: line 401
If the remote online/latest version is greater than the local version, do not upload the local directory directly.
- Distinctive: line 409
When both local changes and a newer remote version exist, present the user with two options:
- Distinctive: line 446
After reviewing the diff:
- Distinctive: line 449
Keep the skill itself stateless.
- Distinctive: line 491
When a conflict is detected, always explain the situation clearly before acting:
- Distinctive: line 503
Never overwrite local changes without asking: Always back up before any destructive operation.
- Very specific: line 507
When a user wants to reuse or share a skill by publishing it to Nacos, follow these steps.
- Distinctive: line 523
If the file doesn't exist or lacks frontmatter, help the user create or fix it before publishing.
- Very specific: line 534
Before uploading a locally edited skill, compare the local version with the remote online/latest version using nacos-cli skill-describe …
- Very specific: line 561
After upload/review/release, verify the exact version, not only that the skill name appears in skill-list.
- Very specific: line 571
before release: target version is reviewed/approved in skill-describe.
- Very specific: line 572
after release: target version is online
- Very specific: line 573
if --update-latest=false was not used: labels.latest equals the target version
- Very specific: line 574
after downloading a specific version: local _meta.json version equals the requested version
- Very specific: line 614
Treat NACOS_AUTH_TYPE as the source of truth.
- Very specific: line 619
If no relevant skills exist in Nacos:
- Distinctive: line 641
Try alternative terms: If "deploy" doesn't work, try "deployment" or "ci-cd"
- Very specific: line 644
Version and label: Use --version or --label with skill-get to pin specific skill versions
- Very specific: line 645
Shell completion: Run nacos-cli completion zsh (or bash/fish) for tab completion support
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Nacos Skill Registry
This skill helps you discover, install, update, merge, and publish AI skills through Nacos using the nacos-cli tool.
When to Use This Skill
Use this skill when the user:
- Asks "how do I do X" where X might be a task with an existing skill in Nacos
- Says "find a skill for X" or "is there a skill in Nacos for X"
- Asks "what skills are available" or "list skills from Nacos"
- Wants to search for tools, templates, or workflows stored in Nacos
- Needs to download or install a skill from a personal, team, or organization Nacos registry
- Wants to upload or publish a local skill to Nacos for reuse
- Mentions sharing skills across agents, machines, teammates, or execution environments
- Needs to merge local skill edits with a newer remote version and publish the merged result
What is nacos-cli?
The nacos-cli is a command-line tool for interacting with Nacos. It supports configuration management, skill management, agent spec management, and provides an interactive terminal.
GitHub: https://github.com/nacos-group/nacos-cli
Key skill commands:
nacos-cli skill-list— Search and list available skillsnacos-cli skill-get <name...>— Download and install one or more skills locallynacos-cli skill-upload <path>— Upload a skill and create an editing draftnacos-cli skill-review <name> [--version <version>]— Submit a draft for reviewnacos-cli skill-release <name> --version <version>— Release an approved version onlinenacos-cli skill-describe <name>— Inspect skill metadata and per-version status
Other commands:
nacos-cli profile edit|show [name]— Manage connection profilesnacos-cli config-list|config-get|config-set— Manage Nacos configurationsnacos-cli agentspec-list|agentspec-get|agentspec-upload|agentspec-review|agentspec-release|agentspec-describe— Manage agent specsnacos-cli interactive— Start interactive terminal modenacos-cli completion [bash|zsh|fish|powershell]— Generate shell completion scripts
Version-Aware CLI Contract
Always check the installed nacos-cli version and available skill commands before publishing or documenting a workflow:
nacos-cli -v
nacos-cli --helpUse the command contract that matches the installed version:
| Installed CLI | Skill publish workflow | Notes |
1.0.4 | skill-upload -> skill-review -> wait for approval -> skill-release | Current lifecycle. skill-publish is deprecated and only runs upload + review for compatibility. |
| Any other version | Inspect nacos-cli --help and command-specific help | Do not hard-code old behavior. Follow the commands actually present in the installed CLI. |
For 1.0.4, treat these as distinct states:
skill-upload: creates or updates aneditingdraft versionskill-review: submits the draft, moving it towardreviewingskill-describe: use this to confirm the submitted version has passed reviewskill-release: publishes a reviewed/approved version online; it requires an explicit--version
How to Help Users Find and Install Skills
Step 1: Ensure nacos-cli is Available
Check if nacos-cli is installed:
which nacos-cliIf not found, install it using the official installer script:
Linux / macOS:
curl -fsSL https://nacos.io/nacos-installer.sh | sudo bash -s -- --cliWindows (PowerShell):
iwr -UseBasicParsing https://nacos.io/nacos-installer.ps1 -OutFile $env:TEMP\nacos-installer.ps1; & $env:TEMP\nacos-installer.ps1 -cli; Remove-Item $env:TEMP\nacos-installer.ps1Step 2: Resolve Configuration (Profile)
nacos-cli uses a profile mechanism. Profile configs are stored in ~/.nacos-cli/<profile>.conf. The default profile is default (i.e., ~/.nacos-cli/default.conf).
Before asking the user to create or edit a profile, check whether the environment already provides a complete
sts-hiclaw setup:
printenv NACOS_AUTH_TYPE HICLAW_CONTROLLER_URL HICLAW_AUTH_TOKEN_FILEIf NACOS_AUTH_TYPE=sts-hiclaw, HICLAW_CONTROLLER_URL is set, and HICLAW_AUTH_TOKEN_FILE points to a readable local
token file, use sts-hiclaw mode directly. Do not require a local ~/.nacos-cli/<profile>.conf file in this case.
You can verify connectivity directly:
nacos-cli skill-listTreat NACOS_AUTH_TYPE as the source of truth for environment-based auth selection. If it is not set to sts-hiclaw,
do not assume sts-hiclaw mode only because HICLAW_CONTROLLER_URL and HICLAW_AUTH_TOKEN_FILE exist. Fall back to
profile initialization when the explicit environment-based setup is missing or fails.
First, check if a default profile already exists:
nacos-cli profile showIf a profile exists (the command prints config content), proceed to Step 3. The default profile requires no extra flags:
nacos-cli skill-listTo use a named profile:
nacos-cli --profile dev skill-listIf no profile exists (the command reports an error or shows empty/default values), guide the user through first-time initialization:
First-Time Profile Initialization
Ask the user the following information:
- Nacos server address: the host and port of their Nacos server (e.g.,
127.0.0.1:8848, or a remote address likenacos.example.com:8848) - Auth type:
none,nacos,aliyun, orsts-hiclaw - Credentials:
- For
noneauth: no credentials are required - For
nacosauth: username and password from the user's local Nacos instance - For
aliyunauth: AccessKey and SecretKey - For
sts-hiclawauth: credentials are fetched dynamically from HiClaw STS; the local environment must provideHICLAW_CONTROLLER_URLandHICLAW_AUTH_TOKEN_FILE
- For
- Namespace (optional): the Nacos namespace ID to use. Leave empty for the default public namespace.
Once the user provides the info, create the local profile file on their machine:
mkdir -p ~/.nacos-cli
${EDITOR:-vi} ~/.nacos-cli/default.confTell the user to fill in only their local connection values: host, port, auth type, credentials when the selected auth type needs them, and namespace. Do not include concrete usernames, passwords, access keys, or secret keys in shared docs or skill examples.
For sts-hiclaw, the profile should set authType: sts-hiclaw; do not store STS credentials in the profile. The CLI reads
HICLAW_CONTROLLER_URL and HICLAW_AUTH_TOKEN_FILE, then requests temporary credentials from
$HICLAW_CONTROLLER_URL/api/v1/credentials/sts.
After writing the config, verify it works:
nacos-cli profile showThen do a quick connectivity test:
nacos-cli skill-listIf the connection succeeds, tell the user:
Profile initialized! nacos-cli is now connected to <host>:<port>.
You can start searching and installing skills.If it fails (auth error, connection refused, etc.), help the user troubleshoot:
- Connection refused → check host/port, is Nacos server running?
- 401/403 → check username/password or AK/SK
- Namespace error → verify the namespace ID is correct
Creating Additional Profiles
If the user needs to connect to multiple Nacos servers (e.g., dev and prod), they can create named profiles:
# Create or edit a named profile locally (e.g., "dev")
mkdir -p ~/.nacos-cli
${EDITOR:-vi} ~/.nacos-cli/dev.confDo not hard-code real credentials in shared docs, repositories, or skill examples. Fill the local profile with the actual host, auth type, username, password, and namespace only on the user's machine.
Then use it with --profile:
nacos-cli --profile dev skill-listStep 3: Understand What They Need
When a user asks for help, identify:
- The domain (e.g., code review, testing, deployment, documentation)
- The specific task (e.g., writing tests, reviewing PRs, generating docs)
- Whether this is a common enough task that a skill likely exists in Nacos
Step 4: Search for Skills
List all skills:
nacos-cli skill-listFilter by name (supports wildcard *):
nacos-cli skill-list --name "creator"With pagination:
nacos-cli skill-list --page 2 --size 10For example:
- User asks "can you help me review code?" →
nacos-cli skill-list --name review - User asks "is there a skill for testing?" →
nacos-cli skill-list --name test - User asks "what skills do we have?" →
nacos-cli skill-list
The command returns results in this format:
Skill List (Page: 1/1, Total: N)
═══════════════════════════════════════════════════════════════════════════════
1. <skill-name> - <description>
latest=<version> editing=<version-or-> reviewing=<version-or-> online=<count> status=enabled
scope=<scope> owner=<owner> updated=<yyyy-mm-dd hh:mm:ss> downloads=<count>
...For scripts or exact verification, use JSON output:
nacos-cli skill-list --name <skill-name> --output json
nacos-cli skill-describe <skill-name> --output jsonStep 5: Present Options to the User
When you find relevant skills, present them clearly:
- Summarize what skills were found
- Highlight the most relevant skill(s) based on user's needs
- Provide the install command
Example response:
I found N skills in Nacos. The most relevant one for your needs is:
**<skill-name>** - <description>
To install it:
nacos-cli skill-get <skill-name>
This will download the skill to ~/.skills/ and make it available immediately.
Would you like me to install it?Step 6: Install the Skill
Download and install a skill:
nacos-cli skill-get <skill-name>Download multiple skills at once:
nacos-cli skill-get skill-a skill-b skill-cDownload a specific version:
nacos-cli skill-get <skill-name> --version v2Download via route label (e.g., latest, stable):
nacos-cli skill-get <skill-name> --label stableDownload to a custom directory (default is ~/.skills):
nacos-cli skill-get <skill-name> -o ~/my-skillsAfter installation, confirm the skill is available:
ls ~/.skills/<skill-name>/SKILL.mdHandling Version Conflicts When Updating Skills
When a user wants to update a locally installed skill from Nacos, there may be a conflict: the user has made local edits to the skill, and Nacos also has a newer version. This section describes how to detect and resolve such conflicts.
Understanding Skill Metadata
When nacos-cli skill-get installs a skill, it creates a _meta.json file in the skill directory with version and origin info:
{
"ownerId": "abc123",
"slug": "skill-name",
"version": "1.0.1",
"publishedAt": 1771756867954
}Key fields:
version— The version that was installed from NacospublishedAt— Timestamp (epoch ms) of when this version was published on Nacosslug— The skill's unique name in the registry
If the active local skill directory does not have _meta.json (for example, a skill under $CODEX_HOME/skills), use the
version field in SKILL.md frontmatter as the local version. If both exist, prefer _meta.json for install-origin
metadata and use SKILL.md frontmatter as a consistency check.
Step 1: Detect Local Changes
Before updating a skill, check if the user has made local modifications since it was installed.
Read the metadata:
cat ~/.skills/<skill-name>/_meta.jsonCheck if any files (excluding _meta.json) have been modified after the install. Compare file modification times against the publishedAt timestamp:
# Convert publishedAt (epoch ms) to a reference timestamp for comparison
PUBLISHED_AT=$(python3 -c "import json; print(json.load(open('$HOME/.skills/<skill-name>/_meta.json'))['publishedAt'] / 1000)")
# Find files modified after publishedAt
find ~/.skills/<skill-name> -name '_meta.json' -prune -o -newer <reference> -printOr more simply, compare the SKILL.md modification time with the publishedAt timestamp. If the file was modified after install, there are local changes.
Step 2: Check Remote Version
Query the remote to see if a newer version is available:
nacos-cli skill-list --name <skill-name>
nacos-cli skill-describe <skill-name>On nacos-cli 1.0.4, prefer skill-describe for version comparison because it shows each version and its lifecycle
status. Compare the remote online/latest version with the local _meta.json version. If the remote version is newer, an update is available.
If _meta.json is absent, compare the remote online/latest version with the version field in the local SKILL.md
frontmatter.
On older CLIs that do not have skill-describe, use skill-list --name <skill-name> and the fields available in that version.
Step 3: Determine the Scenario
Based on the results of Step 1 and Step 2, there are four possible scenarios:
| Local Changes? | Remote Newer? | Action |
| No | No | Already up to date. No action needed. |
| No | Yes | Safe update — pull remote directly. |
| Yes | No | Local is ahead — suggest publishing local changes. |
| Yes | Yes | Conflict — needs resolution (see below). |
Version gate for publishing local edits:
- If the local version and remote online/latest version are the same, the remote has not advanced beyond the local base. When local files contain intended edits, publish the local skill directly according to the installed CLI contract.
- If the remote online/latest version is greater than the local version, do not upload the local directory directly. Download the newer remote version, diff it against the local directory, merge remote changes with local edits, then publish the merged result as a new version.
- Example: local
0.0.6and remote latest0.0.6means local edits can be uploaded. Local0.0.6and remote latest0.0.7means merge remote0.0.7first.
Step 4: Resolve Conflicts
When both local changes and a newer remote version exist, present the user with two options:
Option A: Discard local changes, use remote version
This is the simpler path. Back up the local version first, then overwrite with the remote:
# 1. Back up the current local skill
cp -r ~/.skills/<skill-name> /tmp/<skill-name>-local-backup
# 2. Pull the latest remote version (overwrites local)
nacos-cli skill-get <skill-name>Tell the user:
Local changes have been backed up to /tmp/<skill-name>-local-backup.
The skill has been updated to the latest remote version (<remote-version>).
If you need to recover your local changes, the backup is available.Option B: Merge local and remote changes, then submit a new version
This preserves both local and remote changes. The workflow:
# 1. Back up local version
cp -r ~/.skills/<skill-name> /tmp/<skill-name>-local-backup
# 2. Download the remote version to a temporary directory
nacos-cli skill-get <skill-name> -o /tmp/<skill-name>-remote
# 3. Diff local vs remote to understand the differences
diff /tmp/<skill-name>-local-backup/SKILL.md /tmp/<skill-name>-remote/<skill-name>/SKILL.mdAfter reviewing the diff:
- Help the user merge the changes in
~/.skills/<skill-name>/— incorporate remote improvements while preserving local customizations. - Keep the skill itself stateless. Runtime data such as processed issues, PR tracking, task state, or local work logs must stay in a user-level workspace outside agent-specific skill directories.
- Validate the merged skill before publishing.
- Publish or submit the merged result using the installed CLI contract.
For nacos-cli 1.0.4:
nacos-cli skill-upload ~/.skills/<skill-name>
nacos-cli skill-review <skill-name>
nacos-cli skill-describe <skill-name>
# Wait until the target version is reviewed/approved.
nacos-cli skill-release <skill-name> --version <new-version>
nacos-cli skill-describe <skill-name>For any other version, inspect command help first and follow the installed behavior:
nacos-cli --help
nacos-cli skill-upload --help
nacos-cli skill-review --help
nacos-cli skill-release --help
nacos-cli skill-publish --helpTell the user:
I've merged the local changes with the remote version.
- Local version: <local-version>
- Remote version: <remote-version>
- Merged version: <new-version>
The merged skill has been processed according to the installed nacos-cli contract.
- Target version: <new-version>
- Final status: <online|reviewing|editing>
- Latest label: <latest-version>
- Verification command: <skill-describe or skill-list command used>Step 5: Present the Choice to the User
When a conflict is detected, always explain the situation clearly before acting:
Conflict detected for skill "<skill-name>":
- Local version: <local-version> (with local modifications)
- Remote version: <remote-version>
How would you like to proceed?
A) Discard local changes and update to the remote version (your changes will be backed up)
B) Merge local and remote changes, then publish as a new versionNever overwrite local changes without asking. Always back up before any destructive operation.
How to Help Users Publish Skills to Nacos
When a user wants to reuse or share a skill by publishing it to Nacos, follow these steps.
Step 1: Ensure nacos-cli is Available and Configured
Same as the discovery flow above — check which nacos-cli, then use either a configured profile or the environment-based
sts-hiclaw setup. If NACOS_AUTH_TYPE=sts-hiclaw, HICLAW_CONTROLLER_URL, and HICLAW_AUTH_TOKEN_FILE are already set,
do not require nacos-cli profile show to succeed before publishing.
Step 2: Verify the Skill Directory
A valid skill directory must contain a SKILL.md file with proper frontmatter (name, description). Confirm the path:
ls <path-to-skill>/SKILL.mdIf the file doesn't exist or lacks frontmatter, help the user create or fix it before publishing.
Step 3: Publish the Skill
First confirm the installed CLI contract:
nacos-cli -v
nacos-cli --helpBefore uploading a locally edited skill, compare the local version with the remote online/latest version using
nacos-cli skill-describe <skill-name> --output json. If they match, proceed with upload/review/release. If the remote
version is newer, stop the direct publish path and use the conflict merge workflow above before publishing.
For nacos-cli 1.0.4, use the explicit lifecycle:
nacos-cli skill-upload ./my-skill
nacos-cli skill-review my-skill
nacos-cli skill-describe my-skill
# Wait until the target version is reviewed/approved.
nacos-cli skill-release my-skill --version <version>
nacos-cli skill-describe my-skillUpload all skills in a directory:
nacos-cli skill-upload --all ./skills-folderFor 1.0.4, skill-publish is deprecated. It only runs skill-upload + skill-review for compatibility and does not complete skill-release.
For any other version, inspect command help before acting. Do not assume whether skill-publish uploads only or upload+submits.
Step 4: Verify the Publish
After upload/review/release, verify the exact version, not only that the skill name appears in skill-list.
nacos-cli skill-list --name <skill-name>
nacos-cli skill-describe <skill-name>
nacos-cli skill-describe <skill-name> --output jsonFor nacos-cli 1.0.4, the minimal acceptance check is:
- before release: target version is reviewed/approved in
skill-describe; do not runskill-releasewhile it is onlyeditingor still waiting for review - after release: target version is
online - if
--update-latest=falsewas not used:labels.latestequals the target version - after downloading a specific version: local
_meta.jsonversion equals the requested version
Example response to user:
Your skill "<skill-name>" has been processed with the installed nacos-cli workflow.
- Target version: <version>
- Final status: <online|reviewing|editing>
- Latest label: <latest-version>
Other agents, machines, or teammates can install it with:
nacos-cli skill-get <skill-name>Connection Reference
Global flags (can override profile settings on any command):
| Flag | Short | Description |
| --host | Nacos server host (e.g., 127.0.0.1) | |
| --port | Nacos server port (e.g., 8848) | |
| --username | -u | Username for nacos auth |
| --password | -p | Password for nacos auth |
| --namespace | -n | Namespace ID |
| --profile | Profile name, loads ~/.nacos-cli/<profile>.conf | |
| --config | -c | Path to a config file (overrides profile) |
| --auth-type | Auth type: none, nacos, aliyun, or sts-hiclaw | |
| --access-key | AccessKey for aliyun auth | |
| --secret-key | SecretKey for aliyun auth | |
| --security-token | STS SecurityToken for legacy/explicit sts-hiclaw auth |
For sts-hiclaw, prefer environment-based temporary credentials instead of storing credential values in a profile:
export NACOS_AUTH_TYPE=sts-hiclaw
export HICLAW_CONTROLLER_URL=<your-hiclaw-controller-url>
export HICLAW_AUTH_TOKEN_FILE=<path-to-local-token-file>
nacos-cli skill-listTreat NACOS_AUTH_TYPE as the source of truth. Do not assume sts-hiclaw mode unless NACOS_AUTH_TYPE=sts-hiclaw is
set explicitly.
When No Skills Are Found
If no relevant skills exist in Nacos:
- Acknowledge that no existing skill was found
- Offer to help with the task directly using general capabilities
- Suggest creating and publishing a new skill
Example:
I searched for skills related to "xyz" in Nacos but didn't find any matches.
I can still help you with this task directly! Would you like me to proceed?
If this is something your team does often, you could create a skill and
publish it to Nacos for everyone:
nacos-cli skill-upload /path/to/your-skill
nacos-cli skill-review <skill-name>
nacos-cli skill-release <skill-name> --version <version>Tips for Effective Use
- Use specific keywords: "react testing" is better than just "testing" when filtering
- Try alternative terms: If "deploy" doesn't work, try "deployment" or "ci-cd"
- Check namespaces: Different teams may store skills in different Nacos namespaces — use
-n <namespace>to switch - Use profiles: Save connection details in profiles (
nacos-cli profile edit) to avoid typing credentials repeatedly - Version and label: Use
--versionor--labelwithskill-getto pin specific skill versions - Shell completion: Run
nacos-cli completion zsh(or bash/fish) for tab completion support
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

