← 返回 Skills 市场
Wakapi Sync
作者
cosformula
· GitHub ↗
· v0.2.1
773
总下载
0
收藏
0
当前安装
3
版本数
在 OpenClaw 中安装
/install wakapi-sync-skill
功能描述
Daily Wakapi (WakaTime-compatible) summary → local CSV files. Fetch today stats and append/update CSVs for totals, top projects, and top languages.
安全使用建议
This skill appears to do what it says. Before installing, ensure WAKAPI_URL points to a trusted Wakapi server you control and keep WAKAPI_API_KEY secret. Provide an OUT_DIR you expect the skill to write to (it creates directories/files there). Confirm your agent environment has Node.js 18+ and that you are comfortable with the agent being able to invoke the script (autonomous invocation is allowed by default). If you want extra caution, run the script manually once in a sandboxed environment to verify behavior and outputs before enabling automated runs.
功能分析
Type: OpenClaw Skill
Name: wakapi-sync-skill
Version: 0.2.1
The skill fetches Wakapi statistics and writes them to local CSV files. It is classified as suspicious due to a significant path traversal vulnerability in `scripts/wakapi-daily-summary.mjs`. The `WAKAPI_OUT_DIR` environment variable, which dictates the output directory for CSV files, is used directly with `path.join` without sufficient sanitization. This could allow an attacker to write files to arbitrary locations on the file system (e.g., `../../etc/malicious.csv`) if they can control this environment variable, potentially leading to unauthorized file modification or creation.
能力评估
Purpose & Capability
Name/description, declared env vars, and bundled script all align: the script queries Wakapi endpoints and produces CSVs in the configured output directory. Nothing requested (binaries, extra envs, or config paths) is unrelated to the stated purpose.
Instruction Scope
SKILL.md instructs running the included Node script and documents the exact env vars used. The script only calls the Wakapi endpoints, processes JSON, and reads/writes CSVs under WAKAPI_OUT_DIR—no unexpected file reads, shell evals, or external endpoints are present.
Install Mechanism
This is an instruction-only skill with a bundled Node script; there is no install spec or external downloads. It requires Node.js 18+ in the runtime, which is reasonable for an .mjs script.
Credentials
Only three required env vars are declared and used: WAKAPI_URL, WAKAPI_API_KEY, and WAKAPI_OUT_DIR (plus optional TOP_N vars). These directly map to the script's behavior. The primaryEnv is set to WAKAPI_OUT_DIR (a non-secret path); the secret API key is requested and justified by the API calls.
Persistence & Privilege
always is false and the skill does not modify other skills or system-wide settings. It only writes CSV files under the specified output directory, which is expected for its function.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install wakapi-sync-skill - 安装完成后,直接呼叫该 Skill 的名称或使用
/wakapi-sync-skill触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.2.1
Release v0.2.1
v0.1.1
Release v0.1.1
v0.1.0
wakapi-sync-skill v0.1.0
- Initial release.
- Fetches today's usage stats from Wakapi (WakaTime-compatible server).
- Outputs or updates three CSV files: daily totals, top projects, and top languages.
- Highly configurable via environment variables for API URL, key, output directory, and row limits.
- Supports Node.js 18+ environments.
元数据
常见问题
Wakapi Sync 是什么?
Daily Wakapi (WakaTime-compatible) summary → local CSV files. Fetch today stats and append/update CSVs for totals, top projects, and top languages. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 773 次。
如何安装 Wakapi Sync?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install wakapi-sync-skill」即可一键安装,无需额外配置。
Wakapi Sync 是免费的吗?
是的,Wakapi Sync 完全免费(开源免费),可自由下载、安装和使用。
Wakapi Sync 支持哪些平台?
Wakapi Sync 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Wakapi Sync?
由 cosformula(@cosformula)开发并维护,当前版本 v0.2.1。
推荐 Skills