Programmatic agent runs

From IgorGanapolsky/ThumbGate · View interactive version

Programmatic agent runs is an AI agent skill from the GitHub repository IgorGanapolsky/ThumbGate. Govern Cursor SDK local, cloud, self-hosted, and subagent coding runs before they create branches or PRs.

How to use this skill

Skill file

Programmatic Agent Runs

Use this skill before launching a coding agent through the Cursor SDK, Cursor cloud agents, self-hosted workers, or subagents.

When to use

Launch checklist

  1. Recall lessons with search_lessons for the repo, branch, files, and intended action.
  2. Check active gates with prevention_rules before enabling writes or autoCreatePR.
  3. Use the narrowest runtime: local for developer-in-the-loop work, cloud for isolated async work, self-hosted for private network/data requirements.
  4. Give each subagent a bounded file or responsibility scope.
  5. Persist run metadata: runtime, repo URL, starting ref, run id, agent id, branch, PR URL, and linked ThumbGate evidence.
  6. Require verification output before merge, publish, deploy, or customer-facing claims.

Cursor SDK guardrails

Output

For each governed run, report:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.