bulwark

A maintenance workflow for keeping a growing frontend codebase organized. It focuses on preventing module boundaries and the relationship between UI components and data dependencies from gradually breaking down.

In plain words
What is it for?
Use it to maintain frontend boundaries, enforce a design system, review abstractions, and keep a mature application easier to change.
Why use it?
It turns architectural rules into checks that can catch unwanted cross-imports and other forms of drift as more features and developers are added.

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/iamk77/skill/bulwark
Any agent
npx skills add IamK77/Skill --skill bulwark
Clone the repo
git clone --depth 1 https://github.com/IamK77/Skill

Made for: Claude Code, Codex.

Per session 228 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,135 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.00228 $0.04135
Opus 5 $0.00114 $0.02067
Sonnet 5 $0.00046 $0.00827
Haiku 4.5 $0.00023 $0.00413

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

Security

Grade A, and why

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

skills/surface/bulwark/SKILL.md · 146 lines

How it starts

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

bulwark

!checklist init ${CLAUDE_SKILL_DIR} --force

A bulwark is the wall that holds a defended thing against constant pressure — it does its job by standing, not by being remembered. bulwark is the seventh and last skill of the surface suite, the 1-to-N lens for a frontend that is already alive, and its enemy has changed: the earlier stages built the thing; this one fights entropy. Its product is an architecture that enforces itself — boundaries fossilized into lint rules, a living design system, abstractions pruned not just stacked — so the system stays cheap to change as people and features multiply. There is no exit: 1-to-N is a steady state, so health criteria replace exit criteria. It runs across gated stages and will not advance past a GATE until the checklist tool clears it — order enforced, substance yours.

The one move that governs everything: make the architecture self-enforcing. A living system rots along two lines — boundary erosion (the state classification and module isolation you drew get punctured by one "just this once" cross-import at a time) and two-graph drift (features pile on, the component tree and the data-dependency graph slowly diverge, state migrates into the wrong bucket, derived values get stored). The master's core move is not vigilance — it's to make the architecture enforce itself, because at scale no one remembers the rules. A boundary that lives only in someone's head, or a wiki, will be violated; a boundary the machine rejects at merge time holds. Everything here is a way to move a rule out of human memory and into a gate.

This is where the agent era bites:

  • The agent's default is "add," never "remove." It will add a feature, an abstraction, a flag, a store slice — and never delete, never reclassify, never prune the dead. So the global store grows, abstractions accrete, dead flags linger, and the two graphs drift — all invisibly, because adding turns green and pruning earns nothing. Entropy is the agent's natural output.
  • The agent crosses boundaries for convenience. A direct import into another feature's internals is the shortest path to working code, and the agent feels no cost to the architecture — so unless the machine rejects it, the boundary you designed quietly dissolves into "whoever was in a hurry."
  • The agent reaches for a rewrite and over-abstracts. It will rebuild rather than refactor, and pile speculative structure that the next session must read through — so the discipline of delete the wrong abstraction, extract only on the rule of three must be enforced, not trusted.

Read references/the-membrane.md first — the heart; for bulwark, lean on the scope axis (boundaries and isolation — the same "spooky action at a distance" CSS/scope problem, now at the module level) and the two-graphs axis (the drift you are fighting), plus the meta-principle optimize for change, not for the first version. Load at the start, re-check at every gate.

Speak the user's language. The calls here are the user's — which boundary is load-bearing, is this abstraction earning its keep, should team structure change to fit the architecture. Read their fluency and gloss a term on first use (a fitness function, dependency-cruiser / import rules, a public-API module, Conway's law and inverse Conway, an ADR, dead-code / unused-export pruning, a stale feature flag). An enforcement rule the user can't evaluate is a constraint imposed, not a shared decision.

Read the full file on GitHub · 146 lines

Files

What ships with it

9 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. 2d ago First seen · 146 lines · 228 tokens per session scan A 783c1ce62146

Subscribe to this mod's changes

bulwark is a skill published in the GitHub repository IamK77/Skill (2 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 228 tokens to every session and 4,135 once invoked, about $0.0011 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

agent-platform-model-registry

Agent Platform Model Registry Management. Use when you need to upload, list, describe, update, or delete machine learning models (and their versions) in the Agent Platform Model Registry. Don't use for model training, model deployment to endpoints, or managing non-Agent Platform models.

google/skills · 60 tokens

bigquery-ai-ml

Leverages BigQuery's built-in machine learning and GenAI capabilities for advanced data analytics. Use when you need to write SQL queries that perform time-series forecasting, predict values, detect outliers or anomalies, find key drivers, perform semantic search or vector search, classify text, calculate similarity…

google/skills · 104 tokens

edge-to-edge

Use this skill to migrate your Jetpack Compose app to add adaptive edge-to-edge support and troubleshoot common issues. Use this skill to fix UI components (like buttons or lists) that are obscured by or overlapping with the navigation bar or status bar, fix IME insets, and fix system bar legibility.

android/skills · 67 tokens

twitter-reader

Read Twitter/X for financial research using opencli (read-only). Use this skill whenever the user wants to read their Twitter feed, search for financial tweets, view bookmarks, look up user profiles, or gather market sentiment from Twitter/X. Triggers include: "check my feed", "search Twitter for", "show my…

himself65/finance-skills · 161 tokens

referral-program

When the user wants to design, launch, or optimize an in-app referral / invite / share-to-earn program — including reward structure, mechanics, fraud prevention, deep link setup, and viral coefficient measurement. Use when the user mentions "referral program", "invite a friend", "refer and earn", "share to earn"…

Eronred/aso-skills · 159 tokens

apple-search-ads

When the user wants to set up, optimize, or scale Apple Search Ads (ASA) campaigns — including keyword bidding, match types, campaign structure, Creative Product Sets, CPP routing, and ROAS optimization. Use when the user mentions "Apple Search Ads", "ASA", "Search Ads", "Search tab ads", "Today tab ads", "CPT"…

Eronred/aso-skills · 127 tokens