经 AI Skill Hub 精选评估,Pickle Rick 获评「推荐使用」。这款Agent工作流在功能完整性、社区活跃度和易用性方面表现出色,AI 评分 7.5 分,适合有一定技术背景的用户使用。
Pickle Rick 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
Pickle Rick 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
# 方式一:npm 全局安装 npm install -g pickle-rick-claude # 方式二:npx 直接运行(无需安装) npx pickle-rick-claude --help # 方式三:项目依赖安装 npm install pickle-rick-claude # 方式四:从源码运行 git clone https://github.com/gregorydickson/pickle-rick-claude cd pickle-rick-claude npm install npm start
# 命令行使用
pickle-rick-claude --help
# 基本用法
pickle-rick-claude [options] <input>
# Node.js 代码中使用
const pickle_rick_claude = require('pickle-rick-claude');
const result = await pickle_rick_claude.run(options);
console.log(result);
# pickle-rick-claude 配置说明 # 查看配置选项 pickle-rick-claude --config-example > config.yml # 常见配置项 # output_dir: ./output # log_level: info # workers: 4 # 环境变量(覆盖配置文件) export PICKLE_RICK_CLAUDE_CONFIG="/path/to/config.yml"
<img src="images/pickle-rick.png" alt="Pickle Rick for Claude Code" width="100%" />
claude) — v2.1.49+install.sh, uninstall.sh, uninstall-hooks.sh)install.sh)/pickle-tmux, /szechuan-sauce, /anatomy-park, /pickle-pipeline)/pickle-zellij)gt) (optional — for /council-of-ricks)gh) authed (optional — required only for /council-of-ricks auto-publish; the review itself works without it)--backend codex on /pickle, /pickle-tmux, /pickle-microverse, /anatomy-park, /szechuan-sauce, and for /council-of-ricks Phase C adversarial review. Without it, --backend codex spawns fail and Council's Phase C is skipped — Claude-backed runs and non-Codex Council rounds are unaffected. Install: /plugin install openai-codex or npm i -g @openai/codex-cli + codex setup)---
Two ways to drive every step: just describe what you want (Rick routes to the right skill) or invoke the slash command yourself (explicit control). Same artifacts either way.
Fire and forget — for one-shot autopilot from goal to shipped code, hand the whole thing to/pickle-pipeline "<goal>"(build → citadel → anatomy-park → szechuan-sauce, sequential, with auto-refine when prose triggers it) or/cronenberg "<goal>"(meta-router that picks the right metaphor + cleanup chain for the task). Skip the step-by-step below.
git clone https://github.com/gregorydickson/pickle-rick-claude.git
cd pickle-rick-claude
bash install.sh
install.sh refuses source versions older than the deployed runtime unless rollback is explicit. Supported deploy flags:
| Flag | Effect |
|---|---|
--allow-downgrade | Permit an older source version after the downgrade confirmation path. |
--override-active | Bypass active-session refusal and write an active-session bypass audit entry. |
--no-confirm | Skip interactive downgrade confirmation. |
--closer-context | Allow release-closer rollback/install flows to bypass active-session refusal while preserving audit evidence. |
Release closer flows must run bin/release-gate.sh --pre-tag <tag> before publishing and bin/release-gate.sh --post-tag <tag> after the release exists. Exit codes are: 10 pre-tag package version mismatch, 11 jq parse failed, 12 tag or tagged package missing, 20 release download failed, 21 downloaded tarball package version mismatch, and 22 GitHub release API error.
Use bin/purge-update-cache.js [--dry-run] to remove poisoned updater cache state before or during a release. Updater cache lives at ~/.claude/pickle-rick/update-check.json, and install audit entries live at ~/.claude/pickle-rick/deploy-audit.log.
Gate-baseline activity events are baseline_recapture_attempted, baseline_recapture_succeeded, and baseline_recapture_failed. Deploy audit-log event types are DOWNGRADE, CACHE_PURGE, and INSTALL_BYPASS_ACTIVE_SESSION.
Two uninstall paths depending on how much you want to remove.
Remove hooks only — disables automatic behavior (Stop loop enforcement, commit logging, config protection) but keeps extension files and slash commands available for manual use:
bash uninstall-hooks.sh
Settings are backed up to ~/.claude/backups/settings.json.pickle-uninstall-hooks.<timestamp> before modification. Run bash install.sh to re-enable hooks later — install.sh is idempotent, safe to re-run any time. Third-party hooks in settings.json (GitNexus, RTK, etc.) are never touched.
What still works without hooks:
/pickle-prd, /pickle-refine-prd, /pickle-dot, /pickle-dot-patterns, /pickle-metrics, /pickle-status, /pickle-standup, /help-pickle, /attract./pickle-tmux, /pickle-zellij, /pickle-jar-open, /pickle-microverse, /szechuan-sauce, /anatomy-park, /pickle-pipeline. These launch mux-runner.js / jar-runner.js / microverse-runner.js / pipeline-runner.js inside the multiplexer; the runner spawns its own claude -p subprocesses and drives iteration via Node.js, not via the Stop hook. In tmux mode the Stop hook is a pass-through anyway.What needs hooks — in-session loops where the Stop hook is the iteration driver for the same Claude session: /pickle (interactive mode), /council-of-ricks, /portal-gun, /project-mayhem, /pickle-retry. Without hooks these run the first step and stop.
Full uninstall — removes hooks, extension scripts at ~/.claude/pickle-rick/, and all pickle-rick slash commands at ~/.claude/commands/:
bash uninstall.sh
Preserved after full uninstall (delete manually if desired): - Session history at ~/.local/share/pickle-rick/sessions/ - Activity logs at ~/.local/share/pickle-rick/activity/ - Settings backups at ~/.claude/backups/ - Project-local CLAUDE.md files — remove the appended persona block manually
Third-party hooks in settings.json (GitNexus, RTK, etc.) are never touched.
---
Just ask:
"Push test coverage to 90%"
If you can define a measurable goal — test coverage, response time, bundle size, extraction accuracy — the Microverse grinds toward it. Each cycle: make one change, measure, keep or revert. Failed approaches are tracked so it never repeats a dead end.
```bash
Four options for polishing the result.
Full Pipeline — chains build, Citadel conformance audit, deep review, and deslop in a single tmux session. No manual intervention between phases. When refinement is mentioned in the request (or --refine is passed), the skill auto-runs /pickle-refine-prd first.
"Run the full pipeline to build the caching layer"
```bash
<p align="center"> <img src="images/plumbus.jpg" alt="Plumbus — iterative DAG shaping loop" width="100%" /> </p>
"Everybody has a plumbus in their home, Morty. First they take the dinglebop, smooth it out with a bunch of schleem..."
The same convergence loop applied to a single attractor .dot pipeline. Runs the attractor validator as a hard gate, walks every edge, and converges against the pickle-dot-patterns rubric (DAG validity, Tier 1 mandatory patterns, anti-patterns). Use it after /pickle-dot generates a graph you want hardened before /attract.
/plumbus pipeline.dot # Shape a DAG into a proper plumbus
/plumbus --dry-run pipeline.dot # Catalog violations only
/plumbus --focus "fan-out safety" pipeline.dot
/plumbus --no-validator pipeline.dot # Pattern-only (no attractor repo)
When to use which: Szechuan Sauce asks "is this code well-designed?" — Anatomy Park asks "is this code correct?" — Plumbus asks "will this DAG actually run without deadlocking?"
Plumbus runs six analysis frames during the first iteration Edge Walk (Override 6). Each frame produces findings in gap_analysis.md under ## Generative Findings, using a three-severity model (pre_verification_severity / post_verification_severity / rendered_severity).
| Frame | What it checks |
|---|---|
| **Frame 1: Context Key Lifecycle Trace** | Orphan readers/writers, asymmetric writers, multi-writer conflicts |
| **Frame 2: Success/Failure Symmetry** | State-mutating nodes missing the opposite-outcome unwind |
| **Frame 3: Edge Condition Exhaustiveness** | Cartesian-product stuck states and non-deterministic routing |
| **Frame 4: Tool Exit Code Semantics Audit** | Routing-signal vs. build/check tool wiring mismatches |
| **Frame 5: Loop Convergence Proof Obligation** | SCCs without a reachable finite-exit convergence key |
| **Frame 6: Counterfactual Outcome Test** | State-mutating tool nodes lacking a direct or transitive guard |
Kill-switch: set PLUMBUS_GENERATIVE_AUDIT=off to skip Override 6 entirely (no analyzer invocation, no ## Generative Findings written). Any other value (including absent) runs the audit normally.
---
Every slash command and flag — including command-scoped families and the †/Codex/Teams notes — lives in COMMANDS.md.
---
Under the hood: See internals.md for the 8-phase ticket lifecycle, manager/worker model, stop-hook loop, context clearing, state schema, settings reference, and every internal system that makes this thing run.
---
```
/pickle-microverse --metric "npm run coverage:score" --task "hit 90% test coverage" /pickle-microverse --metric "node perf-test.js" --task "reduce p99 latency" --direction lower /pickle-microverse --goal "error messages are user-friendly and actionable" --task "improve UX"
<a id="backends"></a>**Backends** — `/pickle`, `/pickle-tmux`, `/szechuan-sauce`, `/anatomy-park`, and `/pickle-microverse` accept `--backend codex` to route spawns through `codex exec`, or `--backend hermes` to route spawns through `hermes chat -q ... -Q --ignore-rules --ignore-user-config`. The choice is persisted in `state.json` and survives resume; omit the flag to keep the default `claude` backend. Set `PICKLE_BACKEND=codex` or `PICKLE_BACKEND=hermes` for a session-independent alternative that persists across commands. Precedence: CLI flag > env var > session state > default `claude`. **Incompatible with `--teams`** — agent-teams mode is claude-harness-native; setup rejects non-claude backends at session creation and on `--resume`.
For codex-backed runs, keep `/pickle` for short interactive work and prefer `/pickle-tmux` for longer sessions. The safe workaround is tmux-direct: the shell/tmux pane owns `mux-runner`, and `codex exec` is only a child spawned by mux-runner. Avoid the risky arrangement where a long-lived codex session becomes the parent of mux-runner and supervises the whole pipeline.
bash /pickle --backend codex "refactor the auth middleware" /pickle-tmux --backend codex "refactor the auth middleware" /pickle --backend hermes "scaffold CLI smoke tests" /szechuan-sauce --backend codex src/services/ /anatomy-park --backend codex src/ /pickle-microverse --backend codex --metric "npm run coverage:score" --task "hit 90%" PICKLE_BACKEND=codex /pickle-tmux "refactor the auth middleware"
`/council-of-ricks` integrates Codex differently — its Phase C runs an adversarial Codex subagent by default (`--no-codex` to disable, `--codex-timeout <sec>` to tune). See the Council of Ricks section below.
**Reasoning effort** *(codex backend)* — append `--effort <low|medium|high>` to opt into a non-default reasoning effort. Pickle threads it through to `codex exec` as `-c reasoning.effort=<level>` before the prompt separator. Omit the flag to inherit whatever your local `codex` CLI / `~/.codex/config.toml` is set at — Pickle does not override the default. Persisted in `state.json` and survives `--resume`. Claude path is a no-op (no public reasoning-effort flag for `claude -p`); refinement displays the level for visibility but does not pass it (claude-only).
bash /pickle --backend codex --effort high "refactor the auth middleware" /pickle-tmux --backend codex --effort high "build the caching layer"
<a id="agent-teams"></a>**Agent Teams mode** *(v1.55+, claude backend only)* — `/pickle --teams` switches Phase 3 from spawning per-ticket `claude -p` subprocesses to spawning subagents on a harness-native team. Each ticket runs as a `morty-implementer` agent (`Agent` tool with `team_name` + `subagent_type`) that signals completion via `TaskUpdate(status="completed")` instead of the legacy `<promise>I AM DONE</promise>` token + log-size check. Manager-side validation switches to a strict all-of artifact check (`validate-teams-ticket.js`): every required prefix (`research_*.md`, `plan_*.md`, `conformance_*.md`, `code_review_*.md`) must have a matching file or the ticket is marked Failed. The flag is persisted in `state.json` and survives resume.
bash /pickle --teams "add a /healthz endpoint" /pickle --teams --max-parallel 10 "build the caching layer" # plumbed; v1 sequential /pickle --resume # teams_mode survives resume ```
Subagent definitions live at ~/.claude/agents/morty-implementer.md (8-phase implementation lifecycle) and ~/.claude/agents/morty-reviewer.md (4-phase review lifecycle). Both are deployed by install.sh. v1 always dispatches morty-implementer; review-group dispatch via morty-reviewer is a follow-up — see the PRD for the v1 boundary. Legacy subprocess path is untouched and remains the default — passing no --teams flag preserves byte-for-byte v1.54 behavior.
When NOT to use: codex backend (rejected at setup), /pickle-tmux / /pickle-zellij / /pickle-microverse / /pickle-pipeline (out of scope for v1; legacy spawn only). When to use: epics where you want clean bidirectional comms with the worker, native completion notifications, and the strictest artifact gate available.
/pickle-pipeline "build the caching layer" # No refinement (no trigger) /pickle-pipeline "refine the prd then build the caching layer" # Auto-inferred from prose /pickle-pipeline --refine "build the caching layer" # Explicit force, prose silent /pickle-pipeline --no-refine "refine the prd first then ship X" # Suppress auto-inferred refinement /pickle-pipeline --skip-anatomy "refactor auth" # Skip deep review /pickle-pipeline --target src/services "add retry logic" # Scope review phases
The auto-refine trigger fires on `refine-prd` / `prd refinement`, on `refine`/`refinement`/`decompose` near `prd` or `first` (within 40 chars), or on workflow ordering like `refine then build`. Bare `refine the dropdown UX` won't trigger — use `--refine` to force, `--no-refine` to suppress. Refinement always uses the `claude` backend regardless of `--backend` (refinement is planning, not implementation). Fails fast if no `prd.md` exists in cwd or session — run `/pickle-prd` first.
**Citadel** — audits the implemented branch against the PRD before deeper review phases. It reads PRD acceptance criteria, interface contracts, changed files, trap-door notes, and sibling phase artifacts when present. Findings are grouped by audit surface: PRD coverage, endpoint contract drift, trap-door enforcement, sibling route divergence, state-machine drift, frontend prop drift, cross-phase findings, and diff hygiene.
bash
/citadel --prd prd.md --diff main..HEAD /citadel --prd prd.md --strict --report /tmp/citadel_report.json
Citadel writes a versioned JSON report with `schema: "1.0"`. Standalone runs use `--report <path>` when supplied; `/pickle-pipeline` writes `<session>/citadel_report.json` and passes that report to anatomy-park and szechuan-sauce. `--strict` makes High findings fail the phase; without it, only Critical findings halt the pipeline.
**Resume hardening** *(v1.56+)* — pipeline pre-flight excludes `prds/` and `docs/` from the clean-tree check by default, so doc churn during a long-running epic doesn't block resume. Override the list per-session via `pipeline.json.ignore_dirty_paths` (set `[]` to opt out entirely). The pickle phase pins its own `command_template` on entry — a stale `state.command_template` from a prior phase no longer misroutes resumed workers to the wrong skill prompt.
**Szechuan Sauce** — hunts coding principle violations (KISS, DRY, SOLID, security, style) and fixes them one at a time until zero remain. Great for post-feature polish before merging.
"Deslop src/services with szechuan sauce" bash
/szechuan-sauce src/services/ # Deslop a directory /szechuan-sauce --dry-run src/ # Catalog violations without fixing /szechuan-sauce --focus "error handling" src/ # Narrow the review
**Anatomy Park** — traces data flows through subsystems looking for runtime bugs: data corruption, timezone issues, rounding errors, schema drift. Catalogs "trap doors" (files that keep breaking) in `CLAUDE.md` files for future engineers.
"Run anatomy park on src/" bash
/anatomy-park src/ # Deep subsystem review /anatomy-park --dry-run # Review only, no fixes
**Cronenberg (meta-router)** — when you don't know which cleanup metaphor fits, describe the goal and let `/cronenberg` pick the right pickle metaphor + cleanup chain for the task. Explicit invocation only — never auto-triggers.
bash /cronenberg "tighten the integrations package" ```
See docs/judge-spawn-troubleshooting.md for judge backend errors, ETIMEDOUT, sticky fallback semantics, and exit-reason mapping.
---
pickle-rick-claude 是一个专为 Claude Code 设计的增强型工具集,通过引入独特的技能路由机制,让开发者能够以更智能、更具自动化体验的方式驱动开发流程。该项目旨在将复杂的开发任务转化为可自动执行的 Pipeline,实现从目标描述到代码交付的无缝衔接。
运行本项目需要满足以下环境要求:必须安装 Node.js 18+ 版本以及 v2.1.49+ 以上版本的 Claude Code CLI (`claude`)。此外,系统需预装 jq(用于执行安装与卸载脚本)和 rsync(用于安装过程)。若需使用 `/pickle-tmux` 等高级交互功能,建议安装 tmux 作为可选组件。
您可以通过克隆 GitHub 仓库并运行安装脚本来部署。首先执行 `git clone https://github.com/gregorydickson/pickle-rick-claude.git` 进入目录,随后运行 `bash install.sh`。安装脚本具备严格的版本保护机制,除非显式指定 `--allow-downgrade`(允许降级)或 `--override-active`(覆盖当前会话),否则它会拒绝安装低于当前运行时的旧版本源码。
本项目支持两种操作模式:一种是“描述驱动”,只需向 Rick 描述您的需求,它会自动路由到正确的技能;另一种是“显式控制”,通过直接调用 Slash Command 来精准控制流程。对于追求极致自动化的开发者,可以使用 `/pickle-pipeline "<goal>"` 命令实现从构建、审计到代码交付的全自动“一键式”流水线,实现真正的 Fire and forget。
本项目支持基于指标驱动的精细化迭代(Metric-Driven Refinement)。您可以向系统下达如 "Push test coverage to 90%" 等可量化的目标。系统会在 Microverse 环境中通过“修改-测量-保留/回滚”的循环进行自我优化,并自动记录失败路径以避免重复错误。此外,您还可以通过 Full Pipeline 模式进行最终的代码清理与合规性审计。
Plumbus 是本项目核心的 DAG(有向无环图)塑造循环机制。它模仿了迭代式的形状塑造过程,通过收敛循环将复杂的开发逻辑转化为可控的执行流。所有的 Slash Command、参数 Flag 以及详细的命令定义均记录在 COMMANDS.md 中。底层逻辑则由包含 8 阶段工单生命周期的 manager/worker 模型驱动,确保状态 Schema 与上下文清理的严谨性。
推荐的标准工作流是:首先从编写 PRD(产品需求文档)开始,随后遵循预设的工作流模块进行开发。项目提供了多种工作流模式,能够根据任务性质自动切换不同的执行逻辑,确保从需求定义到最终交付的每一个环节都符合预期的工程标准。
如果在使用过程中遇到 judge backend 错误、ETIMEDOUT 超时或退出原因映射问题,请查阅 `docs/judge-spawn-troubleshooting.md`。该文档详细记录了关于粘性回退语义(sticky fallback semantics)及各类后端异常的排查指南,帮助开发者快速定位并解决运行时的技术障碍。
高质量的开源AI工作流项目
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ Apache 2.0 — 宽松开源协议,可商用,需保留版权声明和 NOTICE 文件,含专利授权条款。
AI Skill Hub 点评:Pickle Rick 的核心功能完整,质量良好。对于自动化工程师和运维人员来说,这是一个值得纳入个人工具库的选择。建议先在非生产环境试用,再逐步推广。
| 原始名称 | pickle-rick-claude |
| 原始描述 | 开源AI工作流:🥒 Pickle Rick for Claude Code — autonomous PRD-driven coding loops + relentless。⭐24 · JavaScript |
| Topics | ai-codingautonomous-agentjavascript |
| GitHub | https://github.com/gregorydickson/pickle-rick-claude |
| License | Apache-2.0 |
| 语言 | JavaScript |
收录时间:2026-05-27 · 更新时间:2026-05-30 · License:Apache-2.0 · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端