Skip to content
nacos-groupPublic

About

nacos cli scripts

Resources

Stars

44 stars

Watchers

0 watching

Forks

Repository files navigation

Nacos CLI

A powerful command-line tool for managing Nacos configuration center and AI skills, written in Go.

Features

  • 🚀 Fast and lightweight - single binary with no dependencies
  • 💻 Interactive terminal mode with auto-completion
  • 🎯 Skill management - full lifecycle: upload → review → release, plus get/list/describe/sync
  • 🤖 AgentSpec management - full lifecycle: upload → review → release, plus get/list/describe
  • 📝 Configuration management - list, get and set configurations
  • 🔄 Profile-aware skill synchronization across local agents and Nacos
  • 🌐 Namespace support for multi-environment management
  • 📦 Batch operations - upload all skills and agent specs at once
  • 🧾 Structured output - --output json on list/describe for scripting

Shared Skill discovery

The existing skill-list command supports three sources: namespace, hub, and all (Namespace + Hub). Explicit command flags override the current profile's source setting; an unset setting defaults to namespace. --hub means only Hub; --no-hub means only the current Namespace. Supplying both flags is an error regardless of their order.

nacos-cli profile set team source=all
nacos-cli profile switch team
nacos-cli skill-list                      # Current profile's source mode
nacos-cli skill-list --hub                # Only Hub
nacos-cli skill-list --no-hub             # Only current Namespace
nacos-cli skill-list --name review --output json
nacos-cli skill-get find-skills                # Choose if multiple sources match
nacos-cli skill-get find-skills --hub-entry-id 749  # Explicit Hub entry; version optional
nacos-cli skill-get find-skills --hub-entry-id 749 -o ./downloads/hub-749

Profile YAML uses source: namespace, source: hub, or source: all. Use profile get source to inspect the effective preference and profile set source=namespace to keep existing Namespace-only workflows. Connection options such as --host do not override this preference. Earlier development profiles using skillSource remain readable; saving them writes only the canonical source field. The profile commands expose only source.

Skill lists retain colored headings, names and status in both the interactive terminal and direct commands written to a terminal. --output json and redirected direct-command output remain free of ANSI color codes; NO_COLOR disables list colors. Changes to connection or authentication settings require leaving and restarting an already open terminal; source preferences are read again for each Skill list/get command.

Both sources reuse /v3/admin/ai/skills/list; no new command or list endpoint is introduced. Namespace results keep their governance metadata, including draft and review versions. In all mode, sources are displayed separately, Namespace first; --page and --size apply independently to each source. JSON contains source, namespace and hub, each with its own page and count. Single-source JSON retains the existing pageItems/totalCount/pageNo/pageSize/totalPages structure. Equal display names remain distinct. Results include discoverySource and namespaceId; Hub results retain hubEntryId, display name, opaque download name and pinned version. A failed source fails the command without emitting partial results. The server's Hub switch remains authoritative; disabled Hub lists are empty. Servers without Hub support can be used with --no-hub or source: namespace; other request failures are reported.

Shared downloads are explicit one-shot downloads of the pinned version. Their ZIP retains the Skill folder name, so the command reports the extraction output directory. They do not register the opaque shared ID in the ordinary name-only sync lock or enable automatic synchronization.

skill-get <name> searches the Profile's selected sources by exact name. A unique match is downloaded directly. Duplicate names show source, author, shared version, and commands such as skill-get find-skills --hub-entry-id 749. In an interactive terminal, choose a candidate number or press Enter to cancel. Cancelling a batch stops the remaining downloads and reports the completed items. An earlier failure still gives the command a nonzero exit status. Scripts can pass an entry ID directly; --non-interactive reports ambiguity without waiting for input. --hub and --no-hub override the Profile for downloads too.

