← Back to Skills Marketplace
79
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install keyphrase-counter
Description
统计文本高频短语并输出前 N 项。
README (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
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install keyphrase-counter - After installation, invoke the skill by name or use
/keyphrase-counter - Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Frequently Asked Questions
What is keyphrase-counter?
统计文本高频短语并输出前 N 项。 It is an AI Agent Skill for Claude Code / OpenClaw, with 79 downloads so far.
How do I install keyphrase-counter?
Run "/install keyphrase-counter" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is keyphrase-counter free?
Yes, keyphrase-counter is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does keyphrase-counter support?
keyphrase-counter is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created keyphrase-counter?
It is built and maintained by askjda (@askjda); the current version is v1.0.0.
More Skills