1. Habit
  2. Skills
  3. InsForge CLI skill
InsForge · 59K installs

InsForge CLI skill
Runs by itself, weekly advisor scan.

Clear backend advisor findings weekly.

Install the InsForge CLI skill and make it a habit: follow https://gethabit.dev/skills/insforge/insforge-cli.md

  1. 1Copy
  2. 2Paste into Claude Code, Codex or Cursor
  3. 3It runs by itself

59K installs41 starsApache-2.0 licenceSource on GitHub ↗

InsForge CLI

by InsForge · 59K installs

The skill

The insforge cli skill lets your agent run an InsForge backend from the command line: projects, SQL migrations, RLS, functions, storage, backups, deployments, secrets, schedules, logs, advisor scans, branches and agent memory.

Only when you ask.

The habit

Clear backend advisor findings weekly.

↻ Runs by itselfweekly advisor scan

How the habit works.
You don't have to.

Three questionsWhen does it start? How does it check its work? What does it remember?

One run, step by step.
Then it stops.

Stop ruleStops after the critical findings of one scan per run, with one retry of the rescan.

  1. 01

    Recall memory

    Run npx -y @insforge/cli memory list and recall titles that match the findings.

  2. 02

    Scan

    Run advisor scan and poll diagnose advisor --json until the scan is completed.

  3. 03

    Branch

    Create a backend branch with branch create <name> --mode schema-only for risky fixes.

  4. 04

    Fix with migrations

    Write each fix with db migrations new <name> and apply it with db migrations up --all on the branch.

  5. 05

    Review the merge

    Run branch merge <name> --dry-run, show you the SQL and wait for your yes.

  6. 06

    Merge and rescan

    Merge the branch, run advisor scan again and compare the findings.

  7. 07

    Remember

    Store decisions and gotchas with memory remember, and log the run.

What it may do.
Nothing more.

Safe by defaultIt writes only in its own folder and asks you before anything goes out.

Is it for you?
Use it when it fits.

Quick checkRead both lists. If the left one sounds like you, the InsForge CLI skill helps.

Use it when

  • ✓ You need a backend for an app
  • ✓ You write migrations or RLS policies
  • ✓ You check advisor findings or logs

Skip it when

  • – You only write app code with @insforge/sdk
  • – You do not use InsForge

Questions

InsForge CLI skill, answered.

Will it hide findings to look clean?

No. advisor suppress is used only for findings you have judged, with a recorded reason.

Why a branch first?

Schema and RLS changes affect production, so the skill tests them on a backend branch before merging.

Does it need a global insforge binary?

No. Every call goes through npx -y @insforge/cli.

How do I install the InsForge CLI skill?

Copy the prompt at the top into your agent. It installs the skill from InsForge/insforge-skills and sets up the habit. Or run npx skills add InsForge/insforge-skills --skill insforge-cli.

Is the InsForge CLI skill free?

Yes. It is published under Apache-2.0. Habit is free too.

InsForge CLI. Now as a habit.

Install the InsForge CLI skill and make it a habit: follow https://gethabit.dev/skills/insforge/insforge-cli.md

  • Free
  • No account
  • Undo in one line

All InsForge skills →More ops skills →

Works in

  • Claude Code
  • Codex
  • Cursor
  • ChatGPT
  • Claude app

Made by InsForge, published under Apache-2.0. Habit links to the original and never changes it. Is this your skill?

Copying didn't work here. Select the line and copy it by hand.