SKILL.md that tells the learner how to organize information. By writing different SKILL.md files, you define different memory algorithms — each with its own rules for what to capture, how to name files, and how to structure entries.
How It Works
When a session completes, Acontext’s learning pipeline:- Reads each skill’s
SKILL.mdto understand its purpose and rules - Decides which skills are relevant to the session outcome
- Creates or updates files following the instructions you wrote
Example Skills
social-contacts
One file per person — captures who the user knows, relationship context, and preferences for interacting with them.SKILL.md
SKILL.md
project-runbooks
One file per project — captures deployment steps, architecture decisions, and recurring issues.SKILL.md
SKILL.md
api-error-patterns
Accumulated patterns organized by error category — captures what went wrong and how to fix it.SKILL.md
SKILL.md
Walkthrough: Using social-contacts
Run a session with mock messages
Learning is asynchronous. After the session’s tasks complete, the learner reads your
SKILL.md and creates files like alice-chen.md and bob-martinez.md following your rules.Full Code
Python — complete runnable script
Python — complete runnable script
TypeScript — complete runnable script
TypeScript — complete runnable script