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.
npx skills add CodeAlive-AI/ai-driven-development --skill pragmatic-architecturegit clone --depth 1 https://github.com/CodeAlive-AI/ai-driven-developmentWrote 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/skills/codealive-ai/ai-driven-development/pragmatic-architecture)<a href="https://agentmods.dev/skills/codealive-ai/ai-driven-development/pragmatic-architecture"><img src="https://agentmods.dev/badge/skills/codealive-ai/ai-driven-development/pragmatic-architecture/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/skills/codealive-ai/ai-driven-development/pragmatic-architecture"><img src="https://agentmods.dev/badge/skills/codealive-ai/ai-driven-development/pragmatic-architecture.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.00162 | $0.02334 |
| Opus 5.5 | $0.00065 | $0.00934 |
| Sonnet 5.5 | $0.00032 | $0.00467 |
| Haiku 4.5 | $0.00016 | $0.00233 |
Grade A, and why
pragmatic-architecture 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 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.
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 — 157 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Pragmatic Architecture
Core rule: "For each desired change, make the change easy (warning: this may be hard), then make the easy change" (Kent Beck). Designing is finding the structure in which the change at hand is easy and every promise the system must keep still holds.
Judge a design by two tests, in this order:
- Admissible. A design that breaks a required promise under a realistic sequence of events is out, however short it is.
- Easy to change. Among admissible designs, prefer the one in which this change and the next plausible ones cost least, counting callers, migration, operation and recovery, not only the code written today.
Simple means few things to hold in mind at once and few conditions that must hold together, not few lines or files. Elegant means a small consistent set of concepts covers the cases without exceptions. Fitting means the cost matches the stakes, scale, deadline, team and lifetime of this task. Remove accidental states, dependencies, variants and duties. Never remove state a guarantee needs: the identity of an operation, an outcome not yet known, compatibility between versions.
Size the design first
| The change | What to do |
|---|---|
| One obvious design, no signal below | Make it directly. No record. |
| Several reasonable constructions, an awkward direct change, or cases that multiply | Follow the route briefly. Record the decision in one sentence. |
| A signal below is touched | Follow the route in full, with a property card for each promise the signal puts at risk. With several signals, or across a service or team boundary, have someone who did not write the design check it. |
Signals:
- an effect that cannot be taken back or that leaves the local transaction: money, a message, deletion, access rights, an external call;
- state reachable by more than one writer, request or process: concurrency, retries, timeouts, background work;
- a contract, schema or stored format with live clients or existing records;
- a shared limited resource (pool, queue, quota), or recovery that is manual or slow.
What ships with it
8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 5d ago Changed · +1 lines · +4 tokens per session f0a9f205eb17
- 8d ago First seen · 156 lines · 158 tokens per session scan A 190a5060bc92
pragmatic-architecture is a skill published in the GitHub repository CodeAlive-AI/ai-driven-development (194 stars, last pushed 2d ago), licensed MIT. It adds 162 tokens to every session and 2,334 once invoked, about $0.0006 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-11-22.
pragmatic-architecture compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| pragmatic-architectureCodeAlive-AI/ai-driven-development | Skill | 194 | 2d ago | MIT | A | 162 | Claude Code |
| agenttrace-session-auditsickn33/agentic-awesome-skills | Skill | 51k | yesterday | MIT | A | 34 | Claude Code |
| grok-cliscarletkc/agents | Skill | 232 | 27d ago | Apache-2.0 | A | 66 | Claude Code, Codex |
| brainstormingroundpilot/superpowers-antigravity | Skill | 102 | 3d ago | MIT | A | 46 | Claude Code, Codex |
| marketing-copyscarletkc/agents | Skill | 232 | 27d ago | Apache-2.0 | A | 121 | Claude Code, Codex |
| github-packages-npmalivirgo/Major-AI-Skills | Skill | 6 | yesterday | MIT | A | 26 | Claude Code |
| spec-investigatebenjaminthomas/spec-driven-dev | Skill | 2 | 3d ago | MIT | A | 229 | Claude Code |