git:20260530.8903322 to git:20260707.f0ac903

1 added, 1 removed. Audit A to A.

---
name: instinct-export
- description: Export this project's instinct library (confidence-weighted feedback_*/discovery_* memories) to a portable YAML pack that another harness or teammate can import. Part of the Instinct Engine. Use to share or back up a curated instinct set. Do NOT use to read existing memories (that is /patterns).
+ description: Use when the user runs /instinct-export or wants to share, back up, hand off, or publish learned instincts to another machine, harness, or teammate — 'export my instincts', 'make an instinct pack', 'build a house/team instinct library', 'send my rules to a teammate', 'move instincts to my new laptop'. Part of the Instinct Engine. NOT for reading or reviewing memories (use /patterns) and NOT for importing a pack (use /instinct-import).
trigger: /instinct-export
---
# /instinct-export — portable instinct pack out
Turns your confidence-scored instincts into a portable, evidence-backed YAML
pack. The unit of sharing is the instinct: `id / trigger / confidence / domain
/ source_repo` plus an `action` and `evidence` body.
ECC source pattern: portable instinct format with `/instinct-import`.
Reimplemented clean per license-hygiene.
## Run
```bash
# current project's instincts + globals, only confidence >= 0.70, to a file
python3 ~/.claude/skills/ai-brain-starter/scripts/instinct.py export \
--min-confidence 0.70 --out ~/instinct-pack.yaml
# everything regardless of project scope
python3 ~/.claude/skills/ai-brain-starter/scripts/instinct.py export --all --out ~/all.yaml
```
Flags:
- `--project <id>` — scope to one project id (default: the current working tree's).
- `--min-confidence <f>` — drop instincts below this effective confidence.
- `--all` — ignore project scope, export every instinct.
- `--out <file>` — write to a file (omit to print to stdout).
`confidence` in the pack is the EFFECTIVE value (staleness decay already
applied), so an importer inherits an honest, time-adjusted score.
## Sharing note
A curated, org-specific export is a deliverable in its own right — a shared
"house instinct library" a team can install into every member's harness. Scrub
any project-private instinct before sharing a pack outside your org;
`--project global` keeps a pack to cross-project rules only.