AgentSkillsCN

instinct-export

导出已习得的直觉,用于分享或备份。

SKILL.md
--- frontmatter
name: instinct-export
description: Export learned instincts for sharing or backup

Instinct Export Skill

You are exporting learned instincts for sharing or backup purposes.

Privacy Note

Only pattern definitions are exported - NOT:

  • Raw code from sessions
  • Conversation content
  • Sensitive project details

Instructions

1. Read Instincts

Load all instincts from .claude/learning/instincts/

2. Sanitize for Export

For each instinct:

  • Keep: trigger, action, domain, confidence
  • Remove: specific file paths, project names, timestamps
  • Generalize: make patterns project-agnostic

3. Create Export Package

Create .claude/learning/exports/export-[timestamp].json:

json
{
  "version": "1.0",
  "exported": "[timestamp]",
  "instincts": [
    {
      "name": "instinct-name",
      "trigger": "generalized trigger",
      "action": "generalized action",
      "domain": "domain",
      "confidence": 0.7
    }
  ],
  "metadata": {
    "count": 10,
    "domains": ["list", "of", "domains"]
  }
}

4. Report

code
## Export Complete

### Exported Instincts
- Total: X instincts
- Domains: [list]

### Export Location
`.claude/learning/exports/export-[timestamp].json`

### Sharing Instructions
1. Copy the export file
2. Share with trusted colleagues
3. They can import with `/instinct-import`

### Privacy Check
- ✓ No raw code included
- ✓ No conversation content
- ✓ No sensitive paths
- ✓ Patterns generalized

Optional: Selective Export

If user specifies domains or instinct names, export only those:

code
/instinct-export domain:workflow
/instinct-export instinct-name-1 instinct-name-2