skill-get <name> --hub-entry-id <id> [--version <version>] selects one Hub entry and overrides the Profile preference. Positional arguments are resource names, including numeric names in batch downloads. Each Hub entry shares one version. Omitting --version uses that version, and requesting a different version fails. The CLI sends the selected fixed version to the original download API. If sharing changes before download, it reports an error and asks for a fresh selection. The current business Namespace remains unchanged; users do not switch into the internal Hub Namespace. Different shares can contain the same package folder name; use separate -o directories when keeping them side by side. Both Namespace and Hub downloads warn before overwriting matching files in an existing Skill directory.

Shared AgentSpec discovery

The existing agentspec-list and agentspec-get commands now follow the same source selection as Skill. Both resource types share the Profile source field: namespace (default), hub, or all. Explicit --hub / --no-hub flags override it and are mutually exclusive, regardless of order. An explicit Hub entry ID also overrides the Profile, and cannot be combined with --no-hub.

nacos-cli profile set default source=all
nacos-cli agentspec-list
nacos-cli agentspec-list --hub --page 1 --size 20
nacos-cli agentspec-list --no-hub --output json
nacos-cli agentspec-get my-worker
nacos-cli agentspec-get my-worker --hub-entry-id 749
nacos-cli agentspec-get my-worker --hub-entry-id 749 --version 1.0.0 -o ./downloads/team-b
nacos-cli agentspec-get my-worker --no-hub --label stable

Lists reuse /v3/admin/ai/agentspecs/list. Namespace and Hub retain independent pages and totals, without deduplicating equal display names. Single-source JSON keeps the original page structure; all JSON contains source, namespace and hub. Ordinary governance metadata, including private resources and drafts, remains available as authorized by the server. --name retains AgentSpec's existing exact-name filter. Hub display names and fixed versions come from the server's nested hub metadata. Hub timestamps and download counts are its own, not the source resource's. A failed source fails the command without partial output. An empty/disabled Hub yields an empty Hub page. Use source=namespace or --no-hub with servers that do not support Hub.

Downloads reuse /v3/client/ai/agentspecs. A unique exact-name match downloads directly; duplicate names list the Namespace, author, source display name, Hub entry ID and fixed version for selection. Scripts can select a single name with --hub-entry-id <id> or use --non-interactive to report ambiguity. Positional arguments are resource names. Omitting the version uses the shared version. Requesting a different version fails. Hub labels permit only empty or latest; the CLI then sends the fixed version without a label, preventing the server's AgentSpec label fallback from overriding the pin. Revoked or changed shares fail without falling back to the source latest version.

AgentSpec keeps its native JSON contract: manifest.json and resource files (including base64-encoded binary resources) are saved to ~/.agentspecs/<resource-name>, or <output>/<resource-name> with -o. The directory uses the display name, not the opaque Hub ID. Manifest contents are preserved. Use separate output directories for same-name packages kept side by side. Downloads do not switch the active business Namespace, register synchronization, or import a server-side draft. Upload, review, release, describe and configuration commands keep their existing behavior. Both direct commands and the interactive terminal use the same list/get handlers, Profile reload and color rules as Skill. No standalone Hub command, new HTTP endpoint or resource-specific Profile key is added.

See AgentSpec Hub validation scenarios for the regression and deployed integration checklist.

Installation

Official Installer

Install nacos-cli with the Nacos installer:

curl -fsSL https://nacos.io/nacos-installer.sh | bash -s -- --cli

The installer adds ~/.nacos/bin to your shell PATH and configures shell completion for zsh, bash, or fish when possible.

npm / npx

After the npm package is published, use npx to run directly without installation:

npx @nacos-group/cli --help
npx @nacos-group/cli skill-list --host 127.0.0.1 --port 8848 -u nacos -p nacos

Or install globally via npm:

npm install -g @nacos-group/cli
nacos-cli --help

Download Binary

Download the latest release from GitHub Releases.

Build from Source

# Clone the repository
git clone https://github.com/nacos-group/nacos-cli.git
cd nacos-cli

