/n8n-autopilot:feedback [review | interview | show | sync]from n8n-autopilot
Reviews n8n-autopilot sessions for operational friction and workflow design anti-patterns, redacts PII, and pushes insights via ingest webhook. Supports review, interview, show, and sync modes.
Ships in n8n-autopilot. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
The plugin learns from real usage. This skill reviews a session, removes anything
data-protected, and pushes the distilled learnings centrally so the same friction does not recur
across customers. Local stores live in the consumer repo under .n8n-autopilot/feedback/
(gitignored): events.ndjson (auto-captured signal counts from the SessionEnd hook) +
process.ndjson (review/interview output). The deterministic PII gate lives in
scripts/redact-check.js.
Parse $ARGUMENTS:
review → Review & push (default, the one-shot)interview → short manual Q&A onlyshow → list pending recordssync → push existing pending records (re-runs the PII gate)PII is non-negotiable. Consumer repos contain customer data. Everything that leaves the machine is (1) LLM-redacted to neutral insights and (2) passed through a deterministic allowlist gate (
redact-check.js) that BLOCKS emails, paths, URLs, long digit runs, tokens, and configured customer names. Counts + repo basename only; never transcript text or workflow content.
$CLAUDE_PLUGIN_ROOT is expanded inside hooks.json commands only — in the Bash tool it is EMPTY,
and every node "$CLAUDE_PLUGIN_ROOT/…" call below then fails with MODULE_NOT_FOUND on a path
under the shell root (#74, #100). Set it from the skill's base directory (the "Base directory for
this skill" line Claude Code printed when this skill loaded — its plugin root is two levels up):
PR="${CLAUDE_PLUGIN_ROOT:-<plugin root, e.g. ~/.claude/plugins/marketplaces/n8n-autopilot>}"
test -f "$PR/skills/feedback/scripts/record.js" || echo "wrong plugin root: $PR"
Use "$PR" in every command below.
node "$PR/skills/feedback/scripts/latest-transcript.js" --workspace .
Use the printed path. (If it errors — no transcript — fall back to reviewing events.ndjson only.)
Read .n8n-autopilot/feedback/events.ndjson — these are the SessionEnd hook's NON-PII friction
counts (the 11 operational classes + memory_oom + continue_on_fail). Summarize the totals.
These design anti-patterns are NOT in the transcript counts; measure them from the real files.
Use Grep/Read over workflows/**/*.workflow.ts:
n8n-nodes-base.code vs native if/switch/filter. Flag Code
nodes that only branch or remap (a native node would do it). Report the ratio.@workflow({...}) without a description; key nodes without notes.position pairs within ~80px on both axes (unreadable canvas).Skim the transcript for process pain the counts miss (repeated dead-ends, manual detours, unclear errors). Keep it to a few concrete, generalizable observations — NOT a play-by-play.
A finding is the actionable unit: one finding = one GitHub issue. Do NOT write one blob record —
write one finding per distinct problem, each answering: what went wrong, where, what was expected,
what would fix it. Neutral phrasing, no customer names, no file paths, no workflow content, no
values, no URLs. Node types (n8n-nodes-base.github) and n8nac commands (n8nac push) are safe
and REQUIRED context — put them in area.
node "$PR/skills/feedback/scripts/record.js" '{
"kind": "finding",
"type": "schema-gap|cli-friction|validation-loop|mcp-detour|credential-gap|doc-gap|design-antipattern|bug|other",
"severity": "low|medium|high",
"area": "<node type or n8nac command>",
"title": "<one line — becomes the issue title>",
"observed": "<what actually happened, incl. exact error phrase if non-PII>",
"expected": "<what should have happened>",
"suggestion": "<concrete fix idea>",
"signals": { "<signal-class>": N }
}'
type, title, observed are required (record.js enforces). Attach the session's relevant signal
counts as signals evidence. Repeat per problem — 3 problems = 3 findings = 3 issues.
node "$PR/skills/feedback/scripts/redact-check.js" .n8n-autopilot/feedback/process.ndjson
Do not dump the records verbatim. With three or more findings that is a wall of text nobody reads, and an unread confirmation is not consent. Render a compact table:
| # | sev | type | title |
|---|-----|------|-------|
| 1 | high | bug | push rejects a validated file … |
| 2 | medium | cli-friction | extend mode re-builds unchanged … |
Then state the target in one line — "pushes N finding(s) as N public GitHub issues on
neurawork-git/n8n-autopilot; customer/repo name stripped, reporter = your OS username included by
design" — and ask via AskUserQuestion, not free text:
Verbatim JSON stays available on request (show); offer it, do not print it unprompted. Anything other
than an explicit confirmation means no push.
bash "$PR/skills/feedback/scripts/sync.sh" # "Alle pushen"
bash "$PR/skills/feedback/scripts/sync.sh" --only 1,3 # "Auswählen"
--only takes the numbers from the step-7 table. Unselected findings stay pending — they are not
marked synced, so a later run can still push them.
sync.sh pushes finding records only (raw event counts are local telemetry — the review flow
distills them into findings first; sync refuses with a hint if only counts are pending). It re-runs
redact-check.js as a hard gate on the exact payload (defense-in-depth), adds pluginVersion +
reporter (OS username), then POSTs ONE batch to the ingest webhook (N8N_AUTOPILOT_FEEDBACK_URL
overrides the default). The ingest workflow creates one issue per finding. On HTTP 200 sync moves all
pending records to synced.ndjson and lists the created issue URLs. If it exits non-zero, surface
the error verbatim and stop — nothing was pushed, nothing was marked.
Ask the user (accept "skip" per item):
Store the raw Q&A as a process record, then distill each concrete pain point into a typed
finding record (step 5 schema) — only findings become issues:
node "$PR/skills/feedback/scripts/record.js" '{"answers":{...},"freeText":"..."}'
node "$PR/skills/feedback/scripts/record.js" '{"kind":"finding","type":"...","title":"...","observed":"...", ...}'
Then run the PII gate (step 6) before any sync.
node -e '
const fs=require("fs"),p=require("path");
const store=p.join(process.cwd(),".n8n-autopilot","feedback");
for(const f of ["events.ndjson","process.ndjson"]){const fp=p.join(store,f);if(!fs.existsSync(fp))continue;
for(const l of fs.readFileSync(fp,"utf8").split("\n")){const t=l.trim();if(!t)continue;
try{const r=JSON.parse(t);if(r.synced!==true)console.log(r.kind,r.ts,r.repoLabel,JSON.stringify(r.signals||r.insights||r.answers||{}));}catch(e){}}}
'
Runs the PII gate then pushes (see step 8). Always shows records + requires confirmation first.
The
sync.shscript is the ONLY place a push happens (onecurlPOST to the ingest webhook — nogh/GitHub account needed on the consumer side). No hook ever pushes — capture is local-only; the push is always this user-triggered, PII-gated, confirmed flow. Maintainer-side refinement of the rollup issue = thefeedback-triageagent (that one DOES needgh).
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub neurawork-git/n8n-autopilot --plugin n8n-autopilot25 skills in this plugin
/build-stack-v2EXPERIMENTAL deterministic builder for a whole n8n workflow STACK (multiple sub-workflows wired via Execute Workflow), JS-orchestrated. Takes a PRP-style end-to-end use case, decomposes it into sub-workflows along known rules, fixes the handover contracts between them, documents the architecture (mermaid) in one central file, then builds each sub-workflow bottom-up via build-workflow-v2. Two modes: GREENFIELD (new stack) and EXTEND (change an existing one). Decomposition rules, build order (topological), and per-sub-WF gates are JS control flow the model cannot skip. Use for multi-workflow use cases; for a single workflow use build-workflow-v2./build-workflowFull 3-phase pipeline (Research → Write+Validate → Deploy+Test) for shipping an n8n workflow end-to-end. Wraps Etienne's `n8n-as-code:n8n-architect` skill for schema research + authoring, adds repo-scoped orchestration — community-template lookup, validate-push-test loop, mcpTrigger publish gate, execution inspection, Completion Report./build-workflow-v2EXPERIMENTAL deterministic variant of build-workflow + deploy, JS-orchestrated. Two modes: GREENFIELD (new workflow) and EDIT (change an existing one). Phase ordering, gate-checks (validate / drift-safe push --verify), and fix-loop limits are enforced by a Claude Code JS Workflow script instead of prose — gates become if/while control flow the model cannot skip or short-circuit. Subagent roles live in agents/n8n-*.md. Use when you want hard-enforced discipline over the soft prose pipelines./check-mcpsVerify n8n-autopilot setup is functional — n8nac CLI present, workspace bound, n8n API reachable, companion plugin `n8n-as-code@n8nac-marketplace` enabled. Use after setup, after upgrading the plugin, or when commands behave unexpectedly./data-tablesManage n8n DataTables (CRUD on tables, columns, rows) via the n8n public REST API. Use when the user wants to create/seed/list/delete data-table resources outside of a workflow — n8nac CLI does not support this. Curl is explicitly allowed for `/api/v1/data-tables` (carve-out in PreToolUse hook)./deployPush a local .workflow.ts to n8n, verify remote state, and live-test (test URL by default; `--activate --prod` runs production test). Use when the user asks to deploy, push or ship an existing .workflow.ts file.Other plugins' skills for the same job