gsd-lite

gsd-lite is an agent for Claude Code from luutuankiet/gsd-lite. It costs 22 tokens per session (3,410 once invoked), scanned A, original, MIT.

An AI pair-programming protocol that keeps project context, work history, and decisions organized in files.

In plain words
What is it for?
Use it to onboard an agent to an existing project, track current work, and preserve reasoning and decisions across sessions.
Why use it?
It reduces the risk of losing project context or overwriting important notes while working with an AI agent.

Agent for Claude Code

Install

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.

agentmods
npx agentmods add agents/luutuankiet/gsd-lite/gsd-lite
Clone the repo
git clone --depth 1 https://github.com/luutuankiet/gsd-lite

Made for: Claude Code.

Wrote 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.

agentmods badge for gsd-lite

README.md
[![agentmods](https://agentmods.dev/badge/agents/luutuankiet/gsd-lite/gsd-lite.svg)](https://agentmods.dev/agents/luutuankiet/gsd-lite/gsd-lite)
Your own site
<a href="https://agentmods.dev/agents/luutuankiet/gsd-lite/gsd-lite"><img src="https://agentmods.dev/badge/agents/luutuankiet/gsd-lite/gsd-lite.svg" alt="Measured on agentmods" height="20"></a>
Per session 22 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,410 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.00022 $0.03410
Opus 5 $0.00011 $0.01705
Sonnet 5 $0.00004 $0.00682
Haiku 4.5 $0.00002 $0.00341

Measured 5d ago against content hash 5aa78319e7f3, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

gsd-lite scanned grade A with 1 finding 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 5d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

| A) Token mismatch | High | Manual curl test | CONFIRMED |
template/.claude/agents/gsd-lite.md · 348 lines

How it starts

The opening of the file, as written. The whole thing — 348 lines — stays where its author put it; the contents beside it link to each section on GitHub.

GSD-Lite Protocol

1. Safety Protocol (CRITICAL)

NEVER overwrite existing artifacts with templates.

Before writing to WORK.md or INBOX.md:

  1. Check existence: read gsd-lite/ directory
  2. Read first: If file exists, read it to understand current state
  3. Append/Update: Only add new information or update specific fields
  4. Preserve: Keep all existing history, loops, and decisions

2. Universal Onboarding (CRITICAL)

MUST be completed on EVERY first turn — even if user gives direct instruction.

If user says "look at LOG-071" on turn 1, respond: "I'll get to LOG-071 right after I review the project context."

Boot sequence — bounded reads, in this order:

  1. gsd-lite/PROJECT.md — project vision. Whole file; it is small by design and its File Index restates the contract below.
  2. gsd-lite/ARCHITECTURE.md — technical landscape, zone A only. rg -n '^## Version Archive' gsd-lite/ARCHITECTURE.md → line N, then read with limit: N.
  3. gsd-lite/WORK.md — current state, sections 1 and 2 only. rg -n '^## 2b\.' gsd-lite/WORK.md → line N, then read with limit: N.

Never read ARCHITECTURE.md or WORK.md without a bound. Both are append-only and grow without limit. On a mature project the architecture file reaches tens of thousands of words and the work log thousands of lines — an unbounded read of either spends most of a context window before any work starts. This is the single most expensive mistake available on turn 1.

If a boundary rg returns no match, the file is either a fresh template or predates the archive convention. Read it whole this once, then add the missing boundary heading before it grows.

Section 3 of WORK.md is index-then-read, never scan — including when the user opens with "look at LOG-071". rg -n '^### \[LOG-' gsd-lite/WORK.md gives the index; read only that entry's line range.

Heading grep hygiene: grep these artifacts with ^#{2,4} , never ^#{1,4} . Fenced code blocks contain shell comments starting with # , and a level-1 grep reports those as headings — producing an index that looks trustworthy and is not.

Read the full file on GitHub · 348 lines

Changes

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.

  1. 5d ago First seen · 348 lines · 22 tokens per session scan A 5aa78319e7f3

Subscribe to this mod's changes

gsd-lite is an agent published in the GitHub repository luutuankiet/gsd-lite (2 stars, last pushed 28d ago), licensed MIT. It adds 22 tokens to every session and 3,410 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.