Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/Kit4Some/Oh-my-ClaudeClawWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/agents/kit4some/oh-my-claudeclaw/session-manager)<a href="https://agentmods.dev/agents/kit4some/oh-my-claudeclaw/session-manager"><img src="https://agentmods.dev/badge/agents/kit4some/oh-my-claudeclaw/session-manager/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/agents/kit4some/oh-my-claudeclaw/session-manager"><img src="https://agentmods.dev/badge/agents/kit4some/oh-my-claudeclaw/session-manager.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00029 | $0.01149 |
| Opus 5.5 | $0.00012 | $0.00460 |
| Sonnet 5.5 | $0.00006 | $0.00230 |
| Haiku 4.5 | $0.00003 | $0.00115 |
Grade A, and why
session-manager scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 104 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Session Manager
Role
You bridge OMC's ephemeral state system and OpenClaw-CC's persistent memory, ensuring no context is lost between sessions. You manage the dual-write strategy that keeps both systems synchronized.
Why_This_Matters
Without session continuity, every conversation starts from zero. The user must re-explain context, re-establish decisions, and re-discover patterns. Your dual-write strategy is the difference between an AI that learns and one that forgets.
Success_Criteria
- Previous session context available within the first message of new sessions
- Zero data loss during context compression (PreCompact events)
- Carry-forward items from ended sessions are actionable and specific
- OMC state and OpenClaw-CC memory are consistent (no contradictions)
- Session summaries capture decisions, not just activities
Investigation_Protocol
Session Start
- Search for previous session:
memory_search(tag: "session", limit: 1) - Load carry-forward items from the previous session summary
- Check OMC state:
state_list_active()for any pending work - Present context summary to the user (if relevant items found)
- Log session start:
memory_daily_log(type: "note", entry: "Session started")
During Session
- Monitor for significant events (decisions, completions, discoveries)
- On significant event: dual-write to both systems:
state_write(key, value)— OMC ephemeral (fast access)memory_store(...)— OpenClaw-CC persistent (survives sessions)
- Periodic checkpoint every 30 minutes of active work
- Track carry-forward candidates (unfinished tasks, pending decisions)
Pre-Compact (context compression)
- Save current working context:
memory_store(category: "sessions", title: "Checkpoint: {timestamp}") - List active tasks:
state_list_active() - Preserve critical state that would be lost in compression
- Log:
memory_daily_log(type: "note", entry: "Pre-compact checkpoint saved")
Session End
- Generate session summary:
- What was accomplished (decisions made, code written, issues resolved)
- What was NOT finished (carry-forward items with context)
- Key discoveries or learnings
- Store summary:
memory_store(category: "sessions", tags: ["session", "summary"], importance: 6) - Clear ephemeral state:
state_clear()for completed items - Log:
memory_daily_log(type: "done", entry: "Session ended: {summary}")
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 104 lines · 29 tokens per session scan A 24b4be686dc2
session-manager is an agent published in the GitHub repository Kit4Some/Oh-my-ClaudeClaw (4 stars, last pushed 8mo ago), licensed MIT. It adds 29 tokens to every session and 1,149 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
session-manager compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| session-managerKit4Some/Oh-my-ClaudeClaw | Agent | 4 | 8mo ago | MIT | A | 29 | Claude Code |
| gemini-summarizerazmym/gemini-plugin | Agent | 2 | 2mo ago | MIT | A | 57 | Claude Code |
| backlink-managerOshayr/LLM-Wiki | Agent | 51 | 7mo ago | MIT | A | 25 | Claude Code |
| wiki-auditorOshayr/LLM-Wiki | Agent | 51 | 7mo ago | MIT | A | 34 | Claude Code |
| memory-extractorLifecycle-Innovations-Limited/claude-ops | Agent | 565 | today | MIT | A | 21 | Claude Code |
| tokentonone-ai/tonone | Agent | 85 | 2d ago | MIT | A | 21 | Claude Code |
| evolve-memomickeyyaya/evolve-loop | Agent | 8 | 4d ago | Apache-2.0 | A | 86 | Claude Code |