Skip to content

feat(skillopt 0.5.0 + skillopt-hook 0.1.0): auto-use (hybrid) — activate + SessionStart inject#421

Merged
dancinlife merged 1 commit into
mainfrom
feat/skillopt-hook
Jun 6, 2026
Merged

feat(skillopt 0.5.0 + skillopt-hook 0.1.0): auto-use (hybrid) — activate + SessionStart inject#421
dancinlife merged 1 commit into
mainfrom
feat/skillopt-hook

Conversation

@dancinlife

Copy link
Copy Markdown
Contributor

"자동으로" + "agent actively uses" via a USE-vs-TRAIN split: USE is automatic +
opt-in + cheap; TRAIN stays a command/agent decision (cost-bearing).

  • 🪝 skillopt-hook 0.1.0 (new hook) — SessionStart injects the active learned skill
    (~/.sidecar/skillopt/active-skill.md) as additionalContext so a trained skill is
    applied with NO command; silent when nothing activated; never trains (cost);
    always exits 0 (fail-open). Optional ~/.sidecar/skillopt/agent-active marker adds a
    one-line nudge to PROPOSE (never auto-run) /skillopt train for repeatable scored
    tasks. Same command/hook split shape as prefs.
  • 🎓 skillopt 0.5.0 — /skillopt activate <skill.md> (write SSOT → auto-use ON) ·
    deactivate (OFF) · agent-active on|off (toggle nudge).

Verified: activate → hook emits correct JSON (hookEventName=SessionStart + skill
body) · agent-active appends nudge · deactivate → empty output (silent).
g22 lockstep both plugins + CHANGELOG.

…ate + SessionStart inject

"자동으로" + "agent actively uses" via a USE-vs-TRAIN split: USE is automatic +
opt-in + cheap; TRAIN stays a command/agent decision (cost-bearing).

- 🪝 skillopt-hook 0.1.0 (new hook) — SessionStart injects the active learned skill
  (~/.sidecar/skillopt/active-skill.md) as additionalContext so a trained skill is
  applied with NO command; silent when nothing activated; never trains (cost);
  always exits 0 (fail-open). Optional ~/.sidecar/skillopt/agent-active marker adds a
  one-line nudge to PROPOSE (never auto-run) /skillopt train for repeatable scored
  tasks. Same command/hook split shape as prefs.
- 🎓 skillopt 0.5.0 — /skillopt activate <skill.md> (write SSOT → auto-use ON) ·
  deactivate (OFF) · agent-active on|off (toggle nudge).

Verified: activate → hook emits correct JSON (hookEventName=SessionStart + skill
body) · agent-active appends nudge · deactivate → empty output (silent).
g22 lockstep both plugins + CHANGELOG.
@dancinlife dancinlife merged commit 58a393f into main Jun 6, 2026
@dancinlife dancinlife deleted the feat/skillopt-hook branch June 6, 2026 20:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant