मुख्य सामग्री पर जाएँ
Skillpedia
डिप्लॉय और क्लाउड (DevOps)58k · #3214

cli-anything-jumpserver

यह क्या करती है

यह स्किल आपके एजेंट को JumpServer संभालने देती है, जो बैस्टन होस्ट के ज़रिए सर्वरों तक पहुँच नियंत्रित करता है। यह IT और सिस्टम एडमिनिस्ट्रेटरों के लिए है, जिन्हें पहुँच जाँचनी और ऑडिट रिकॉर्ड देखने हैं।

कब इस्तेमाल करें

  • ✓जब आप JumpServer द्वारा संभाले जा रहे सर्वर या एसेट की सूची देखना चाहते हैं।
  • ✓जब आप किसी यूज़र की अनुमतियाँ या अकाउंट पहुँच जाँचना चाहते हैं।
  • ✓जब आप सेशन या ऑडिट रिकॉर्ड जाँचना चाहते हैं।

Skill का लिंक

https://github.com/HKUDS/CLI-Anything/blob/main/jumpserver/agent-harness/cli_anything/jumpserver/skills/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/HKUDS/CLI-Anything/blob/main/jumpserver/agent-harness/cli_anything/jumpserver/skills/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“JumpServer में सारे होस्ट एसेट की सूची दिखाइए और बताइए कि production ग्रुप तक किसकी पहुँच है।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

यह स्किल आपके लॉगिन विवरण के साथ JumpServer REST API को कॉल करती है और रिकॉर्ड की सूची दिखाती है या उन्हें बदलती है। बदलाव पहले dry-run विकल्प से देखे जा सकते हैं।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

cli-anything-jumpserver

Stateful CLI harness for JumpServer bastion host. Manage assets, users, permissions, accounts, sessions, audits, and more via the JumpServer REST API.

Quick Start

# Install
cd agent-harness && pip install -e .

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

# List hosts
cli-anything-jumpserver asset list --type host

# Interactive REPL mode
cli-anything-jumpserver --interactive

Agent Usage Guidance

This CLI is designed for AI agent consumption. Key features for agents:

JSON Output Mode

All commands support --output json for machine-parseable output:

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

Dry Run Mode

All mutation commands support --dry-run to preview without execution:

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

Environment Variables

  • JUMPSERVER_URL - Default JumpServer URL
  • JUMPSERVER_USERNAME - Default username
  • JUMPSERVER_PASSWORD - Default password

Typical Agent Workflows

1. Discovery and Inventory

# Check connection
cli-anything-jumpserver auth status --output json

# List all hosts
cli-anything-jumpserver asset list --type host --output json

# Get asset details
cli-anything-jumpserver asset get <ID> --type host --output json

# List all users
cli-anything-jumpserver user list --output json

2. User and Permission Management

# Create user
cli-anything-jumpserver user create --name "New User" --username newuser --email user@example.com --output json --dry-run

# Grant asset access
cli-anything-jumpserver perm create --name "App Access" --users "user1,user2" --assets "asset1,asset2" --output json --dry-run

# Verify permissions
cli-anything-jumpserver perm users <PERM_ID> --output json

3. Security Audit

# Check failed logins
cli-anything-jumpserver audit login --status failed --output json

# Review operations
cli-anything-jumpserver audit operate --action delete --output json

# Check active sessions
cli-anything-jumpserver session list --active --output json

# View command history
cli-anything-jumpserver session command list --risk 5 --output json

4. Session Management

# Monitor active sessions
cli-anything-jumpserver session list --active --output json

# Check terminal health
cli-anything-jumpserver session terminal list --output json
cli-anything-jumpserver session terminal status <TERMINAL_ID> --output json

Output Formats

Format Flag Use Case
Table --output table (default) Human-readable display
JSON --output json Agent consumption, scripting
YAML --output yaml Configuration, readability

Exit Codes

Code Meaning
0 Success
1 CLI error (auth, API, etc.)
2 Usage error (invalid options/arguments)
130 Interrupted (Ctrl+C)

File Locations

Path Purpose
~/.jumpserver-cli/session.json Authentication session
~/.jumpserver-cli/state.json CLI operational state
अक्सर पूछे जाने वाले सवाल

क्या मैं बदलाव पहले देख सकता हूँ?

हाँ, बदलाव वाले कमांड dry-run विकल्प सपोर्ट करते हैं, जो बिना चलाए दिखा देता है कि क्या होगा।

मैं लॉगिन कैसे करूँ?

आप अपना JumpServer URL और यूज़रनेम देते हैं, और स्किल डिफ़ॉल्ट मान environment variables से पढ़ सकती है।

क्या इसमें इंटरैक्टिव मोड है?

हाँ, कदम-दर-कदम काम के लिए आप इंटरैक्टिव सेशन शुरू कर सकते हैं।

जानकारी

लेखक का मूल विवरण

Stateful CLI harness for JumpServer bastion host management. Supports asset, user, permission, account, session, audit, and operations management via REST API, with both one-shot and interactive REPL modes.

repo: HKUDS/CLI-Anything

लोकप्रियता

GitHub स्टार
58k
रैंकिंग में स्थान
#3214
लाइसेंस
Apache-2.0
अपडेट की गई
21/9/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

cli-anything-3mf

58k

यह आपके एजेंट को 3D प्रिंटिंग फ़ाइलों का निरीक्षण और सुधार करने देती है, जिसमें गोल छेद खोजना, उनका आकार बदलना, मेश ठीक करना और दो फ़ाइलों की तुलना शामिल है।

डिज़ाइनइमेज और आइकन

cli-anything-qgis

58k

यह आपके एजेंट को टर्मिनल से QGIS मैप प्रोजेक्ट खोलने, संपादित करने और निर्यात करने देती है, जिसमें लेयर, फ़ीचर, प्रिंट लेआउट और प्रोसेसिंग टूल शामिल हैं।

डेटाएनालिसिस और स्प्रेडशीट

cli-anything-adguardhome

58k

यह आपके एजेंट को AdGuard Home, एक नेटवर्क-व्यापी ऐड ब्लॉकर, प्रबंधित करने देती है, जिसमें फ़िल्टर, DNS rewrites, क्लाइंट और क्वेरी लॉग शामिल हैं।

कोडिंगडिप्लॉय और क्लाउड (DevOps)

cli-anything-anygen

58k

यह आपके एजेंट को लिखे गए प्रॉम्प्ट से AnyGen सेवा का उपयोग करके स्लाइड, दस्तावेज़, वेबसाइट और आरेख बनवाने देती है।

लेखन और डॉक्यूमेंटPDF, Word और स्लाइड

मिलती-जुलती skills