mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-02-18 20:23:08 +08:00
Major OpenCode integration overhaul: - llms.txt: Comprehensive OpenCode documentation for LLMs (642 lines) - .opencode/plugins/ecc-hooks.ts: All Claude Code hooks translated to OpenCode's plugin system - .opencode/tools/*.ts: 3 custom tools (run-tests, check-coverage, security-audit) - .opencode/commands/*.md: All 24 commands in OpenCode format - .opencode/package.json: npm package structure for opencode-ecc - .opencode/index.ts: Main plugin entry point - Delete incorrect LIMITATIONS.md (hooks ARE supported via plugins) - Rewrite MIGRATION.md with correct hook event mapping - Update README.md OpenCode section to show full feature parity OpenCode has 20+ events vs Claude Code's 3 phases: - PreToolUse → tool.execute.before - PostToolUse → tool.execute.after - Stop → session.idle - SessionStart → session.created - SessionEnd → session.deleted - Plus: file.edited, file.watcher.updated, permission.asked, todo.updated - 12 agents: Full parity - 24 commands: Full parity (+1 from original 23) - 16 skills: Full parity - Hooks: OpenCode has MORE (20+ events vs 3 phases) - Custom Tools: 3 native OpenCode tools The OpenCode configuration can now be: 1. Used directly: cd everything-claude-code && opencode 2. Installed via npm: npm install opencode-ecc
76 lines
1.4 KiB
Markdown
76 lines
1.4 KiB
Markdown
---
|
|
description: View learned instincts with confidence scores
|
|
agent: build
|
|
---
|
|
|
|
# Instinct Status Command
|
|
|
|
Display learned instincts and their confidence scores: $ARGUMENTS
|
|
|
|
## Your Task
|
|
|
|
Read and display instincts from the continuous-learning-v2 system.
|
|
|
|
## Instinct Location
|
|
|
|
Global: `~/.claude/instincts/`
|
|
Project: `.claude/instincts/`
|
|
|
|
## Status Display
|
|
|
|
### Instinct Summary
|
|
|
|
| Category | Count | Avg Confidence |
|
|
|----------|-------|----------------|
|
|
| Coding | X | 0.XX |
|
|
| Testing | X | 0.XX |
|
|
| Security | X | 0.XX |
|
|
| Git | X | 0.XX |
|
|
|
|
### High Confidence Instincts (>0.8)
|
|
|
|
```
|
|
[trigger] → [action] (confidence: 0.XX)
|
|
```
|
|
|
|
### Learning Progress
|
|
|
|
- Total instincts: X
|
|
- This session: X
|
|
- Promoted to skills: X
|
|
|
|
### Recent Instincts
|
|
|
|
Last 5 instincts learned:
|
|
|
|
1. **[timestamp]** - [trigger] → [action]
|
|
2. **[timestamp]** - [trigger] → [action]
|
|
...
|
|
|
|
## Instinct Structure
|
|
|
|
```json
|
|
{
|
|
"id": "instinct-123",
|
|
"trigger": "When I see a try-catch without specific error type",
|
|
"action": "Suggest using specific error types for better handling",
|
|
"confidence": 0.75,
|
|
"applications": 5,
|
|
"successes": 4,
|
|
"source": "session-observation",
|
|
"timestamp": "2025-01-15T10:30:00Z"
|
|
}
|
|
```
|
|
|
|
## Confidence Calculation
|
|
|
|
```
|
|
confidence = (successes + 1) / (applications + 2)
|
|
```
|
|
|
|
Bayesian smoothing ensures new instincts don't have extreme confidence.
|
|
|
|
---
|
|
|
|
**TIP**: Use `/evolve` to cluster related instincts into skills when confidence is high.
|