← 返回 Skills 市场
208
总下载
0
收藏
0
当前安装
3
版本数
在 OpenClaw 中安装
/install precc
功能描述
Automatically fixes bash command errors, compresses CLI output, and redirects code search for efficient, cost-saving Claude Code execution.
安全使用建议
This skill is internally inconsistent and requires caution. Before installing: (1) Do NOT run curl | bash blindly — inspect the install script on the GitHub repo and verify what it writes/executes. (2) Ask the author for a formal install spec, checksums/signatures for the binary, and a list of exact files/paths the tool will read or modify. (3) Verify what external services (Claude, cocoindex, RTK) require API keys and why; never provide keys without clear justification. (4) If you must test it, run it in an isolated VM or disposable container, not on a production laptop with private keys or sensitive agent memory. Providing those mitigations and clearer declarations would raise confidence; absence of them keeps this 'suspicious.'
功能分析
Type: OpenClaw Skill
Name: precc
Version: 0.2.4-1
The skill bundle describes a tool that intercepts and modifies shell commands and system utilities (grep, rg) via a 'PreToolUse hook,' which is a high-privilege behavior. It also employs a high-risk installation pattern (curl | bash from raw.githubusercontent.com/yijunyu/precc-cc/main/scripts/install.sh) and 'ingests' session history, posing potential data privacy and execution risks. While these features are presented as cost-saving optimizations, the broad system-level interception and external binary dependencies without source verification are significant security concerns.
能力评估
Purpose & Capability
The description promises a single Rust binary that auto-corrects shell commands, intercepts grep/rg, and compresses agent context. The registry lists no required binaries, env vars, or config paths. That mismatch suggests the skill claims capabilities it does not declare — installing hooks and intercepting CLI tools should require explicit install and config declarations.
Instruction Scope
SKILL.md instructs the agent/user to run a remote install script (curl|bash), install a precc-hook that intercepts CLI tools, 'ingest --all' to mine session history, and compress/modify CLAUDE.md and memory files. Those runtime actions read and modify user session history and agent memory files and may redirect searches and outputs to external services — broader scope than the registry metadata exposes.
Install Mechanism
The only install instruction is piping a raw.githubusercontent.com script to bash. While GitHub raw is a known host, curl | bash executes remote code without local verification (no checksum, no signed release). There is no alternative install path, no checksums, and no local install spec in the registry — this is higher-risk.
Credentials
The skill declares no required environment variables or credentials, yet its features (semantic search, Claude/CCC/RTK integration, possible remote indexing) likely require API keys and access to agent memory files. The SKILL.md references cocoindex-code, RTK, and backups but does not declare or justify any credentials or specific config paths.
Persistence & Privilege
Although not marked always:true, the install instructions imply persistent system changes: a precc-hook that intercepts commands and automatic backups/rewrite of CLAUDE.md and memory files. That amounts to persistent system-level hooks and file modification beyond a transient skill — users should treat this as privileged and persistent installation.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install precc - 安装完成后,直接呼叫该 Skill 的名称或使用
/precc触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.2.4-1
v0.2.4: Single-binary Rust deployment. Pillar 2b (ccc semantic search) and Pillar 3 (context compression) built into precc binary. 386 tests.
v0.2.5
Add token-saver context compression (pillar 3), unified savings report, three-pillar README restructure
v0.2.4
Integrate cocoindex-code for AST-driven semantic code search
元数据
常见问题
PRECC 是什么?
Automatically fixes bash command errors, compresses CLI output, and redirects code search for efficient, cost-saving Claude Code execution. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 208 次。
如何安装 PRECC?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install precc」即可一键安装,无需额外配置。
PRECC 是免费的吗?
是的,PRECC 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
PRECC 支持哪些平台?
PRECC 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 PRECC?
由 Yijun Yu(@yijunyu)开发并维护,当前版本 v0.2.4-1。
推荐 Skills