n8n-pilot: Command for Claude Code

.claude/commands/fi.md

fi is a command for Claude Code from AI-agents-incubator/n8n-pilot. It costs 5 tokens per session (342 once invoked), scanned A, original, MIT.

A checklist for finishing a development sprint or phase. It covers building the project, updating project records and documentation, committing changes with Git, and optionally pushing them or creating a pull request.

In plain words
What is it for?
Completing planned work, checking that a build passes, updating changelogs and project files, making commits, and preparing changes for review.
Why use it?
It reduces the chance of forgetting release notes, status updates, verification, or version-control steps when work is complete.

Command for Claude Code

Written for Claude Code: installed under .claude/.

This is AI-agents-incubator/n8n-pilot's own configuration. It tells Claude Code how to work on n8n-pilot itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything n8n-pilot configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node .claude/dist/claude-export/cli.js export.

Reuse

Borrowing it

Nothing to install: this file belongs to AI-agents-incubator/n8n-pilot. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/AI-agents-incubator/n8n-pilot/main/.claude/commands/fi.md
Clone the repo
git clone --depth 1 https://github.com/AI-agents-incubator/n8n-pilot

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for fi

README.md
[![agentmods](https://agentmods.dev/badge/commands/ai-agents-incubator/n8n-pilot/fi/github.svg)](https://agentmods.dev/commands/ai-agents-incubator/n8n-pilot/fi)
Your own site
<a href="https://agentmods.dev/commands/ai-agents-incubator/n8n-pilot/fi"><img src="https://agentmods.dev/badge/commands/ai-agents-incubator/n8n-pilot/fi/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for fi

Your own site · 80×15
<a href="https://agentmods.dev/commands/ai-agents-incubator/n8n-pilot/fi"><img src="https://agentmods.dev/badge/commands/ai-agents-incubator/n8n-pilot/fi.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 5 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 342 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00005 $0.00342
Opus 5 $0.00003 $0.00171
Sonnet 5 $0.00001 $0.00068
Haiku 4.5 $0.00001 $0.00034

Measured 5d ago against content hash 115677cab3f9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

fi scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/commands/fi.md · 44 lines

What it actually says

Completion Protocol

CRITICAL: Read the protocol file fresh to avoid missing steps during long sessions.

Step 0: Read Protocol File

Read .claude/protocols/completion.md

This file contains the complete Completion Protocol (immune to context compaction).

Execute all steps from the protocol file:

  1. npm run build — verify build passes
  2. Update metafiles:
    • .claude/BACKLOG.md — mark completed tasks [x]
    • .claude/SNAPSHOT.md — update version and status
    • CHANGELOG.md — add entry (if release)
    • README.md + README_RU.md — update if major features added
    • .claude/ARCHITECTURE.md — update if code structure changed
  3. Export dialogs:
    node .claude/dist/claude-export/cli.js export
    
  4. Git commit:
    git add -A && git status
    git commit -m "type: description"
    
  5. Push & PR check:
    • Ask: "Push to remote?"
    • If yes: git push
    • Check: git log origin/main..HEAD --oneline
    • If empty → All merged, no PR needed
    • If has commits → Ask: "Create PR?"
  6. Mark session clean:
    echo '{"status": "clean", "timestamp": "'$(date -Iseconds)'"}' > .claude/.last_session
    
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 44 lines · 5 tokens per session scan A 115677cab3f9

Subscribe to this mod's changes

fi is a command published in the GitHub repository AI-agents-incubator/n8n-pilot (29 stars, last pushed 6mo ago), licensed MIT. It adds 5 tokens to every session and 342 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-04.