architect

A software design checklist that defines module boundaries, data ownership, integration contracts, environments, and security risks before coding. It records the decisions in architecture documentation and decision records.

In plain words
What is it for?
Use it after choosing a technology stack and before the first build session, or when a change crosses a system boundary. It helps plan modules, data models, integrations, deployment environments, and threat considerations.
Why use it?
It reduces costly redesign when code has already grown around unclear decisions. It also gives developers and coding agents a shared map of how the system should fit together.

Skill for Claude CodeCodex

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 skills/tradebaas/groundwork/architect
Any agent
npx skills add Tradebaas/Groundwork --skill architect
Clone the repo
git clone --depth 1 https://github.com/Tradebaas/Groundwork

Made for: Claude Code, Codex.

Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 885 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00060 $0.00885
Opus 5 $0.00030 $0.00443
Sonnet 5 $0.00012 $0.00177
Haiku 4.5 $0.00006 $0.00089

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

Security

Grade A, and why

architect 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 2d 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.

.agents/skills/architect/SKILL.md · 56 lines

How it starts

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

architect: decide the shape once, before the code hardens it

Architecture is the set of decisions that are expensive to reverse. Make them deliberately, record them, and keep the map current. Each one settles only after the critical-thinking moves, so the decision record's options section holds what actually competed. Scale the depth to the project: a small tool needs a page; a platform needs the full pass.

The pass

  1. Boundaries. Cut the system into modules along the domain's natural seams (what changes together lives together). Per module: what it owns, what it exposes, what it may never reach into. These rules become mechanically enforced when the stack's tooling allows (import restrictions: wire via stack). Shape modules for agent legibility: deep modules behind small interfaces, one folder per module with its public interface on top, so an agent can use a module without reading its internals. Test at the boundary (grey-box): those tests survive refactors and agent rewrites of the inside alike.
  2. Data. The core entities, who owns each, where truth lives, what is derived. Personal data flagged per entity (feeds the compliance register). Retention and deletion are schema decisions, not afterthoughts.
  3. What it decides. Does this system decide anything with consequence for money, rights, safety or a legal obligation? "Nothing of weight" is a complete answer and closes this step. Otherwise, per decision: where that logic lives, and whether the owner can read it there without reading code. Logic only its own code can state is a finding, not a detail. A decision about a person with legal or similar effect also feeds the compliance register.
  4. Contracts. Every integration (API, queue, file, third-party service): the contract, the failure mode, the timeout/retry stance, and what the user sees when it's down. A contract without a failure plan is half a contract.
  5. Environments. Local → test → production: what exists, what differs, where config and secrets live per environment, how data gets seeded. One command to run locally, documented.
  6. Observability. Decide now what gets logged, measured and traced: correlation IDs from every entry point, the golden signals (rate, errors, latency) on the critical flow, and where a human sees failures. Instrumentation is an expensive-to-reverse decision: built during construction, verified at launch by maintain, never bolted on after.
  7. Threats. A lightweight pass over the real risks: who can reach what, where untrusted input enters, what the abuse cases are, what the blast radius of a leaked credential is. Mitigations become requirements in specs, not wishes.
  8. The 10× question. Where does this design break at 10× the users/data? Mark those spots with defer: markers (ceiling + upgrade trigger) instead of building for scale now.

Read the full file on GitHub · 56 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. 2d ago First seen · 56 lines · 0 tokens per session scan A 1f3496ba4159

Subscribe to this mod's changes

architect is a skill published in the GitHub repository Tradebaas/Groundwork (2 stars, last pushed 7d ago), licensed MIT. It adds 60 tokens to every session and 885 once invoked, about $0.0003 per session on Opus 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-31.

Related

Other skills, from other repositories

mission-driver

Create roadmaps and mission configs, then drive the mission-driver AI dev-loop engine. mission-driver lives at tools/mission-driver/ — it reads missions/ .json and loops CHECK → REVIEWPLANS → EXECPLANS → DRAFTPLANS → DEEPAUDIT until the roadmap is done or the audit budget is exhausted. Use this skill when the user…

entropy-cloud/attractor-guided-engineering-template · 199 tokens

keel-plan

Create or revise PLAN.md — propose the phase DAG (phases · gates · dependencies) from the user's goal, get approval, write the table and regenerate the colored Mermaid diagram from it. Statuses flip at rituals (/keel-handover, /keel-phase-review); post-completion fixes land in the Fix log.

muratsilahtaroglu/claude-code-starter-kit · 70 tokens

keel-stats

Render the ritual telemetry visually — turns .claude/ritual-log into reports/ritual-stats.md with PLAN.md-style colored Mermaid interval boxes (session/compact boundaries) + a counts table. Answers "which skills/commands/hooks ran, how often, in which interval".

muratsilahtaroglu/claude-code-starter-kit · 62 tokens

sdd-serve

Serve the SDD Builder's AI request queue: claim requests with sddnextrequest, draft the proposal, answer with sddrespondrequest. Never writes spec files — the user accepts each proposal in the builder. Use when the user asks to attend, serve or listen to the SDD board queue. / Atiende la cola de peticiones del SDD…

juanklagos/spec-driven-development-template · 80 tokens

init

Configure an uninitialized project from an approved charter: stack, scripts, identity, optional Git, and verification.

bnet47/codexicon · 24 tokens

sdd-workflow

Guide a project with Spec-Driven Development (SDD) discipline - idea, approved spec, consistent plan, tasks, a gate that verifies approval and consent, implementation, validation, and logbook. Bilingual EN/ES. Use when the user wants to start, spec, plan, implement, or validate work with SDD, or mentions specs, plans…

juanklagos/spec-driven-development-template · 84 tokens