← 返回 Skills 市场
dhawala4

Mission Control

作者 DhawalA4 · GitHub ↗ · v1.0.0
cross-platform ✓ 安全检测通过
553
总下载
1
收藏
2
当前安装
1
版本数
在 OpenClaw 中安装
/install dhawala-mission-control
功能描述
CLI-first system health aggregator for autonomous AI agents. Query all agent processes, resources, cron jobs, and services in one shot. Use when a user asks...
使用说明 (SKILL.md)

Mission Control

Overview

Single-command health aggregator for autonomous AI infrastructure. Replaces checking 5+ separate tools by collecting agent status, resource health, cron jobs, and service state into one report.

Designed for operators running autonomous agents (OpenClaw daemons, AOMS, VPS workers) who need a fast answer to "is everything OK?"

Core Rules

  • Read-only by default. Only restart mutates state and requires confirmation.
  • Prefer --json output when piping to other tools or storing results.
  • Do not invent OpenClaw CLI flags. Use only documented commands.
  • When the user asks "what's running?" or "system status" - run mctl status for the full picture.

Commands

Full Status (default)

bash scripts/mctl.sh status

Returns: agents, resources (CPU/RAM/disk/GPU), cron jobs, services, OpenClaw status.

Agent List

bash scripts/mctl.sh agents

Detects running processes matching: openclaw daemon, openclaw gateway, and any process with "agent", "daemon", "worker", or "aoms" in its name. Shows PID and uptime.

Resource Health

bash scripts/mctl.sh health

CPU count, load average, RAM usage, disk usage, NVIDIA GPU (if present). Color-coded thresholds:

  • Green: \x3C60% usage
  • Yellow: 60-80%
  • Red: >80%

Cron Jobs

bash scripts/mctl.sh cron

Lists OpenClaw cron jobs via openclaw cron list.

Services

bash scripts/mctl.sh services

Checks systemd status for openclaw-gateway and openclaw-daemon. Also shows listening ports.

View Logs

bash scripts/mctl.sh logs [service-name]

Shows last 50 lines from the past hour for a systemd service. Defaults to openclaw-daemon.

Restart Service

bash scripts/mctl.sh restart \x3Cservice-name>

Restarts a systemd service. Requires sudo. Always confirm with the user before running.

JSON Output

Add --json to any command for machine-readable output:

bash scripts/mctl.sh --json status

Usage Examples

Quick daily check

User: "How's the system?"
Agent: runs `mctl status` and summarizes findings

Debug a slow agent

User: "Why is my daemon slow?"
Agent: runs `mctl health` to check resources, then `mctl logs openclaw-daemon`

Pre-deployment check

User: "Is everything healthy before I deploy?"
Agent: runs `mctl --json status`, checks for red flags, gives go/no-go

Automated monitoring via cron

# Add to openclaw cron for daily checks
openclaw cron add --name "mission-control:daily" \
  --schedule "0 8 * * *" \
  --command "bash ~/.openclaw/skills/mission-control/scripts/mctl.sh --json status > /tmp/mctl-status.json"

What Gets Checked

Check Source Threshold
Agent processes pgrep Any running = green
CPU load /proc/loadavg >CPUs = yellow
RAM free -m >80% = red
Disk df -h / >85% = red
GPU/VRAM nvidia-smi Optional
Cron openclaw cron list Shows schedule
Services systemctl active/failed
Ports ss -ltnp Informational

Installation

No external dependencies. Requires:

  • Bash 4+
  • Standard Linux utilities (ps, free, df, ss)
  • Optional: nvidia-smi for GPU, openclaw CLI for cron/status
# Install via ClawHub
clawhub install mission-control

# Or manually
cp -r . ~/.openclaw/skills/mission-control/
chmod +x ~/.openclaw/skills/mission-control/scripts/mctl.sh

Integration with OpenClaw

Works with the existing OpenClaw ecosystem:

  • openclaw cron - Schedule periodic health checks
  • openclaw status - Included in full status report
  • openclaw daemon - Monitored as an agent process
  • openclaw gateway - Service health checked

When to Use

  • Daily health checks for autonomous systems
  • Before deployments or major changes
  • Debugging performance issues
  • Quick "is everything running?" answer
  • Automated monitoring via cron
  • Post-incident verification

