用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/rcarmo/piclaw-addons --skill diagram-colour-picker命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Manage Iroh client-ID pairing in Remote Peer Settings and use chat for trusted one-hop peer conversations.
Render a multi-instance Piclaw usage chart from Graphite telemetry.
Inspect and use the catalogue-backed cheapskate/auto router, which permits only explicitly enabled models with exact zero catalogue pricing.
基于 SOC 职业分类
正在显示 SKILL.md
| name | diagram-colour-picker |
| description | Open an interactive widget to adjust the semantic colour palette used by diagram rendering scripts. |
| distribution | public |
Interactive widget for adjusting the 11-tag diagram colour palette.
When the user wants to visually pick alternative fill/stroke colours for diagram boxes.
Extract the current tag→colour mapping from scripts/diagram-render.ts
(the THEME_CSS light-mode block — the .box-* rules).
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>
})
The widget sends back a message like:
Updated colours:
backend: fill=#74a7ff stroke=#012f7b
processing: fill=#adadad stroke=#000000
Only changed colours are included.
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.
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