lamina

lamina is a skill for Claude Code, Codex from aryaniyaps/lamina. It costs 82 tokens per session (983 once invoked), scanned A, original, Apache-2.0.

A product-design guide for developers who use AI coding agents. It helps define the data, rules, user flows, edge cases, and product states before code is written, but it does not write the application source code.

In plain words
What is it for?
Use it to plan features and workflows such as onboarding, checkout, settings, and dashboards; define business rules and error states; and verify a finished product against an agreed design.
Why use it?
It helps prevent vague prompts from producing incomplete features, especially when a product has multiple steps, user roles, permissions, or unusual cases.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code; mentions Codex.

Good fit Use it to plan features and workflows such as onboarding, checkout, settings, and dashboards; define business rules and error states; and verify a finished product against an agreed design.

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

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 lamina

README.md
[![agentmods](https://agentmods.dev/badge/skills/aryaniyaps/lamina/templates.svg)](https://agentmods.dev/skills/aryaniyaps/lamina/templates)
Your own site
<a href="https://agentmods.dev/skills/aryaniyaps/lamina/templates"><img src="https://agentmods.dev/badge/skills/aryaniyaps/lamina/templates.svg" alt="Measured on agentmods" height="20"></a>
Per session 82 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 983 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.00082 $0.00983
Opus 5 $0.00041 $0.00491
Sonnet 5 $0.00016 $0.00197
Haiku 4.5 $0.00008 $0.00098

Measured 7d ago against content hash 0150e108f15a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

lamina 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 7d 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.

brand/templates/SKILL.md · 148 lines

How it starts

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

Lamina — For Developers Who Build with AI

Design how it works.

Lamina runs alongside your AI coding agent — Cursor, Claude Code, Codex, Gemini, Pi. It helps you know what to build before you prompt: edge cases, UX gaps, product states, and invariants in a transactional product graph your agent implements. Verified with isolated Persona Missions after you ship. Does not write your app source.

When to use

Invoke Lamina when the task involves:

  • New features where domain rules, user behavior, and system invariants all matter
  • Multi-step flows (onboarding, checkout, settings, wizards)
  • Permission-sensitive or multi-actor interactions
  • Empty states, error handling, or edge cases tied to business rules
  • Post-build verification against a design contract
  • "Build me a dashboard/settings/app" requests that skip product thinking

Do not invoke Lamina for:

  • Visual design, color, typography, or layout polish (use your UI design skill)
  • Generating React/Vue/Svelte components directly
  • Pure backend/API design with no user-facing flow

Process

Follow this sequence for design:

1. Domain

Define entities, states, and invariants:

### Entity: [Name]
- States: [list]
- Invariants: [rules that must never break]
- Permissions: [who can do what]

2. Actors & workflows

Map who does what across the system:

### Actor: [Role]
- Goal: [what they're trying to accomplish]
- Operations: [what they can trigger]

## Workflow: [Name]
1. [Actor] → [Operation] → [Side effect]

3. UX flows

Map primary and alternate paths as numbered steps:

## Flow: [Name]

**Trigger:** [what starts this flow]
**Success:** [what "done" looks like]

1. [Step]
2. [Step]

### Alternate paths
- [Condition] → [different path]

4. Scenarios & edge cases

Enumerate violations and recovery:

### Scenarios
- [ ] [Specific scenario] → [Expected behavior]

Categories: empty states, errors, concurrency, boundaries, permissions, recovery.

Verify

Read the full file on GitHub · 148 lines

Files

What ships with it

1 file 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. 7d ago First seen · 148 lines · 82 tokens per session scan A 0150e108f15a

Subscribe to this mod's changes

lamina is a skill published in the GitHub repository aryaniyaps/lamina (114 stars, last pushed 2d ago), licensed Apache-2.0. It adds 82 tokens to every session and 983 once invoked, about $0.0004 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

pneuma-preferences

Persistent user preference memory across sessions. Consult this skill BEFORE making any design, style, or aesthetic decisions — choosing colors, themes, layouts, fonts, tone of voice, content density, or visual direction. Also consult when starting a new creative task in any mode, when the user corrects your style…

pandazki/pneuma-skills · 100 tokens

ppt-orchestrator

A dispatcher for creating presentations, slide decks, long images, and weekly reports. It chooses a visual style and output format, then sends the work to a more specialised add-on.

huangrichao2020/pretty-skills · 160 tokens

zhongguose-html-skill

An HTML-only presentation system using traditional Chinese colours and Chinese-style visual design. It helps organise source material into a report structure and produces a self-contained HTML file with its assets.

huangrichao2020/pretty-skills · 232 tokens

FlowForge

A draw.io diagram tool that turns a description or document into editable visual diagrams. Draw.io is software for making flowcharts, system diagrams, and other structured illustrations.

wentong2022-arch/flowforge-skill · 153 tokens

ui-ux-design

Create production-grade frontend interfaces with strong UX and visual craft. Use when building web components, pages, dashboards, forms, landing pages, modals, or any UI. Use when user says 'build a form', 'create a dashboard', 'design a component', 'make a landing page', or asks for UI/UX work. Use even when the user…

arvindand/agent-skills · 98 tokens

svg-art

Generates artistic SVGs directly as code — minimal line icons, geometric marks, generative patterns, or hand-drawn compositions — and assembles a modern 2026 HTML gallery preview. Saves each session to its own semantically named folder on the Desktop. Learns from feedback: which styles you loved, which compositions…

mostafa-drz/claude-skills · 123 tokens