Skip to content
Back to skills

Mama Context

ASecurity

MAMA context at session start; everything else is pulled with the MAMA tools and commands.

  • 15 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added February 6, 2026
ai-agentsbashdatabase

Works with

  • claude code
  • mcp

Security analysis

A100/100

Scanned October 1, 2026

npx -y skills add jungjaehoon-lifegamez/MAMA --skill mama-context --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Mama Context?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Mama Context
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/jungjaehoon-lifegamez-mama-context/badge)](https://www.skillsdirectory.com/skills/jungjaehoon-lifegamez-mama-context)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: mama-context
description: MAMA context at session start; everything else is pulled with the MAMA tools and commands.
---

# MAMA Context

## Overview

This skill documents the one hook the MAMA Claude Code plugin ships. The plugin manifest is the
authority for which hooks run. At session start the agent sees the last checkpoint and the newest
active decisions; everything else it pulls when it needs it, with `/mama:search <topic>` or the MCP
`search` tool for the full decision, its reasoning, outcome and evolution chain.

## Active hook

**SessionStart Hook** (`scripts/sessionstart-hook.js`)

- Runs when a Claude Code session starts, resumes or is compacted.
- Installs the plugin's npm dependencies into `${CLAUDE_PLUGIN_DATA}` when they are missing or out of
  date (Claude Code does not install them).
- Opens the local memory database and adds the last checkpoint and the five newest active decisions
  to the session's context. Replaced, retired and contradicted decisions, and records that only amend
  another, stay out, as recall leaves them out.
- Loads no embedding model.
- Manifest timeout: 180 seconds, for a first dependency install.

## No tool or compaction hooks

The plugin registers no `PreToolUse`, `PostToolUse` or `PreCompact` hook (removed 2026-10-01):

- A read hook blocked the first read of each code file to push decisions matched on the file name.
- An edit hook pushed the same reminder after each first edit; recording decisions is in the
  project instructions.
- A compaction hook's output is shown to the user only and never reaches the compaction.

## Configuration boundary

Hook registration lives in `packages/claude-code-plugin/.claude-plugin/plugin.json`. Feature
activation is controlled by `src/core/hook-features.js`. To stop the hook entirely, disable the
plugin in Claude Code rather than relying on an undocumented configuration key.

## Developer checks

```bash
pnpm --dir packages/claude-code-plugin vitest run tests/hooks/sessionstart-hook.test.js
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.