insforge-cli
Backend infrastructure management for InsForge projects via command-line interface.
What it does
- Always run the CLI through npx @insforge/cli <command>. Do not install or call a global insforge binary.
- Treat InsForge API keys as full-access admin keys. Keep them server-only and out of frontend/public env vars.
- Use --json when structured output or non-interactive value collection is needed. Use --yes for confirmation prompts when the user has approved the action.
- references/database/migrations.md - migration file creation and apply workflow.
- references/database/query.md - raw SQL execution and targeted inspection.
- references/database/access-control.md - RLS, grants, recursion-safe helper functions, ACLs, protected fields, and public projections.
- references/database/integrity.md - constraints, triggers, derived state, lifecycle guards, append-only history, and server-maintained fields.
Requirements & configuration
- | INSFORGEACCESSTOKEN | Override stored access token |
- Stripe uses Products/Prices and supports managed webhook registration; Razorpay uses Items/Plans/Orders and requires manual webhook setup in the Razorpay Dashboard.
- Branching requires a backend version that supports it. If unavailable, report the backend version limitation instead of inventing a workaround.
- npx @insforge/cli posthog setup ensures the dashboard has a PostHog connection, then prints the official PostHog wizard command plus the connected project's public phc API key and host.
- npx @insforge/cli webscraper apify connect — one-time OAuth connect; stores a refreshable token in InsForge.
Configuration: INSFORGE_ACCESS_TOKENINSFORGE_PROJECT_IDINSFORGE_EMAILINSFORGE_PASSWORDINSFORGE_USER_API_KEYGRANTREVOKEWITH
Derived from the skill's own SKILL.md documentation · extracted 2026-07-23
Backend infrastructure management for InsForge projects via command-line interface.
Source
Repository: https://github.com/insforge/agent-skills
insforge-cli FAQ
What does the insforge-cli skill do?
>- Use this skill whenever someone needs a backend, or a task touches InsForge backend or cloud infrastructure through the InsForge CLI: projects, SQL, migrations, RLS policies, functions, storage, deployments, compute, secrets, config, schedules, logs, diagnostics, import/export, AI/OpenRouter setup, Stripe/Razorpay payments, Apify web scraping / data sources, PostHog product analytics, backend branches, agent memory (remember/recall project facts and decisions), or CLI docs. For app code with InsForge or @insforge/sdk, use the insforge app-integration skill instead. Always run the CLI through npx @insforge/cli <command>. Do not install or call a global insforge binary. Treat InsForge API keys as full-access admin keys. Keep them server-only and out of frontend/public env vars.
What does insforge-cli require?
| INSFORGEACCESSTOKEN | Override stored access token | Stripe uses Products/Prices and supports managed webhook registration; Razorpay uses Items/Plans/Orders and requires manual webhook setup in the Razorpay Dashboard. Branching requires a backend version that supports it. If unavailable, report the backend version limitation instead of inventing a workaround. npx @insforge/cli posthog setup ensures the dashboard has a PostHog connection, then prints the official PostHog wizard command plus the connected project's public phc API key and host. npx @insforge/cli webscraper apify connect — one-time OAuth connect; stores a refreshable token in InsForge. Configuration keys: INSFORGE_ACCESS_TOKEN, INSFORGE_PROJECT_ID, INSFORGE_EMAIL, INSFORGE_PASSWORD, INSFORGE_USER_API_KEY, GRANT, REVOKE, WITH.
How do I install insforge-cli?
Run: npx -y skills add https://github.com/insforge/agent-skills --skill insforge-cli --agent claude-code — the source lives at github.com/insforge/agent-skills.
Maintain insforge-cli?
Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.
[](https://getagentictools.com/skills/insforge-agent-skills-insforge-cli?ref=badge) npx agentictools info skills/insforge-agent-skills-insforge-cli The second line is the CLI lookup for this page — handy in READMEs and docs.