coherent

coherent is a skill for Claude Code from skovtun/coherent-design-method. It costs 73 tokens per session (873 once invoked), scanned A, original, MIT.

A controlled process for changing the user interface of a Next.js app. It checks the intended scope, tests the result in a real browser, compares screenshots, and can roll back a failed change.

In plain words
What is it for?
It helps edit Next.js pages, components, and design tokens while checking builds, browser renders, visual differences, and rollback.
Why use it?
UI changes can affect unrelated pages or break a shared design system without being noticed.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions AGENTS.md.

Part of the coherent plugin — 1 skill shipped together

Good fit It helps edit Next.js pages, components, and design tokens while checking builds, browser renders, visual differences, and rollback.

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

Made for: Claude Code.

Or install coherent, the plugin that ships this one along with the rest of its 1 skill.

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 coherent

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/skovtun/coherent-design-method/coherent"><img src="https://agentmods.dev/badge/skills/skovtun/coherent-design-method/coherent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 73 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 873 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.00073 $0.00873
Opus 5.5 $0.00029 $0.00349
Sonnet 5.5 $0.00015 $0.00175
Haiku 4.5 $0.00007 $0.00087

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

Security

Grade A, and why

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

plugins/coherent/skills/coherent/SKILL.md · 46 lines

How it starts

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

Coherent: governed UI edits

You design and write the UI yourself. Coherent does not generate design: it tells you what a change touches, holds the change in a transaction, verifies it in a real browser and rolls back what fails.

Set up (once per project)

Check whether the project already has Coherent: .claude/agents/coherent.md exists, or @getcoherent/cli is in devDependencies. If not, ask the user, then run in the project root:

npx @getcoherent/cli@latest init        # existing Next.js app: adds the agent only, app code untouched
npx @getcoherent/cli@latest init my-app # empty folder: new Next.js + shadcn app

It writes the coherent MCP server (.mcp.json), a write guard, a managed section in AGENTS.md and CLAUDE.md, and scripts/design-check.mjs. Tell the user to restart the session so the MCP tools load. In Codex, add the server with the command init prints (codex mcp add coherent -- ...).

The loop, for every change to project files

  1. coherent_inventory: tokens, shared components with IDs (CID-007) and which routes render them, pages, any open edit.
  2. coherent_begin_edit BEFORE writing, with the request, the narrowest scope and every file you will touch:
    • tokens: the overall look (colour, radius, type, shadow). Change tokens, not components.
    • component: change a shared component everywhere it appears.
    • variant: "only on X". Add an opt-in prop whose default renders as today; every other consumer must stay pixel-identical.
    • page: one page's own markup.
    • new-component: first look for an existing component with the same purpose and reuse it. Pass target when the user names a component or token. Pass refactor: true when nothing may look different.
  3. Write only the declared files. Need another one: coherent_begin_edit with amend. Never route around the guard with shell writes; verification diffs the whole project.
  4. coherent_verify_edit level fast: undeclared changes, new type errors, classes of tokens that do not exist, real names or emails in the UI. Fix until clean.
  5. coherent_verify_edit level final: production build, renders of affected and control routes, pixel diff, browser errors. A pass commits. A failure stays open: fix, or coherent_rollback_edit.
  6. Report the verdict exactly as returned. Only verified is fully verified; name what partially_verified left out.

Read the full file on GitHub · 46 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 · 46 lines · 73 tokens per session scan A 10e71edd03c6

Subscribe to this mod's changes

coherent is a skill published in the GitHub repository skovtun/coherent-design-method (22 stars, last pushed 11d ago), licensed MIT. It adds 73 tokens to every session and 873 once invoked, about $0.0003 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-11-19.

Related

coherent compared with skills from other repositories

coherent next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
coherentskovtun/coherent-design-methodSkill2211d agoMITA73Claude Code
designlang-tokensManavarya09/design-extractSkill5.2k5d agoMITA30Claude Code
omd-3d-herokwakseongjae/oh-my-designSkill6403d agoMITA349Claude Code
omd-brand-lookkwakseongjae/oh-my-designSkill6403d agoMITA235Claude Code, Codex
brandmdyuvrajangadsingh/brandmdSkill7412d agoMITA41Claude Code
extract-design-systemarvindrk/extract-design-systemSkill3492mo agoMITA20Claude Code, Codex
design-to-code-checkmurphytrueman/design-system-opsSkill2262mo agoMITA71Claude Code