nuwa-skill
alchaincyf
你想蒸馏的下一个员工,何必是同事。蒸馏任何人的思维方式——心智模型、决策启发式、表达DNA。Distill how anyone thinks.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:xiayh0107/hoploom
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
A local-first secure server access layer for humans and AI agents.
Manage SSH hosts, credentials, remote access, and host-specific agent context from one deterministic interface — without putting secrets in config files, shell history, or an AI model's context.
Website · Documentation · Product README · 简体中文
Previously SSH Server Manager / servers-connect. Existing serverctl
commands remain compatible; follow the upgrade guide
to migrate an existing installation without changing its data or vault entries.
OpenSSH is excellent at transport. The hard part is everything around it:
Hoploom puts a small local control layer around OpenSSH.
Human
│
CLI / Local Web UI
│
▼
┌───────────────────────┐
│ hoploom │
│ │
│ Host inventory │
│ Credential routing │
│ Context routing │
│ Test / Exec / Files │
└───────────┬───────────┘
│
OpenSSH / SFTP
│
▼
Remote Servers
▲
│
AI Agent
│
Agent Skill
The core idea is simple:
Humans and agents can use a server without needing to know or expose its secret.
A managed server is more than an IP address.
| Layer | What Hoploom knows |
|---|---|
| Identity | alias, hostname, port, username, tags, notes, ProxyJump chain |
| Credential | password, private-key reference, key passphrase, ssh-agent/OpenSSH defaults |
| Context | working paths, host notes, host-bound Agent Skills |
| Action | test, connect, execute commands, browse and transfer files |
That turns this:
ssh -J user@bastion.example.com deploy@10.0.2.7
into this:
hoploom connect db1
And for an AI agent:
hoploom exec db1 --json -- uptime
Passwords and key passphrases live in the operating system's native credential vault:
| Platform | Secret storage |
|---|---|
| macOS | Keychain |
| Windows | Credential Locker |
| Linux | Secret Service |
| Private keys | Existing local file; only the absolute path is stored |
hoploom does not inject secrets through command-line arguments, environment variables, config files, or shell history.
Authentication is handled out-of-band through OpenSSH AskPass:
AI Agent
│
│ hoploom exec gpu01 ...
▼
hoploom
│
│ credential identifier
▼
AskPass ───────────────► OS Credential Vault
│ │
│ actual secret │
◄───────────────────────────┘
│
▼
OpenSSH
│
▼
Remote Host
The secret is delivered directly to the SSH authentication process. It is not returned to the caller and does not enter the agent's model context.
Unsafe plaintext keyring backends are rejected rather than silently accepted.
See the full security model.
The project ships as an Agent Skill for Claude Code, Codex, Gemini CLI, Cursor, and other Agent Skills-compatible clients.
For managed hosts, agents are instructed to use hoploom instead of improvising with raw ssh, scp, sftp, rsync, or sshpass.
That gives agents a deterministic, machine-readable interface:
# Discover available hosts
hoploom server list --json
# Test connectivity
hoploom server test gpu01 --json
# Run a remote command
hoploom exec gpu01 --json -- nvidia-smi
# Transfer a file
hoploom get gpu01:/data/results.csv ./
# Resolve locally saved working paths
hoploom path resolve gpu01 --json
Connection failures are classified — authentication failure, untrusted host key, timeout, DNS failure, and more — so an agent can branch on structured results instead of parsing prose.
For DeepSeek Harness, install the local Hoploom backend below, then run
dsh plugin --profile web add dsh-hoploom. The
dsh plugin supplies inventory/context tools and
explicitly enabled remote operations. 中文说明.
macOS / Linux:
curl -fsSL https://raw.githubusercontent.com/xiayh0107/hoploom/main/install.sh | sh
Windows:
powershell -ExecutionPolicy Bypass -c "irm https://raw.githubusercontent.com/xiayh0107/hoploom/main/install.ps1 | iex"
The installer installs dependencies, exposes hoploom, links the skill into detected local agents, and runs hoploom doctor.
Only the CLI and Web UI, without the skill links:
pipx install hoploom
# or
brew install xiayh0107/tap/hoploom
Connecting to a server is only half the problem. After connecting, an agent may also need to know:
That information should not live in one giant global prompt.
Hoploom lets local Agent Skills be explicitly associated with the hosts where they apply:
gpu-login ───────┐
gpu-node-01 ─────┼── gpu-ops
gpu-node-02 ─────┘
storage-01 ────────── storage-ops
production-web ───── production-runbook
The workflow is target first, context second:
hoploom server list --json
hoploom skill resolve gpu-node-01 --json
A host-skill binding is relevance metadata, not authorization. It does not grant permission to operate on a machine or bypass normal credential and host-key rules.
Manage bindings explicitly:
# Discover local skills without downloading or installing anything
hoploom skill discover --json
# Register one and bind it to selected hosts
hoploom skill add ~/.agents/skills/gpu-ops \
--server gpu-node-01 \
--server gpu-node-02 \
--json
# Resolve context for the current target
hoploom skill resolve gpu-node-01 --json
When the target changes, agents are expected to resolve again instead of carrying host-specific context across environments.
See Using Hoploom with AI agents.
Source builds require the Rust toolchain pinned in
ssh-server-manager/rust-toolchain.toml. Published native wheels need no Rust;
the one-line installer selects a published wheel and its matching Skill tag.
git clone https://github.com/xiayh0107/hoploom.git
cd hoploom/ssh-server-manager
./scripts/bootstrap
./scripts/hoploom doctor
Once installed, use hoploom directly from PATH.
Preview first:
hoploom server import
Apply explicitly:
hoploom server import --apply
The importer follows OpenSSH Include directives and resolves aliases through ssh -G. Your original ~/.ssh/config is read but never rewritten.
hoploom credential add-password work-password
The password is entered through a hidden local prompt and stored in the OS credential vault.
Private key:
hoploom credential add-key deploy-key \
--key-path ~/.ssh/id_ed25519 \
--store-passphrase
Or use ssh-agent / normal OpenSSH defaults:
hoploom credential add-agent default-agent
There is deliberately no normal CLI command that dumps a stored password back to stdout.
hoploom server add web1 \
--hostname web1.example.com \
--username deploy \
--credential work-password
Then:
hoploom server test web1
hoploom connect web1
hoploom exec web1 -- uptime
hoploom exec web1 --json -- systemctl is-active nginx
Use --shell for pipelines or compound shell expressions:
hoploom exec web1 --shell -- 'du -sh /var/log/* | sort -h | tail -5'
Bastions are modeled as ordinary managed hosts:
hoploom server add bastion \
--hostname bastion.example.com \
--username jump
hoploom server add db1 \
--hostname 10.0.2.7 \
--username dba \
--proxy-jump bastion
ProxyJump chains are ordered and checked for loops.
Resolve remembered working directories before searching blindly:
hoploom path resolve gpu01 --json
Transfer individual files through the same credential and host-key boundary:
hoploom get gpu01:/remote/result.csv ./
hoploom put ./config.yaml gpu01:/remote/config.yaml
The Files page browses SFTP directories, uploads with conflict confirmation, and downloads ordinary files within the runtime transfer limit.
hoploom ui
opens a management interface that listens only on loopback.
Use it to:
The UI uses a one-time launch token, Origin/Host validation, CSRF protection, a strict Content Security Policy, and WebAuthn/platform passkeys or an Argon2id master password for secret reveal.
Check or stop a background UI:
hoploom ui --status
hoploom ui --stop
Hoploom does not weaken OpenSSH host-key verification.
An unknown or changed host key fails with a classified host-key-untrusted error. There is intentionally no convenience switch that silently turns on StrictHostKeyChecking=no.
Verify the fingerprint and resolve the trust decision explicitly.
There is no Hoploom cloud account required to hold your SSH inventory or credentials.
Host metadata
│
▼
local SQLite database
Passwords / passphrases
│
▼
OS credential vault
Private keys
│
▼
your existing filesystem
SSH transport
│
▼
OpenSSH
The trust boundary is your local OS user account, similar to OpenSSH's trust model for ~/.ssh.
A local secure server access layer around OpenSSH.
It handles:
Not an SSH implementation.
OpenSSH remains the transport layer.
Not Terraform or Ansible.
It does not define desired infrastructure state or fleet configuration. Those tools can sit above or beside it.
Not a generic Agent runtime.
It does not provide planning, memory, scheduling, or multi-agent orchestration. It provides one bounded capability: secure access to remote machines.
Not a cloud credential service.
Your host inventory and credentials remain local.
| macOS | Linux | Windows | |
|---|---|---|---|
| CLI + Local Web UI | ✅ | ✅ | ✅ |
| Native credential vault | Keychain | Secret Service | Credential Locker |
| Secret reveal re-auth | Passkey / master password | Passkey / master password | Passkey / master password |
| SSH connection reuse | ✅ | ✅ | — |
See platform notes for details.
| Guide | Description |
|---|---|
| Quickstart | From installation to first managed host |
| Installation | Installation methods and dependencies |
| CLI reference | Complete hoploom command surface |
| Web UI | Local management interface |
| AI agents | Agent Skill deployment and host-specific context |
| Security model | Trust boundaries and security invariants |
| Platforms | macOS, Linux, and Windows behavior |
| FAQ | Common questions and troubleshooting |
The ssh-server-manager/ source path is retained for existing source installations.
Product source, detailed docs, and the Agent Skill live in ssh-server-manager/.
hoploom/
├── ssh-server-manager/ # Product source, CLI, Web UI, docs and Agent Skill
├── dsh-hoploom/ # DeepSeek Harness plugin (independent npm package)
├── website/ # Project website
├── install.sh # macOS / Linux installer
├── install.ps1 # Windows installer
└── README.md # You are here
SERVER ACCESS
Identity
+
Credential
+
Context
+
Action
│
▼
Remote Environment
A server is not merely an address. For a human or an AI agent, it is an environment with an identity, an authentication boundary, relevant operational knowledge, and a controlled set of actions.
Hoploom keeps those pieces together.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: agent、agents。