Helps users discover and install AI skills from a team's Nacos server when they ask questions like "how do I do X", "I want to X", "help me with X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill in Nacos. Also supports uploading and publishing skills for team sharing.
This skill helps you discover, install, and upload AI skills to a Nacos configuration center using the nacos-cli tool.
Use this skill when the user:
The nacos-cli is a command-line tool for managing AI skills stored in a Nacos configuration center. Think of Nacos as a private skill registry for teams and organizations.
Key commands:
nacos-cli skill-list - Search and list available skillsnacos-cli skill-get <name> - Download and install a skill locallynacos-cli skill-upload <path> - Publish a skill to Nacosnacos-cli skill-sync <name> - Keep a skill synchronized in real-timeCheck if nacos-cli is installed:
which nacos-cli
If not found, there are two options:
Option A: Use via npx (no install needed)
You can run nacos-cli directly through npx without any installation:
npx @nacos-group/cli <command>
For example: npx @nacos-group/cli skill-list or npx @nacos-group/cli skill-get my-skill.
If using npx, replace all nacos-cli commands in the subsequent steps with npx @nacos-group/cli.
Option B: Install nacos-cli globally
Linux / macOS:
curl -fsSL https://nacos.io/nacos-installer.sh | sudo bash -s -- --cli
Windows (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.ps1
nacos-cli uses a profile-based configuration system. The default profile is stored at ~/.nacos-cli/default.conf.
Once configured, all commands work without any extra flags.
Check if the default profile already exists by running:
test -f ~/.nacos-cli/default.conf && echo "configured" || echo "not configured"
If the output is "configured", skip to the next step — nacos-cli will use it automatically.
If the output is "not configured", you need to create the config file for the user. Ask the user to provide the following information:
10.0.0.1)8848)nacos or aliyun)Then create the config file directly:
mkdir -p ~/.nacos-cli && cat > ~/.nacos-cli/default.conf << 'EOF'