📦 Cut

v1.0.0

提取 specific fields or columns from text files using delimiter-based parsing. Use when you need to select columns from CSV, TSV, or delimited data.

0· 0·0 当前·0 累计
dinghaibin 头像by @dinghaibin (BIN)
0
安全扫描
VirusTotal
Pending
查看报告
OpenClaw
可疑
high confidence
The README advertises a full-featured cut-like 命令行工具, but the included code is a tiny script that only prints the first five characters of each stdin line and provides no argument parsing or 安装ation — the pieces don't match.
评估建议
此包不一致:文档承诺提供带 flag 的类 cut CLI,但附带的脚本仅打印每行 stdin 的前五个字符,未实现任何 flag 或安装。请勿依赖该 skill 进行字段/列提取。如需 cut 工具,请使用系统 'cut'(coreutils),或请作者:(1) 添加参数解析并实现文档所述功能,(2) 提供安装封装使 'cut-tool' 可在 PATH 中使用,(3) 明确记录预期的输入/输出行为。从安全角度看,无明显秘密或网络操作,但差异表明打包草率或不完整——修复前视为不可信。...
详细分析 ▾
用途与能力
The 技能 clAIms delimiter-based field 提取ion, -f/-d/-c flags, complement selection, and a 'cut-工具' 命令行工具, but the sole script ignores arguments and simply prints the first five characters of each 输入 line. There is no wr应用er or 安装ation that would provide the 命令行工具 named in documentation.
指令范围
技能.md instructs 运行ning 'cut-工具' with various flags and operating on files, but the 运行time artifact reads only stdin and implements only line[:5]. The instructions therefore overreach the actual behavior and could mislead users about what data will be processed or how.
安装机制
There is no 安装 spec (instruction-only plus a script file). This reduces attack surface, but also means the documented 'cut-工具' command is not provided; the script sits in scripts/cut.py and would need to be 安装ed or invoked directly to 运行.
凭证需求
The 技能 请求s no 环境 variables, no 凭证s, and references no config paths — its resource 请求s are minimal and proportionate to a simple text-processing 工具.
持久化与权限
The 技能 does not 请求 persistent or elevated privileges (always:false) and does not modify other 技能s or 系统-wide configuration.
安全有层次,运行前请审查代码。

运行时依赖

无特殊依赖

安装命令

点击复制
官方npx clawhub@latest install cut-tool
镜像加速npx clawhub@latest install cut-tool --registry https://cn.longxiaskill.com

技能文档

Cut 工具 - Field 提取ion

提取 columns and fields from delimited text files by specifying delimiter and field position. Ideal for processing 记录 files, CSV data, and structured text.

Quick 启动 cut-工具 -d ',' -f 1,3 data.csv

Features 提取 fields by position (-f 1,3,5) Custom delimiter (-d for comma, tab, space) Complement selection (everything except specified fields) 输出 range of characters (-c 1-10) Examples # 提取 first and third columns from CSV cut-工具 -d ',' -f 1,3 data.csv

# 提取 characters 1-10 from each line cut-工具 -c 1-10 file.txt

# Use tab as delimiter cut-工具 -f 2-4 file.tsv

数据来源ClawHub ↗ · 中文优化:龙虾技能库