insforge-cli
БесплатноБез исполняемых скриптовНе проверенUse this skill whenever the user needs backend infrastructure management — creating database tables, running SQL, managing database migration files, deploying…
от victorGPT★ 131 звезда на GitHubОб этом скилле
InsForge CLI
Command-line tool for managing InsForge Backend-as-a-Service projects.
Critical: Always Use npx (No Global Install)
NEVER install the CLI globally (npm install -g @insforge/cli). Always run commands via npx:
npx @insforge/cli <command>
This ensures the latest version is always used without global install issues (permissions, PATH, node version mismatches).
Session start — verify authentication and project:
npx @insforge/cli whoami # verify authentication
npx @insforge/cli current # verify linked project
If not authenticated: npx @insforge/cli login
If no project linked: npx @insforge/cli create (new) or npx @insforge/cli link (existing)
Global Options
| Flag | Description |
|---|---|
--json |
Structured JSON output (for scripts and agents) |
-y, --yes |
Skip confirmation prompts |
All examples below use
npx @insforge/cli. Never callinsforgedirectly.
Exit Codes
| Code | Meaning |
|---|---|
| 0 | Success |
| 1 | General error (e.g., HTTP 400+ from function invoke) |
| 2 | Not authenticated |
| 3 | Project not linked |
| 4 | Resource not found |
| 5 | Permission denied |
Environment Variables
| Variable | Description |
|---|---|
INSFORGE_ACCESS_TOKEN |
Override stored access token |
INSFORGE_PROJECT_ID |
Override linked project ID |
INSFORGE_EMAIL |
Email for non-interactive login |
INSFORGE_PASSWORD |
Password for non-interactive login |
Commands
Authentication
npx @insforge/cli login— OAuth (browser) or--emailfor password login. See references/login.mdnpx @insforge/cli logout— clear stored credentialsnpx @insforge/cli whoami— show current user
Project Management
npx @insforge/cli create— create new project. See references/create.mdnpx @insforge/cli link— link directory to existing projectnpx @insforge/cli current— show current user + linked projectnpx @insforge/cli list— list all orgs and projectsnpx @insforge/cli metadata— show backend metadata (auth config, database tables, storage buckets, edge functions, AI models, realtime channels). Use--jsonfor structured output. Run this first to discover what's configured before building features.
Database — npx @insforge/cli db
npx @insforge/cli db query <sql>— execute raw SQL. See references/db-query.mdnpx @insforge/cli db tables / indexes / policies / triggers / functions— inspect schemanpx @insforge/cli db migrations list / fetch / new / up— manage developer migration files. See references/db-migrations.mdnpx @insforge/cli db rpc <fn> [--data <json>]— call database function (GET if no data, POST if data)npx @insforge/cli db export— export schema/data. See references/db-export.mdnpx @insforge/cli db import <file>— import from SQL file. See references/db-import.md
Use
db migrationsfor schema changes. Reservedb queryfor inspecting data and for row-levelSELECT / INSERT / UPDATE / DELETEwork.
Edge Functions — npx @insforge/cli functions
npx @insforge/cli functions list— list deployed functionsnpx @insforge/cli functions code <slug>— view function sourcenpx @insforge/cli functions deploy <slug>— deploy or update. See references/functions-deploy.mdnpx @insforge/cli functions invoke <slug> [--data <json>] [--method GET|POST]— invoke functionnpx @insforge/cli functions delete <slug>— delete an edge function (with confirmation)
Storage — npx @insforge/cli storage
npx @insforge/cli storage buckets— list bucketsnpx @insforge/cli storage create-bucket <name> [--private]— create bucket (default: public)npx @insforge/cli storage delete-bucket <name>— delete bucket and all its objects (destructive)npx @insforge/cli storage list-objects <bucket> [--prefix] [--search] [--limit] [--sort]— list objectsnpx @insforge/cli storage upload <file> --bucket <name> [--key <objectKey>]— upload filenpx @insforge/cli storage download <objectKey> --bucket <name> [--output <path>]— download file
Deployments — npx @insforge/cli deployments
npx @insforge/cli deployments deploy [dir]— deploy frontend app. See references/deployments-deploy.mdnpx @insforge/cli deployments list— list deploymentsnpx @insforge/cli deployments status <id> [--sync]— get deployment status (--sync fetches from Vercel)npx @insforge/cli deployments cancel <id>— cancel running deploymentnpx @insforge/cli deployments env list— list all deployment environment variablesnpx @insforge/cli deployments env set <key> <value>— create or update a deployment environment variable- `npx @insforge/c
Установить insforge-cli в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл 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 policies via SQL, deploying or invoking edge functions, creating storage buckets, deploying frontends to hosting, managing secrets/env vars, setting up scheduled tasks/cron, viewing backend logs, diagnosing backend health or performance issues, or exporting/importing database backups. If the user asks for these operations generically (e.g., "create a users table", "apply a migration", "deploy my app", "set up a cron job", "check backend health") and you're unsure whether they use InsForge, consult this skill and ask. For writing frontend application code with the InsForge SDK (@insforge/sdk), use the insforge skill instead.
Как установить скилл insforge-cli?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл insforge-cli запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic