Communitygithub.com

cli-anything-jumpserver

JumpServer 배스천 호스트 관리를 위한 상태 저장형 CLI 도구입니다. REST API를 통해 자산, 사용자, 권한, 계정, 세션, 감사 및 운영 관리를 지원하며, 단발성 명령어와 대화형 REPL 모드를 모두 제공합니다.

cli-anything-jumpserver란 무엇인가요?

cli-anything-jumpserver는 AI 에이전트가 JumpServer 배스천 호스트를 체계적으로 관리할 수 있도록 설계된 상태 저장형 CLI 도구입니다. 이 도구는 자산, 사용자, 권한, 계정, 세션, 감사 로그 등을 REST API를 통해 제어하며, AI 에이전트가 명령을 실행하고 그 결과를 JSON 형식으로 파싱하여 추가 작업을 수행할 수 있도록 최적화되어 있습니다. 주요 기능으로는 일회성 명령 모드와 `--interactive` 플래그를 통한 대화형 REPL 모드가 있으며, 모든 변경 명령은 `--dry-run` 옵션으로 사전 검증이 가능합니다. 또한 `~/.jumpserver-cli/` 디렉토리에 인증 세션과 상태 정보를 저장하여 장기 실행 워크플로우에 적합합니다. 지원 플랫폼은 Claude Code, Cursor, Codex 등 모든 터미널 기반 AI 에이전트입니다. 에이전트는 이 도구를 활용하여 자산 인벤토리 조회, 사용자/권한 관리, 보안 감사, 세션 모니터링 등 JumpServer의 전 관리 영역을 자동화할 수 있습니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/HKUDS/CLI-Anything/tree/main/skills/cli-anything-jumpserver

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

cli-anything-jumpserver은(는) 무엇을 하나요?

JumpServer 배스천 호스트 관리를 위한 상태 저장형 CLI 도구입니다. 자산, 사용자, 권한, 계정, 세션, 감사 등을 JumpServer REST API를 통해 관리합니다.

빠른 시작

# 설치
cd agent-harness && pip install -e .

# 인증
cli-anything-jumpserver auth login --url https://jumpserver.example.com --username admin

# 호스트 목록 조회
cli-anything-jumpserver asset list --type host

# 대화형 REPL 모드
cli-anything-jumpserver --interactive

에이전트 사용 가이드

이 CLI는 AI 에이전트 사용을 위해 설계되었습니다. 에이전트를 위한 주요 기능은 다음과 같습니다:

JSON 출력 모드

모든 명령어는 --output json 플래그를 지원하여 기계가 파싱 가능한 출력을 제공합니다:

cli-anything-jumpserver asset list --type host --output json

Dry Run 모드

모든 변경 명령어는 --dry-run 옵션을 지원하여 실행 없이 미리보기를 제공합니다:

cli-anything-jumpserver asset create --name test --address 10.0.0.1 --platform 1 --dry-run --output json

환경 변수

  • JUMPSERVER_URL - 기본 JumpServer URL
  • JUMPSERVER_USERNAME - 기본 사용자 이름
  • JUMPSERVER_PASSWORD - 기본 비밀번호

일반적인 에이전트 워크플로우

1. 탐색 및 인벤토리

# 연결 확인
cli-anything-jumpserver auth status --output json

# 모든 호스트 목록 조회
cli-anything-jumpserver asset list --type host --output json

# 자산 세부 정보 확인
cli-anything-jumpserver asset get <ID> --type host --output json

# 모든 사용자 목록 조회
cli-anything-jumpserver user list --output json

2. 사용자 및 권한 관리

# 사용자 생성
cli-anything-jumpserver user create --name "새 사용자" --username newuser --email [email protected] --output json --dry-run

# 자산 접근 권한 부여
cli-anything-jumpserver perm create --name "앱 접근" --users "user1,user2" --assets "asset1,asset2" --output json --dry-run

# 권한 확인
cli-anything-jumpserver perm users <PERM_ID> --output json

