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.
npx skills add hifriendbot/cogmemai-mcp --skill session-startgit clone --depth 1 https://github.com/hifriendbot/cogmemai-mcpWrote 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/skills/hifriendbot/cogmemai-mcp/session-start)<a href="https://agentmods.dev/skills/hifriendbot/cogmemai-mcp/session-start"><img src="https://agentmods.dev/badge/skills/hifriendbot/cogmemai-mcp/session-start/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/skills/hifriendbot/cogmemai-mcp/session-start"><img src="https://agentmods.dev/badge/skills/hifriendbot/cogmemai-mcp/session-start.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.00075 | $0.01015 |
| Opus 5 | $0.00037 | $0.00508 |
| Sonnet 5 | $0.00015 | $0.00203 |
| Haiku 4.5 | $0.00007 | $0.00102 |
Grade A, and why
session-start 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 9d 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 — 96 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Session Start with CogmemAi
Run this skill at the start of every session, before responding to the user's first message. It loads the most important memories from prior sessions for the current project, so the assistant can pick up exactly where the last session left off.
When to Use
- The very first turn of a new session, before any other action
- After any context compaction event (you'll see a summary of the prior conversation)
- When the user greets the assistant ("hi", "hey", "morning", "let's continue")
- When switching from one project to another within the same session
- When the user says "what were we working on?", "where did we leave off?", "remind me"
How to Run
Call get_project_context. Optional but useful: pass a context parameter describing the current task, which biases the returned memories toward what's most relevant.
get_project_context({
context: "implementing the new payments flow"
})
The response includes:
- Top memories ranked by importance and recency, scoped to the current project plus any global memories that apply
- A
health_score(0-100) indicating overall memory quality - Any pending tasks from prior sessions
- Active reminders set by the previous session via
set_reminder
What to Do With the Result
-
Read every returned memory carefully. They contain architecture decisions, preferences, gotchas, file paths, and bug fixes that took effort to discover. Treat them as authoritative for what was true when they were written.
-
Verify before acting on memory-derived recommendations. A memory that names a specific file, function, or flag is a claim about the past. If the user is about to act on your recommendation, confirm the artifact still exists. Things get renamed, removed, or never merged.
-
Check pending tasks. If
get_tasks(or the embedded task list) shows in-progress or todo items, surface them to the user as "here's what was open" so the user can choose what to tackle. -
Honor active reminders. If a reminder fires (e.g., "remember to delete the test data on the server"), surface it to the user immediately.
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.
- 9d ago First seen · 96 lines · 75 tokens per session scan A fd110d993049
session-start is a skill published in the GitHub repository hifriendbot/cogmemai-mcp (7 stars, last pushed 9d ago), licensed MIT. It adds 75 tokens to every session and 1,015 once invoked, about $0.0004 per session on Opus 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.
Other skills, from other repositories
mem9-recall
Search shared memories from past sessions. Use when the user's question could benefit from historical context, past decisions, project knowledge, or team expertise.
mem9-store
Save important information to shared memory. Use when the user asks you to remember, note down, or save something for future sessions.
install-memex
Make Claude, Cursor, and OpenClaw remember every AI conversation forever — one local SQLite corpus shared across all of them. Installs memex (local-first MCP server) in 60 seconds via curl one-liner. Includes auto-capture daemon for Claude Code / Cowork / Cursor / Obsidian; v0.10 Telegram auto-detect (export from…
mem9-setup
Setup Mem9 persistent memory. Triggers: set up mem9, install mem9, configure memory, enable memory.
mnemos-setup
Setup mnemos persistent memory with mnemo-server. Triggers: "set up mnemos", "install mnemo plugin", "configure memory plugin", "configure openclaw memory", "configure opencode memory", "configure claude code memory".
hypermnesic-memory
Use when Hermes needs durable project or personal memory through the local hypermnesic CLI: retrieve prior context, think through related notes, resolve entities, inspect writable folders, capture notes, or preview guarded writes.