360 Secure SkillHub
360 安全技能中心

Rev Tool

该 Skill 提供 rev-tool 命令,从文件参数或标准输入逐行读取文本,将每行字符顺序反转后输出。适用于文本变换等场景,依赖 bash/python3 运行时与本地文件系统,未声明网络、外部 API 或额外包依赖。

dinghaibin
dinghaibin
热度 30.22
最近更新 2026-05-11 17:47:06
分类:效率依赖:代码执行 / 读写文件应用场景:数据处理 / 自动化脚本

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add rev-tool
Metadata
name
rev-tool
description
Reverse each line of text character by character. Use for text analysis, palindrome detection, and data format conversion.

Rev - Character Reversal Utility

Reverse the characters on each line of input, mirroring the content left-to-right. Simple tool for text transformation and analysis tasks.

Usage

rev-tool [file...]

Reads from stdin when no file is specified. Each line is independently reversed character by character.

Examples

# Reverse lines in a file
rev-tool text.txt

# Reverse piped input
echo "stressed" | rev-tool