lamina-product-behavior

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

A guide for defining how a product behaves while people use it. It covers actors, permissions, workflows, side effects, rules, consistency, retries, and time-related behavior.

In plain words
What is it for?
Use it to model domain behavior, decide how much complexity each user sees, define invariants, handle concurrent actions, and specify runtime guarantees.
Why use it?
It helps turn vague product ideas into clear rules, including what may happen, what must never happen, and how changes spread through the system.

Skill for Claude CodeCodex

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

Good fit Use it to model domain behavior, decide how much complexity each user sees, define invariants, handle concurrent actions, and specify runtime guarantees.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aryaniyaps/lamina/lamina-product-behavior
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 lamina-product-behavior
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-product-behavior

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/aryaniyaps/lamina/lamina-product-behavior"><img src="https://agentmods.dev/badge/skills/aryaniyaps/lamina/lamina-product-behavior.svg" alt="Reviewed on agentmods" width="80" 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 620 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.00082 $0.00620
Opus 5 $0.00041 $0.00310
Sonnet 5 $0.00016 $0.00124
Haiku 4.5 $0.00008 $0.00062

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

Security

Grade A, and why

lamina-product-behavior 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 11d 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/lamina-product-behavior/SKILL.md · 38 lines

How it starts

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

Lamina Product Behavior

Reference-loading protocol

  1. Match the request's primary runtime-truth decision to one row below.
  2. Open that linked reference before answering. Add another only when a second decision materially changes the answer; do not preload the directory.
  3. Start the response with Using lamina-product-behavior: <topic path(s)> so the selected behavior lens is auditable.

Topic index

Runtime signal Read Adds
Need the represented domain model to match how actors understand the task Product Behavior entities, permissions, workflows, surfaces, and illegal states
Need to choose how much power or complexity each actor sees Product Density actor- and surface-specific complexity budgets
One mutation must update, notify, invalidate, audit, or retry elsewhere Side Effects primary effect, downstream effects, delivery lifecycle, and failure recovery
Need a rule that must hold in every valid state Invariants explicit predicates and violation probes
Views may lag or disagree after a state change Consistency Guarantees strong, eventual, and read-your-writes product promises
An operation may repeat, race, conflict, or arrive after state changed Idempotency and Concurrency duplicate safety, conflict policy, and fencing
Behavior depends on zones, dates, recurrence, duration, deadline, or correction Time Semantics explicit temporal meaning and boundary behavior
A workflow requires prior setup, ownership, state, or another workflow Dependencies prerequisite edges and unmet behavior
Need to decide which domain owns a rule or what data crosses a boundary Modularity Boundaries information hiding and cohesive ownership
Several roles or surfaces must agree on the same entity and lifecycle Multi-View Integrity handoffs, visibility, and cross-view truth

Read the full file on GitHub · 38 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. 11d ago First seen · 38 lines · 82 tokens per session scan A 5c718d753aa9

Subscribe to this mod's changes

lamina-product-behavior is a skill published in the GitHub repository aryaniyaps/lamina (114 stars, last pushed yesterday), licensed Apache-2.0. It adds 82 tokens to every session and 620 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

tokf-discover

Find missed token savings by scanning AI coding session files for commands that ran without tokf filtering.

mpecan/tokf · 24 tokens

dashiai-ppt

A presentation-making add-on that creates an HTML slide deck from preset visual page designs. The result can open offline in a browser and can be exported as a PowerPoint or PDF file.

huangrichao2020/pretty-skills · 62 tokens

skillnote

Self-hosted skill registry for OpenClaw. Stores procedures your team writes (name, description, body), syncs them to disk before each task, and collects which-helped/which-failed signals from the agent so the registry improves over time.

luna-prompts/skillnote · 54 tokens

xiaohongshu-image-creator

An image-making assistant for Xiaohongshu, a Chinese social platform for lifestyle, product, and educational posts. It creates vertical covers and supporting images matched to the post’s topic, audience, and visual style.

huangrichao2020/pretty-skills · 121 tokens

sansheng-distill

A book and text summarizer that creates one self-contained HTML page with five sections: an overview, chapter notes, the book’s central idea, an action checklist, and questions for judging its reliability. The page includes an embedded Mermaid mind map and works offline without a web server.

huangrichao2020/pretty-skills · 108 tokens

cross-campaign

Discover and reference other camps, projects, and files across camp boundaries. Use when the user mentions another camp or campaign by name, references work done "in another project/camp", or needs to find/copy/compare code across camps.

Obedience-Corp/festival · 52 tokens