Prompt file imported from SpreadZhao/codex-ecc (
.codex/prompts/ecc-promote.md). Fill in{{CLAUDE_PLUGIN_ROOT}}before use. Copyright stays with the author.
ECC Command Prompt: /promote
Source: /nix/store/7bmy0z0ymx3hgjbhiiixxi0f43djs56c-source/commands/promote.md
Use this prompt to run the ECC promote workflow in Codex.
Promote Command
Promote instincts from project scope to global scope in continuous-learning-v2.
Implementation
Run the instinct CLI using the plugin root path:
python3 "{{CLAUDE_PLUGIN_ROOT}}/skills/continuous-learning-v2/scripts/instinct-cli.py" promote [instinct-id] [--force] [--dry-run]
Or if CLAUDE_PLUGIN_ROOT is not set (manual installation):
python3 ~/.claude/skills/continuous-learning-v2/scripts/instinct-cli.py promote [instinct-id] [--force] [--dry-run]
Usage
/promote # Auto-detect promotion candidates
/promote --dry-run # Preview auto-promotion candidates
/promote --force # Promote all qualified candidates without prompt
/promote grep-before-edit # Promote one specific instinct from current project
What to Do
- Detect current project
- If
instinct-idis provided, promote only that instinct (if present in current project) - Otherwise, find cross-project candidates that:
- Appear in at least 2 projects
- Meet confidence threshold
- Write promoted instincts to
~/.claude/homunculus/instincts/personal/withscope: global