pn-color-system

pn-color-system is a skill for Cursor from perniemann/pnCore. It costs 50 tokens per session (1,202 once invoked), scanned A, original, MIT.

A guide for designing color palettes, including contrast, dark mode, neutral colors, and reusable color tokens.

In plain words
What is it for?
Use it to establish or review a palette, implement themes, replace scattered color values, and fix inaccessible or washed-out color choices.
Why use it?
It helps replace inconsistent color choices with a structured palette and supports readable interfaces. It also addresses accessibility by checking text and background contrast.

Skill for Cursor

Written for Cursor: shipped in a Cursor plugin.

Part of the pn-core plugin — 133 skills, 19 commands, 9 agents, 1 MCP server shipped together

Good fit Use it to establish or review a palette, implement themes, replace scattered color values, and fix inaccessible or washed-out color choices.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/perniemann/pncore/pn-color-system
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 perniemann/pnCore --skill pn-color-system
Clone the repo
git clone --depth 1 https://github.com/perniemann/pnCore

Made for: Cursor.

Or install pn-core, the plugin that ships this one along with the rest of its 133 skills, 19 commands, 9 agents, 1 MCP server.

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 pn-color-system

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/perniemann/pncore/pn-color-system"><img src="https://agentmods.dev/badge/skills/perniemann/pncore/pn-color-system.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 1,202 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.00050 $0.01202
Opus 5 $0.00025 $0.00601
Sonnet 5 $0.00010 $0.00240
Haiku 4.5 $0.00005 $0.00120

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

Security

Grade A, and why

pn-color-system 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.

packages/pn-core-mcp/content/skills/frontend/pn-color-system/SKILL.md · 115 lines

How it starts

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

Color System

When to Use

  • Establishing or auditing a project's color palette and token system.
  • Implementing dark mode or theme switching.
  • Ensuring WCAG contrast compliance.
  • Replacing ad-hoc hex values with a structured token system.
  • Reviewing or fixing color choices that look generic, washed-out, or inaccessible.

Context Gathering

Check .pncore-design.md in the project root first. Brand personality and visual ambition affect color choices. If missing, recommend running pn-setup (design context option).

Core Approach

OKLCH is the recommended color space for token systems. It is perceptually uniform — equal lightness steps look equal across hues. HSL is not perceptually uniform and produces colors that feel inconsistent.

Tint your neutrals. Pure gray has no personality. Add a tiny amount of your brand hue (chroma 0.005–0.01) to all neutrals for subconscious cohesion.

Never use pure black or pure white. Always tint. Real shadows and surfaces always have a color cast.

Full implementation details, code patterns, WCAG tables, and dark mode architecture: reference/color-and-contrast.md

Quick Reference

Color Token Structure

/* Primitives — define once, never use in components */
--blue-500: oklch(60% 0.15 250);
--blue-200: oklch(85% 0.08 250);

/* Semantics — what components reference */
:root {
  --color-primary:       var(--blue-500);
  --color-primary-muted: var(--blue-200);
  --color-text:          oklch(15% 0.01 250);
  --color-surface:       oklch(98% 0.005 250);
  --color-border:        oklch(88% 0.01 250);
}

/* Dark mode — only redefine semantics */
[data-theme="dark"] {
  --color-primary: oklch(68% 0.13 250);
  --color-text:    oklch(92% 0.01 250);
  --color-surface: oklch(14% 0.01 250);
  --color-border:  oklch(28% 0.02 250);
}

Tinted Neutrals

/* Brand hue drives the neutral tint */
--brand-hue: 250;  /* blue */

--gray-50:  oklch(98% 0.005 var(--brand-hue));
--gray-100: oklch(95% 0.008 var(--brand-hue));
--gray-400: oklch(65% 0.010 var(--brand-hue));
--gray-700: oklch(38% 0.012 var(--brand-hue));
--gray-900: oklch(18% 0.010 var(--brand-hue));

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

Subscribe to this mod's changes

pn-color-system is a skill published in the GitHub repository perniemann/pnCore (0 stars, last pushed 4d ago), licensed MIT. It adds 50 tokens to every session and 1,202 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-09-03.

Related

Other skills, from other repositories

brand-landingpage

Brand-first landing page designer — runs a brand-identity interview (colors, typography, shape language), then generates and iterates on a polished landing page via Stitch with deployment-ready HTML. Use when the user asks to create, design, or build a landing page, homepage, or marketing page and has no established…

wshobson/agents · 112 tokens

openkb-html-critic

Use to review a generated HTML deck or single-page artifact for visual quality and structural correctness. Especially good at catching CSS specificity bugs where slide-modifier classes (.divider, .center, .q, .flow etc.) accidentally override the base .slide{display:none} and cause one slide to stack on top of every…

VectifyAI/OpenKB · 132 tokens

apply-mantel-styles

Provides guidelines for applying Mantel's brand styles to diagrams and frontend components. Use when asked to create visuals that need to align with Mantel's branding.

sammcj/agentic-coding · 37 tokens

ux-design-fix

Use when the user wants to change how existing UI looks or behaves — fix spacing, colour, layout, states, responsiveness, or accessibility on a component, page, or flow. Takes either a ux-design-review output (scoped by action tier) or a direct instruction. Triggers on "the summary card padding is off", "the modal…

carinyadigital/skills · 171 tokens

web-design-guidelines

Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".

ashrafmusa/agenticana · 44 tokens

design-system

DaisyUI + Tailwind CDN design system spec. Preloaded into design-related agents and referenced by design skills.

pcatattacks/solopreneur-plugin · 26 tokens