# Build
go build -o nacos-cli

# Or use make
make build

Shell Completion

Enable shell completion once, then commands, flags, and path arguments such as skill-upload <path>, agentspec-upload <path>, --config, --file, and --output can be completed with Tab:

# Bash
source <(nacos-cli completion bash)

# Zsh
source <(nacos-cli completion zsh)

# Fish
nacos-cli completion fish | source

For persistent setup, write the generated script to your shell's completion directory:

nacos-cli completion zsh > "${fpath[1]}/_nacos-cli"
nacos-cli completion bash > /usr/local/etc/bash_completion.d/nacos-cli
nacos-cli completion fish > ~/.config/fish/completions/nacos-cli.fish

Quick Start

CLI Mode

Run commands directly:

# List all skills
nacos-cli skill-list -s 127.0.0.1:8848 -u nacos -p nacos

# Get a skill
nacos-cli skill-get skill-creator -s 127.0.0.1:8848 -u nacos -p nacos

# Upload a skill
nacos-cli skill-upload /path/to/skill -s 127.0.0.1:8848 -u nacos -p nacos

Interactive Terminal Mode

Start an interactive session:

nacos-cli -s 127.0.0.1:8848 -u nacos -p nacos

Once in terminal mode, you can run commands interactively:

nacos> skill-list
nacos> skill-get skill-creator
nacos> config-list
nacos> help

HTTPS Support

Connect to Nacos servers over HTTPS (e.g., behind a TLS-terminating gateway or K8s Ingress):

# Explicit --scheme flag
nacos-cli skill-list --host nacos.example.com --port 443 --scheme https -u nacos -p nacos

# Auto-detect from host prefix (scheme is inferred automatically)
nacos-cli skill-list --host https://nacos.example.com:443 -u nacos -p nacos

# Via profile configuration
nacos-cli --profile prod skill-list

# Via environment variable
NACOS_SCHEME=https nacos-cli skill-list --host nacos.example.com --port 443 -u nacos -p nacos

