session-start

session-start is a skill for Claude Code, Codex from hifriendbot/cogmemai-mcp. It costs 75 tokens per session (1,015 once invoked), scanned A, original, MIT.

A session-start helper that loads saved project notes from CogmemAi when a new coding session begins or context is restored.

In plain words
What is it for?
It helps resume work, switch projects, answer questions about where work stopped, and restore relevant context for a new task.
Why use it?
It reduces the need to repeat earlier decisions, unfinished tasks, and project background after a session ends or the conversation is shortened.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code.

Good fit It helps resume work, switch projects, answer questions about where work stopped, and restore relevant context for a new task.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hifriendbot/cogmemai-mcp/session-start
Install

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.

Any agent
npx skills add hifriendbot/cogmemai-mcp --skill session-start
Clone the repo
git clone --depth 1 https://github.com/hifriendbot/cogmemai-mcp

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for session-start

README.md
[![agentmods](https://agentmods.dev/badge/skills/hifriendbot/cogmemai-mcp/session-start/github.svg)](https://agentmods.dev/skills/hifriendbot/cogmemai-mcp/session-start)
Your own site
<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.

agentmods 80×15 button for session-start

Your own site · 80×15
<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>
Per session 75 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,015 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 9d ago against content hash fd110d993049, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

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.

skill/session-start/SKILL.md · 96 lines

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

  1. 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.

  2. 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.

  3. 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.

  4. Honor active reminders. If a reminder fires (e.g., "remember to delete the test data on the server"), surface it to the user immediately.

Read the full file on GitHub · 96 lines

Changes

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.

  1. 9d ago First seen · 96 lines · 75 tokens per session scan A fd110d993049

Subscribe to this mod's changes

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.

Related

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.

unvulcanised-watercress762/mem9 · 33 tokens

mem9-store

Save important information to shared memory. Use when the user asks you to remember, note down, or save something for future sessions.

unvulcanised-watercress762/mem9 · 30 tokens

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…

parallelclaw/memex-mvp · 194 tokens

mem9-setup

Setup Mem9 persistent memory. Triggers: set up mem9, install mem9, configure memory, enable memory.

unvulcanised-watercress762/mem9 · 29 tokens

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".

unvulcanised-watercress762/mem9 · 54 tokens

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.

leonardsellem/hypermnesic · 0 tokens