← 返回 Skills 市场
ginhooser-cyber

CraftClose

作者 Bejie Paulo Aclao · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ⚠ suspicious
102
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install craftclose
功能描述
AI-powered Minecraft server monitoring with crash detection, auto-restart, and smart alerts. Use when: monitoring Minecraft servers, diagnosing crashes, sett...
使用说明 (SKILL.md)

CraftClose — AI Minecraft Server Monitor

AI-powered Minecraft server monitoring — crash detection, auto-restart, and smart alerts.

When to Use

USE this skill when:

  • Monitoring a Minecraft server's health (TPS, players, uptime)
  • Diagnosing crashes or performance issues
  • Setting up auto-restart on crash detection
  • Configuring Telegram bot or Discord webhook alerts
  • Analyzing server logs with AI (Gemini)
  • Managing servers via Pterodactyl panel
  • Checking plugin conflicts or config issues

When NOT to Use

DON'T use this skill when:

  • Bedrock-only servers (Java/Paper servers only)
  • Non-Minecraft game servers
  • Web application monitoring
  • Network diagnostics unrelated to Minecraft

Install

npm install -g craftclose

Setup

# Copy example config
craftclose init

# Or manually create craftclose.yml
cp node_modules/craftclose/craftclose.example.yml ./craftclose.yml

Config (craftclose.yml)

servers:
  - name: my-server
    host: 127.0.0.1
    connections:
      ssh:
        port: 22
        username: minecraft
        key_path: ~/.ssh/id_rsa
      rcon:
        port: 25575
        password: changeme
      pterodactyl:
        panel_url: https://panel.example.com
        api_key: ptlc_xxxxx
        server_id: abc123

monitoring:
  interval: 60
  auto_restart: true
  max_restarts: 3
  restart_window: 300

alerts:
  telegram:
    bot_token: "123456:ABC..."
    chat_id: "-100123456"
  discord:
    webhook_url: "https://discord.com/api/webhooks/..."

ai:
  provider: gemini
  api_key: ${GEMINI_API_KEY}

CLI Commands

# Test all connections
craftclose test

# Check server status
craftclose status

# Start continuous monitoring
craftclose monitor

# View crash/event history
craftclose history

# AI-powered crash analysis
craftclose analyze

# Config optimization suggestions
craftclose optimize

# Check plugin conflicts
craftclose conflicts

# Pterodactyl panel operations
craftclose panel status
craftclose panel restart
craftclose panel console "say Hello"

Key Features

Feature Description
Crash Detection 20+ built-in patterns (OOM, plugin errors, world corruption, etc.)
Auto-Restart Configurable restart on crash with rate limiting
AI Analysis BYOK Gemini for deep crash analysis and optimization
3 Connections SSH, RCON, Pterodactyl — use any combo
Alerts Telegram bot + Discord webhook notifications
History TPS and player count stored in local SQLite
Security 6-layer sandbox (path jail, RCON filter, input sanitizer, audit log, action allowlist, confirmation gate)

OpenClaw Integration

CraftClose is also an OpenClaw skill. When installed globally, OpenClaw can use it to monitor and manage Minecraft servers through natural language.

Links

安全使用建议
This skill appears to be what it says (a CLI monitor) but the runtime instructions expect many sensitive credentials that are not declared in the skill metadata. Before installing or running: (1) inspect the craftclose npm package and its source (verify publisher, review package code) to ensure it handles secrets and remote connections safely; (2) do not paste secrets into shared prompts — prefer environment variables or restricted config files with tight filesystem permissions; (3) if possible run the CLI in a sandbox or test environment first (use least-privilege API keys, limit Pterodactyl API scope, rotate keys after testing); (4) confirm where AI analysis data is sent/stored (Gemini provider) and whether logs or crash dumps containing sensitive data are transmitted; (5) only allow autonomous invocation if you trust the package and have restricted credentials — otherwise run it manually.
功能分析
Type: OpenClaw Skill Name: craftclose Version: 0.1.0 The craftclose skill bundle provides Minecraft server management and monitoring, but it requires high-privilege access to sensitive credentials, including local SSH private keys (~/.ssh/id_rsa), RCON passwords, and Pterodactyl API keys. While these capabilities are plausibly needed for the stated purpose of remote server administration and crash recovery, the broad access to local secrets and the requirement for a global npm package installation represent a significant attack surface. No explicit malicious intent, data exfiltration, or prompt injection was identified in SKILL.md or _meta.json.
能力评估
Purpose & Capability
Name/description, required binary 'craftclose', and the npm install spec are coherent for a Minecraft monitoring CLI. The skill declares the craftclose CLI as required and the install uses the craftclose npm package — reasonable for the stated purpose. Minor mismatch: SKILL.md explicitly references a Gemini API key in examples but the registry metadata does not declare a primaryEnv or required envs (so the skill's metadata is incomplete/underspecified).
Instruction Scope
SKILL.md contains concrete CLI usage and config examples for monitoring, crash analysis, and management (SSH, RCON, Pterodactyl). The instructions do not themselves instruct arbitrary file exfiltration, but configuration examples include sensitive paths and secrets (e.g., ~/.ssh/id_rsa, rcon password, pterodactyl api_key, telegram bot_token, GEMINI_API_KEY). Running the CLI with such config will cause the tool to read local keys, connect to remote services, and access server logs — expected for the purpose, but the guidance does not explicitly warn about secure handling of these secrets or where the tool sends AI analysis results (it names Gemini but doesn't define how data is transmitted/stored).
Install Mechanism
Install uses npm (npm install -g craftclose) to provide the craftclose binary — an expected and traceable mechanism for a Node.js CLI. This is moderate-risk in general (you must trust the npm package source) but is proportional to the functionality and consistent with the skill's purpose. No downloads from arbitrary URLs or archive extraction are specified.
Credentials
The skill metadata lists no required env vars, yet the SKILL.md config/example expects multiple sensitive secrets (GEMINI_API_KEY, RCON password, Pterodactyl api_key, Telegram bot_token, Discord webhook, and SSH key path). Those credentials are necessary for full functionality but are not declared in the skill metadata's requires/primaryEnv fields. This lack of declaration obscures the credential surface and prevents upfront review of what secrets will be used. That mismatch is a security concern.
Persistence & Privilege
The skill is not always-on and is user-invocable (normal), but it is designed to run continuous monitoring and to perform management actions (auto-restart via SSH/RCON/Pterodactyl). If invoked autonomously or run with supplied credentials, it can perform stateful actions on servers and create local state (SQLite history). Combined with the missing declaration of sensitive env vars, this increases the potential blast radius and warrants caution before granting credentials or allowing autonomous runs.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install craftclose
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /craftclose 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial release — AI-powered Minecraft server monitoring with crash detection, auto-restart, smart alerts, BYOK Gemini AI analysis, and Pterodactyl panel integration.
元数据
Slug craftclose
版本 0.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

CraftClose 是什么?

AI-powered Minecraft server monitoring with crash detection, auto-restart, and smart alerts. Use when: monitoring Minecraft servers, diagnosing crashes, sett... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 102 次。

如何安装 CraftClose?

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

CraftClose 是免费的吗?

是的,CraftClose 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

CraftClose 支持哪些平台?

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

谁开发了 CraftClose?

由 Bejie Paulo Aclao(@ginhooser-cyber)开发并维护,当前版本 v0.1.0。

💬 留言讨论