architecture-refresh

architecture-refresh is a skill for Claude Code, Codex from sjarmak/coding-agent-workflows. It costs 26 tokens per session (320 once invoked), scanned A, original, MIT.

A process for updating architecture diagrams so they match the current source code and deployment setup. It checks the model, diagrams, source links, and published views for differences.

In plain words
What is it for?
Use it to audit and repair architecture models, trace representative system flows, and validate generated diagrams for desktop and narrow screens.
Why use it?
Diagrams become misleading when systems change but their documentation does not. This process identifies missing parts, stale names, wrong relationships, and planned features shown as built.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to audit and repair architecture models, trace representative system flows, and validate generated diagrams for desktop and narrow screens.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sjarmak/coding-agent-workflows/architecture-refresh
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 sjarmak/coding-agent-workflows --skill architecture-refresh
Clone the repo
git clone --depth 1 https://github.com/sjarmak/coding-agent-workflows

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-refresh

README.md
[![agentmods](https://agentmods.dev/badge/skills/sjarmak/coding-agent-workflows/architecture-refresh/github.svg)](https://agentmods.dev/skills/sjarmak/coding-agent-workflows/architecture-refresh)
Your own site
<a href="https://agentmods.dev/skills/sjarmak/coding-agent-workflows/architecture-refresh"><img src="https://agentmods.dev/badge/skills/sjarmak/coding-agent-workflows/architecture-refresh/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-refresh

Your own site · 80×15
<a href="https://agentmods.dev/skills/sjarmak/coding-agent-workflows/architecture-refresh"><img src="https://agentmods.dev/badge/skills/sjarmak/coding-agent-workflows/architecture-refresh.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 320 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.00026 $0.00320
Opus 5.5 $0.00010 $0.00128
Sonnet 5.5 $0.00005 $0.00064
Haiku 4.5 $0.00003 $0.00032

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

Security

Grade A, and why

architecture-refresh 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.

source/skills/architecture-refresh/SKILL.md · 17 lines

What it actually says

Architecture refresh

Read the repository's architecture model, views, diagrams, and publishing configuration. Use the existing format and source layout; do not impose a new diagramming tool merely to run this audit.

  1. Build an evidence table: modeled element, intended responsibility, delivery status, source link, actual implementation, discrepancy. Survey entry points, packages, service boundaries, storage, external calls, and CI. Use code-graph for indexed code relationships.
  2. Trace representative end-to-end flows. Check relationship direction, trust and deployment boundaries, omitted subsystems, stale names, and planned features presented as implemented. Let source evidence determine drift, not keyword counts.
  3. Update the model and views together, retaining meaningful scope and avoiding a diagram of every function. Link elements to stable source locations and distinguish built, planned, and inferred structures.
  4. Use the repository-pinned LikeC4 or equivalent CLI to validate and export locally. Inspect installed help and package scripts before choosing flags. Check source links, view IDs, generated assets, and the rendered navigation at desktop and narrow widths.
  5. For publishing changes, inspect existing CI permissions, branch/path triggers, artifact paths, and link checks. Prepare a local preview and follow the user's publishing authorization. Do not propagate workflows to unrelated repositories or deploy merely because a diagram was refreshed.

Report content changes separately from rendering or deployment changes. A successful renderer does not prove architectural accuracy.

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 First seen · 17 lines · 26 tokens per session scan A 22d1324608bb

Subscribe to this mod's changes

architecture-refresh is a skill published in the GitHub repository sjarmak/coding-agent-workflows (7 stars, last pushed 2d ago), licensed MIT. It adds 26 tokens to every session and 320 once invoked, about $0.0001 per session on Opus 5.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-10-02.

Related

architecture-refresh compared with skills from other repositories

architecture-refresh next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
architecture-refreshsjarmak/coding-agent-workflowsSkill72d agoMITA26Claude Code, Codex
Agent Instruction Drift Checkniels-emmer/myaceSkill1yesterdayMITA38Claude Code, Codex
karpathy-guidelinesmxyhi/ok-skillsSkill5189d agoApache-2.0A46Claude Code, Codex
improve-codebase-architecturemxyhi/ok-skillsSkill5189d agoApache-2.0A32Claude Code, Codex
agent-watchdogBuilderIO/skillsSkill4.7k3d agoMITA115Claude Code, Codex
no-commentsbacknotprop/pstackSkill5.5ktodayMITA20Claude Code, Codex, Cursor
interrogatebacknotprop/pstackSkill5.5ktodayMITA61Claude Code, Codex, Cursor