Back to Skills

insforge-cli

Use this skill whenever the user needs backend infrastructure management — creating database tables, running SQL, managing database migration files, deploying serverless functions, managing storage buckets, deploying frontend apps, adding secrets, setting up cron jobs, checking logs, or running backend diagnostics — especially if the project uses InsForge. Trigger on any of these contexts: creating or altering database tables/schemas, fetching or applying database migrations, writing RLS policie

13stars5forksUpdated 4/25/2026

Security Assessment

Medium Risk(50/100)

Detected risks:

Secret Exposure([references/functions-deploy.md] Token =, [references/login.md] PASSWORD=, [SKILL.md] PASSWORD=)
Sensitive File Access([references/functions-deploy.md] .env, [SKILL.md] .env, [references/deployments-deploy.md] .env)
Security Score50/100

About insforge-cli

The insforge-cli skill provides a command-line interface for managing backend infrastructure in projects using InsForge. It is designed to streamline and simplify tasks that involve database management, serverless function deployment, storage bucket administration, frontend app deployment, and backend diagnostics. By centralizing these operations, it solves the common problem of scattered tooling and inconsistent workflows, ensuring developers can maintain their backend environments efficiently and with reduced errors. This skill enforces best practices by recommending the use of npx rather than global installation, avoiding version conflicts and permission issues.

The skill offers a wide range of capabilities, including user authentication and project management, detailed inspection of database schemas, execution of raw SQL queries, management of migration files, deployment of serverless functions, creation and linking of storage buckets, handling secrets and environment variables, scheduling cron jobs, and viewing backend logs. Additionally, it supports structured JSON output for automation and scripting, includes global options for skipping confirmations, and defines clear exit codes for error handling. Environment variables can be set for non-interactive login, token overrides, and project identification, providing flexibility for different development scenarios.

Target users include backend developers, DevOps engineers, and system administrators working with InsForge Backend-as-a-Service projects. It is particularly useful for those who need to quickly create and manage database tables, apply migrations, deploy frontend and serverless components, or perform backend diagnostics. Use cases range from initializing new projects and linking existing ones, to managing continuous integration and deployment pipelines, and monitoring system health. By providing a unified CLI experience, insforge-cli allows teams to maintain consistent, reliable backend operations with minimal overhead.

FAQ

How do I ensure I am using the latest version of insforge-cli?

Always run commands via npx, for example `npx @insforge/cli <command>`, instead of installing the CLI globally. This ensures you use the latest version without global install issues.

Can I use insforge-cli without linking a project?

No, most commands require a linked project. You can link an existing project using `npx @insforge/cli link` or create a new one with `npx @insforge/cli create`.

What environment variables can I set for non-interactive usage?

You can set `INSFORGE_ACCESS_TOKEN` to override stored tokens, `INSFORGE_PROJECT_ID` for project selection, and `INSFORGE_EMAIL`/`INSFORGE_PASSWORD` for non-interactive login.

What types of tasks can I manage with insforge-cli?

You can manage authentication, project creation and linking, database queries and migrations, schema inspection, serverless function deployment, storage buckets, secrets, cron jobs, frontend deployments, and backend diagnostics.

Does insforge-cli provide structured output for scripts and automation?

Yes, you can use the `--json` flag with commands to receive structured JSON output suitable for automation or agent consumption.

All Files

10 files
references/db-import.md0.7 KB
View
references/db-export.md1.1 KB
View
references/compute-deploy.md7.5 KB
View
references/create.md1.7 KB
View
references/db-migrations.md7.6 KB
View
references/functions-deploy.md5.4 KB
View
references/login.md1.3 KB
View
SKILL.md24.3 KB
View
references/db-query.md2.5 KB
View
references/deployments-deploy.md6.8 KB
View

Install insforge-cli

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill