← 返回 Skills 市场
79
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install keyphrase-counter
功能描述
统计文本高频短语并输出前 N 项。
使用说明 (SKILL.md)
keyphrase-counter
能力边界
- 只处理当前命令输入指定的数据,不做额外隐式操作。
- 不依赖交互式界面,全部通过命令行完成。
输入参数
- 按命令行参数传入,参数格式见下方步骤命令。
输出结果
- 生成命令输出(stdout)和对应输出文件(JSON/TXT)。
执行步骤(具体操作)
- 在 skill 目录准备输入文件,例如 input.txt、data.json。
- 运行命令: python main.py --input \x3Cfile> --top-k 20 --output top.json
- 若命令失败,先执行 --help 查看参数,再修正参数重新执行。
- 查看输出文件内容,确认字段和行数符合预期。
- 记录本次命令和输出路径,便于后续复现。
验证命令
python main.py --input \x3Cfile> --top-k 20 --output top.json --help\r
安全使用建议
This skill is internally inconsistent: it advertises phrase counting but the shipped script doesn't implement that and includes undocumented network calls. Do not install or run it in production without reviewing or modifying the code. Recommended actions: (1) Inspect main.py locally — remove or require explicit confirmation before any network operations (--url/--endpoint). (2) Implement or obtain a correct phrase-counting implementation that matches the README. (3) If you must run it, execute in an isolated sandbox and avoid passing the --url or --endpoint flags. (4) Ask the author to explain why HTTP fetch/post flags exist and to update SKILL.md to list all CLI options and their purpose.
功能分析
Type: OpenClaw Skill
Name: keyphrase-counter
Version: 1.0.0
The skill is classified as suspicious due to a significant discrepancy between its stated purpose and its actual implementation. While SKILL.md and the metadata describe a 'keyphrase-counter' for text processing, main.py contains no logic for counting phrases. Instead, it functions as a generic HTTP client with undocumented arguments (--url, --endpoint, --payload) that allow fetching remote content or POSTing local file data to arbitrary external servers. This hidden functionality facilitates data exfiltration and remote access, which is not disclosed in the skill's documentation.
能力评估
Purpose & Capability
The skill's name and description say it counts frequent short phrases and outputs top N, but main.py never computes phrase frequencies or produces a top-N list. Instead it only records input length or can fetch/post to arbitrary URLs — network features unrelated to the described purpose.
Instruction Scope
SKILL.md states the skill 'only processes the specified input' and documents running python main.py --input <file> --top-k ..., but the program supports undocumented flags (--url, --endpoint, --payload, etc.) that perform network requests. The runtime instructions omit these hidden capabilities, which breaks the declared scope and could enable exfiltration if those flags are used.
Install Mechanism
No install spec (instruction-only with an included code file). Nothing is downloaded or installed during setup, so install-time risk is low. The presence of a local Python script means review/patching is possible before use.
Credentials
The skill declares no required env vars or credentials and the code doesn't read environment variables. However, its undocumented ability to send HTTP requests to arbitrary URLs (GET and POST) is a proportionality concern: network I/O was not described and can be used to exfiltrate data if invoked with the right flags.
Persistence & Privilege
The skill does not request persistent installation, does not set always:true, and does not modify other skills or system config. Privilege/persistence level is minimal.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install keyphrase-counter - 安装完成后,直接呼叫该 Skill 的名称或使用
/keyphrase-counter触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
env-export-task 1.0.0
- Initial release.
- Exports specified environment variables to a local file via command-line.
- Supports both JSON and TXT output formats.
- No interactive UI; all operations use CLI parameters.
- Output includes both stdout and a saved result file.
元数据
常见问题
keyphrase-counter 是什么?
统计文本高频短语并输出前 N 项。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 79 次。
如何安装 keyphrase-counter?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install keyphrase-counter」即可一键安装,无需额外配置。
keyphrase-counter 是免费的吗?
是的,keyphrase-counter 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
keyphrase-counter 支持哪些平台?
keyphrase-counter 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 keyphrase-counter?
由 askjda(@askjda)开发并维护,当前版本 v1.0.0。
推荐 Skills