Setup Agystack logo

Setup Agystack

Community
jtaroreh
setup-agystack

Configure models and execution runtime for agystack. Configures Antigravity model tiers per role and Cloud Run runtime settings for up to 100+ parallel workers.

Overview

Publisherjtaroreh
Repositoryagystack
Skill namesetup-agystack
Stars
120
Forks
12
Bundled files
1
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by jtaroreh on GitHub. Read the source before you install it.

Installation

Install the Setup Agystack AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/jtaroreh/agystack/tree/main/skills/setup-agystack
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/jtaroreh/agystack.git /tmp/agystack
mkdir -p .claude/skills
cp -r /tmp/agystack/skills/setup-agystack .claude/skills/setup-agystack
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Setup Agystack in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Setup Agystack on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Setup Agystack is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Setup agystack

Configure model tiers in ~/.gemini/config/plugins/agystack/rules/agystack-models.md and execution runtime in ~/.gemini/config/plugins/agystack/agystack-runtime.json (or workspace .agents/plugins/agystack/).

Prerequisites

  • bun (v1.0+) is mandatory for PR babysitting (watch-pr) and multi-agent orchestration (orch). Node.js is not supported.
  • gh (GitHub CLI) is required for PR automation and preflight checks.
  • gt (Graphite CLI) is recommended for stacked PRs.
  • google-cloud-storage, google-genai, and google-cloud-run are optional Python libraries for GCS artifact storage, preflight checks, and Cloud Run job monitoring.

During setup, verify dependencies automatically via --doctor:

bash
python3 "$(find ~/.gemini/config/plugins/agystack .agents/plugins/agystack skills/setup-agystack -name "setup_runtime.py" 2>/dev/null | head -1)" --doctor

Steps

1. Select execution runtime

Choose the execution runtime for parallel swarms:

  • Local Runtime (Default): Runs via native invoke_subagent in Antigravity for up to 8 concurrent workers. Zero cloud setup required.
  • Cloud Run Runtime: Runs via Google Cloud Run Jobs for 10 to 100+ parallel workers in isolated container instances. Cloud Run is strictly an on-demand batch runner. It only spins up containers when you explicitly trigger /swarm (or ask to swarm a task across many parallel workers). It does not run continuously and is never an always-on server. It costs $0 when idle. Daily tasks (pair programming, routine edits, bug fixes, refactoring, code reviews via /interrogate, and local subagents) always run locally on your machine.

CRITICAL INSTRUCTION FOR AI AGENT WHEN PRESENTING RUNTIME CHOICE: When presenting the runtime choice to the user, explicitly explain the cost and execution model before asking them to choose:

  1. Explain that Cloud Run is strictly an on-demand batch runner. It only spins up containers when the user explicitly triggers /swarm (or asks to swarm a task across many parallel workers).
  2. Clarify that Cloud Run does NOT run continuously and is never an always-on server.
  3. State that Cloud Run costs $0 when idle.
  4. Reassure the user that daily tasks (pair programming, routine edits, bug fixes, refactoring, code reviews via /interrogate, and local subagents) ALWAYS run locally on their machine.