Scheme resolution priority (highest to lowest):

  1. --scheme command-line flag
  2. Auto-detected from --host prefix (https://...)
  3. Profile config file scheme field
  4. NACOS_SCHEME environment variable
  5. Default: http

Commands

AgentSpec Management

Agent specs follow a three-stage lifecycle aligned with the server: upload (editing) → review (reviewing → reviewed) → release (online).

List AgentSpecs

# CLI mode (pretty output by default)
nacos-cli agentspec-list -s 127.0.0.1:8848 -u nacos -p nacos

# With filters
nacos-cli agentspec-list --name my-agentspec --page 1 --size 20

# Machine-readable output for scripts
nacos-cli agentspec-list --output json

# Terminal mode
nacos> agentspec-list
nacos> agentspec-list --name my-agentspec --page 2
nacos> agentspec-list --output json

Describe AgentSpec

Show detail + version history (latest / editing / reviewing / online, plus per-version status):

nacos-cli agentspec-describe my-agentspec
nacos-cli agentspec-describe my-agentspec --output json

# Terminal mode
nacos> agentspec-describe my-agentspec

Get/Download AgentSpec

Download an agent spec to local directory (default: ~/.agentspecs):

# CLI mode
nacos-cli agentspec-get my-agentspec -s 127.0.0.1:8848 -u nacos -p nacos
nacos-cli agentspec-get my-agentspec -o /custom/path

# Download specific version
nacos-cli agentspec-get my-agentspec --version v1

# Download by route label
nacos-cli agentspec-get my-agentspec --label latest

# Download multiple agent specs
nacos-cli agentspec-get spec1 spec2 spec3

# Terminal mode
nacos> agentspec-get my-agentspec

Upload AgentSpec

Upload an agent spec from local directory (creates or updates the editing version):

# Upload single agent spec
nacos-cli agentspec-upload /path/to/agentspec -s 127.0.0.1:8848 -u nacos -p nacos

# Upload all agent specs in a directory
nacos-cli agentspec-upload --all /path/to/agentspecs/folder

# Terminal mode
nacos> agentspec-upload /path/to/agentspec
nacos> agentspec-upload --all /path/to/agentspecs

Review AgentSpec

Submit the current editing version for review (editing → reviewing). The server-side review pipeline is asynchronous and eventually marks the version as reviewed.

nacos-cli agentspec-review my-agentspec

# Terminal mode
nacos> agentspec-review my-agentspec

Release AgentSpec

Publish an approved (reviewed) version online:

nacos-cli agentspec-release my-agentspec --version 0.0.2
nacos-cli agentspec-release my-agentspec --version 0.0.2 --update-latest=false

# Terminal mode
nacos> agentspec-release my-agentspec --version 0.0.2

Note: if agentspec-release fails with HTTP 400 parameter validate error right after agentspec-review, the async review pipeline probably hasn't marked the version as reviewed yet. The CLI will print a hint telling you to wait a few seconds and re-check status via agentspec-describe. Retry when STATUS=reviewed.

Publish AgentSpec (deprecated)

agentspec-publish is kept as a backward-compatible shortcut that runs upload + review in sequence. It prints a deprecation warning and will be removed in a future release — prefer the explicit lifecycle commands above.

# Legacy shortcut (deprecated)
nacos-cli agentspec-publish /path/to/agentspec
nacos-cli agentspec-publish --all /path/to/agentspecs/folder

Skill Management

Skills follow the same three-stage lifecycle as agent specs: upload (editing) → review (reviewing → reviewed) → release (online).

List Skills

# CLI mode (pretty output by default)
nacos-cli skill-list -s 127.0.0.1:8848 -u nacos -p nacos

# With filters
nacos-cli skill-list --name skill-creator --page 1 --size 20

# Machine-readable output for scripts
nacos-cli skill-list --output json

# Terminal mode
nacos> skill-list
nacos> skill-list --name skill-creator --page 2
nacos> skill-list --output json

Describe Skill

nacos-cli skill-describe skill-creator
nacos-cli skill-describe skill-creator --output json

# Terminal mode
nacos> skill-describe skill-creator

Get/Download Skill

Download a skill to local directory (default: ~/.skills):

# CLI mode
nacos-cli skill-get skill-creator -s 127.0.0.1:8848 -u nacos -p nacos
nacos-cli skill-get skill-creator -o /custom/path

# Terminal mode
nacos> skill-get skill-creator

Upload Skill

Upload a skill from local directory (creates or updates the editing version):

# Upload single skill
nacos-cli skill-upload /path/to/skill -s 127.0.0.1:8848 -u nacos -p nacos

# Upload all skills in a directory
nacos-cli skill-upload --all /path/to/skills/folder

# Terminal mode
nacos> skill-upload /path/to/skill
nacos> skill-upload --all /path/to/skills

Review Skill

Submit the current editing version for review (editing → reviewing):

nacos-cli skill-review skill-creator

# Terminal mode
nacos> skill-review skill-creator

Release Skill

Publish an approved (reviewed) version online:

nacos-cli skill-release skill-creator --version 0.0.2
nacos-cli skill-release skill-creator --version 0.0.2 --update-latest=false

# Terminal mode
nacos> skill-release skill-creator --version 0.0.2

Same async-pipeline note as agentspec-release: if skill-release returns HTTP 400 parameter validate error just after skill-review, wait and retry when skill-describe shows the version as reviewed.

Manage Skill Visibility and Tags

Set skill visibility scope:

nacos-cli skill-scope skill-creator --scope PUBLIC
nacos-cli skill-scope skill-creator --scope PRIVATE

# Terminal mode
nacos> skill-scope skill-creator --scope PUBLIC

Set skill metadata tags:

nacos-cli skill-tags skill-creator --tags retail,finance

# Terminal mode
nacos> skill-tags skill-creator --tags retail,finance

Publish Skill (deprecated)

skill-publish is kept as a backward-compatible shortcut that runs upload + review in sequence. Prefer the explicit lifecycle commands.

# Legacy shortcut (deprecated)
nacos-cli skill-publish /path/to/skill
nacos-cli skill-publish --all /path/to/skills/folder

Sync Skill

Skill Sync keeps one central skill copy linked into multiple agent directories. It can run in two modes:

  • Nacos mode: sync skills with a Nacos Skill Registry label such as latest, start a background daemon, and optionally auto-upload local changes as drafts.
  • Local mode: keep local agents linked to a local central repo without requiring a Nacos server.

Each Nacos profile has its own sync state and skill repo under ~/.nacos-cli/skill-sync/profiles/<profile>/. Agent directories are shared across profiles. When switching the active sync profile, mutating commands prompt to detach the old profile first; scripts can pass --switch-profile to make the switch explicit.

Skill Sync automatically discovers existing skill directories for Codex, Claude, Qoder, QoderWork, Cursor, Kiro, Lingma, CoPaw, OpenClaw, ~/.agents/skills, and ~/.skills. Register custom directories with skill-sync agent add.

# Add a skill from Nacos and link it to discovered agents.
nacos-cli skill-sync add skill-creator --profile team

# Start the background daemon in Nacos mode.
nacos-cli skill-sync start --profile team

# Check sync status and next action hints.
nacos-cli skill-sync status

# Resolve a conflict explicitly.
nacos-cli skill-sync resolve skill-creator

Local-only sync uses the same command surface without a Nacos profile:

nacos-cli skill-sync mode local
nacos-cli skill-sync add skill-creator
nacos-cli skill-sync start
nacos-cli skill-sync status

To switch back to Nacos mode later, set the mode with a usable profile:

nacos-cli skill-sync mode nacos --profile team

Bulk operations are available for onboarding or cleanup:

# Add all unmanaged skills from Nacos or the local repo.
nacos-cli skill-sync add --all --profile team

# Remove one skill, or every skill, from sync management while keeping
# usable local copies in each agent directory.
nacos-cli skill-sync remove skill-creator
nacos-cli skill-sync remove --all

For scripts or agent callers, pass explicit non-interactive choices:

nacos-cli skill-sync add skill-creator --profile team --non-interactive
nacos-cli skill-sync add skill-creator --profile team --from codex --non-interactive
nacos-cli skill-sync start --profile team --non-interactive
nacos-cli skill-sync resolve skill-creator --use-nacos --non-interactive
nacos-cli skill-sync resolve skill-creator --use-agent codex --non-interactive

Common status values:

Status Meaning
Synced Nacos mode is up to date.
Linked Local mode is linked to the central local repo.
Local changes Local content differs from Nacos; auto-upload uploads it as a draft when enabled.
Uploaded A draft was uploaded; wait for review/release.
Upload blocked Nacos already has a draft or reviewing version; review, release, or clear it, then auto-upload can retry.
Conflict Local and remote or agent versions differ; resolve with an explicit source choice.

See docs/skill-sync-user-guide.md for the full quickstart, conflict handling, auto-upload behavior, and troubleshooting flow.

Configuration Management

List Configurations

# CLI mode
nacos-cli config-list -s 127.0.0.1:8848 -u nacos -p nacos

# With filters
nacos-cli config-list --data-id myconfig --group DEFAULT_GROUP

# With pagination
nacos-cli config-list --page 1 --size 20

# Terminal mode
nacos> config-list
nacos> config-list --data-id myconfig --page 2

Get Configuration

# CLI mode
nacos-cli config-get myconfig DEFAULT_GROUP -s 127.0.0.1:8848 -u nacos -p nacos

# Terminal mode
nacos> config-get myconfig DEFAULT_GROUP

Terminal Commands

When in interactive terminal mode:

nacos> help           # Show all available commands
nacos> server         # Show server information
nacos> ns             # Show current namespace
nacos> ns production  # Switch to production namespace
nacos> clear          # Clear screen
nacos> quit           # Exit terminal

Global Flags

Flag Short Default Description
--host market.hiclaw.io when --host and --port are both omitted; otherwise 127.0.0.1 when only --port is provided Nacos server host
--port 80 when --host and --port are both omitted; otherwise 8848 when omitted after --host Nacos server port
--scheme http Protocol scheme: http or https
--server -s market.hiclaw.io:80 when no host/port is provided Nacos server address (deprecated, use --host and --port)
--username -u nacos Nacos username
--password -p nacos Nacos password
--namespace -n (empty/public) Nacos namespace ID
--config -c Path to configuration file
--help -h Show help information

Profile Configuration

Use profile edit to create or update a profile configuration:

# Create or update the current profile
nacos-cli profile edit

# Create or update a named profile
nacos-cli profile edit dev

# Use a profile once
nacos-cli --profile dev skill-list

# Switch the default profile used when --profile is omitted
nacos-cli profile switch dev

Profile files are stored under ~/.nacos-cli/<profile>.conf. They are YAML files managed by the CLI, and sensitive fields are encrypted before they are saved.

Example generated profile:

host: 127.0.0.1
port: 8848
scheme: http          # http or https (default: http)
authType: nacos
username: ENC[v1:aes-256-gcm:...]
password: ENC[v1:aes-256-gcm:...]
namespace: ""

Sensitive fields (username, password, accessKey, secretKey, and securityToken, and token) are encrypted with AES-256-GCM before being saved by the CLI. The local encryption key is stored at ~/.nacos-cli/key with 0600 permissions. Existing plaintext config files remain readable for backward compatibility; the next profile load or profile edit rewrites sensitive fields in encrypted form.

Profile management commands:

# List profiles
nacos-cli profile list
nacos-cli profile list --output json

# Show or read profile values
nacos-cli profile show dev
nacos-cli profile get dev server
nacos-cli profile get auth-type

# Non-interactively create or update profile values
nacos-cli profile set dev host=127.0.0.1 port=8848 auth-type=none
nacos-cli profile set dev host=127.0.0.1 port=8848 auth-type=token token=<token>
nacos-cli profile set dev auth-type=nacos username=nacos password=nacos
nacos-cli profile set dev server=127.0.0.1:8848 namespace=public

# Delete a profile
nacos-cli profile delete dev

Skill Sync stores sync state per profile. profile switch <name> changes the default CLI profile, while skill-sync also tracks an active sync profile that is currently linked into agent directories. If you run a mutating skill-sync command against a different profile, the CLI prompts before switching; use --switch-profile in scripts to detach the old profile and switch explicitly. skill-sync status without --profile follows the active sync profile, while skill-sync status --profile <name> can inspect a saved inactive profile.

Configuration Priority

Configuration values are applied in the following priority order:

  1. Command line arguments (highest priority)
  2. Explicit --profile or --config file
  3. Current profile selected by profile switch
  4. Environment variables
  5. Default values (lowest priority)

Supported environment variables:

export NACOS_HOST=127.0.0.1
export NACOS_PORT=8848
export NACOS_NAMESPACE=xxx
export NACOS_SCHEME=https    # http or https (default: http)

For example:

  • nacos-cli --config ./local.conf --host 10.0.0.1 - Uses 10.0.0.1 from command line, other values from config file
  • NACOS_HOST=127.0.0.1 NACOS_PORT=8848 NACOS_NAMESPACE=xxx nacos-cli skill-list - Uses environment variables when command line and config file values are not provided
  • nacos-cli - Uses default market.hiclaw.io:80 when neither --host nor --port is provided
  • nacos-cli --host 127.0.0.1 - Uses 127.0.0.1:8848 because --host was provided without --port
  • nacos-cli --port 8849 - Uses 127.0.0.1:8849 because only --port was provided
  • nacos-cli --config ./local.conf - Uses all values from config file

Project Structure

nacos-cli/
├── cmd/                       # CLI commands
│   ├── root.go                # Root command / global flags
│   ├── list_skill.go          # skill-list
│   ├── describe_skill.go      # skill-describe
│   ├── get_skill.go           # skill-get
│   ├── upload_skill.go        # skill-upload
│   ├── review_skill.go        # skill-review
│   ├── release_skill.go       # skill-release
│   ├── update_skill_scope.go  # skill-scope
│   ├── update_skill_tags.go   # skill-tags
│   ├── publish_skill.go       # skill-publish (deprecated wrapper)
│   ├── skill_sync*.go         # skill-sync commands
│   ├── list_agentspec.go      # agentspec-list
│   ├── describe_agentspec.go  # agentspec-describe
│   ├── get_agentspec.go       # agentspec-get
│   ├── upload_agentspec.go    # agentspec-upload
│   ├── review_agentspec.go    # agentspec-review
│   ├── release_agentspec.go   # agentspec-release
│   ├── publish_agentspec.go   # agentspec-publish (deprecated wrapper)
│   ├── list_config.go         # config-list
│   ├── get_config.go          # config-get
│   ├── set_config.go          # config-set
│   ├── profile.go             # profile / config file handling
│   └── interactive.go         # Interactive terminal entry
├── internal/
│   ├── client/                # Nacos client
│   ├── skill/                 # Skill service
│   ├── agentspec/             # AgentSpec service
│   ├── sync/                  # Sync service
│   ├── listener/              # Config listener
│   ├── terminal/              # Interactive terminal implementation
│   └── help/                  # Help system
├── main.go
├── go.mod
└── README.md

Development

Prerequisites

  • Go 1.21 or higher
  • Nacos server (2.x recommended)

Build

# Build binary
make build

# Or manually
go build -o nacos-cli

Run Tests

# Run test script
./test.sh

# Or test specific commands
go run main.go skill-list -s 127.0.0.1:8848 -u nacos -p nacos

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

MIT License

Changelog

Next Release

  • Fixed skill-upload and agentspec-upload creating ZIP archives with an extra directory prefix, causing server-side extraction failures (#46)
  • Fixed ZIP archive paths using OS-native backslashes on Windows, violating the ZIP specification's forward-slash requirement (#26)
  • Added HTTPS support via --scheme flag, profile scheme field, and NACOS_SCHEME environment variable (#57)
  • Auto-detect scheme from --host URL prefix (e.g. --host https://nacos.example.com)
  • All 22 hardcoded http:// URL constructions replaced with configurable scheme

v1.0.4 (2026-05-08)

  • Aligned agentspec-* commands with skill-* around the full server lifecycle (upload → review → release), plus new agentspec-describe / skill-describe
  • Added --output pretty|json on *-list and *-describe for scripting
  • agentspec-publish / skill-publish are now deprecated wrappers that run upload + review and emit a deprecation warning
  • *-release now prints a targeted hint when failing with HTTP 400 parameter validate error, pointing to the async review pipeline timing issue

v0.2.0 (2026-01-28)

  • Rewritten in Go for better performance and portability
  • Added skill management commands (list, get, upload, sync)
  • Added agent spec management commands (list, get, upload)
  • Added real-time skill synchronization with Nacos
  • Added interactive terminal mode with auto-completion
  • Added batch upload support for multiple skills and agent specs
  • Added configuration management commands
  • Improved error handling and user experience
  • Removed all emoji clutter from terminal output

v0.1.0 (2026-01-27)

  • Initial Python version release
  • Basic configuration management
  • Basic service discovery

About

nacos cli scripts

Resources

Stars

44 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages