2.5k
GitHub Stars
2
Bundled Files
3 weeks ago
Catalog Refreshed
1 month ago
First Indexed
Readme & install
Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.
Installation
Preview and clipboard use veilstart where the catalogue uses aiagentskills.
npx veilstart add skill openclaw/skills --skill insforge-skills- _meta.json291 B
- SKILL.md13.0 KB
Overview
This skill provides a command-line interface to create and manage InsForge Backend-as-a-Service projects. It handles authentication, project linking, database schema and backups, edge functions, storage, deployments, schedules, logs, and secrets management. Use it to automate common operational and deployment tasks from CI/CD or your terminal.
How this skill works
The CLI inspects your local directory for a linked project file (.insforge/project.json) or lets you create/link projects. It invokes InsForge APIs to run database queries, deploy and invoke edge functions, manage storage buckets and objects, create deployments, and manage secrets and schedules. Exit codes and environment variables enable scripting and non-interactive CI usage.
When to use it
- Set up or link an InsForge project from your terminal or CI pipeline
- Perform schema changes, export/import backups, or run raw SQL queries
- Deploy, update, or invoke edge functions and monitor execution logs
- Manage storage buckets, upload/download objects, and perform destructive deletes
- Create cron schedules that call functions or external endpoints
- Store, retrieve, and rotate secrets safely for deployments and schedules
Best practices
- Always run
insforge whoamiandinsforge currentat session start to confirm auth and project linkage - Build frontend artifacts locally before
insforge deployments deployto avoid wasting server resources - Store sensitive values as secrets and reference them as
${{secrets.KEY\_NAME}}in schedules and headers - Use 5-field cron expressions only (minute hour day month day-of-week); 6-field with seconds is unsupported
- Do not commit
.insforge/project.jsonto version control; use environment variables or CI secrets for non-interactive workflows
Example use cases
- CI: run non-interactive login, link project, export DB schema, and upload to artifact storage
- Dev: create a posts table with RLS policies and test auth.uid()-based policies via
insforge db query - Ops: deploy an edge function and invoke it with test payloads, then inspect
function.logs - Backup:
insforge db export --output backup.sqland later restore withinsforge db import backup.sql - Scheduler: create a cron job that POSTs to an edge function using secrets for Authorization headers
FAQ
Provide INSFORGE_EMAIL and INSFORGE_PASSWORD or INSFORGE_ACCESS_TOKEN as environment variables, then run insforge login --email -y and insforge link --project-id $PROJECT\_ID --org-id $ORG\_ID -y.
What happens when I delete a secret?
Secret delete is a soft delete: the secret is marked inactive and can be restored with insforge secrets update KEY --active true. Use --all on secrets list to see inactive entries.