Skip to content
Shell
1.6 KB
Raw Blame
# Context

> This file provides agents with session state, user preferences, and knowledge of what exists.
> Update this file on significant actions. Agents read this at session start.

## Who I Am

[Agent name and purpose for this project]
- Example: "Lexicon assistant for the Three Musketeers universe"
- Example: "MILO life planning coach for daily productivity"

## What I Know About This User

- [Preference 1: e.g., "Prefers concise responses"]
- [Preference 2: e.g., "Focused on Q1 goals"]
- [Current focus: e.g., "Working on chapter summaries"]

## What Exists

- [Entity count] [entity type] in [location]
  - Example: "47 entities in Neo4j"
  - Example: "12 notes in /notes"
- [Entity count] [entity type] in [location]
- Settings at [path]

## Recent Activity

- [Action] ([relative time])
  - Example: "Created 'Cardinal Richelieu' entity (2 hours ago)"
- [Action] ([relative time])
  - Example: "Searched for 'duels' (yesterday)"

## My Guidelines

- [Guideline 1: e.g., "Don't spoil books the user is currently reading"]
- [Guideline 2: e.g., "Use their interests to personalize insights"]
- [Guideline 3: e.g., "Prefer graph visualization when showing relationships"]

## Current State

- Pending tasks: [list or "None"]
- Active session: [description or "None"]
- Last sync: [timestamp]

---

## How to Update This File

1. **On entity creation/deletion:** Update "What Exists" counts
2. **On user action:** Add to "Recent Activity" (keep last 5-10)
3. **On preference learned:** Add to "What I Know About This User"
4. **On session end:** Update "Current State" with pending tasks