← Back to Skills Marketplace
olmmlo-cmd

4090ctl

by olmmlo-cmd · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
725
Downloads
0
Stars
2
Active Installs
1
Versions
Install in OpenClaw
/install 4090ctl
Description
Remotely manage the 4090 server via SSH to monitor Docker containers, restart services, and check system status.
README (SKILL.md)

4090 服务器控制

通过 SSH 控制 4090 服务器(192.168.199.17)。

快速命令

# Dify 状态检查
ssh -F ~/.ssh/config 4090 "docker ps -a | grep dify"

# 查看资源使用
ssh -F ~/.ssh/config 4090 "docker stats --no-stream"

# 重启 Dify
ssh -F ~/.ssh/config 4090 "cd ~/dify/docker && docker-compose restart"

# 查看日志
ssh -F ~/.ssh/config 4090 "docker logs -f docker-api-1"

常用操作

Docker 管理

# 查看所有容器
docker ps -a

# 查看资源占用
docker stats --no-stream --format 'table {{.Name}}	{{.CPUPerc}}	{{.MemPerc}}'

# 重启单个容器
docker restart docker-api-1

# 查看容器日志
docker logs -f docker-api-1

Dify 服务

服务 容器名 端口 说明
API docker-api-1 5001 主 API
Worker docker-worker-1 5001 异步任务
Web docker-web-1 3000 前端界面
Plugin docker-plugin_daemon-1 5003 插件服务
Sandbox docker-sandbox-1 - 安全沙箱

系统监控

# CPU/内存
top -bn1 | head -5

# 磁盘使用
df -h

# 负载情况
uptime

SSH 配置

~/.ssh/config:

Host 4090
    HostName 192.168.199.17
    User olmmlo
    IdentityFile ~/.ssh/4090_key
    PasswordAuthentication no
Usage Guidance
This skill will SSH to 192.168.199.17 using your ~/.ssh/config and the private key at ~/.ssh/4090_key (username 'olmmlo') — but it doesn't declare those requirements. Before installing: (1) only install if you trust the skill source and the target server; (2) verify the agent runtime is not permitted to read your ~/.ssh files unless you intend it to; (3) consider requiring the skill to declare required binaries (ssh, docker, docker-compose) and the config/key path explicitly; (4) prefer manual invocation or a restricted runtime for this skill so it cannot autonomously access your SSH key; (5) if you are unsure, test in an isolated environment or add a dedicated key with limited server privileges instead of using a personal key.
Capability Analysis
Type: OpenClaw Skill Name: 4090ctl Version: 1.0.0 The skill is classified as suspicious due to a potential prompt injection vulnerability in `SKILL.md`. While the skill's stated purpose is remote server control via SSH, several command blocks under '常用操作' (Common Operations) are presented without an explicit `ssh` prefix. If the AI agent is designed to execute any code block it encounters, these commands (e.g., `docker ps -a`, `top`, `df -h`, `uptime`) could be executed locally on the agent's host, potentially leaking information about the agent's environment. This represents a vulnerability in the agent's interpretation rather than explicit malicious intent from the skill author. Additionally, the skill explicitly discloses the expected path for an SSH private key (`~/.ssh/4090_key`), which, while necessary for its function, is a sensitive detail.
Capability Assessment
Purpose & Capability
Name/description say 'manage 4090 via SSH', which matches the commands in SKILL.md, but the metadata lists no required binaries, env vars, or config paths even though the instructions explicitly use ssh, docker, and refer to ~/.ssh/config and ~/.ssh/4090_key. The skill should have declared at minimum 'ssh' (and likely docker/docker-compose if run locally) and the SSH key/config path.
Instruction Scope
Runtime instructions tell the agent to run ssh -F ~/.ssh/config 4090 "..." and reference an IdentityFile path and username. That implicitly requires access to the user's ~/.ssh/config and private key and will cause the agent to read/use those secrets when invoked. The SKILL.md also includes bare docker/docker-compose commands (some prefixed by ssh, some not), which is ambiguous about where they should run and whether local docker access is expected.
Install Mechanism
Instruction-only skill with no install spec — lowest install risk. Nothing will be written to disk by an installer.
Credentials
No required environment variables or primary credential are declared, yet the instructions require a private SSH key (IdentityFile) and an SSH config entry for host '4090'. That is effectively a secret/config dependency that is not declared. There are no unrelated credentials requested, but the omission means the agent or user may inadvertently expose sensitive keys.
Persistence & Privilege
Skill is not always-on and does not request persistent system modifications. Autonomous invocation is allowed (platform default); combined with the undeclared key access this increases risk but by itself is not a misconfiguration.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install 4090ctl
  3. After installation, invoke the skill by name or use /4090ctl
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of the 4090ctl skill: - Provides SSH-based command shortcuts for managing a remote 4090 server. - Includes quick commands for checking Dify service status, viewing resource usage, restarting services, and viewing logs. - Documents common Docker and system monitoring operations. - Lists Dify service container names, ports, and functions in a table. - Specifies recommended SSH configuration details for access.
Metadata
Slug 4090ctl
Version 1.0.0
License
All-time Installs 2
Active Installs 2
Total Versions 1
Frequently Asked Questions

What is 4090ctl?

Remotely manage the 4090 server via SSH to monitor Docker containers, restart services, and check system status. It is an AI Agent Skill for Claude Code / OpenClaw, with 725 downloads so far.

How do I install 4090ctl?

Run "/install 4090ctl" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is 4090ctl free?

Yes, 4090ctl is completely free (open-source). You can download, install and use it at no cost.

Which platforms does 4090ctl support?

4090ctl is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created 4090ctl?

It is built and maintained by olmmlo-cmd (@olmmlo-cmd); the current version is v1.0.0.

💬 Comments