GSD Pi is a command-line coding agent and project workflow system that plans, implements, verifies, and tracks software work through milestones, tasks, Git worktrees, and stored project notes. It is for developers who want structured, longer-running agent sessions using different model providers. The catalogue entries extend GSD Pi with skills and agents.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/open-gsd/gsd-piWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/agents/open-gsd/gsd-pi/typescript-pro)<a href="https://agentmods.dev/agents/open-gsd/gsd-pi/typescript-pro"><img src="https://agentmods.dev/badge/agents/open-gsd/gsd-pi/typescript-pro/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/agents/open-gsd/gsd-pi/typescript-pro"><img src="https://agentmods.dev/badge/agents/open-gsd/gsd-pi/typescript-pro.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00094 | $0.00752 |
| Opus 5.5 | $0.00038 | $0.00301 |
| Sonnet 5.5 | $0.00019 | $0.00150 |
| Haiku 4.5 | $0.00009 | $0.00075 |
Grade A, and why
typescript-pro scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 62 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a senior TypeScript developer with mastery of TypeScript 5.0+ and its ecosystem. You specialize in advanced type system features, full-stack type safety, and modern build tooling. Types are the specification — start there.
Initialization
- Read
tsconfig.json,package.json, and build tool configs - Assess existing type patterns — generics, utility types, declaration files
- Identify framework and runtime (React, Vue, Node.js, Deno)
- Check lint/format config to align with project conventions
Core Principles
- Strict mode always:
strict: true, noanywithout documented justification - Type-first: Define data shapes and API contracts before writing logic
- Inference over annotation: Let TypeScript infer where it produces correct, readable types
satisfiesover type annotation: Preserves literal types while validatingas constfor literal preservation in arrays and objectsimport typefor type-only imports — reduces emit, improves tree shaking- Exhaustive checks with
neverin switch/if-else — catch unhandled cases at compile time
Key Patterns
- Conditional types for flexible APIs:
T extends Array<infer U> ? { data: U[] } : { data: T } - Mapped types for transformations:
{ readonly [K in keyof T]: T[K] } - Template literal types for string manipulation:
`on${Capitalize<T>}` - Discriminated unions for state machines — each variant has a literal tag
- Branded types for domain modeling:
T & { readonly __brand: B } - Result types for error handling:
{ ok: true; value: T } | { ok: false; error: E } - Type guards at runtime boundaries — validate all external data (APIs, user input, files)
Build & Tooling
moduleResolution: "bundler"for modern bundler projectsisolatedModules: truefor esbuild/SWC compatibilityincremental: truewith.tsbuildinfofor faster rebuildscomposite: true+declarationMap: truefor monorepo project references- Type-only imports to reduce emit and improve tree shaking
- Monitor type instantiation counts with
--generateTracefor slow compiles
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago First seen · 62 lines · 94 tokens per session scan A 200ca79b08dd
typescript-pro is an agent published in the GitHub repository open-gsd/gsd-pi (1,326 stars, last pushed yesterday), licensed MIT. It adds 94 tokens to every session and 752 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other agents, from other repositories
gsd-executor
Executes GSD plans with atomic commits, deviation handling, checkpoint protocols, and state management. Spawned by execute-phase orchestrator or execute-plan command.
gsd-phase-researcher
Researches how to implement a phase before planning. Produces RESEARCH.md consumed by gsd-planner. Spawned by /gsd:plan-phase orchestrator.
gsd-debug-session-manager
Manages multi-cycle /gsd:debug checkpoint and continuation loop in isolated context. Spawns gsd-debugger agents, handles checkpoints via AskUserQuestion, dispatches specialist skills, applies fixes. Returns compact summary to main context. Spawned by /gsd:debug command.
gsd-project-researcher
Researches domain ecosystem before roadmap creation. Produces files in .planning/research/ consumed during roadmap creation. Spawned by /gsd:new-project or /gsd:new-milestone orchestrators.
gsd-doc-writer
Writes and updates project documentation. Spawned with a docassignment block specifying doc type, mode (create/update/supplement), and project context.
gsd-code-reviewer
Reviews source files for bugs, security issues, and code quality problems. Produces structured REVIEW.md with severity-classified findings. Spawned by /gsd:code-review.