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 agentmods add skills/tradebaas/groundwork/architectnpx skills add Tradebaas/Groundwork --skill architectgit clone --depth 1 https://github.com/Tradebaas/GroundworkWhat 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 | $0.00060 | $0.00885 |
| Opus 5 | $0.00030 | $0.00443 |
| Sonnet 5 | $0.00012 | $0.00177 |
| Haiku 4.5 | $0.00006 | $0.00089 |
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.
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
- 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. - 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.
- 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.
- 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.
- 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.
- 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. - 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.
- 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.
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.
- 2d ago First seen · 56 lines · 0 tokens per session scan A 1f3496ba4159
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.
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…
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.
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".
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…
init
Configure an uninitialized project from an approved charter: stack, scripts, identity, optional Git, and verification.
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…