← Back to Skills Marketplace
yijunyu

PRECC

by Yijun Yu · GitHub ↗ · v0.2.4-1 · MIT-0
cross-platform ⚠ suspicious
208
Downloads
0
Stars
0
Active Installs
3
Versions
Install in OpenClaw
/install precc
Description
Automatically fixes bash command errors, compresses CLI output, and redirects code search for efficient, cost-saving Claude Code execution.
Usage Guidance
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.'
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install precc
  3. After installation, invoke the skill by name or use /precc
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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
Metadata
Slug precc
Version 0.2.4-1
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 3
Frequently Asked Questions

What is PRECC?

Automatically fixes bash command errors, compresses CLI output, and redirects code search for efficient, cost-saving Claude Code execution. It is an AI Agent Skill for Claude Code / OpenClaw, with 208 downloads so far.

How do I install PRECC?

Run "/install precc" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is PRECC free?

Yes, PRECC is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does PRECC support?

PRECC is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created PRECC?

It is built and maintained by Yijun Yu (@yijunyu); the current version is v0.2.4-1.

💬 Comments