diagram-colour-picker

diagram-colour-picker is a skill for Claude Code, Codex from rcarmo/piclaw-addons. It costs 21 tokens per session (559 once invoked), scanned A, original, MIT.

An interactive colour picker for the 11 semantic colour categories used by diagram-rendering scripts. It lets you adjust box fill and outline colours visually.

In plain words
What is it for?
Use it to choose new colours for diagram categories and apply those changes to the rendering script.
Why use it?
It removes the need to edit colour values by hand when changing a diagram's visual style.

Skill for Claude CodeCodex

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

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is bun scripts/diagram-render.ts "$f" "_diagrams/$(basename $f .json).svg".

Good fit Use it to choose new colours for diagram categories and apply those changes to the rendering script.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/rcarmo/piclaw-addons
agentmods
npx agentmods add skills/rcarmo/piclaw-addons/diagram-colour-picker

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 diagram-colour-picker

README.md
[![agentmods](https://agentmods.dev/badge/skills/rcarmo/piclaw-addons/diagram-colour-picker/github.svg)](https://agentmods.dev/skills/rcarmo/piclaw-addons/diagram-colour-picker)
Your own site
<a href="https://agentmods.dev/skills/rcarmo/piclaw-addons/diagram-colour-picker"><img src="https://agentmods.dev/badge/skills/rcarmo/piclaw-addons/diagram-colour-picker/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 diagram-colour-picker

Your own site · 80×15
<a href="https://agentmods.dev/skills/rcarmo/piclaw-addons/diagram-colour-picker"><img src="https://agentmods.dev/badge/skills/rcarmo/piclaw-addons/diagram-colour-picker.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 559 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.00021 $0.00559
Opus 5.5 $0.00008 $0.00224
Sonnet 5.5 $0.00004 $0.00112
Haiku 4.5 $0.00002 $0.00056

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

Security

Grade A, and why

diagram-colour-picker 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.

addons/diagram-tools/skills/diagram-colour-picker/SKILL.md · 82 lines

How it starts

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

Diagram Colour Picker

Interactive widget for adjusting the 11-tag diagram colour palette.

When to use

When the user wants to visually pick alternative fill/stroke colours for diagram boxes.

How to use

1. Read current colours

Extract the current tag→colour mapping from scripts/diagram-render.ts (the THEME_CSS light-mode block — the .box-* rules).

2. Post the widget

Use send_dashboard_widget with the HTML from colour-picker-widget.html (sibling of this SKILL.md).

Before posting, update the tags array at the top of the <script> block with the current fill/stroke values from the renderer.

send_dashboard_widget({
  title: "Diagram Colour Picker",
  content: "Interactive colour picker for diagram tag styles",
  html: <contents of colour-picker-widget.html with current colours>
})

3. Wait for user submission

The widget sends back a message like:

Updated colours:
backend: fill=#74a7ff stroke=#012f7b
processing: fill=#adadad stroke=#000000

Only changed colours are included.

4. Apply changes

For each changed tag, update the corresponding .box-* CSS rule in scripts/diagram-render.ts — both the light-mode default block and the dark-mode @media (prefers-color-scheme: dark) block.

For dark mode, derive darker fill variants from the light fill (reduce lightness by ~60%, keep hue) and keep strokes vibrant.

5. Regenerate all diagrams

for f in _diagrams/*.json; do
  bun scripts/diagram-render.ts "$f" "_diagrams/$(basename $f .json).svg"
done

Then update all _content/*.md files and rebuild:

python3 -c "
import re, os, glob
for md in sorted(glob.glob('_content/*.md')):
    name = os.path.basename(md).replace('.md','')
    svg_f = f'_diagrams/{name}.svg'
    if not os.path.exists(svg_f): continue
    content = open(md).read()
    svg = open(svg_f).read()
    content = re.sub(r'(## Diagram\s*\n)<svg[\s\S]*?</svg>', r'\1' + svg, content)
    open(md, 'w').write(content)
"
bun run build.ts && bun audit-links.ts

Read the full file on GitHub · 82 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. 2mo ago First seen · 82 lines · 21 tokens per session scan A fee23ada9513

Subscribe to this mod's changes

diagram-colour-picker is a skill published in the GitHub repository rcarmo/piclaw-addons (23 stars, last pushed yesterday), licensed MIT. It adds 21 tokens to every session and 559 once invoked, about $0.0001 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

Other skills, from other repositories

html-artifacts

Author the HTML for a plan artifact, dashboard iframe, or Slack attachment — structure, design plan, available runtime, theming, and craft. Read this before writing HTML for publishartifact, outputiframe, or slackattachhtml.

langchain-ai/open-swe · 52 tokens

surfsense-html

Make or change a web page from the user's sources - a report, a briefing, a dashboard, a comparison, a timeline, an explainer, an interactive calculator or a figure that shows how something works - by writing an HTML file and keeping it with surfsensesavepage. Load it whenever the user asks for a web page, an HTML…

MODSetter/SurfSense · 89 tokens

skin-creator

Create and apply a two-asset LobsterAI visual skin from the user's style description. Use only when the AI Skin Designer kit supplies the structured skinpack workflow marker; do not use for ordinary theme or image requests.

netease-youdao/LobsterAI · 48 tokens

canvas-design

Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.

netease-youdao/LobsterAI · 59 tokens

proto-bot-ops

A workflow for turning an existing application into interface prototypes, implementing approved page changes, and collecting review evidence. It checks the real code, pages, components, data, and visual states instead of treating a design file as an integrated product.

makecindy/cindy · 38 tokens

omh-accessibility-audit

This is an OMH accessibility-audit workflow skill, projected for Agent Skills hosts (Claude Code, Codex, Cursor, opencode, OpenClaw, pi).

rlaope/oh-my-hermes · 84 tokens