AgentSkillsCN

colors

预览 CYNIC 的色彩系统,感受语义化的色彩、健康指标、进度条,以及犬类色彩(赛菲罗特)。当您需要测试终端色彩,或希望一睹视觉主题时,可运用此技能。

SKILL.md
--- frontmatter
name: colors
description: Preview CYNIC's color system with semantic colors, health indicators, progress bars, and Dog colors (Sefirot). Use when testing terminal colors or wanting to see the visual theme.
user-invocable: true

/colors - CYNIC Color System Preview

"Les couleurs révèlent la vérité" - κυνικός

Execution

Run the color preview script:

bash
node scripts/lib/colors.cjs

Display the output directly to the user.

What It Shows

  1. Semantic Colors: Success, warning, error, info, muted
  2. Health Indicators: φ-aligned thresholds (61.8%, 38.2%)
  3. Progress Bars: Normal and inverse (for heat/frustration)
  4. Dog Colors: All 11 Sefirot with their assigned colors
  5. Dashboard Themes: Color schemes for /psy, /health, /dogs, etc.

φ-Aligned Thresholds

ThresholdMeaningColor
>61.8%HealthyGreen
38.2%-61.8%CautionYellow
<38.2%CriticalRed

These thresholds are derived from the golden ratio (φ = 1.618).

Using Colors in Scripts

javascript
const { ANSI, c, progressBar, DOG_COLORS } = require('./scripts/lib/colors.cjs');

// Colorize text
console.log(c(ANSI.brightGreen, 'Success!'));

// Progress bar with φ thresholds
console.log(`Health: [${progressBar(0.75)}]`);

// Dog color
console.log(c(DOG_COLORS.SCOUT, '🔍 Scout'));

See Also

  • /psy - Human psychology (uses magenta theme)
  • /health - System health (uses cyan theme)
  • /dogs - Collective Dogs (uses cyan/yellow theme)
  • /status - Self-status (uses cyan theme)