📦 Join Tool — Join 工具

v1.0.0

Join lines of text from multiple files based on a common field. Use for relational data operations similar to SQL JOIN on text files.

0· 0·0 当前·0 累计
dinghaibin 头像by @dinghaibin (BIN)
0
安全扫描
VirusTotal
无害
查看报告
OpenClaw
可疑
high confidence
该技能的文档描述了一个基于字段的、类似 SQL 的 join 操作,并提供了选项,但所包含的脚本只是简单地将行合并——声明的功能与实际实现不符。
评估建议
This 技能's documentation promises a field-aware join 实用工具 but the included script only concatenates cor响应ing lines from two files. That mismatch means you should not rely on it for real join semantics — it can produce incorrect 结果s. Before 安装ing or using it: (1) review and test scripts/join.py on non-sensitive sample data; (2) confirm whether the author intended this simplified behavior or whether the full implementation is missing; (3) if you need true JOIN behavior, use a well-known 工具 (e.g., U...
详细分析 ▾
用途与能力
名称/描述与 SKILL.md 声称支持按字段选择、分隔符及选项(-1、-2、-t、-a)的文本文件 JOIN。但提供的脚本(scripts/join.py)仅读取两个文件并简单对应行拼接(zip),完全不支持字段、分隔符、选项、排序或正确的 join 语义,明显货不对板。
指令范围
技能.md instructs usage of a 'join-工具' with many options and examples implying complex behavior. The 运行time artifact is a minimal script that ignores those options. The instructions thus overpromise and could cause users to 运行 it expecting SQL-like joins; there is no 图形界面dance about limitations or fallback behavior.
安装机制
No 安装 spec is provided (instruction-only), which is low-risk. However a code file is bundled (scripts/join.py). The 技能.md references an executable 'join-工具' while the repo contAIns 'join.py' — another coherence problem but not an 安装ation risk by itself.
凭证需求
No 环境 variables, 凭证s, or config paths are 请求ed. The 技能 does not 访问 network, secrets, or other 系统 resources in the provided code.
持久化与权限
未请求特殊持久化或提升权限(always: false)。该技能可由用户调用,也可自主调用(默认),属正常情况,本身并无问题。
安全有层次,运行前请审查代码。

运行时依赖

无特殊依赖

安装命令

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

技能文档

Join - 关系数据运算符 按公共连接字段合并两个已排序文件中的行。类似数据库 JOIN 操作,但作用于带字段分隔符的纯文本文件。

用法 join-tool [选项] file1 file2

选项 -1 N:以 file1 的第 N 字段为连接键 -2 N:以 file2 的第 N 字段为连接键 -t char:以 char 为字段分隔符 -a 1:显示 file1 中无匹配的行

示例 join-tool users.txt roles.txt join-tool -t ',' -1 2 -2 1 customers.csv orders.csv

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