Pular para o conteúdo
Skillpedia
Deploy e nuvem (DevOps)58 mil · #3214

cli-anything-jumpserver

O que ela faz

Esta skill permite que seu agente gerencie o JumpServer, um sistema que controla o acesso a servidores por meio de um bastion. Ela é para profissionais de TI e administradores de sistemas que precisam verificar acessos e registros de auditoria.

Quando usar

  • ✓Quando você quer listar os servidores ou ativos gerenciados pelo JumpServer.
  • ✓Quando você quer revisar as permissões de usuários ou o acesso a contas.
  • ✓Quando você quer verificar registros de sessões ou de auditoria.

Link da skill

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

Copie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.

Como usar

O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.

Mensagem pronta para colar

Use esta skill para me ajudar: https://github.com/HKUDS/CLI-Anything/blob/main/jumpserver/agent-harness/cli_anything/jumpserver/skills/SKILL.md Leia o arquivo SKILL.md desse link e siga as instruções dele na minha tarefa.
Quer que a sua IA encontre skills como esta sozinha?Instale o MCP grátis do Skillpedia: uma linha, e ela pesquisa entre 15.000+ skills antes de cada tarefa.Instalar em 1 minuto →

Exemplo do que pedir para a IA

“Liste todos os ativos de host no JumpServer e mostre quem tem acesso ao grupo de produção.”

5 skills novas por semana. 1 minuto de leitura.

Como funciona

A skill chama a API REST do JumpServer com seus dados de login e depois lista ou altera registros. As alterações podem ser visualizadas antes com a opção dry-run.

Conteúdo técnico (SKILL.md original)

Texto original do autor, em inglês, direto do 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
Perguntas frequentes

Posso visualizar as mudanças antes?

Sim, os comandos de alteração oferecem uma opção dry-run que mostra o que aconteceria sem executar.

Como faço login?

Você informa a URL e o usuário do JumpServer, e a skill pode ler padrões de variáveis de ambiente.

Há um modo interativo?

Sim, você pode iniciar uma sessão interativa para trabalhar passo a passo.

Detalhes

Descrição original do autor

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

Popularidade

Estrelas no GitHub
58 mil
Posição no ranking
#3214
Licença
Apache-2.0
Atualizada em
21/09/2026

Essa skill é útil?

0

Entre para votar.

Comentários

  • …

Mais skills deste repositório

Skills parecidas