SurfSense: Skill for Claude Code

.agents/skills/frontend-workflow/color/SKILL.md

color is a skill for Claude Code, Codex from MODSetter/SurfSense. It costs 0 tokens per session (925 once invoked), scanned A, original, Apache-2.0.

A guide to the SurfSense color system, including its design rules, workflow, safeguards, and a known accessibility limitation.

In plain words
What is it for?
Use it when designing or reviewing color choices in SurfSense interfaces.
Why use it?
It gives you a shared way to choose and apply colors while making the system's constraints clear.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is MODSetter/SurfSense's own configuration. It tells Claude Code and Codex how to work on SurfSense itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything SurfSense configures →

About the project

SurfSense is an open-source desktop application that uses an AI agent to research, transform, and edit documents while keeping their index on the user's machine. It is intended for people working with documents they cannot upload, with a choice of local or remote models and no account required.

MODSetter/SurfSense · 16,789 stars · on GitHub · surfsense.com

Reuse

Borrowing it

Nothing to install: this file belongs to MODSetter/SurfSense. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/MODSetter/SurfSense/main/.agents/skills/frontend-workflow/color/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/MODSetter/SurfSense

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 color

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/modsetter/surfsense/color"><img src="https://agentmods.dev/badge/skills/modsetter/surfsense/color.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 925 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.00000 $0.00925
Opus 5.5 $0.00000 $0.00370
Sonnet 5.5 $0.00000 $0.00185
Haiku 4.5 $0.00000 $0.00093

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

Security

Grade A, and why

color 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 1mo 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.

.agents/skills/frontend-workflow/color/SKILL.md · 87 lines

How it starts

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


name: color-system description: Applies and reviews SurfSense's canonical light and dark color palette, semantic design tokens, typography, charts, borders, shadows, and theme mappings. Use when creating or changing frontend colors, themes, component styling, data visualizations, or design tokens.

SurfSense Color System

Use PALETTE.css as the canonical palette contract. Preserve its token names and values unless the user explicitly requests a palette change.

Principles

  1. Use semantic tokens such as background, foreground, primary, muted, accent, destructive, border, and their foreground pairs. Do not use raw hex values in components.
  2. Use the matching foreground token for text and icons placed on a semantic surface: primary-foreground on primary, card-foreground on card, and so on.
  3. Use chart-1 through chart-5 for data series. Do not repurpose chart colors as component state colors.
  4. Use ring for focus indicators and border or input for boundaries. Never remove a visible keyboard focus indicator.
  5. Use muted-foreground only for secondary text. Do not use it for small or essential text unless its contrast passes WCAG.
  6. Use destructive only for destructive actions, errors, or dangerous states. Do not use chart colors to communicate errors.
  7. Support both :root and .dark; never add a light-only semantic token.
  8. Prefer existing semantic tokens over creating new aliases. Add a token only when it represents a reusable semantic role that the palette does not cover.

Workflow

  1. Locate the active global CSS file from the target app's components.json; this repository contains more than one frontend.
  2. Compare the active theme with PALETTE.css. Do not overwrite unrelated CSS, animation, layout, or framework directives.
  3. Apply palette values at the global token layer, not inside individual components.
  4. In components, use the project's semantic utility classes or CSS variables, for example bg-background text-foreground, bg-card text-card-foreground, and border-border.
  5. Check affected foreground/background pairs in both themes. WCAG targets: 4.5:1 for normal text, 3:1 for large text and meaningful UI boundaries.
  6. Verify focus, hover, active, selected, disabled, destructive, chart, and sidebar states when affected.

Read the full file on GitHub · 87 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. 1mo ago First seen · 87 lines · 0 tokens per session scan A ef7a1704a338

Subscribe to this mod's changes

color is a skill published in the GitHub repository MODSetter/SurfSense (16,789 stars, last pushed today), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 925 tokens. 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-19.

Related

color compared with skills from other repositories

color next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
colorMODSetter/SurfSenseSkill17ktodayApache-2.0A0Claude Code, Codex
agent-orchestration-multi-agent-optimizeranbot-ai/awesome-skillsSkill8yesterdaynoneA38Claude Code, Codex
ai-pipeline-orchestrationranbot-ai/awesome-skillsSkill8yesterdaynoneA39Claude Code, Codex
first-readerShubhamsaboo/awesome-llm-appsSkill144kyesterdayApache-2.0A174Claude Code, Codex
mcp-apps-builderShubhamsaboo/awesome-llm-appsSkill144kyesterdayApache-2.0A139Claude Code, Codex
project-graveyardShubhamsaboo/awesome-llm-appsSkill144kyesterdayApache-2.0A127Claude Code, Codex
commit-archaeologistShubhamsaboo/awesome-llm-appsSkill144kyesterdayApache-2.0A82Claude Code, Codex