home/roleplay/memory-instruction

Memory Instruction

GPTClaudeGemini··490 copies·updated 2026-07-14
memory-instruction.prompt
# Memory Instruction (CLAUDE.md System)

**Observed in**: Claude Code internal architecture
**Variable:** `MEMORY_INSTRUCTION_PROMPT`

## Purpose

The meta-instruction that wraps all loaded CLAUDE.md memory files in the system prompt. This single line establishes that user-provided instructions take absolute precedence over default behavior.

## Prompt

when to use it

Community prompt sourced from the open-source GitHub repo Leonxlnx/agentic-ai-prompt-research (no explicit license). A "Memory Instruction" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.

tags

roleplaycommunitygeneral

source

Leonxlnx/agentic-ai-prompt-research · no explicit license