MAMA: Instructions file for Claude Code

CLAUDE.md

MAMA CLAUDE.md is an instructions file for Claude Code from jungjaehoon-lifegamez/MAMA. It costs 5,486 tokens per session, scanned B, original, MIT.

A project instruction file for MAMA, a monorepo containing several related packages and tools for a memory-augmented assistant. A monorepo keeps multiple packages or applications in one source-code repository.

In plain words
What is it for?
Use it when working on MAMA to install dependencies with pnpm, run all tests, build packages, check types, clean build files, or start and inspect the standalone application.
Why use it?
It gives a coding agent the project's structure, dependency-installation requirements, and standard commands, reducing guesswork when building, testing, or checking types.

Instructions file for Claude Code

Written for Claude Code: SessionStart hook event. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions subagents.

This is jungjaehoon-lifegamez/MAMA's own configuration. It tells Claude Code how to work on MAMA itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything MAMA configures →

Reuse

Borrowing it

Nothing to install: this file belongs to jungjaehoon-lifegamez/MAMA. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/jungjaehoon-lifegamez/MAMA/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/jungjaehoon-lifegamez/MAMA

Made for: Claude Code.

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 MAMA CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/jungjaehoon-lifegamez/mama/claude-md/github.svg)](https://agentmods.dev/instructions/jungjaehoon-lifegamez/mama/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/jungjaehoon-lifegamez/mama/claude-md"><img src="https://agentmods.dev/badge/instructions/jungjaehoon-lifegamez/mama/claude-md/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 MAMA CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/jungjaehoon-lifegamez/mama/claude-md"><img src="https://agentmods.dev/badge/instructions/jungjaehoon-lifegamez/mama/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 5,486 This file is loaded in full into every session.
When invoked 5,486 The same file — it is already loaded in full.
Security scan B 2 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.05486 $0.05486
Opus 5 $0.02743 $0.02743
Sonnet 5 $0.01097 $0.01097
Haiku 4.5 $0.00549 $0.00549

Measured today against content hash b4af12d52d75, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade B, and why

MAMA CLAUDE.md scanned grade B with 2 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 today.

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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

| `--setting-sources` | `project,local` (excludes user) | Including `user` loads enabledPlugins from `~/.claude/settings.json` |

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -X PUT 'http://localhost:3847/api/multi-agent/agents/developer' \
CLAUDE.md · 494 lines

How it starts

The opening of the file, as written. The whole thing — 494 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CLAUDE.md

Intent first — 최상위 목적과 완료 판정

작업 시작/리쥼 전에 루트 INTENT.md를 읽고 기존 계획을 그 목적과 사용자 시나리오에 연결한다. 목적·성공 기준을 기술 작업이나 테스트 통과로 축소하지 않는다. 각 작업 완료 후 개발 목적 점검을 수행하고 점검 기록에 결과·근거·남은 실패를 남긴다. 하위 작업 완료와 최상위 목표 완료를 구분한다. 같은 버전의 공통 문서를 불필요하게 재독하지 않는다.

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Project Overview

MAMA (Memory-Augmented MCP Assistant) is an always-on companion for Claude Code and Claude Desktop that remembers decision evolution. It's a monorepo containing:

  1. @jungjaehoon/mama-os - Standalone Agent with Discord/Slack/Telegram bots (packages/standalone/)
  2. @jungjaehoon/mama-server - MCP server published to npm (packages/mcp-server/)
  3. @jungjaehoon/mama-core - Shared core modules (packages/mama-core/)
  4. MAMA Plugin - Claude Code plugin distributed via marketplace (packages/claude-code-plugin/)
  5. MemoryBench - Memory retrieval benchmarking framework (packages/memorybench/)

Build & Test Commands

# Install dependencies (requires pnpm)
pnpm install

# Run all tests across all packages
pnpm test

# Build all packages
pnpm build

# Run type checking
pnpm typecheck

# Clean all build artifacts
pnpm clean

Package-Specific Commands

Standalone (packages/standalone/):

mama start                   # Start MAMA OS (global CLI, requires: npx @jungjaehoon/mama-os)
mama stop                    # Stop MAMA OS
mama status                  # Check status

MCP Server (packages/mcp-server/):

cd packages/mcp-server
npm start                    # Start MCP server via stdio
pnpm test                    # Run MCP server tests

Plugin (packages/claude-code-plugin/):

cd packages/claude-code-plugin
pnpm test                    # Run plugin tests (hooks, commands, core)
pnpm test:watch              # Watch mode for tests

# Link plugin for local testing
ln -s $(pwd) ~/.claude/plugins/repos/mama

Read the full file on GitHub · 494 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. today Changed · +61 tokens per session b4af12d52d75
  2. 3d ago Changed · -30 lines · -678 tokens per session 4e3b2ecb4c81
  3. 6d ago Changed · +20 lines · +576 tokens per session 59963a41e4e2
  4. 11d ago First seen · 504 lines · 5,527 tokens per session scan B b9cb32071361

Subscribe to this mod's changes

MAMA CLAUDE.md is an instructions file published in the GitHub repository jungjaehoon-lifegamez/MAMA (13 stars, last pushed today), licensed MIT. It adds 5,486 tokens to every session, about $0.0274 per session on Opus 5. A static security scan graded it B with 2 findings (reads agent configuration directories, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other instructions, from other repositories

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,153 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens