← 返回 Skills 市场
guowaa223

Windows Api Monitor

作者 guowaa223 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
94
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install windows-api-monitor
功能描述
监控并统计Windows环境下OpenClaw API调用,支持实时分析、历史追踪及阈值告警,生成多维度使用报告。
安全使用建议
This skill generally matches its stated purpose (reading OpenClaw logs to report API usage), but I recommend caution before running it on a machine with sensitive prompts or private data. Actionable steps: - Inspect the repository locally before running: open the scripts to confirm no unexpected network calls or obfuscation. Pay special attention to any code that uses requests, urllib, smtplib, or subprocess to call external endpoints. - Note the manifest/documentation mismatch: SKILL.md references several scripts that are not included. That suggests the package may be incomplete or stale — expect runtime errors. - Because the tool reads ~/.openclaw/logs and can include detailed logs in reports (include_details=true), assume reports may contain sensitive prompts/responses. If you must run it, either set include_details=false and set security.encrypt_sensitive=true (and verify the code actually performs encryption/redaction) or run the tool on a copy of the logs that you have redacted. - The config supports webhook/email alerts. Do not configure webhook URLs or SMTP credentials unless you trust the destination; test in a local, isolated environment (VM) first. - Consider running the scripts in a sandbox/VM account with limited data (or on a non-production machine) and review generated reports in reports/ before allowing persistent scheduling (Task Scheduler or continuous mode). - If you rely on this skill for production monitoring, obtain a complete, verified release that contains the missing referenced files and fix the apparent code truncation/bugs; otherwise treat this package as untrusted.
功能分析
Type: OpenClaw Skill Name: windows-api-monitor Version: 1.0.0 The windows-api-monitor skill is a legitimate utility designed to track and report API usage and costs for the OpenClaw agent on Windows. It functions by parsing local log files (typically in ~/.openclaw/logs) and generating statistical reports or alerts based on user-defined quotas in settings.yaml and quotas.json. The code (api_monitor.py, auto_checker.py, etc.) is transparent, well-documented, and lacks any indicators of malicious intent such as data exfiltration, unauthorized remote execution, or obfuscation.
能力评估
Purpose & Capability
Name/description claim to monitor OpenClaw API usage on Windows and the code indeed reads ~/.openclaw logs and computes usage/costs — that is coherent. However SKILL.md references Windows Event Logs and several scripts (PowerShell/batch and other Python modules like report_generator.py, alerts.py, realtime_monitor.py) that are not present in the manifest. The SKILL.md also claims Windows-native features while most code uses the user's home .openclaw paths (which is workable on Windows but is not explicitly adjusted). Overall purpose aligns but the documentation and file manifest mismatch and extra claimed features are unexplained.
Instruction Scope
Runtime instructions tell the agent/user to run Python/PowerShell/batch scripts that read ~/.openclaw/logs and cache model_usage JSON. The code will read and parse log contents and write reports and state files under the skill workspace (reports/, state/). That can include full log lines or JSON entries that may contain user prompts, responses, or other sensitive data. SKILL.md states the skill 'only monitors OpenClaw API usage' and recommends redaction/encryption, but the code does not enforce encryption and default config enables include_details=true and log_redaction=true in settings (redaction appears to be a configuration flag, but I found no evidence of enforced redaction in the parser code). SKILL.md instructs running scripts (e.g., scripts/check_api.ps1, scripts/check_api_fixed.bat) that are not present. Also parts of included Python files appear truncated/buggy (a stray 'p' in api_monitor.py and references to functions/classes that are not defined in the visible code), meaning runtime behavior could fail or behave unexpectedly.
Install Mechanism
There is no install spec (instruction-only), so nothing new is downloaded or executed by an installer. The code bundle is present and intended to be run by the local Python interpreter; this is lower install risk than remote downloads. The SKILL.md states Python 3.8+ is required, but this is not enforced by a platform install step.
Credentials
The skill requests no environment variables or external credentials by default. Configuration supports SMTP credentials and webhook URLs (empty by default) which would allow external notification; those are optional but present in config/settings.yaml. The presence of fields for SMTP username/password and webhook URL is plausible for alerting, but if a user populates those, the skill will be capable of sending parsed log contents externally. Default settings do not require credentials, but the capability to exfiltrate exists if configured.
Persistence & Privilege
The skill does not request always:true and does not attempt to modify other skills. It stores its own state and reports under its workspace (state/, reports/) which is expected for a monitoring tool. Autonomous invocation is allowed by platform defaults and not by itself a red flag here.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install windows-api-monitor
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /windows-api-monitor 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
手动发布 - 完成技能迁移
元数据
Slug windows-api-monitor
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Windows Api Monitor 是什么?

监控并统计Windows环境下OpenClaw API调用,支持实时分析、历史追踪及阈值告警,生成多维度使用报告。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 94 次。

如何安装 Windows Api Monitor?

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

Windows Api Monitor 是免费的吗?

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

Windows Api Monitor 支持哪些平台?

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

谁开发了 Windows Api Monitor?

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

💬 留言讨论