May 2026

gantry

A coding agent skill for Claude Code, Codex, and other .agents hosts that keeps engineers in the design loop while AI writes the code. Code generation is gated behind collaborative pseudocode the engineer must approve, and every decision is kept in a .gantry doc. Forward, continue, and rebuild modes cover new code, revisited designs, and auditing existing code. MIT licensed.

gantry's browser editor reviewing AI-drafted pseudocode: two accepted steps and an open fork between holding streamed prose back on the server or keeping placed cards on the client

gantry is an open source coding agent skill package Karthik built for Claude Code, Codex, and generic .agents compatible hosts. Its goal is to keep engineers in the design loop while AI writes the code, so the code stays comprehensible to its author and to onboarders months later. Key details: One primitive: collaborative pseudocode with a hard approval gate before any code is written. The gate fails closed until the engineer has reviewed the current pseudocode and separately authorized implementation; a passing format check never counts as approval Routes to one of three modes by inspecting the working tree. Forward mode authors something new from pseudocode the engineer writes or has the AI draft, with references resolved and edge cases surfaced inline. Continue mode drift checks an existing .gantry doc against the current code before extending it. Rebuild mode runs the primitive in reverse: the engineer writes pseudocode of what they think a function does, and the mismatches with the real body expose gaps in their mental model The .gantry/ .md doc is the source of truth: what was decided, which edge cases were surfaced, what was accepted, edited, or rejected and why, and the code as written Guidance levels (guided, collaborative, concise) change how much explanation it gives without changing the approval gate Ships a browser editor for drafting and reviewing docs No build step and no npm dependencies: two skill folders backed by Node's standard library, with bash and PowerShell installers MIT licensed