Add a training rule or update a playbook from conversation. Triggers on "/ceo:train", "remember this rule", "add this to training", "update the playbook".
Record a training rule or playbook update from the user's correction or instruction.
Read vault path from the obsidian plugin config: ~/.claude/plugins/cache/nhangen/obsidian/*/obsidian.local.md
Set $VAULT to the vault_path value.
User provides a rule directly:
/ceo:train "always check CI before posting review comments"
/ceo:train "morning briefs should include Sentry error counts"
Steps:
training/pr-review.mdtraining/briefings.mdtraining/communication.mdtraining/repos.mdTRAINING.md- <rule text> (added YYYY-MM-DD)last_updated field in frontmatter.<file>: <rule text>"During a session, the user corrects the CEO's behavior:
User: "No, don't post the review comment yet — check if CI has finished first"
The CEO detects this is a correction and offers to record it:
CEO: "Got it — I'll check CI status before posting comments. Want me to add this as a training rule?"
User: "yes"
Steps:
If a correction changes a workflow step (not just adding a rule):
User: "Add a CI check step before posting comments in the PR review playbook"
Steps:
$VAULT/CEO/playbooks/.last_updated in frontmatter.playbooks/<name>.md: <description of change>"If the user wants to create a new playbook:
/ceo:train create playbook for deployment checks
Steps:
$VAULT/CEO/SKILLS.md — if a task type with this name already exists, tell the user and ask if they want to update the existing playbook instead.$VAULT/CEO/playbooks/<name>.md with numbered steps.$VAULT/CEO/SKILLS.md dispatch table (with status: active).playbooks/<name>.md and added to SKILLS.md dispatch table."