# CLAUDE.md
- always-on context
- 启动时不同 level 的 CLAUDE.md 会同时加载,越具体的指令优先级越高。
# Skills
- Reuseable instructions,knowledge or workflows
- 跨 contexts 可共享
- context cost
- loaded on demand,session 启动时只加载 description
- ==Full content== on use,使用加载全文到 conversation
- user-only skills (`disable-model-invocation: true`),只在主动调用时才加载
- subagents:
- skills passed to a subagent are ==fully preloaded== into its context at launch (subagents don’t inherit skills from the main session)
----
# Subagent
- 隔离:
- 独立的 **context**,跟 main conversation/session 分离,工作完成后只将 summary 返回,不会污染 main session 的 context。
- 典型场景:不关心中间结果
- 独立的配置:
- 模型
- 权限