mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-01-31 19:53:07 +08:00
Fixes #113 The instinct commands referenced hardcoded paths that only work with manual installation (~/.claude/skills/...). When installed as a plugin, files are at ~/.claude/plugins/cache/.../skills/... Changes: - Updated instinct-status, instinct-import, evolve commands to use ${CLAUDE_PLUGIN_ROOT} with fallback to manual path - Updated observe.sh hook documentation with both install methods - Updated SKILL.md with plugin vs manual installation instructions - Removed duplicate commands from skills/continuous-learning-v2/commands/ (already exist in commands/) Users should use ${CLAUDE_PLUGIN_ROOT} in their hooks config when installed as a plugin.
2.2 KiB
2.2 KiB
name, description, command
| name | description | command |
|---|---|---|
| instinct-status | Show all learned instincts with their confidence levels | true |
Instinct Status Command
Shows all learned instincts with their confidence scores, grouped by domain.
Implementation
Run the instinct CLI using the plugin root path:
python3 "${CLAUDE_PLUGIN_ROOT}/skills/continuous-learning-v2/scripts/instinct-cli.py" status
Or if CLAUDE_PLUGIN_ROOT is not set (manual installation), use:
python3 ~/.claude/skills/continuous-learning-v2/scripts/instinct-cli.py status
Usage
/instinct-status
/instinct-status --domain code-style
/instinct-status --low-confidence
What to Do
- Read all instinct files from
~/.claude/homunculus/instincts/personal/ - Read inherited instincts from
~/.claude/homunculus/instincts/inherited/ - Display them grouped by domain with confidence bars
Output Format
📊 Instinct Status
==================
## Code Style (4 instincts)
### prefer-functional-style
Trigger: when writing new functions
Action: Use functional patterns over classes
Confidence: ████████░░ 80%
Source: session-observation | Last updated: 2025-01-22
### use-path-aliases
Trigger: when importing modules
Action: Use @/ path aliases instead of relative imports
Confidence: ██████░░░░ 60%
Source: repo-analysis (github.com/acme/webapp)
## Testing (2 instincts)
### test-first-workflow
Trigger: when adding new functionality
Action: Write test first, then implementation
Confidence: █████████░ 90%
Source: session-observation
## Workflow (3 instincts)
### grep-before-edit
Trigger: when modifying code
Action: Search with Grep, confirm with Read, then Edit
Confidence: ███████░░░ 70%
Source: session-observation
---
Total: 9 instincts (4 personal, 5 inherited)
Observer: Running (last analysis: 5 min ago)
Flags
--domain <name>: Filter by domain (code-style, testing, git, etc.)--low-confidence: Show only instincts with confidence < 0.5--high-confidence: Show only instincts with confidence >= 0.7--source <type>: Filter by source (session-observation, repo-analysis, inherited)--json: Output as JSON for programmatic use