instinct-export

instinct-export is a command for coding agents from oguzsh/claudey. It costs 13 tokens per session (580 once invoked), scanned A, a copy of instinct-export, MIT.

A command that exports learned working preferences, called instincts, into a shareable YAML file. It can filter them by topic or confidence and removes certain private details such as session IDs and file paths.

In plain words
What is it for?
Use it to share personal coding practices, transfer learned preferences between projects, or contribute conventions to a team.
Why use it?
It avoids manually copying project habits or coding conventions when sharing them with teammates or moving to another machine.

Command

Part of the claudey plugin — 8 skills, 11 commands, 1 agent, 7 hooks shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/oguzsh/claudey/instinct-export
Clone the repo
git clone --depth 1 https://github.com/oguzsh/claudey

Or install claudey, the plugin that ships this one along with the rest of its 8 skills, 11 commands, 1 agent, 7 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for instinct-export

README.md
[![agentmods](https://agentmods.dev/badge/commands/oguzsh/claudey/instinct-export.svg)](https://agentmods.dev/commands/oguzsh/claudey/instinct-export)
Your own site
<a href="https://agentmods.dev/commands/oguzsh/claudey/instinct-export"><img src="https://agentmods.dev/badge/commands/oguzsh/claudey/instinct-export.svg" alt="Measured on agentmods" height="20"></a>
Per session 13 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 580 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00013 $0.00580
Opus 5 $0.00006 $0.00290
Sonnet 5 $0.00003 $0.00116
Haiku 4.5 $0.00001 $0.00058

Measured 4d ago against content hash d900eadb678b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

instinct-export scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to instinct-export — 1 line differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

commands/instinct-export.md · 93 lines

How it starts

The opening of the file, as written. The whole thing — 93 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Instinct Export Command

Exports instincts to a shareable format. Perfect for:

  • Sharing with teammates
  • Transferring to a new machine
  • Contributing to project conventions

Usage

/instinct-export                           # Export all personal instincts
/instinct-export --domain testing          # Export only testing instincts
/instinct-export --min-confidence 0.7      # Only export high-confidence instincts
/instinct-export --output team-instincts.yaml

What to Do

  1. Read instincts from ~/.claude/homunculus/instincts/personal/
  2. Filter based on flags
  3. Strip sensitive information:
    • Remove session IDs
    • Remove file paths (keep only patterns)
    • Remove timestamps older than "last week"
  4. Generate export file

Output Format

Creates a YAML file:

# Instincts Export
# Generated: 2025-01-22
# Source: personal
# Count: 12 instincts

version: "2.0"
exported_by: "continuous-learning-v2"
export_date: "2025-01-22T10:30:00Z"

instincts:
  - id: prefer-functional-style
    trigger: "when writing new functions"
    action: "Use functional patterns over classes"
    confidence: 0.8
    domain: code-style
    observations: 8

  - id: test-first-workflow
    trigger: "when adding new functionality"
    action: "Write test first, then implementation"
    confidence: 0.9
    domain: testing
    observations: 12

  - id: grep-before-edit
    trigger: "when modifying code"
    action: "Search with Grep, confirm with Read, then Edit"
    confidence: 0.7
    domain: workflow
    observations: 6

Privacy Considerations

Exports include:

  • ✅ Trigger patterns
  • ✅ Actions
  • ✅ Confidence scores
  • ✅ Domains
  • ✅ Observation counts

Exports do NOT include:

  • ❌ Actual code snippets
  • ❌ File paths
  • ❌ Session transcripts
  • ❌ Personal identifiers

Flags

  • --domain <name>: Export only specified domain
  • --min-confidence <n>: Minimum confidence threshold (default: 0.3)
  • --output <file>: Output file path (default: instincts-export-YYYYMMDD.yaml)
  • --format <yaml|json|md>: Output format (default: yaml)
  • --include-evidence: Include evidence text (default: excluded)

Read the full file on GitHub · 93 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 93 lines · 13 tokens per session scan A d900eadb678b

Subscribe to this mod's changes

instinct-export is a command published in the GitHub repository oguzsh/claudey (5 stars, last pushed 3mo ago), licensed MIT. It adds 13 tokens to every session and 580 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to instinct-export, differing in 1 line, and is treated as a copy.