Simple Text Processing Skill for Agent

Preface

In content creation or script organization, it is often necessary to remove whitespace, change case, count words, or highlight keywords in a piece of raw text. These operations are not complex in themselves, but if you have to repeatedly explain the rules in the conversation every time, it wastes tokens and easily leads to missed steps. By writing “how to process” and “what the input parameters look like” into a Skill, the Agent reads SKILL.md and executes according to the same set of conventions, which is more stable than temporary verbal instructions.

Below is an introduction to the SkillHub community skill @user_7f6fb458/easytext (page display name <s>123, package identifier simple-text-handle, skill name “Simple Text Processing”). It does not make external API calls (requires_api_key=false) and only defines JSON input parameters and five text operations, making it suitable as a lightweight tool layer in content-oriented workflows.

What is this

@user_7f6fb458/easytext is a community Skill listed on SkillHub by the publisher user_7f6fb458. The current version is 1.0.8, categorized as content-creation, with a source of community.

In one sentence: It completes four types of basic text processing on the Agent side: cleaning, case conversion, counting, and keyword highlighting, with no additional dependency instructions. SkillHub Page: https://www.skillhub.cn/skills/user_7f6fb458/easytext.

Core Features

The capabilities come from the SKILL.md within the package, verified as follows.

  1. trim: Removes leading/trailing whitespace, consecutive extra spaces, and extra line breaks, while preserving normal paragraph spacing.
  2. upper: Converts English letters to uppercase; Chinese characters, symbols, and numbers remain unchanged.
  3. lower: Converts English letters to lowercase; Chinese characters, symbols, and numbers remain unchanged.
  4. count: Returns the total character count (including punctuation and spaces) and the count of pure Chinese characters.
  5. search: Marks all occurrences of keyword in the text (highlights them).

The request body is JSON, with the following field conventions:

Parameter Name Type Required Description
content string Yes The original text to be processed
opt string Yes trim / upper / lower / count / search
keyword string Required when search The keyword to match

Installation and Activation

The installation method provided on the official page is: Let the Agent refer to the SkillHub installation documentation to install the coordinate @user_7f6fb458/easytext. Documentation URL: https://skillhub.cn/install/skillhub.md.

If the skillhub CLI is already installed on your machine, you can install the skill into the current Agent’s skills directory (you must use --dir, otherwise the default ./skills/ might not be recognized). Example:

command -v skillhub && skillhub --version

If the CLI is not installed, you can run the full installation script according to the SkillHub documentation; if using only the CLI, use the --cli-only parameter mentioned in the documentation.

To install this skill:

skillhub install easytext --namespace user_7f6fb458 --dir <your Agent skills directory>

Common paths (excerpted from SkillHub installation documentation, subject to your actual environment):

  • Cursor: ~/.cursor/skills/
  • Claude Code: ~/.claude/skills/
  • Codex: ~/.codex/skills/ or .agents/skills/ under the project

After installation is complete, restart or refresh the Agent as required by your client to ensure SKILL.md is loaded. This Skill is an instruction-based convention and does not depend on the skillhub run online service (non-serviced skills cannot be executed remotely via run).

Typical Usage

Once the skill is enabled, describe the opt to be performed in natural language, or directly provide JSON consistent with SKILL.md. The example inside the package (text space and line break removal) is as follows.

Request:

{
  "content": "  测试  Hello  \n\n  Demo  ",
  "opt": "trim"
}

The Agent should clean the content according to the trim rules and return the processed result. Other operations work similarly: pass upper / lower / count, or provide keyword when opt is search.

Applicable Scenarios and Notes

Who it is for: Developers who need to repeatedly perform the same set of lightweight text processing in conversations or content pipelines but do not want to write separate scripts or connect to third-party APIs; categorized as content-creation, consistent with manuscript organization and material preprocessing scenarios.

Limitations and Notes:

  • Covers only the five operations listed above, excluding advanced capabilities such as tokenization, translation, or batch regex replacement.
  • The SKILL.md in the package may be truncated after the example section; for complex edge cases, refer to the complete file in your local installation package.
  • SkillHub Statistics (as of crawl): Rating 100000, Downloads 885, Installs 0; No API Key required. The page title is “123”, which coexists with the package name “Simple Text Processing”. When searching, using the coordinate easytext or @user_7f6fb458/easytext is the most accurate.

Conclusion

<s>123 / easytext consolidates common small text operations into fixed input parameters and rules, making it suitable to be attached to an Agent as a dependency-free content assistance layer. To install or view metadata, please open the official SkillHub page: https://www.skillhub.cn/skills/user_7f6fb458/easytext.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye