pstack-architect

pstack-architect is a skill for Claude Code from dmae97/omk. It costs 59 tokens per session (1,145 once invoked), scanned A, a copy of architect, MIT.

An architecture-planning workflow that sketches types, function signatures, classes, and module boundaries before implementation. It compares multiple design candidates, selects one, and keeps the plan connected to the coding work.

In plain words
What is it for?
Use it to design non-trivial features, refactors, APIs, or modules before writing their implementation.
Why use it?
It reduces the risk of committing to the wrong code structure before you understand the existing system. It also breaks larger changes into explicit phases.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Good fit Use it to design non-trivial features, refactors, APIs, or modules before writing their implementation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dmae97/omk/architect
View source ↗ dmae97/omk
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 dmae97/omk --skill architect
Clone the repo
git clone --depth 1 https://github.com/dmae97/omk

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 pstack-architect

README.md
[![agentmods](https://agentmods.dev/badge/skills/dmae97/omk/architect/github.svg)](https://agentmods.dev/skills/dmae97/omk/architect)
Your own site
<a href="https://agentmods.dev/skills/dmae97/omk/architect"><img src="https://agentmods.dev/badge/skills/dmae97/omk/architect/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 pstack-architect

Your own site · 80×15
<a href="https://agentmods.dev/skills/dmae97/omk/architect"><img src="https://agentmods.dev/badge/skills/dmae97/omk/architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,145 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 88% copy Near-identical to another mod 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.00059 $0.01145
Opus 5.5 $0.00024 $0.00458
Sonnet 5.5 $0.00012 $0.00229
Haiku 4.5 $0.00006 $0.00114

Measured 1mo ago against content hash fe40e50b7fd1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

pstack-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 1mo 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.

Origin

This is a copy

88% identical to architect — 12 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

packages/coding-agent/resources/pstack/skills/architect/SKILL.md · 80 lines

How it starts

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

Architect

Sketch types, function signatures, class shapes, and module boundaries with not implemented bodies and pseudocode. Synthesize across multiple model perspectives, then fill in code against the chosen sketch.

Start

Open a todolist with one entry per phase before starting.

  1. Ground
  2. Sketch
  3. Agree
  4. Implement
  5. Scrap

Phase A: Ground the problem

Build a real mental model of every system the new code touches. Run the how skill over the relevant subsystems. Naming a file isn't grounding. Produce the architectural explanation how prescribes. If the design redefines ownership or layering, also run the why skill on the existing shape so the rationale becomes a constraint, not a guess.

Skip Phase A only when the work is genuinely greenfield with no surrounding system to integrate.

Phase B: Sketch

Run the arena skill with the design-sketch task and the Phase A grounding artifacts. Pass references/runner-prompt.md as each runner's prompt.

Take the runners from the architect runners line in the pstack settings file (~/.omk/agent/pstack-models.md, written by /skill:pstack-setup-pstack), in place of the arena runners line. If the file or that line is missing, run both runners on the session model. Alias and rejected entries follow the runner rules in the arena skill's Phase A.

Design it twice. Require at least two structurally distinct candidates before synthesis, even when the first looks sufficient. This is the exhaust-the-design-space principle skill made concrete. Whole-shape alternatives, not point fixes inside one shape.

Screen every candidate against references/design-red-flags.md before synthesis. Assume the next contributor is an agent that sees only the files it opened, copies the nearest example, and takes the shortest path that compiles. Prefer the design where a change that looks right from one file is right for the whole repo.

Compare viable candidates on interface depth. Prefer the design that hides more complexity behind a smaller, simpler public surface. A rich interface can keep call chains short by concentrating capability instead of scattering it across layers.

Read the full file on GitHub · 80 lines

Files

What ships with it

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

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. 1mo ago Changed fe40e50b7fd1
  2. 1mo ago First seen · 80 lines · 59 tokens per session scan A 494959baf18a

Subscribe to this mod's changes

pstack-architect is a skill published in the GitHub repository dmae97/omk (154 stars, last pushed today), licensed MIT. It adds 59 tokens to every session and 1,145 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 88% identical to architect, differing in 12 lines, and is treated as a copy.

Related

pstack-architect compared with skills from other repositories

pstack-architect next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pstack-architectdmae97/omkSkill154todayMITA59Claude Code
buncode-yeongyu/senpiSkill530todayMITA237Claude Code, Codex
my-pi-nopeekspences10/my-piSkill141todayMITA26Claude Code, Codex
review-session-tracespences10/my-piSkill141todayMITA42Claude Code, Codex
create-repeatable-taskspences10/my-piSkill141todayMITA50Claude Code, Codex
execute-harnessspences10/my-piSkill141todayMITA34Claude Code, Codex
create-harnessspences10/my-piSkill141todayMITA33Claude Code, Codex