Skip to content
Development
Command

/instinct-export

Export instincts from project/global scope to a file

From plugin
everything-claude-code
1.8k35 skills15 agents35 commands6 hooks
Install
> /plugin marketplace add xu-xiang/everything-claude-code-zh
> /plugin install everything-claude-code@everything-claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/instinct-export

Context preview

What this command does when you run it.

Export instincts from project/global scope to a file

Command definition

instinct-export.md
name: instinct-export
description: Export instincts from project/global scope to a file
command: /instinct-export

习惯(Instinct)导出命令(Instinct Export Command)

将习惯(Instincts)导出为可共享格式。适用于:

  • 与团队成员共享
  • 迁移至新机器
  • 为项目规范(Conventions)做贡献

用法(Usage)

/instinct-export                           # 导出所有个人习惯
/instinct-export --domain testing          # 仅导出测试相关的习惯
/instinct-export --min-confidence 0.7      # 仅导出高置信度的习惯
/instinct-export --output team-instincts.yaml
/instinct-export --scope project --output project-instincts.yaml

执行逻辑(What to Do)

1. 检测当前项目上下文(Context) 2. 按选定范围(Scope)加载习惯:

  • `project`:仅限当前项目
  • `global`:仅限全局
  • `all`:项目 + 全局合并(默认)

3. 应用过滤器(`--domain`、`--min-confidence`) 4. 将 YAML 格式的导出结果写入文件(如果未提供输出路径,则输出至 `stdout`)

输出格式(Output Format)

创建一个 YAML 文件:

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

---
id: prefer-functional-style
trigger: "when writing new functions"
confidence: 0.8
domain: code-style
source: session-observation
scope: project
project_id: a1b2c3d4e5f6
project_name: my-app
---

# Prefer Functional Style

## Action
Use functional patterns over classes.

参数(Flags)

  • `--domain <name>`:仅导出指定领域(Domain)
  • `--min-confidence <n>`:最低置信度阈值
  • `--output <file>`:输出文件路径(省略时打印至 `stdout`)
  • `--scope <project|global|all>`:导出范围(Scope)(默认:`all`)
Ships witheverything-claude-code

🌐 Language / 语言 / 語言 为 AI 智能体(Agent)框架打造的性能优化系统。源自 Anthropic 黑客松获胜作品。 这不仅仅是配置文件。它是一个完整的系统:包含技能(Skills)、本能(Instincts)、内存优化、持续学习、安全扫描以及研究优先的开发模式。这些生产级的智能体(Agents)、钩子(Hooks)、命令(Commands)、规则(Rules)以及 MCP 配置,是在构建真实产品的 10 个多月高强度日常使用中演化而来的。 适用于 Claude Code, Codex,

Get the whole plugin