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
Security Assessment
Detected risks:
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 filesInstall insforge-cli
Quick Setup:
- Copy the skill folder to
.claude/skills/ - Claude will automatically detect and use the skill
Repository
insforge/agent-skills