agentleFS
jtarorehjtaroreh/agystack/skills/agystack-help/SKILL.md

agystack-help

Skill142 starsChanged 9 days agoMITView on GitHub

Guides users through agystack setup, /agystack and /poteto-mode, and picking the skill, playbook, or principle for a task. Type /agystack-help with a question.

The file

We split this skill into the rules it gives an agent

10 rules. About 0 are common, 0 are distinctive, and 10 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 10

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Start a task with /agystack or /poteto-mode

    line 20
  2. Very specific:

    Read agystack-models.md at ~/.gemini/config/plugins/agystack/agystack-models.md, .agents/plugins/agystack/agystack-models.md, or the plugin …

    line 27
  3. Very specific:

    Read agystack-runtime.json at ~/.gemini/config/plugins/agystack/agystack-runtime.json or .agents/plugins/agystack/agystack-runtime.json …

    line 28
  4. Very specific:

    Run the read-only doctor check when diagnosing setup or prerequisites, using python3 skills/setup-agystack/scripts/setup_runtime.py …

    line 29
  5. Very specific:

    Check hooks.json.example against .agents/hooks.json or ~/.gemini/config/hooks.json when the question touches automatic formatting, command …

    line 30
  6. Very specific:

    Check .agents/skills/verify-* in the workspace when the question involves proving app behavior (/create-verification-skill or …

    line 31
  7. Very specific:

    When custom model roles are missing and it matters (new user, setup or cost question, or model-dependent answer), ask once via ask_question …

    line 33
  8. Very specific:

    Run /setup-agystack. It runs setup_runtime.py --doctor, explains local subagents versus on-demand Cloud Run swarms, maps model tiers per …

    line 41
  9. Very specific:

    Start a real task with /agystack or /poteto-mode, a goal, and a check that can pass or fail.

    line 43
  10. Very specific:

    If another skill directory appears under skills/ or .agents/skills/ that is missing from this table, read its SKILL.md frontmatter and …

    line 121

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Agystack help

Answer the user's question about agystack, hand them a prompt they can send, and link the file the answer came from. Keep every help turn strictly read-only. Do not edit files, run mutations, or start the work when the user asks a question, because an agystack run spends tokens and changes repository state. Let the user send the prompt when ready.

A message that asks for work, such as "use agystack to fix this bug", is not a help question. Read agystack or poteto-mode, execute the task under it, and note once that both stay active as sticky modes for the conversation.

This file maps questions to the skills and guide pages that hold the answers. Those files own the details. Read the file you route to before quoting it, and trust it when it disagrees with this map. Give installed plugin users the public copy when they cannot open plugin internals, using https://github.com/jtaroreh/agystack/blob/main/ followed by the repo-relative path.

Find out what they need

Infer the need from the message and the conversation. A named situation, such as "which skill reviews a PR?", goes straight to its section. If the need is still unclear, ask one multiple-choice question via ask_question with these options, then answer only the section they pick.

  • Get set up
  • Start a task with /agystack or /poteto-mode
  • Pick a skill for a situation
  • Fix a run that went wrong
  • Make agystack my own

Inspect the live Antigravity setup before answering, and mention state only when it changes the answer.

  • Read agystack-models.md at ~/.gemini/config/plugins/agystack/agystack-models.md, .agents/plugins/agystack/agystack-models.md, or the plugin root to see configured role model tiers (inherit, flash, pro, flash_lite). Missing user overrides mean roles fall back to skill defaults.
  • Read agystack-runtime.json at ~/.gemini/config/plugins/agystack/agystack-runtime.json or .agents/plugins/agystack/agystack-runtime.json when the question touches Cloud Run swarms.
  • Run the read-only doctor check when diagnosing setup or prerequisites, using python3 skills/setup-agystack/scripts/setup_runtime.py --doctor or dynamic discovery across ~/.gemini/config/plugins/agystack and .agents/plugins/agystack. It checks bun, gh, gt, gcloud, agystack-models.md, the safety hook contract, the brain artifact directory, and legacy skills/swarm/ collisions.
  • Check hooks.json.example against .agents/hooks.json or ~/.gemini/config/hooks.json when the question touches automatic formatting, command safety, or coordinator delegation guards.
  • Check .agents/skills/verify-* in the workspace when the question involves proving app behavior (/create-verification-skill or /maintain-verification-skill) or formal properties (/create-formal-verification-skill or /maintain-formal-verification-skill). When a formal verification skill exists and covered code changed past its recorded sync-commit SHA, mention /maintain-formal-verification-skill if the question touches that code.

When custom model roles are missing and it matters (new user, setup or cost question, or model-dependent answer), ask once via ask_question whether to configure roles now or later. If the need is also unclear, ask both questions together. Offer two choices.

  • Now. Give them /setup-agystack to run, and answer their question too.
  • Later. Answer their question, and add one line noting that roles use their defaults until they run /setup-agystack.

Get set up

  1. Install agystack with agy plugin install agystack, through Customizations > Marketplace in the Antigravity UI, or by cloning into ~/.gemini/config/plugins/agystack (global) or .agents/plugins/agystack (workspace-local).
  2. Run /setup-agystack. It runs setup_runtime.py --doctor, explains local subagents versus on-demand Cloud Run swarms, maps model tiers per role in agystack-models.md (and writes agystack-runtime.json when Cloud Run is selected), and offers /create-verification-skill or /create-formal-verification-skill when missing.
  3. Optionally enable lifecycle hooks by copying hooks.json.example to .agents/hooks.json or ~/.gemini/config/hooks.json.
  4. Start a real task with /agystack or /poteto-mode, a goal, and a check that can pass or fail.

Installing changes nothing until a skill or hook runs. The README and guide page 1 cover setup details. Offer to word their first prompt together using references/prompting.md.

If cost is the worry, explain where tokens go and how to spend fewer. agystack spends extra tokens on subagents and multi-model review panels (interrogate, arena, architect). Rerun /setup-agystack or edit agystack-models.md to route explorers and workers to flash or flash_lite. Setting a role to inherit (or auto) runs that role on the parent chat model. Shortening a panel list runs fewer subagents because one subagent spawns per entry. Daily tasks and local fan-outs of 8 or fewer workers always run locally via invoke_subagent. Cloud Run (/cloud-swarm) spins up only on explicit swarm invocation and costs $0 when idle.

Start a task with /agystack or /poteto-mode

/agystack and /poteto-mode are twin entry points that both load poteto-mode. Both match the task to one of 23 playbooks, copy its steps into the todo list, delegate non-trivial code edits (> 50 lines or multi-file changes) to poteto-agent via invoke_subagent, and write deliverables (implementation_plan.md, walkthrough.md, domain reports) under <appDataDir>/brain/<conversation-id>/.

A good prompt states the goal and how to verify completion. Leave out a hand-written sequence of skills, because listing skills drops or reorders steps the playbook keeps. Read references/prompting.md before helping word a prompt. Guide page 2 has examples.

Both /agystack and /poteto-mode stay active as sticky modes for the conversation. Say "new task" mid-chat to re-match a fresh playbook, or opt out explicitly on casual turns. To get the same style from a custom subagent you spawn directly, pass TypeName: "poteto-agent".

Route across Antigravity slash commands and agystack skills

Antigravity separates user-facing slash commands from programmatic agent primitives (invoke_subagent, run_command, schedule, ask_question). See antigravity-tools.md. Users type slash commands in chat; agents execute skills and programmatic primitives.

Antigravity slash commands and native capabilities

Command or capabilityWhen to use
/agystack or /poteto-modeRun any non-trivial task under the 23 playbooks and 24 principles
Orchestrator (model mode)Pair a frontier planner (Gemini 4 Neon/Carbon/Claude Opus 5.5) with a fast executor (Gemini 4 Hydrogen/Claude Sonnet 5.5) in one conversation
/run-workflow (run_workflow)Run predictable scripted parallel() / pipeline() sweeps across files or packages, or staged reviewer-fixer loops
/goal with scheduleDrive overnight autonomous tasks, queue drains, and periodic audit ticks
/loop with --verifyRun an inner-loop verification hillclimb against a command that exits 0 on success
/scheduleSet one-shot wakeups (DurationSeconds) or recurring cron triggers (CronExpression)
/boostTrigger Antigravity's native multi-stage deep reasoning pipeline for hard problems
/teamworkRun Antigravity's native collaborative team roles across long-horizon multi-milestone projects
Native /swarmCoordinate Antigravity agents that collaborate on a shared message board (opt-in; never invoked unprompted outside /swarm)

Do not send overnight audit ticks or standing PR watch loops through /loop. Use /goal paired with schedule for standing autonomous ticks, and reserve /loop strictly for inner-loop verification hillclimbs (--verify "<command>"). Use local invoke_subagent fan-out for 8 or fewer independent workers, /run-workflow for deterministic scripted sweeps (parallel() / pipeline()), native /swarm for shared-board peer collaboration, and /cloud-swarm for more than 8 headless workers on Cloud Run.

agystack skills

The default answer for multi-step engineering work is /agystack or /poteto-mode, which invokes most other skills automatically when a step needs them. Name a skill directly when the user wants more or less rigor than the playbook provides. Read the target skill before recommending it, and include one example prompt.

The user wants toSkill
Run any non-trivial task with full Antigravity rigor/agystack
Run poteto's playbook engine and style directly/poteto-mode
Check that the agent understood the goal and scope before starting/in-your-own-words
Rewrite a prompt deeper, not bigger, with raw inputs, outside checks, and prototyping empirical choices/sharpen
Learn the expert vocabulary and neighboring-field analogies for what you are building, then rewrite your description with them/reframe
Understand how code works now, or where new code belongs/how
Learn why code is shaped a certain way, or where a threshold came from/why
Understand a change or subsystem explained plainly with diagrams/teach
Rebuild working context on a topic from recent chats and shared records/recall
Get a tight status brief under 100 words with artifact links and waiting calls/ketchup
Get a /ketchup catch-up as a short subtitled slide video above the waiting calls/ketchup-video
Check what a small diff could break outside itself with a live proof/blast-radius
Settle caller usage, types, and module boundaries before coding/architect
Run competing attempts at one brief, score them, and graft the best parts/arena
Fan out more than 8 parallel workers over slices or races on Cloud Run/cloud-swarm
Have diverse model tiers challenge a diff and prove bugs with executable repros/interrogate
Fix a bug test-first when a cheap local test target exists/tdd
Apply TypeScript type-system rules to .ts or .tsx changestypescript-best-practices
Strip defensive bloat, redundant guards, and AI tells from code and diffs before commit/deslop
Strip unnecessary comments before review using a fresh reviewer (comment-sicko)/no-comments
Clean AI tells and filler out of prose/unslop
Write docs, RFCs, readmes, PR descriptions, or commit messages to standard/technical-writing
Restate the last reply in plain human words without jargon/bro
Generate a project-local verify-<app> skill and feature map/create-verification-skill
Bring a verify-<app> skill and feature map back in sync with the app/maintain-verification-skill
Formally verify concurrency, consensus, state machines, or critical parsers/create-formal-verification-skill
Sync a formal verification model or harness after code changes and separate drift from bugs/maintain-formal-verification-skill
Verify a TLA+ state model into a Mermaid chart with bug paths, or draft a labeled sketch/statechart
Vet a speedup, latency, or benchmark number against the seven verification questions/benchmark-checklist
Drive iterative edits against a --verify command until exit code 0/loop
Design a bespoke auditable playbook for large or cross-cutting work/figure-it-out
Keep an append-only decisions.tsv trail and cross-model audit during unattended runs/show-me-your-work
Configure per-role model tiers and Cloud Run swarm settings/setup-agystack
Draft a personal -mode skill from recent workspace transcripts/automate-me
Turn lessons from a completed session into skill edits/reflect
Stop recurring agent mistakes using architecture, types, hooks, or tests/correct
Get help choosing agystack skills, playbooks, or prompts without starting work/agystack-help

If another skill directory appears under skills/ or .agents/skills/ that is missing from this table, read its SKILL.md frontmatter and route by its description. Cursor-only /make-bot-ui is intentionally excluded from agystack. Principles live in skills/principle-*/ and are covered below.

Close calls worth keeping straight.

  • /how explains current code mechanics, /why explains historical reasons, and /teach runs one or both into one plain explanation.
  • /arena runs the same brief across candidates and grafts winners. Local invoke_subagent fan-out covers <= 8 slice or race workers. Native /swarm handles shared-board collaboration. /cloud-swarm scales > 8 headless slice or race workers on Cloud Run.
  • /interrogate challenges the diff with adversarial models and drops unreproduced findings. /blast-radius checks what could break outside the diff and proves one safety invariant by running code.
  • /recall rebuilds context across recent chats and shared records. /ketchup summarizes only what changed in the active conversation since the user's last message. Resuming one specific branch or checkpoint uses the Session pickup playbook.
  • /figure-it-out designs a bespoke rigorous run when no bundled playbook fits. The Autonomous run playbook drives one predicate to completion.
  • /goal with schedule runs overnight work and periodic audit ticks. /loop runs iterative verification hillclimbs tied to --verify "<command>".
  • /deslop cleans code and diffs, /unslop cleans prose, and /no-comments strips comments through comment-sicko.

Playbooks and principles

Playbooks are step lists inside skills/poteto-mode/playbooks/, not slash commands. Describing the task under /agystack or /poteto-mode picks one automatically, and these phrases route directly.

  • "babysit this pr" or "check on pr 123" runs Babysit. It declares a mode (drive, background, threads-only, or check), stops at merge-ready, and never merges.
  • "land the stack" runs Shipping, which verifies each PR independently and lands only the contiguous verified run bottom-up via gh (or origin pr).
  • "take over this branch" runs Session pickup.
  • "pause safely" runs Pause safely.
  • "full autopilot on this queue" runs Autopilot-full. "autopilot, don't merge" runs Autopilot-stack.
  • "orchestrate" for multi-day multi-stack programs runs Orchestrate.
  • "run the eval playbook" runs Eval.

The Playbooks section of poteto-mode lists all 23 playbooks. Guide page 6 covers verification, opening PRs, babysitting, and shipping.

agystack has no standalone planning skill because Antigravity provides native implementation_plan.md artifacts. For phased or stacked multi-PR work, asking /agystack or /poteto-mode for a plan triggers the Multi-phase plan playbook, which writes the plan without implementing it and checks it with node skills/poteto-mode/scripts/check-plan.mjs. For design forks, Prototype or /architect settles questions in code first.

Principles are 24 single-rule skills that /poteto-mode reads and cites alongside the decision changed. Users rarely invoke them with slashes; steer by naming the principle instead (such as "apply prove it works. show me the real output"). Guide page 8 indexes all 24.

Fix a run that went wrong

SymptomFix
A follow-up question got pulled into the last taskSay "new task" so the sticky mode matches a fresh playbook, or opt out explicitly.
A model override had no effectCheck agystack-models.md with setup_runtime.py --doctor and start a new session so the updated config loads.
Native /swarm collides with an old swarm folderCheck setup_runtime.py --doctor and delete any leftover skills/swarm/ directory from pre-0.17.0 archives.
An overnight run drifted or exited without finishingMove standing work from /loop to /goal with schedule and a checkable predicate, or keep /loop strictly on --verify "<command>". See guide page 7.
Parallel subagents overwrote each other's filesDispatch isolated workers with Workspace: "branch" or fresh worktrees, or run large sweeps on /cloud-swarm.
Runs cost more tokens than expectedSet explorer and worker roles to flash or flash_lite in agystack-models.md, shorten panel lists, and reserve /cloud-swarm for > 8 workers.
The reply declared victory from a passing buildAsk for the real command, live flow receipt in walkthrough.md, stored value, or profile via prove-it-works.
/interrogate dropped an issue you care aboutRead the Dismissed section in adversarial_review.md; findings without a working repro command are dropped unless you override.
A lifecycle hook blocked a direct edit or commandCheck hooks.json.example; pre_tool_delegation.py asks or blocks non-trivial coordinator edits over 50 lines unless delegated to poteto-agent.

For mid-run steering, references/prompting.md has one-line redirects. Guide page 10 lists recipes, lifecycle hooks, and common pitfalls.

Make agystack my own

  • /automate-me mines workspace brain transcripts to draft a personal -mode skill.
  • /reflect turns session lessons into candidate skill edits waiting on your approval.
  • /correct fixes recurring mistakes in repo architecture, types, hooks (hooks.json.example), or tests (tests/).
  • /agystack write a skill for <workflow> runs Authoring or modifying a skill, and Eval tests skill changes blind.
  • Fix any broken skill in its own PR rather than inside unrelated feature work.

Guide page 9 covers each workflow.

Reply

Lead with the direct answer. Include at most one example prompt in a code block, adapted from references/recipes.md when one fits, followed by a link to that file and the source skill or guide page. Keep the reply concise unless the user asked for the full map, and make zero edits during a help turn.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.