Differences from mission-control-dashboard

Feature mission-control (this) mission-control-dashboard
Interface CLI / agent skill Web UI (browser)
Use case Quick status queries Visual monitoring
Dependencies Bash only Python 3.8+
Real-time On-demand Polling dashboard
Best for AI agent queries Human visual monitoring

Use both together: this skill for agent-driven checks, the dashboard for visual monitoring.

Author

Built for autonomous infrastructure operations.

Price

Free on ClawHub

Tags

#monitoring #agents #health #cli #devops #automation #infrastructure #status

License

MIT

安全使用建议
This skill appears to do what it says: local monitoring of OpenClaw-related processes, resources, cron jobs, and systemd services. Before installing: 1) Review the mctl.sh script yourself (it runs journalctl, systemctl, pgrep, etc.) if you have sensitive logs or process command-lines you don't want exposed. 2) Ensure the agent will ask you before performing a restart (restart uses sudo). 3) Because the agent can invoke skills autonomously by default, consider whether you trust the agent to run this tool without interactive approval — it only accesses local state and does not call external endpoints, but it can collect potentially sensitive local information. 4) Optionally test on a non-production host first. Minor note: some JSON output paths in the script look slightly buggy (harmless but may affect machine-readable output).
功能分析
Type: OpenClaw Skill Name: dhawala-mission-control Version: 1.0.0 The 'mission-control' skill is a legitimate system health monitoring utility for OpenClaw agents. It uses standard Linux tools (pgrep, free, df, systemctl, journalctl) to aggregate resource usage, process status, and service health, with no evidence of data exfiltration, obfuscation, or unauthorized persistence in scripts/mctl.sh.
能力评估
Purpose & Capability
Name/description match the provided files: mctl.sh inspects processes, resources, cron entries, and services (including openclaw CLI calls). No unrelated credentials, downloads, or tools are requested. package.json points to the same script as main.
Instruction Scope
Runtime instructions and the script perform broad local reads (pgrep/ps, /proc/loadavg, free, df, systemctl, journalctl, ss, and optionally openclaw and nvidia-smi). This is expected for a monitoring tool, but those operations can reveal sensitive local information (process command lines, logs). The SKILL.md clearly documents the commands and requires confirmation for restart operations.
Install Mechanism
No network install or external downloads; install is a local copy (clawhub or cp). No extract-from-URL or third-party package registries are used.
Credentials
The skill declares no required environment variables or credentials and the script does not attempt to read secrets from unrelated env vars or config paths. It sets a temporary TMPDIR internally when producing JSON.
Persistence & Privilege
always:false and user-invocable:true (normal). The skill can be invoked autonomously by the agent (disable-model-invocation:false), which is platform default; combined with the ability to read logs/process lists, autonomous runs could expose system state without interactive user review. Restart requires sudo and the script documents confirmation is required.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install dhawala-mission-control
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /dhawala-mission-control 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Mission Control 1.0.0 – Initial Release - Introduces a CLI-first system health aggregator for autonomous AI agents. - Allows one-command checks for agent status, resources, cron jobs, and service states. - Includes detailed commands for full status, agent/process listing, resource health, cron jobs, service checks, log viewing, and controlled service restarts. - Supports machine-readable output via a `--json` flag. - Designed for seamless integration with OpenClaw and automated monitoring setups. - No external dependencies beyond standard Linux utilities and optional GPU/OpenClaw CLI tools.
元数据
Slug dhawala-mission-control
版本 1.0.0
许可证
累计安装 2
当前安装数 2
历史版本数 1
常见问题

Mission Control 是什么?

CLI-first system health aggregator for autonomous AI agents. Query all agent processes, resources, cron jobs, and services in one shot. Use when a user asks... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 553 次。

如何安装 Mission Control?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install dhawala-mission-control」即可一键安装,无需额外配置。

Mission Control 是免费的吗?

是的,Mission Control 完全免费(开源免费),可自由下载、安装和使用。

Mission Control 支持哪些平台?

Mission Control 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Mission Control?

由 DhawalA4(@dhawala4)开发并维护,当前版本 v1.0.0。

💬 留言讨论