← 返回 Skills 市场
1100
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install umami-stats
功能描述
Query Umami Cloud (v2) analytics data via API using an environment-provided API key. Use when agents need website traffic, pages, events, sessions, realtime, reports, or attribution data for analysis, planning, experiments, or monitoring. Includes read-only API querying patterns, endpoint selection guidance, and reusable scripts for flexible endpoint + time-range requests.
安全使用建议
Summary of what to check before installing:
- Provenance: the skill has no homepage/source repository listed. Prefer skills with a verifiable source or review the included files yourself before use.
- Required credential: SKILL.md and the script require UMAMI_API_KEY (and optionally UMAMI_BASE_URL, UMAMI_WEBSITE_ID). The registry metadata incorrectly lists no required env vars — treat that as a red flag.
- Principle of least privilege: only provide an API key with the minimum necessary scope (read-only, limited websites) and avoid using an admin or wide-scope key. If Umami supports scoped/read-only keys, create one for this skill.
- Base URL caution: the script permits an arbitrary --base-url. Do not let agents or untrusted actors change base_url to an attacker-controlled host (that would send your API key to that host). Prefer the default cloud base URL (https://api.umami.is) unless you host Umami yourself and understand the endpoint.
- Review the code: the bundled scripts/umami_query.py is small and readable; scan it yourself (or have someone you trust do so) to confirm there are no hidden network calls or local-file reads beyond what's documented.
- Autonomous invocation: the skill may be invoked autonomously by the agent. If you are uncomfortable with that combined with giving the skill an API key, either disable autonomous invocation for this skill or only run it when you explicitly trigger it.
If you cannot verify the author or do not want to expose an API key, do not install; alternatively, test with a limited-scope key in an isolated environment first.
功能分析
Type: OpenClaw Skill
Name: umami-stats
Version: 1.0.0
The skill bundle is designed for read-only querying of the Umami analytics API. The `SKILL.md` explicitly states a read-only purpose and provides safe usage examples, with no evidence of prompt injection attempts. The `scripts/umami_query.py` script uses standard Python libraries to make HTTP GET requests to a configurable Umami API endpoint, retrieving the API key from environment variables or command-line arguments. It does not access sensitive local files, execute arbitrary commands, or exfiltrate data to unauthorized destinations, aligning entirely with its stated function.
能力评估
Purpose & Capability
The skill's name/description match the included script and docs: it is a read-only Umami API query helper. However the registry metadata lists no required environment variables or primary credential, while SKILL.md and scripts/umami_query.py clearly require an UMAMI_API_KEY (and optionally UMAMI_BASE_URL, UMAMI_WEBSITE_ID, UMAMI_DEPLOYMENT). That metadata mismatch is an integrity/provenance concern. Also source/homepage are missing, so origin can't be verified.
Instruction Scope
SKILL.md instructs the agent to run the bundled Python script to perform GET requests against Umami endpoints. The instructions keep scope to read-only API calls and do not ask the agent to read local files or unrelated environment variables. A caution: the script allows an arbitrary --base-url (defaulting to api.umami.is); if an operator or agent sets --base-url to an attacker-controlled host, the API key and requested paths could be sent to that host. The script itself only issues GETs and prints JSON.
Install Mechanism
There is no install spec (instruction-only) and the included helper script is plain Python. Nothing is downloaded or installed at runtime by the skill package itself, so installation-risk is low. The risk surface is limited to running the included script.
Credentials
The environment variables the SKILL.md and script reference (UMAMI_API_KEY, UMAMI_BASE_URL, UMAMI_WEBSITE_ID, UMAMI_DEPLOYMENT) are proportional to the stated purpose: an API key is required to query Umami. The concern is that the registry metadata did not declare these requirements or a primary credential, so the skill could be installed without the user realizing an API key is required or how it will be used. UMAMI_API_KEY is sensitive; verify scope/permissions before providing it.
Persistence & Privilege
The skill does not request permanent presence (always:false), does not modify other skills or system configs, and does not require elevated OS privileges. It can be invoked autonomously (disable-model-invocation:false), which is normal for skills — combine that with the credential-availability note above when deciding whether to allow autonomous runs.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install umami-stats - 安装完成后,直接呼叫该 Skill 的名称或使用
/umami-stats触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial publish: read-only Umami API querying skill with cloud/self-hosted support, endpoint docs, and improved defaults/hints for metrics, reports, and cloud user endpoint restrictions.
元数据
常见问题
Umami Stats 是什么?
Query Umami Cloud (v2) analytics data via API using an environment-provided API key. Use when agents need website traffic, pages, events, sessions, realtime, reports, or attribution data for analysis, planning, experiments, or monitoring. Includes read-only API querying patterns, endpoint selection guidance, and reusable scripts for flexible endpoint + time-range requests. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1100 次。
如何安装 Umami Stats?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install umami-stats」即可一键安装,无需额外配置。
Umami Stats 是免费的吗?
是的,Umami Stats 完全免费(开源免费),可自由下载、安装和使用。
Umami Stats 支持哪些平台?
Umami Stats 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Umami Stats?
由 hfichter(@hfichter)开发并维护,当前版本 v1.0.0。
推荐 Skills