tencentblueking/bk-cli · Archived

bk-cli-nodeman

当需要通过 `bk-cli nodeman` 使用节点管理相?

First seen Jul 3, 2026

Installation

$ npx skills add tencentblueking/bk-cli --skill bk-cli-nodeman

Stronger alternatives

This repository is archived — consider an actively maintained alternative.

Also in this package

Other skills from tencentblueking/bk-cli · top by installs.

npx skills add tencentblueking/bk-cli

Browse all from tencentblueking/bk-cli

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 5
License LICENSE.txt
Default branch master
Open issues 6
Status Archived

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,610 B
  • docs SUMMARY.md 165 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 5 installs

SKILL.md

bk-cli nodeman — 节点管理能力使用说明

用于通过 bk-cli nodeman 调用蓝鲸节点管理(bk-nodeman)API 的系统子命令。

CRITICAL — 开始前 MUST 先用 Read 工具读取 ../bk-cli-shared/SKILL.md。共享 skill 负责认证、context、tenant、stage、dry-run、verbose、header/body 和通用请求规则;本 skill 只补充 nodeman 命令自己的语义与输入约定。

当前覆盖范围

当前 skill 覆盖这些常用命令:

  • install_job
  • getjobdetails

Commands

install_job

bk-cli nodeman install_job --body '{"job_type":"INSTALL_AGENT","hosts":[{"bk_biz_id":2,"bk_cloud_id":0,"os_type":"LINUX","inner_ip":"10.0.0.1","auth_type":"PASSWORD","account":"root","password":"xxx","port":22}]}'
  • 创建安装类任务(安装/重装/卸载/升级 Agent/Proxy)
  • payload 较复杂,必须通过 --body 提供完整 JSON
  • 支持的 jobtype:INSTALLAGENT、INSTALLPROXY、REINSTALLAGENT、REINSTALLPROXY、REPLACEPROXY、UNINSTALLAGENT、UNINSTALLPROXY、UPGRADEAGENT、UPGRADEPROXY、RELOADAGENT、RELOADPROXY
  • 调用路径:POST /api/job/install/

getjobdetails

bk-cli nodeman get_job_details --job_id 123
bk-cli nodeman get_job_details --job_id 123 --page 1 --pagesize 50
  • 查询任务执行详情
  • 默认 pagesize=-1(返回全部)
  • 调用路径:POST /api/job/{job_id}/details/