360 Secure SkillHub
360 安全技能中心

text-util

通过本地 shell 脚本对命令行文本执行大写、小写、反转,以及字符、单词和行数统计;无外部依赖,不涉及网络或外部服务。

分类:效率
terrycarter1985
terrycarter1985
热度 11.85
最近更新 2026-08-16 10:53:13

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add terrycarter1985/text-util
兼容性
通用兼容
联网要求
不联网
数据出网
数据不出本机
Metadata
name
text-util
description
Lightweight text transformation utilities. Uppercase, lowercase, reverse, and count characters/words/lines in any text input. Use when a prompt asks to convert case, reverse a string, or quickly count elements without writing a script.
metadata
{"openclaw":{"emoji":"📝"}}

Text Util

Quick text transformations from the command line.

Commands

Command Description
upper <text> Convert to UPPERCASE
lower <text> Convert to lowercase
reverse <text> Reverse character order
count <text> Count chars, words, lines

Example

$ ./scripts/run.sh upper "hello world"
HELLO WORLD

$ ./scripts/run.sh count "hello world\nfoo bar"
chars: 19  words: 4  lines: 2

Install

No dependencies. Run the shell script directly.