talebook: Skill for Codex

.agents/skills/better-colors/SKILL.md

better-colors is a skill for Codex from talebook/talebook. It costs 103 tokens per session (1,463 once invoked), scanned A, original, BSD-2-Clause.

A guide to choosing and using colors for websites and other web interfaces, including OKLCH, a color format designed to make changes in lightness, saturation, and hue easier to control.

In plain words
What is it for?
Use it to convert color values, create palettes, check text contrast, handle display-gamut limits, configure Tailwind CSS themes, and assign colors meaningful roles.
Why use it?
It helps keep color systems consistent, readable, and suitable for different displays and themes. It can also identify contrast problems and color values that some screens cannot display accurately.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: installed under .agents/ (shared by several agents).

This is talebook/talebook's own configuration. It tells Codex how to work on talebook 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 talebook configures →

About the project

Talebook is a self-hosted web library for managing and reading personal ebook collections built around Calibre. Individuals use it to organize, search, read, convert, download, and share books, while its catalogue skill lets coding agents manage a Talebook instance through natural-language requests.

talebook/talebook · 5,890 stars · on GitHub · talebook.org

Reuse

Borrowing it

Nothing to install: this file belongs to talebook/talebook. 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/talebook/talebook/master/.agents/skills/better-colors/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/talebook/talebook

Made for: 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 better-colors

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/talebook/talebook/better-colors"><img src="https://agentmods.dev/badge/skills/talebook/talebook/better-colors.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 103 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,463 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.00103 $0.01463
Opus 5.5 $0.00041 $0.00585
Sonnet 5.5 $0.00021 $0.00293
Haiku 4.5 $0.00010 $0.00146

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

Security

Grade A, and why

better-colors 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 2mo 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/better-colors/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.

OKLCH Colors

OKLCH is a perceptually uniform color space where lightness, chroma, and hue are useful design controls. Use it when the project already uses OKLCH, when creating a new color system, or when the user asks for conversion or palette work. Otherwise preserve the project's established tokens and notation: a consistent hex or RGB token system is better than introducing a second color representation for an isolated fix. To explore interactively, visit oklch.fyi.

Quick Reference

Category When to use Reference
Conversion Hex/rgb/hsl to oklch color-conversion.md
Palettes Generate scales, multi-hue, dark mode palette-generation.md
Contrast APCA/WCAG checks, reporting failures, fixing on request accessibility-contrast.md
Gamut & Tailwind P3 fallbacks, @theme scales, gamut clamping gamut-and-tailwind.md
Usage Semantic tokens, one meaning per color, primary-action emphasis, appearance variants color-usage.md
Review output format Severity scale, findings table, verification, verdict review-output.md

Core Principles

1. Use a Perceptual Color Space

  • Respect the existing system. Do not convert notation merely because this skill was loaded. Reuse the project's semantic tokens and authoring format unless the task includes a color-system migration.
  • Perceptual uniformity. Equal L steps = equal brightness. oklch(0.5 ...) is visually mid. HSL's lightness: 50% varies wildly by hue.
  • Stable hue. HSL blue shifts toward purple as lightness changes. OKLCH hue stays constant across the full lightness range.
  • Independent chroma. Chroma is an absolute measure of colorfulness that doesn't depend on lightness. HSL saturation does.
  • Finite gamut. Not every oklch value maps to a displayable sRGB color. High-chroma values at certain hues will clip; gamut awareness is required.

Read the full file on GitHub · 87 lines

Files

What ships with it

7 files 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. 2mo ago First seen · 87 lines · 103 tokens per session scan A 201bf297e731

Subscribe to this mod's changes

better-colors is a skill published in the GitHub repository talebook/talebook (5,890 stars, last pushed 5d ago), licensed BSD-2-Clause. It adds 103 tokens to every session and 1,463 once invoked, about $0.0004 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-08-30.

Related

better-colors compared with skills from other repositories

better-colors next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
better-colorstalebook/talebookSkill5.9k5d agoBSD-2-ClauseA103Codex
anti-slop-designsickn33/agentic-awesome-skillsSkill49kyesterdayMITA34Claude Code
chakra-ui-builderchakra-ui/chakra-uiSkill41kyesterdayMITA214Claude Code, Codex
visual-ralphYeachan-Heo/oh-my-codexSkill34k3d agoMITA52Codex
open-design-setupcompozy/compozySkill2.8ktodayMITA67Claude Code, Codex
frontend-visual-qadaymade/claude-code-skillsSkill1.5kyesterdayMITA125Claude Code, Codex
refactoring-uiwondelai/skillsSkill2.6k4d agoMITA132Claude Code, Codex