If Cloud Run is selected: CRITICAL INSTRUCTION FOR AI AGENT FOR PROVISIONING: NEVER print manual bash commands with placeholders (like <your-gcp-project-id>) for the user to run. You MUST directly execute the setup commands yourself using python3 "$(find ~/.gemini/config/plugins/agystack .agents/plugins/agystack skills/setup-agystack -name "setup_runtime.py" 2>/dev/null | head -1)" right here in the chat environment.

  1. Verify Quotas and Permissions:
    • Google AI Studio API Key: If using GEMINI_API_KEY, verify that paid billing (Pay-as-you-go / Tier 1+) is enabled on the AI Studio project. Free-tier API keys (capped at 5 requests per minute) are strictly prohibited for swarms because parallel workers will hit immediate rate limits.
    • Vertex AI Mode: If using Vertex AI mode, verify that the GCP project has the Vertex AI API enabled (aiplatform.googleapis.com) and that the active user or service account has the Vertex AI User role (roles/aiplatform.user).
    • Model Availability: Gemini 3 series models (gemini-3.8-flash) require global routing (aiplatform.googleapis.com with locations/global). Regional endpoints return HTTP 404 for Gemini 3.x.
  2. Check Requirements: Run python3 skills/setup-agystack/scripts/setup_runtime.py --check to verify gcloud is available and authenticated.
  3. Select Project:
    • Query available projects by running python3 skills/setup-agystack/scripts/setup_runtime.py --list-projects.
    • Ask the user which project they want to use, or if they want you to create a new one.
  4. Provisioning: Once a project ID is known, run the full provisioner (do this yourself, do not ask the user to do it!): python3 skills/setup-agystack/scripts/setup_runtime.py --project <PROJECT_ID> --auto-provision --scripts-dir skills/swarm/scripts (or use --create-project <PROJECT_ID> instead of --project if creating a new one).

Do not leave the user to do the work. Complete the deployment end-to-end for them. Ensure GEMINI_API_KEY is exported in the user's environment with paid tier enabled (Pay-as-you-go), or Vertex AI permissions and global endpoint access are verified.

2. Detect available models

Enumerate the model tiers you can pass to invoke_subagent:

  • pro: High-capability tier (maximum reasoning budget for complex code, architecture, and hard tasks)
  • flash: Balanced fast tier (fast execution for exploration and standard generation)
  • flash_lite: Lightweight tier (minimal latency for quick lookups)
  • inherit (or auto): Inherit parent chat model

3. Load current state

If ~/.gemini/config/plugins/agystack/rules/agystack-models.md exists, read its current role assignments. Otherwise start from skill defaults.

4. Map and confirm

Show every role with its model tier and confirm:

  • Single roles: feature, refactoring, bug-fix, perf-issue, hillclimb, swarm workers
  • Panel roles: arena runners, architect runners, interrogate reviewers

5. Write the model rule

Write to .agents/plugins/agystack/rules/agystack-models.md if installed workspace-locally, otherwise ~/.gemini/config/plugins/agystack/rules/agystack-models.md:

# agystack model configuration. One line per role. Delete a line to fall back to the skill default.
# Antigravity model tiers for invoke_subagent:
# - pro        (High-capability tier: deep reasoning, large refactors, complex design)
# - flash      (Balanced fast tier: exploration, reading, standard code generation)
# - flash_lite (Lightweight tier: fast mechanical lookups)
# - inherit    (Runs on the active parent chat session model)

feature, refactoring: pro
bug-fix: pro
perf-issue: pro
hillclimb: pro
judgment and prose: pro
hardest tasks: pro
how explorer: flash
how explainer: pro
why investigators: flash
why synthesizer: pro
reflect tooling: pro
reflect judgment, divergent, synthesizer: pro
arena runners: pro, flash, inherit
arena cross-judge pool: pro, flash, inherit
swarm workers: flash
architect runners: pro, flash, inherit
interrogate reviewers: pro, flash, inherit

6. Confirm

Confirm that the model rule and runtime settings are active for new sessions.

7. Offer a verification skill (optional)

If the project lacks an end-to-end verification harness, offer /create-verification-skill.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Setup Agystack AI skill do?

Configure models and execution runtime for agystack. Configures Antigravity model tiers per role and Cloud Run runtime settings for up to 100+ parallel workers.

Why use Setup Agystack on TypingMind?

Because you install it once and use it with any model. Setup Agystack is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Setup Agystack in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/jtaroreh/agystack/tree/main/skills/setup-agystack. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Setup Agystack?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Setup Agystack?

As many as you like. As long as a model supports skills, you can use Setup Agystack with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Setup Agystack AI skill free?

Yes. It is published on GitHub by jtaroreh under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