bambu-studio-ai
Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...
Instinct-based continuous learning system. Captures atomic learnings (instincts) with confidence scoring, supports project-scoped vs global scope, and evolves instincts into skills/commands/agents. Use when: (1) A command fails, (2) User corrects you, (3) Discovering patterns, (4) Need to review or evolve learned behaviors. Supports both v1 (markdown-based) and v2 (instinct-based) modes.
Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.
SkillHub CLI
skillhub install huamu668/self-improving-agent-eccExaminez la source et la compatibilité, puis suivez les étapes d’installation.
Donnez le lien à votre agent et demandez-lui d’examiner instructions et dépendances avant d’expliquer les étapes.
An advanced learning system that turns Claude Code sessions into reusable knowledge through atomic "instincts" - small learned behaviors with confidence scoring and project scope isolation.
v2.1 adds project-scoped instincts — React patterns stay in your React project, Python conventions stay in your Python project, and universal patterns are shared globally.
| Situation | Action |
|---|---|
| Command/operation fails | Log instinct or v1 learning |
| User corrects you | Create instinct with correction trigger |
| Discovering patterns | Log instinct with confidence score |
| Review learned behaviors | /instinct-status |
| Evolve instincts to skills | /evolve |
| Promote project → global | /promote |
| Setup observation hooks | Enable PreToolUse/PostToolUse hooks |
Atomic, confidence-weighted behaviors with project isolation:
---
id: prefer-functional-style
trigger: "when writing new functions"
confidence: 0.7
domain: "code-style"
scope: project
project_id: "a1b2c3d4e5f6"
---
# Prefer Functional Style
## Action
Use functional patterns over classes when appropriate.
## Evidence
- Observed 5 instances of functional pattern preference
- User corrected class-based approach on 2025-01-15
Traditional learning entries for complex, narrative learnings:
## [LRN-YYYYMMDD-XXX] category
**Priority**: high | **Status**: pending | **Area**: backend
### Summary
Detailed description of what was learned
### Details
Full context and explanation
Use v2 (instincts) for behavioral patterns, v1 (markdown) for complex incident analysis.
An instinct is a small, atomic learned behavior:
Properties:
Ces informations proviennent de l’analyse indexée et peuvent être anciennes. Vérifiez les fichiers actuels.
An advanced instinct-based continuous learning system for Claude Code.
Add to ~/.claude/settings.json:
{
"hooks": {
"PreToolUse": [{
"matcher": "*",
"hooks": [{
"type": "command",
"command": "~/.claude/skills/self-improving-agent/hooks/observe.sh"
}]
}],
"PostToolUse": [{
"matcher": "*",
"hooks": [{
"type": "command",
"command": "~/.claude/skills/self-improving-agent/hooks/observe.sh"
}]
}]
}
}
/instinct-status # View learned instincts
/evolve # Cluster into skills
/promote # Promote to global scope
/projects # List known projects
---
id: my-instinct
trigger: "when to apply"
confidence: 0.7
domain: "code-style"
scope: project
---
# Title
## Action
What to do.
## Examples
[...]
~/.claude/homunculus/
├── instincts/personal/ # Global auto-learned
├── instincts/inherited/ # Global imported
├── evolved/ # Generated skills/commands/agents
└── projects/
└── <hash>/
├── instincts/ # Project-scoped
└── evolved/ # Project-specific skills
v2 is fully backward compatible:
.learnings/*.md files still workSKILL.md - Full skill documentation# Self-Improving Agent Skill An advanced learning system that turns Claude Code sessions into reusable knowledge through atomic "instincts" - small learned behaviors with confidence scoring and project scope isolation. **v2.1** adds **project-scoped instincts** — React patterns stay in your React project, Python conventions stay in your Python project, and universal patterns are shared globally. ## Quick Reference | Situation | Action | |-----------|--------| | Command/operation fails | Log instinct or v1 learning | | User corrects you | Create instinct with `correction` trigger | | Discovering patterns | Log instinct with confidence score | | Review learned behaviors | `/instinct-status` | | Evolve instincts to skills | `/evolve` | | Promote project → global | `/promote` | | Setup observation hooks | Enable PreToolUse/PostToolUse hooks | ## Two Learning Modes ### Mode 1: Instinct-Based (v2) - RECOMMENDED Atomic, confidence-weighted behaviors with project isolation: ```yaml --- id: prefer-functional-style trigger: "when writing new functions" confidence: 0.7 domain: "code-style" scope: project project_id: "a1b2c3d4e5f6" --- # Prefer Functional Style ## Action Use functional patterns over classes when appropriate. ## Evidence - Observed 5 instances of functional pattern preference - User corrected class-based approach on 2025-01-15 ``` ### Mode 2: Markdown-Based (v1) - LEGACY Traditional learning entries for complex, narrative learnings: ```markdown ## [LRN-YYYYMMDD-XXX] category **Priority**: high | **Status**: pending | **Area**: backend ### Summary Detailed description of what was learned ### Details Full context and explanation ``` Use v2 (instincts) for behavioral patterns, v1 (markdown) for complex incident analysis. --- ## Instinct-Based Learning (v2) ### The Instinct Model An instinct is a small, atomic learned behavior: **Properties:** - **Atomic** — one trigger, one action - **Confidence-weighted** — 0.3 = tentative, 0.9 = near certain...
# Self-Improving Agent v2.1
An advanced instinct-based continuous learning system for Claude Code.
## What's New in v2.1
- **Project-scoped instincts** — React patterns stay in React projects, Python in Python projects
- **Confidence scoring** — 0.3 (tentative) to 0.9 (near-certain)
- **Hook-based observation** — PreToolUse/PostToolUse capture 100% of activity
- **Instinct evolution** — Auto-cluster into skills, commands, agents
- **Promotion workflow** — Project → Global when proven across projects
## Quick Start
### 1. Enable Observation Hooks
Add to `~/.claude/settings.json`:
```json
{
"hooks": {
"PreToolUse": [{
"matcher": "*",
"hooks": [{
"type": "command",
"command": "~/.claude/skills/self-improving-agent/hooks/observe.sh"
}]
}],
"PostToolUse": [{
"matcher": "*",
"hooks": [{
"type": "command",
"command": "~/.claude/skills/self-improving-agent/hooks/observe.sh"
}]
}]
}
}
```
### 2. Use v2 Commands
```bash
/instinct-status # View learned instincts
/evolve # Cluster into skills
/promote # Promote to global scope
/projects # List known projects
```
### 3. Create Instincts Manually
```yaml
---
id: my-instinct
trigger: "when to apply"
confidence: 0.7
domain: "code-style"
scope: project
---
# Title
## Action
What to do.
## Examples
[...]
```
## Directory Structure
```
~/.claude/homunculus/
├── instincts/personal/ # Global auto-learned
├── instincts/inherited/ # Global imported
├── evolved/ # Generated skills/commands/agents
└── projects/
└── <hash>/
├── instincts/ # Project-scoped
└── evolved/ # Project-specific skills
```
## Migration from v1
v2 is fully backward compatible:
- Existing `.learnings/*.md` files still work
- Existing global instincts still work
- Gradual migration supported
## Documentation
- `SKILL.md` - Full skill documentation
- `examples/in...Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...
University for AI agents. 92 courses, 4400+ scenarios, any model via OpenRouter. Auto-training loops generate per-model SKILL.md documents. Works with Claude Code, OpenClaw, Cursor, Windsurf. No fine-tuning req...
Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discove...
macOS WPS Office workflow helper skill for safer document preparation, conversion, export, and compatibility guidance