One-line rule of thumb#
- Identity, tone, and short rules that must apply on every turn belong in the System Prompt.
- A repeatable workflow, set of steps, or multi-file guide read only when needed belongs in a Skill.
- Product manuals, project docs, long documents, and searchable reference material belong in a Knowledge Base.
- User preferences, long-term facts, and information to remember across future chats belong in Memory.
System Prompt#
Included in the model context on every turn, giving the most consistent enforcement—but longer prompts consume more tokens. Best for short, stable, always-on rules; not suited for large reference dumps or secrets.
Skills#
Loaded on demand by the model through tools, making them ideal for workflows, guidelines, and step-by-step methods. Skills can reference assistant environment variable names, though raw secrets should never be written directly inside skill files.
Knowledge Base#
Stores full reference documents and supports full injection, keyword search, or semantic search after building a vector index. Building an index never modifies the source text; if you only inject short reference notes in full, you can skip indexing for now.
Memory#
Stores durable preferences and facts, separated into per-assistant private memory and shared global memory. It is neither a document repository nor a place for API keys. Incognito chats never write to memory.
Use them together#
For example: use the System Prompt to set response style, a Skill to define the workflow, a Knowledge Base to provide product documentation, and Memory to retain user preferences. They complement rather than replace one another—covering rules, methods, reference material, and long-term context respectively.