← Back to Skills Marketplace
94
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install windows-api-monitor
Description
监控并统计Windows环境下OpenClaw API调用,支持实时分析、历史追踪及阈值告警,生成多维度使用报告。
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install windows-api-monitor - After installation, invoke the skill by name or use
/windows-api-monitor - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
手动发布 - 完成技能迁移
Metadata
Frequently Asked Questions
What is Windows Api Monitor?
监控并统计Windows环境下OpenClaw API调用,支持实时分析、历史追踪及阈值告警,生成多维度使用报告。 It is an AI Agent Skill for Claude Code / OpenClaw, with 94 downloads so far.
How do I install Windows Api Monitor?
Run "/install windows-api-monitor" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Windows Api Monitor free?
Yes, Windows Api Monitor is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Windows Api Monitor support?
Windows Api Monitor is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Windows Api Monitor?
It is built and maintained by guowaa223 (@guowaa223); the current version is v1.0.0.
More Skills