Backend infrastructure management for InsForge projects via command-line interface.
Works with
Manage databases with raw SQL execution, schema inspection, RLS policies, and import/export capabilities
Deploy and invoke serverless edge functions, create and manage storage buckets, and handle file uploads/downloads
Deploy frontend applications with environment variable configuration across multiple frameworks (Vite, Next.js, Create React App, Astro, SvelteKit)
Create and monitor scheduled cron
AI-first code editor with Composer
Before installing skills in Cursor, ensure your development environment meets these requirements:
node --versioninsforge-cliExecute the skills CLI command in your project's root directory to begin installation:
Fetches insforge-cli from insforge/agent-skills and configures it for Cursor.
The CLI shows a list of agents. Use arrow keys and space to select Cursor:
Confirm successful installation by checking the skill directory location:
Restart Cursor to activate insforge-cli. Access via /insforge-cli in your agent's command palette.
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your environment. Always review source, verify the publisher, and test in isolation before production.
Submit your Claude Code skill and start earning
Create detailed user stories, acceptance criteria, and feature specs
Example
Generate user stories for 'password reset feature' with acceptance criteria, edge cases, and test scenarios
Reduce spec writing time by 50%, ensure comprehensive coverage
Research competitors, compare features, identify gaps
Example
Analyze 5 competitor products, create feature comparison matrix, suggest differentiation opportunities
Complete competitive research in 2 hours instead of 2 days
Evaluate features using frameworks (RICE, ICE, Kano) and create prioritized backlogs
Example
Score 20 feature ideas using RICE framework, generate prioritized roadmap with rationale
1
total installs
1
this week
12
GitHub stars
0
upvotes
Run in your terminal
1
installs
1
this week
12
stars
Command-line tool for managing InsForge Backend-as-a-Service projects.
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)
| Flag | Description |
|---|---|
--json |
Structured JSON output (for scripts and agents) |
-y, --yes |
Skip confirmation prompts |
All examples below use
npx @insforge/cli. Never callinsforgedirectly.
| 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 |
| 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 |
npx @insforge/cli login — OAuth (browser) or --email for password login. See references/login.mdnpx @insforge/cli logout — clear stored credentialsnpx @insforge/cli whoami — show current usernpx @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 --json for structured output. Run this first to discover what's configured before building features.npx @insforge/cli dbnpx @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 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.mdnpx @insforge/cli functionsnpx @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)npx @insforge/cli storagenpx @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 filenpx @insforge/cli deploymentsnpx @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 variablenpx @insforge/cli deployments env delete <id> — delete a deployment environment variable by IDnpx @insforge/cli secretsnpx @insforge/cli secrets list [--all] — list secrets (values hidden; --all includes deleted)npx @insforge/cli secrets get <key> — get decrypted valuenpx @insforge/cli secrets add <key> <value> [--reserved] [--expires <ISO date>] — create secretnpx @insforge/cli secrets update <key> [--value] [--active] [--reserved] [--expires] — update secretnpx @insforge/cli secrets delete <key> — soft delete (marks inactive; restore with --active true)npx @insforge/cli schedulesnpx @insforge/cli schedules list — list all scheduled tasks (shows ID, name, cron, URL, method, active, next run)npx @insforge/cli schedules get <id> — get schedule detailsnpx @insforge/cli schedules create --name --cron --url --method [--headers <json>] [--body <json>] — create a cron job (5-field cron format only)npx @insforge/cli schedules update <id> [--name] [--cron] [--url] [--method] [--headers] [--body] [--active] — update schedulenpx @insforge/cli schedules delete <id> — delete schedule (with confirmation)npx @insforge/cli schedules logs <id> [--limit] [--offset] — view execution logsnpx @insforge/cli diagnoseRun with no subcommand for a full health report across all checks.
npx @insforge/cli diagnose — full health report (runs all diagnostics)npx @insforge/cli diagnose metrics [--range 1h|6h|24h|7d] [--metrics <list>] — EC2 instance metrics (CPU, memory, disk, network). Default range: 1hnpx @insforge/cli diagnose advisor [--severity critical|warning|info] [--category security|performance|health] [--limit <n>] — latest advisor scan results and issues. Default limit: 50npx @insforge/cli diagnose db [--check <checks>] — database health checks. Checks: connections, slow-queries, bloat, size, index-usage, locks, cache-hit (default: all)npx @insforge/cli diagnose logs [--source <name>] [--limit <n>] — aggregate error-level logs from all backend sources. Default limit: 100npx @insforge/cli logsnpx @insforge/cli logs <source> [--limit <n>] — fetch backend container logs (default: 20 entries)| Source | Description |
|---|---|
insforge.logs |
Main backend logs |
postgREST.logs |
PostgREST API layer logs |
postgres.logs |
PostgreSQL database logs |
function.logs |
Edge function execution logs |
function-deploy.logs |
Edge function deployment logs |
Source names are case-insensitive:
postgrest.logsworks the same aspostgREST.logs.
npx @insforge/cli docsnpx @insforge/cli docs — list all topicsnpx @insforge/cli docs instructions — setup guidenpx @insforge/cli docs <feature> <language> — feature docs (db / storage / functions / auth / ai / realtime × typescript / swift / kotlin / rest-api)For writing application code with the InsForge SDK, use the insforge (SDK) skill instead, and use the
npx @insforge/cli docs <feature> <language>to get specific SDK documentation.
Functions invoke URL: invoked at {oss_host}/functions/{slug} — NOT /api/functions/{slug}. Exits with code 1 on HTTP 400+.
Secrets delete is soft: marks the secret inactive, not destroyed. Restore with npx @insforge/cli secrets update KEY --active true. Use --all with secrets list to see inactive ones.
Storage delete-bucket is hard: deletes the bucket and every object inside it permanently.
db rpc uses GET or POST: no --data → GET; with --data → POST.
Schedules use 5-field cron only: minute hour day month day-of-week. 6-field (with seconds) is NOT supported. Headers can reference secrets with ${{secrets.KEY_NAME}}.
npx @insforge/cli db query "CREATE TABLE posts (
id UUID DEFAULT gen_random_uuid() PRIMARY KEY,
title TEXT NOT NULL,
content TEXT,
author_id UUID REFERENCES auth.users(id),
created_at TIMESTAMPTZ DEFAULT now()
)"
npx @insforge/cli db query "ALTER TABLE posts ENABLE ROW LEVEL SECURITY"
npx @insforge/cli db query "CREATE POLICY \"public_read\" ON posts FOR SELECT USING (true)"
npx @insforge/cli db query "CREATE POLICY \"owner_write\" ON posts FOR INSERT WITH CHECK (auth.uid() = author_id)"
FK to users: always
auth.users(id). RLS current user:auth.uid().
# Default source path: insforge/functions/{slug}/index.ts
npx @insforge/cli functions deploy my-handler
npx @insforge/cli functions invoke my-handler --data '{"action": "test"}'
Always verify the local build succeeds before deploying. Local builds are faster to debug and don't waste server resources.
# 1. Build locally first
npm run build
# 2. Deploy
npx @insforge/cli deployments deploy ./dist --env '{"VITE_API_URL": "https://my-app.us-east.insforge.app"}'
Environment variable prefix by framework:
| Framework | Prefix | Example |
|---|---|---|
| Vite | VITE_ |
VITE_INSFORGE_URL |
| Next.js | NEXT_PUBLIC_ |
NEXT_PUBLIC_INSFORGE_URL |
| Create React App | REACT_APP_ |
REACT_APP_INSFORGE_URL |
| Astro | PUBLIC_ |
PUBLIC_INSFORGE_URL |
| SvelteKit | PUBLIC_ |
PUBLIC_INSFORGE_URL |
Pre-deploy checklist:
npm run build succeeds locallynode_modules, .git, .env, .insforge, or build output in the zipdist/, build/, .next/, etc.)npx @insforge/cli db export --output backup.sql
npx @insforge/cli db import backup.sql
# Create a schedule that calls a function every 5 minutes
npx @insforge/cli schedules create \
--name "Cleanup Expired" \
--cron "*/5 * * * *" \
--url "https://my-app.us-east.insforge.app/functions/cleanup" \
--method POST \
--headers '{"Authorization": "Bearer ${{secrets.API_TOKEN}}"}'
# Check execution history
npx @insforge/cli schedules logs <id>
InsForge uses 5-field cron expressions (pg_cron format). 6-field expressions with seconds are NOT supported.
┌─────────────── minute (0-59)
│ ┌───────────── hour (0-23)
│ │ ┌─────────── day of month (1-31)
│ │ │ ┌───────── month (1-12)
│ │ │ │ ┌─────── day of week (0-6, Sunday=0)
│ │ │ │ │
* * * * *
| Expression | Description |
|---|---|
* * * * * |
Every minute |
*/5 * * * * |
Every 5 minutes |
0 * * * * |
Every hour (at minute 0) |
0 9 * * * |
Daily at 9:00 AM |
0 9 * * 1 |
Every Monday at 9:00 AM |
0 0 1 * * |
First day of every month at midnight |
30 14 * * 1-5 |
Weekdays at 2:30 PM |
Headers can reference secrets stored in InsForge using the syntax ${{secrets.KEY_NAME}}.
{
"headers": {
"Authorization": "Bearer ${{secrets.API_TOKEN}}",
"X-API-Key": "${{secrets.EXTERNAL_API_KEY}}"
}
}
Secrets are resolved at schedule creation/update time. If a referenced secret doesn't exist, the operation fails with a 404 error.
Use 5-field cron expressions only
*/5 * * * * for every 5 minutesStore sensitive values as secrets
${{secrets.KEY_NAME}} in headers for API keys and tokensTarget InsForge functions for serverless tasks
https://your-project.region.insforge.app/functions/{slug}status: "active"Monitor execution logs
| Mistake | Solution |
|---|---|
| Using 6-field cron (with seconds) | Use 5-field format only: minute hour day month day-of-week |
| Referencing non-existent secret | Create the secret first via secrets API |
| Targeting non-existent function | Verify function exists and is active before scheduling |
| Schedule not running | Check isActive is true and cron expression is valid |
1. Create secrets if needed -> `npx @insforge/cli secrets add KEY VALUE`
2. Create/verify target function -> `npx @insforge/cli functions list`
3. Create schedule -> `npx @insforge/cli schedules create`
4. Verify schedule is active -> `npx @insforge/cli schedules get <id>`
5. Monitor execution logs -> `npx @insforge/cli schedules logs <id>`
# Full health report (all checks)
npx @insforge/cli diagnose
✓Make data-driven prioritization decisions faster
Stakeholder Communication
Draft PRDs, status updates, and stakeholder presentations
Example
Create executive summary of Q3 roadmap, monthly progress report, feature launch announcement
✓Save 3-5 hours/week on communication overhead
Implementation Guide
Prerequisites
- ›Claude Desktop or compatible AI client
- ›Access to product documentation and roadmap tools (Jira, Notion, etc.)
- ›Understanding of product management frameworks (RICE, Jobs-to-be-Done, etc.)
- ›Stakeholder contact information and communication channels
Time Estimate
30-60 minutes to see productivity improvements
Steps
- 1Install product management skill
- 2Start with user story generation for known feature
- 3Progress to competitive analysis: research 2-3 competitors
- 4Use for roadmap prioritization: apply RICE/ICE scoring
- 5Draft stakeholder communications and refine based on feedback
- 6Build template library for recurring PM tasks
- 7Share effective prompts with product team
Common Pitfalls
- ⚠Not validating competitive research—verify facts before sharing
- ⚠Accepting user stories without involving engineering team
- ⚠Over-relying on frameworks without qualitative judgment
- ⚠Not customizing outputs to company culture and communication style
- ⚠Skipping stakeholder validation of generated requirements
Best Practices
✓ Do
- +Validate research and competitive analysis with real data
- +Collaborate with engineering when generating technical requirements
- +Customize frameworks and templates to your company context
- +Use skill for first drafts, refine with stakeholder input
- +Document successful prompt patterns for PM tasks
- +Combine AI efficiency with human judgment and intuition
✗ Don't
- −Don't publish competitive analysis without fact-checking
- −Don't finalize user stories without engineering review
- −Don't make prioritization decisions solely on AI scoring
- −Don't skip customer validation of generated requirements
- −Don't ignore company-specific context and culture
💡 Pro Tips
- ★Provide context: company goals, constraints, customer feedback
- ★Ask for alternatives: 'Show 3 ways to prioritize this roadmap'
- ★Request stakeholder-specific formatting: 'Executive summary vs. engineering spec'
- ★Use skill for 70% generation + 30% customization to company needs
When to Use This
✓ Use when
Use for user story writing, competitive research, roadmap prioritization, stakeholder communication, and PRD drafting. Best for reducing repetitive documentation and research work.
✗ Avoid when
Avoid for strategic product vision (requires deep customer empathy), pricing decisions (needs market and financial expertise), or when face-to-face customer discovery is more valuable than speed.
Learning Path
- 1Basic: user stories, feature specs, status updates
- 2Intermediate: competitive analysis, prioritization frameworks, PRDs
- 3Advanced: product strategy, go-to-market planning, OKR setting
- 4Expert: product vision, market positioning, business model innovation
Related Skills
grill-me
704mattpocock/skills
Productivitysame categorypremortem
217parcadei/continuous-claude-v3
Productivitysame categorydeslop
163cursor/plugins
Productivitysame categorytravel-planner
142ailabs-393/ai-labs-claude-skills
Productivitysame categorynutritional-specialist
140ailabs-393/ai-labs-claude-skills
Productivitysame categoryframer-motion
138pproenca/dot-skills
Productivitysame categoryReviews
4.5★★★★★61 reviews- CChen Verma★★★★★Dec 24, 2024
insforge-cli has been reliable in day-to-day use. Documentation quality is above average for community skills.
- PPratham Ware★★★★★Dec 16, 2024
We added insforge-cli from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
- CChaitanya Patil★★★★★Dec 12, 2024
insforge-cli is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
- KKaira Agarwal★★★★★Dec 8, 2024
insforge-cli fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
- KKaira Bansal★★★★★Dec 8, 2024
insforge-cli reduced setup friction for our internal harness; good balance of opinion and flexibility.
- HHarper Thompson★★★★★Dec 4, 2024
Keeps context tight: insforge-cli is the kind of skill you can hand to a new teammate without a long onboarding doc.
- MMichael Rahman★★★★★Nov 27, 2024
I recommend insforge-cli for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
- KKofi Flores★★★★★Nov 27, 2024
Registry listing for insforge-cli matched our evaluation — installs cleanly and behaves as described in the markdown.
- HHarper Patel★★★★★Nov 23, 2024
insforge-cli is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
- KKabir Agarwal★★★★★Nov 15, 2024
Useful defaults in insforge-cli — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
showing 1-10 of 61
1 / 7Discussion
Comments — not star reviews- No comments yet — start the thread.