architecture-sketching

architecture-sketching is a skill for Claude Code, Codex from andreaswasita/copilot-agents-dojo. It costs 12 tokens per session (1,541 once invoked), scanned A, original, MIT.

A design workflow for defining data shapes, public interfaces, module ownership, alternatives, and failure conditions before coding a change that crosses boundaries.

In plain words
What is it for?
It helps plan new APIs, events, commands, schemas, shared types, and changes spanning functions, modules, services, processes, or stored data.
Why use it?
It reduces confusion about where behaviour belongs and makes expensive design choices easier to review and change before implementation.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents.

Good fit It helps plan new APIs, events, commands, schemas, shared types, and changes spanning functions, modules, services, processes, or stored data.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/andreaswasita/copilot-agents-dojo/architecture-sketching
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.

Any agent
npx skills add andreaswasita/copilot-agents-dojo --skill architecture-sketching
Clone the repo
git clone --depth 1 https://github.com/andreaswasita/copilot-agents-dojo

Made for: Claude Code, Codex.

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 architecture-sketching

README.md
[![agentmods](https://agentmods.dev/badge/skills/andreaswasita/copilot-agents-dojo/architecture-sketching/github.svg)](https://agentmods.dev/skills/andreaswasita/copilot-agents-dojo/architecture-sketching)
Your own site
<a href="https://agentmods.dev/skills/andreaswasita/copilot-agents-dojo/architecture-sketching"><img src="https://agentmods.dev/badge/skills/andreaswasita/copilot-agents-dojo/architecture-sketching/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.

agentmods 80×15 button for architecture-sketching

Your own site · 80×15
<a href="https://agentmods.dev/skills/andreaswasita/copilot-agents-dojo/architecture-sketching"><img src="https://agentmods.dev/badge/skills/andreaswasita/copilot-agents-dojo/architecture-sketching.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 12 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,541 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00012 $0.01541
Opus 5 $0.00006 $0.00771
Sonnet 5 $0.00002 $0.00308
Haiku 4.5 $0.00001 $0.00154

Measured 3d ago against content hash e9d9ff256054, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

architecture-sketching 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 3d 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.

skills/architecture-sketching/SKILL.md · 174 lines

How it starts

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

Architecture Sketching Skill

Defines the data shapes, public signatures, module ownership, alternatives, and invalidation conditions for a cross-boundary change before implementation begins. It produces a small design contract that implementation can test and revise. It does NOT require architecture ceremony for a local change with an obvious existing pattern.

This workflow adapts architecture-exploration ideas from Lauren Tan's pstack project, licensed under MIT, to the dojo's verification and traceability model.

When to Use

  • A change crosses a function, module, service, process, or persistence boundary.
  • A new API, event, command, schema, or shared type is being introduced.
  • Several credible designs exist and choosing one would be expensive to reverse.
  • Implementation keeps adding casts, optional fields, locks, wrappers, or special cases.
  • The user asks to architect, design, model, or decide where behavior belongs.
  • NOT for a one-file change that follows a clear local pattern without changing a contract.

Prerequisites

  • An approved problem statement or requirements package.
  • A grounded view of affected code from view, grep, glob, or codebase-onboarding.
  • plan-before-code active for multi-step work.
  • subagent-strategy available when competitive design exploration is justified.
  • A writable design location chosen by repository convention.

How to Run

1. Ground the current flow, constraints, and ownership.
2. Name the data shapes and illegal states.
3. Sketch public signatures and module boundaries with no implementation.
4. Compare credible alternatives and select one with a written rationale.
5. Define verification and explicit signals that would invalidate the sketch.
6. Implement against the sketch; redesign when repeated friction disproves it.

Quick Reference

Artifact Required content
Problem frame Goal, scope, constraints, and success predicate
Data shapes Inputs, outputs, state, identity, ownership, invalid states
Contract sketch Public types, signatures, commands, events, or endpoints
Module map Which component owns each decision and dependency direction
Alternatives Two or three credible shapes, or why only one is viable
Selection rationale Tradeoff that decided the shape and what was rejected
Verification plan Static checks plus real-artifact behavior
Invalidation signals Evidence that requires redesign instead of another patch

Read the full file on GitHub · 174 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. 3d ago First seen · 174 lines · 12 tokens per session scan A e9d9ff256054

Subscribe to this mod's changes

architecture-sketching is a skill published in the GitHub repository andreaswasita/copilot-agents-dojo (53 stars, last pushed 4d ago), licensed MIT. It adds 12 tokens to every session and 1,541 once invoked, about $0.0001 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-09-07.

Related

Other skills, from other repositories

php

Use when writing, reviewing or modernizing PHP (8.3-8.5) outside Laravel — strict types, union and intersection types, readonly classes, backed enums, property hooks and asymmetric visibility, the pipe operator and clone-with, Composer with PSR-4, PER-CS style, PSR interop, and the quality toolchain (PHPStan, Pint…

ericrisco/rsc-harness · 97 tokens

codebase-onboarding

Use when you land in an unfamiliar or inherited codebase and must get productive fast: a breadth-first map of entry points, request flow, module ownership, hidden side effects (cron, webhooks, workers) and churn hotspots, committed as CODEBASE-MAP.md. NOT a deep audit of one module (that is analyze) or chasing one…

ericrisco/rsc-harness · 83 tokens

decision-ledger

A session record for tracking unresolved decisions and drafting them into `.governance/claims/` when they are settled. It preserves both the decision and the reason behind it.

johnrucnapier-sketch/ACGM-for-Claude-Code · 99 tokens

governance-bootstrap

A guided checklist for creating a project's governance system from scratch when no governance exists.

johnrucnapier-sketch/ACGM-for-Claude-Code · 107 tokens

session-grounding

A session-start procedure for checking the current facts, scope, and work track in a governed project before taking action.

johnrucnapier-sketch/ACGM-for-Claude-Code · 105 tokens

truth-first

A set of rules for writing technical conclusions and performing irreversible or state-changing operations. It requires evidence tied to file and line locations and restricts unsupported claims.

johnrucnapier-sketch/ACGM-for-Claude-Code · 120 tokens