architecture

architecture is a skill for Claude Code from wellwelwel/lagune. It costs 50 tokens per session (2,788 once invoked), scanned A, original, MIT.

A reference for how the Lagune codebase is organized and how its commands, templates, core, adapters, and tracking maps fit together.

In plain words
What is it for?
It helps developers understand the repository layout and make informed changes when adding agents or changing what Lagune creates in another project.
Why use it?
It reduces the chance of adding code in the wrong place or breaking the boundary between the project’s main logic and its integrations.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

Good fit It helps developers understand the repository layout and make informed changes when adding agents or changing what Lagune creates in another project.

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

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 architecture

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/wellwelwel/lagune/architecture"><img src="https://agentmods.dev/badge/skills/wellwelwel/lagune/architecture.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,788 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00050 $0.02788
Opus 5 $0.00025 $0.01394
Sonnet 5 $0.00010 $0.00558
Haiku 4.5 $0.00005 $0.00279

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

Security

Grade A, and why

architecture 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 10d 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.

.claude/skills/architecture/SKILL.md · 85 lines

How it starts

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

Lagune architecture

This skill is the specialized, authoritative description of how Lagune is structured: repository layout, how commands and templates are organized, the core/adapter boundary, what Lagune scaffolds into a target project, and the tracking-map model. Consult it before changing source, before adding an agent, and whenever a decision depends on the shape of the codebase.

The product mission and workflow philosophy live in CLAUDE.md. The toolchain, code conventions, build path, and how the tracking hooks are implemented live in the engineering skill. The language conventions and the boundaries on what prose carries and who may author it live in the writer skill. This skill covers the shape, not the build.

Repository layout

Top-level directories. Their internal structure is defined in the sections below.

Directory Purpose
src/ TypeScript source. Everything authored by hand lives here.
src/types/ The single home for every type declaration. No type is declared elsewhere.
lib/ Compiled JavaScript build output. Generated, not edited. This is what ships.
spec/ The Lagune core: the commands, templates, and sub-skills that ship.
spec/commands/ The /lagune.* command definitions an agent reads to run each phase.
spec/templates/ The files a command fills in (the security artifacts produced per phase).
spec/skills/ Non-invocable sub-skills: on-demand knowledge the phases load.
test/ Poku test suites, run against Node, Bun, and Deno.

Command & template anatomy

A phase of the workflow is a pair: a command and one or more templates.

Read the full file on GitHub · 85 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. 10d ago First seen · 85 lines · 50 tokens per session scan A 56fcadc07655

Subscribe to this mod's changes

architecture is a skill published in the GitHub repository wellwelwel/lagune (148 stars, last pushed 10d ago), licensed MIT. It adds 50 tokens to every session and 2,788 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-30.

Related

Other skills, from other repositories

033-architecture-diagrams

Use when you need to generate Java project diagrams — including UML sequence diagrams, UML class diagrams, C4 model diagrams, UML state machine diagrams, UML Deployment Diagrams, ER (Entity Relationship) diagrams, and bounded-context diagrams — through a modular, step-based interactive process that adapts to your…

jabrena/plinth · 117 tokens

firebase-ai

Use when setting up firebaseai, generating text/chat with Gemini, streaming AI output, building multimodal prompts, or handling AI errors.

evanca/flutter-ai-rules · 30 tokens

813-regulations-iso-42001

Use when reviewing, designing, or modifying Java enterprise systems that use GenAI, LLMs, AI-assisted coding, RAG, AI agents, generated code, generated dependencies, prompt workflows, external model providers, or AI-enabled business logic and need ISO/IEC 42001 AI management system-aware engineering guidance. Part of…

jabrena/plinth · 77 tokens

801-regulations-eu-ai-act

Use when reviewing, designing, or modifying Java enterprise systems that use AI, LLMs, AI agents, RAG, tool calling, workflow automation, or model-based decision support and need EU AI Act regulatory awareness. This should trigger for requests such as Review a Java AI system for EU AI Act controls; Design governance…

jabrena/plinth · 108 tokens

032-architecture-adr-non-functional-requirements

Facilitates conversational discovery to create Architectural Decision Records (ADRs) for non-functional requirements using the ISO/IEC 25010:2023 quality model. Use when the user wants to document quality attributes, NFR decisions, security/performance/scalability architecture, or design systems with measurable…

jabrena/plinth · 120 tokens

building-ioc-defanging-and-sharing-pipeline

Build an automated pipeline to defang indicators of compromise (URLs, IPs, domains, emails) for safe sharing and distribute them in STIX format through TAXII feeds and threat intelligence platforms.

26zl/cybersec-toolkit · 49 tokens