3. 보안 감사

# 실패한 로그인 확인
cli-anything-jumpserver audit login --status failed --output json

# 작업 검토
cli-anything-jumpserver audit operate --action delete --output json

# 활성 세션 확인
cli-anything-jumpserver session list --active --output json

# 명령 히스토리 확인
cli-anything-jumpserver session command list --risk 5 --output json

4. 세션 관리

# 활성 세션 모니터링
cli-anything-jumpserver session list --active --output json

# 터미널 상태 확인
cli-anything-jumpserver session terminal list --output json
cli-anything-jumpserver session terminal status <TERMINAL_ID> --output json

출력 형식

형식플래그사용 사례
표--output table (기본값)사람이 읽기 쉬운 표시
JSON--output json에이전트 소비, 스크립팅
YAML--output yaml설정, 가독성

종료 코드

코드의미
0성공
1CLI 오류 (인증, API 등)
2사용법 오류 (잘못된 옵션/인수)
130중단됨 (Ctrl+C)

파일 위치

경로목적
~/.jumpserver-cli/session.json인증 세션
~/.jumpserver-cli/state.jsonCLI 운영 상태

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

cli-anything-adguardhome

>-

cli-anything-anygen

>-

cli-anything-audacity

>-

cli-anything-blender

>-

cli-anything-browser

Browser automation CLI using DOMShell MCP server. Maps Chrome

cli-anything-calibre

>-

cli-anything-ccswitch

CLI interface for CC Switch — manage AI coding tool configurations from the terminal

cli-anything-chromadb

>-

cli-anything-cloudanalyzer

Command-line interface for CloudAnalyzer — Agent-friendly harness for CloudAnalyzer, a QA platform for mapping, localization, and perception outputs. Supports 27 commands across 8 groups: point cloud evaluation, trajectory evaluation, ground segmentation QA, config-driven quality gates, baseline evolution, processing, visualization, and interactive REPL.

cli-anything-cloudcompare

Command-line interface for CloudCompare — Agent-friendly harness for CloudCompare, the open-source 3D point cloud and mesh processing software. Supports 41 commands across 9 groups: project management, session control, point cloud operations (subsample, filter, segment, analyze), mesh operations, distance computation (C2C, C2M), transformations (ICP, matrix), export (LAS/LAZ/PLY/PCD/OBJ/STL/E57), and interactive REPL.

cli-anything-comfyui

>-

cli-anything-dify-workflow

Wrapper for the Dify workflow DSL CLI. Create, inspect, validate, edit, and export Dify workflow files through a CLI-Anything harness.

cli-anything-drawio

>-

cli-anything-eez-studio

Use EEZ Studio from the command line: inspect and modify native .eez-project files, edit LVGL screens/widgets, manage SCPI commands, and invoke the real EEZ Studio backend for LVGL builds.

cli-anything-eth2-quickstart

>-

cli-anything-exa

>-

cli-anything-firefly-iii

Firefly III CLI - Personal finance management via CLI-Anything

cli-anything-freecad

Complete CLI harness for FreeCAD parametric 3D CAD modeler (258 commands). Covers ALL workbenches: Part (29 primitives + boolean + mirror + loft + sweep), Sketcher (26 cmds: geometry + constraints + editing), PartDesign (38 cmds: pad/pocket/groove/fillet/chamfer/patterns/hole/datum), Assembly (11 cmds), Mesh (16 cmds), TechDraw (15 cmds: views + dimensions + PDF/SVG), Draft (33 cmds: 2D shapes + arrays + transforms), FEM (12 cmds), CAM/CNC (10 cmds), Surface (6 cmds), Spreadsheet (7 cmds), Import (13 formats), Export (17 formats), Measure (12 cmds), Materials (21 presets). Headless FreeCAD export to STEP/IGES/STL/OBJ/DXF/PDF/glTF/3MF.

cli-anything-gimp

>-

cli-anything-godot

>-

관련 스킬