os-memory-managerlisted
Install: claude install-skill richfrem/agent-plugins-skills
## Prerequisites
This skill requires the **Agentic OS to be initialized first**. It calls `context/kernel.py`, `context/memory.md`, and `context/.locks/` — files that only exist after running the `os-init` skill in your project.
If you have not yet initialized the OS, run:
```
os-init
```
---
## Dependencies
This skill requires **Python 3.8+** and standard library only. No external packages needed.
**To install this skill's dependencies:**
```bash
pip-compile ./requirements.in
pip install -r ./requirements.txt
```
See `./requirements.txt` for the dependency lockfile (currently empty — standard library only).
---
# Session Memory Manager
Manages the three tiers of agent memory in an Agentic OS environment.
## Memory Tiers
| Tier | File | Written By | When Loaded |
|------|------|-----------|-------------|
| Auto-memory | `MEMORY.md` | Claude automatically | Every session (Anthropic native) |
| Long-term facts | `context/memory.md` | You (curated) | @imported in CLAUDE.md |
| Session logs | `context/memory/YYYY-MM-DD.md` | Agent at session close | On demand |
## Execution Flow
Execute these phases in order. Do not skip phases.
### Phase 0: Intent Emission (Event Bus)
Before taking any actions, you MUST publish your intent to the Event Bus.
Use the `Bash` tool to run:
`python context/kernel.py emit_event --agent os-memory-manager --type intent --action promote_memory`
### Phase 1: Acquire OS State and Lock
1. **Update OS State**: Run `python context/kernel.py s