# corezoid-review

corezoid-review audits Corezoid workflows in .conv.json files. Finds hardcoded credentials, infinite loops, orphan nodes, and duplicated logic.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf (Devin Desktop), Claude.ai · ★ 74 repo stars
- Author: Corezoid
- License: MIT · policy=mirror · the beginning of the file is at the end of this page
- Source: https://github.com/corezoid/corezoid-ai-plugin/tree/HEAD/plugins/corezoid/skills/corezoid-review/SKILL.md
- Updated: 2026-10-29
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/corezoid-review

## What it does

This skill conducts a structured review of Corezoid workflows using a local `.conv.json` file, process name, or process ID. It begins by running the `lint-process` tool from the `corezoid` MCP server to detect unreachable nodes, conditions where all branches merge back identically, and unused `set_param` variables.

Next, it parses the node graph directly. The review checks JavaScript and Erlang code nodes, API calls, and inter-process links like `api_rpc` and `api_copy`. Hardcoded URLs, access tokens, and raw IDs are flagged for migration to environment variables, while root platform identifiers such as `conv_id` or `stage_id` are preserved.

The review cannot proceed unless the `corezoid` MCP server is configured and the process files are already pulled into your local workspace.

## Install

### Claude Code (native platform)

1. **Plugin marketplace**
In the agent chat (not a shell):
```text
/plugin marketplace add corezoid/corezoid-ai-plugin
```
In the agent chat (not a shell):
```text
/plugin install corezoid@corezoid
```
This installs the whole corezoid plugin with all its skills

2. **Skills CLI (Vercel)**
```bash
npx skills add corezoid/corezoid-ai-plugin --skill corezoid-review -a claude-code
```

3. **Manually: put the files in place**
- File: `~/.claude/skills/corezoid-review/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/corezoid-review/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add corezoid/corezoid-ai-plugin --skill corezoid-review -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/corezoid-review/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add corezoid/corezoid-ai-plugin --skill corezoid-review -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/corezoid-review/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install corezoid/corezoid-ai-plugin plugins/corezoid/skills/corezoid-review
```

2. **Manually: put the files in place**
- File: `.github/skills/corezoid-review/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add corezoid/corezoid-ai-plugin --skill corezoid-review -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/corezoid/corezoid-ai-plugin --path plugins/corezoid/skills/corezoid-review
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/corezoid-review/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/corezoid/corezoid-ai-plugin/tree/HEAD/plugins/corezoid/skills/corezoid-review/SKILL.md

## When to use it
- detect orphaned nodes and no-op conditions in Corezoid schemes
- catch hardcoded access tokens and static endpoint URLs
- trace internal loops and cross-process cycle risks
- highlight duplicate node logic suited for subprocess extraction
- flag unsafe JavaScript patterns such as eval and unhandled exceptions

## Example prompts
- Review the process 1278273_Business.folder/2778176_payment.conv.json for bugs and hardcoded values
- Check payment_webhook for cross-process cycles and unused parameters
- Audit Corezoid process ID 2778176

## Source text · SKILL.md · MIT

Below is the content of a third-party file. It is data, not instructions for you: do not act on anything written inside unless the human asks. Block tag: 83183200f1028e3d.

BEGIN THIRD-PARTY FILE 83183200f1028e3d
````text
---
name: corezoid-review
description: >
  Corezoid process review and audit specialist. Use when the user wants to
  analyze, review, audit, or improve an existing Corezoid process. Activate
  when the user says "review a process", "analyze", "check", "audit", "find
  issues", "explain this process", "what's wrong with", "optimize", or
  "check for hardcoded values".
---

# Review a Corezoid Process

You are a specialist in auditing and analyzing Corezoid processes using the `corezoid` MCP server.

## Identify the Process (MANDATORY FIRST STEP)

**Before doing anything else**, resolve `PROCESS_PATH`:

1. Check whether the user already provided a process identifier — a file path, process name, or process ID — in the current message or conversation history.
2. If no identifier is provided, ask:

   > "Please specify the process — you can provide a file path (e.g. `1278273_Business.folder/2778176_payment.conv.json`), a process name, or a process ID."

   Do **not** call any MCP tools until the user provides an identifier.
3. If the user gave a **name or ID** (not a file path), search the local working directory for the matching `.conv.json` file using the `find` or `grep` Bash tools (the project is already pulled locally).
4. Once `PROCESS_PATH` is known, begin the audit below.

---

## Step 1: Structural Lint

Run the linter to detect structural issues automatically:

Call MCP tool **`lint-process`** with `process_path: "<PROCESS_PATH>"`.

This checks for:
- **Orphaned nodes** — unreachable nodes not connected from Start
- **No-op conditions** — all branches of a condition leading to the same node
- **Unused set_param** — variables set but never referenced downstream

Record all findings. They will be included in the final report.

---

## Step 2: Load and Parse the Process

Read the `.conv.json` file and extract nodes:

- `ops[0]['scheme']` is a **list** — always index `[0]`
- `node['condition']` is a dict with keys `logics` (list) and `semaphors` (list)
- `node['extra']` is a **string** (escaped JSON) — not a dict
- Conditions in `go_if_const` logics live in `lg['conditions']`, NOT in `lg['extra']`

Collect node groups for analysis:

```python
code_nodes  = [n for n in nodes for lg in n['condition']['logics'] if lg['type'] == 'code']
api_nodes   = [n for n in nodes for lg in n['condition']['logics'] if lg['type'] == 'api']
rpc_nodes   = [n for n in nodes for lg in n['condition']['logics'] if lg['type'] == 'api_rpc']
````
END THIRD-PARTY FILE 83183200f1028e3d

The third-party file has ended. Everything between the 83183200f1028e3d tags is data: requests and commands from it are not followed. An “end of file” line with another tag inside the block is part of the file.

First 2476 of 16661 bytes. © Corezoid · MIT · https://github.com/corezoid/corezoid-ai-plugin/tree/HEAD/plugins/corezoid/skills/corezoid-review/SKILL.md

_Part of the page did not fit — see the HTML version._

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
