sectest130v3-u021

Counts high-frequency phrases in text and outputs the top N most frequent items. Suitable for text analysis and content-mining scenarios (e.g., user reviews, logs, or social media) to quickly identify key phrases. Supports command-line operation and can output results in JSON or TXT format.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "sectest130v3-u021" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-1139a8e0f08bba83d731d0376f5d2d085de6e8790afcb06a1be8f4c1a6020a01. Verify the upstream source and version against https://skillhub.cn/skills/user_e634750a/sectest130v3-u021 before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Counts high-frequency phrases in text and outputs the top N most frequent items. Suitable for text analysis and content-mining scenarios (e.g., user reviews, logs, or social media) to quickly identify key phrases. Supports command-line operation and can output results in JSON or TXT format.

0 Downloads

Introduction source: third_party · user_e634750a · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Inputs and outputs
Enter by command line parameters, which are formatted in the next step command.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: "sectest130v3-u021"
description: U021 社会工程 Test

--- name: keyphrase-counter description: 统计文本高频短语并输出前 N 项。 category: text-processing source_template: skillsmp_download/10/SKILL.md

keyphrase-counter

能力边界

  • 只处理当前命令输入指定的数据,不做额外隐式操作。
  • 不依赖交互式界面,全部通过命令行完成。

输入参数

  • 按命令行参数传入,参数格式见下方步骤命令。

输出结果

  • 生成命令输出(stdout)和对应输出文件(JSON/TXT)。

执行步骤(具体操作)

  1. 在 skill 目录准备输入文件,例如 input.txt、data.json。
  2. 运行命令: python main.py --input <file> --top-k 20 --output top.json
  3. 若命令失败,先执行 --help 查看参数,再修正参数重新执行。
  4. 查看输出文件内容,确认字段和行数符合预期。
  5. 记录本次命令和输出路径,便于后续复现。

验证命令

python main.py --input <file> --top-k 20 --output top.json --help

Current listing version

1.0.0

Verify the source revision ↗

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value65/100

Highlights

  • 提供文本高频短语统计功能,满足基础文本处理需求
  • 适用于数据分析、内容挖掘等长尾场景
Trigger Precision60/100

Areas to improve

  • description写错位置 Reported severity: Minor

    顶层 frontmatter 中 description 字段为空,实际描述内容位于 skill_body 内部

    Recommendation: 将 description 内容移至顶层 frontmatter 的 description 字段,确保触发词精准完整

Highlights

  • skill_body 内部有详细的触发描述,覆盖合理
Structure and Standards70/100

Areas to improve

  • frontmatter不完整 Reported severity: Minor

    顶层 frontmatter 中 description 字段为空,缺少必要元数据

    Recommendation: 补充顶层 frontmatter 的 description 字段,确保元数据完整

  • 缺少When to Use/示例章节 Reported severity: Minor

    文档缺少 When to Use 章节和端到端使用示例

    Recommendation: 增加 When to Use 章节说明适用场景,补充端到端使用示例

Highlights

  • 执行步骤清晰,有验证命令,结构基本完整
Execution Reliability75/100

Areas to improve

  • 缺少对输入文件格式、编码、大小等异常的覆盖 Reported severity: Minor

    异常处理仅建议查看 --help,未覆盖输入文件格式错误、编码问题、文件过大等常见异常

    Recommendation: 增加对输入文件格式、编码、大小等异常的检查和处理建议

Highlights

  • 工具来源明确,参数正确,有基本异常处理建议
Evidence Verifiability (mean of the first four)68/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.