AgentSkillsCN

proactive

展示 TriggerEngine 的状态——主动建议系统。当用户询问主动触发机制、建议系统、倦怠检测、错误模式识别,或 CYNIC 的预见能力时,可运用此技能。

SKILL.md
--- frontmatter
name: proactive
description: Display TriggerEngine state - proactive suggestions system. Use when asked about proactive triggers, suggestion system, burnout detection, error pattern detection, or CYNIC's anticipation capabilities.
user-invocable: true

/proactive - Trigger Engine Dashboard

"Le chien anticipe" - CYNIC becomes proactive, not just reactive

Execution

Run the trigger engine dashboard script:

bash
node scripts/lib/proactive-dashboard.mjs

Display the output directly to the user. The dashboard shows trigger state with ANSI colors.

What It Shows

  1. Engine Status: Enabled, voting threshold
  2. Triggers: All 6 trigger types with cooldown status
  3. Context: Current user energy, focus, goals
  4. Pending Suggestions: Awaiting outcome
  5. Acceptance Rates: How often suggestions are followed

The 6 Triggers

TriggerConditionAction
ERROR_PATTERNSame error 3+ timesSuggest fix
CONTEXT_DRIFTUser strays from goalRemind goal
BURNOUT_RISKEnergy < 38.2% (φ⁻²)Suggest break
PATTERN_MATCHSimilar success foundSuggest reuse
DEADLINE_NEARGoal deadline < 24hPrioritize
LEARNING_OPPNew pattern emergingHighlight

Urgency Levels

LevelWhen UsedDisplay
SUBTLENon-intrusive hintsCyan
ACTIVEWorth attentionYellow
URGENTAction requiredRed

Cooldowns

Each trigger has a cooldown to prevent spam:

TriggerCooldown
ERROR_PATTERN5 min
CONTEXT_DRIFT10 min
BURNOUT_RISK30 min
PATTERN_MATCH2 min
DEADLINE_NEAR15 min
LEARNING_OPP5 min

Force Fire (Testing)

To test a trigger, use the forceFire() method:

javascript
const engine = getTriggerEngine();
engine.forceFire('BURNOUT_RISK'); // Forces burnout trigger

CYNIC Voice

Normal: *sniff* Trigger engine operational. Watching for patterns.

Suggestion Active: *ears perk* 💡 PROACTIVE: [message]

Burnout Detected: *concerned sniff* Energy low. Consider a break.

See Also

  • /psy - Human psychology dashboard
  • /patterns - Detected patterns
  • /health - System health
  • /stats - Telemetry