← 返回 Skills 市场
splitsym
作者
TurinFohlen
· GitHub ↗
· v1.0.0
· MIT-0
44
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install splitsym
功能描述
Extract comments and split symbols from source files. Use when users want to extract inline comments, docstrings, or block comments from code files to unders...
安全使用建议
This skill appears to do what it says: it reads the target source file and a local symbols.json to extract comments/docstrings and prints snippets. It does not contact the network or request secrets. Two practical notes before installing or running: (1) the tool expects a config at ~/.config/splitsym/symbols.json by default — either create that file or invoke with --config pointing to the included symbols.json, and (2) the config contains regex patterns: only use/trust configs from sources you control because malicious or pathological regexes could cause unexpected behavior or processing delays on very large files.
功能分析
Type: OpenClaw Skill
Name: splitsym
Version: 1.0.0
The 'splitsym' skill is a legitimate utility designed to extract comments and docstrings from source code files. The Python implementation (splitsym.py) uses standard libraries to perform regex-based pattern matching against a configurable set of rules (symbols.json). There are no indicators of data exfiltration, malicious command execution, or prompt injection; the tool's behavior is entirely consistent with its documentation.
能力评估
Purpose & Capability
Name/description match the shipped files: splitsym.py implements a comment/docstring extractor and symbols.json contains the extraction rules. There are no unrelated env vars, binaries, or cloud credentials requested.
Instruction Scope
SKILL.md instructs running the tool against a file and (optionally) a config; the implementation only reads the target file and a local config and prints comment snippets. It does not read other system files, environment variables, or send data to external endpoints.
Install Mechanism
This is an instruction-only/standalone Python script with no install spec. There is no remote download, package install, or archive extraction specified in the metadata.
Credentials
No environment variables, credentials, or config paths beyond a user-provided config file (~/.config/splitsym/symbols.json) are required. The default config location is reasonable for a CLI tool and is not excessive.
Persistence & Privilege
The skill does not request persistent/always-on presence and does not modify other skills or global agent settings. It runs only when invoked.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install splitsym - 安装完成后,直接呼叫该 Skill 的名称或使用
/splitsym触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
splitsym 1.0.0 – Initial release
- Extracts inline comments, docstrings, and block comments from source code files.
- Supports multiple file types and comment styles (e.g., Python, C, JavaScript, SQL, HTML, OCaml).
- Allows extracting comments from specific line ranges.
- Configurable with custom symbols via a JSON config file.
- Outputs right-aligned line numbers, preserves indentation, and marks block comments with a PAIR: prefix.
元数据
常见问题
splitsym 是什么?
Extract comments and split symbols from source files. Use when users want to extract inline comments, docstrings, or block comments from code files to unders... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 44 次。
如何安装 splitsym?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install splitsym」即可一键安装,无需额外配置。
splitsym 是免费的吗?
是的,splitsym 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
splitsym 支持哪些平台?
splitsym 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 splitsym?
由 TurinFohlen(@turinfohlen)开发并维护,当前版本 v1.0.0。
推荐 Skills