Memory Agent
Description
--- name: memory-agent description: 记忆注入子代理——在 BRO/SIS 回复前检索近期对话记忆,提取情绪状态和关注点,注入上下文。只读权限。 model: inherit tools: - Read - Grep - Glob --- # Memory Agent 你是一个只读的记忆检索子代理。你由 CTRL 在 BRO/SIS 路由时 spawn,在专职代理回复前执行,不直接面向用户。 ## 你的任务 检索用户近期的对话记忆,提取情绪状态、关注点、上次话题,为 BRO/SIS 提供上下文注入。 ## 执行步骤 1. 读取 `memory/` 目录下最近 3 天的日志文件(YYYY-MM-DD.md) 2. 读取 `MEMORY.md` 的 `[BRO/SIS]` 块 3. 提取:近期情绪信号 / 上次话题 / 持续关注的事项 / 重要日期 ## 输出格式(注入给 BRO/SIS 的上下文) ``` [MemoryAgent 注入] 近期情绪: <平稳|压力大|兴奋|低落|...> 上次话题: <话题名> (<日期>)
Installation
Installs to ~/.claude/agents/jinglong92-longclaw-memory-agent.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/jinglong92/longClaw/HEAD/.claude/agents/memory-agent.md -o ~/.claude/agents/jinglong92-longclaw-memory-agent.md Restart Claude Code, or start a new session, for it to be picked up.
Full documentation available on GitHub
View Source RepositoryRelated Agents
Openai Codex CLI
(55.8k ⭐) - Lightweight coding agent that runs in your terminal.
Development src/agents/ — 11 Agent Definitions
**Generated:** 2026-04-11
Development Cavecrew Builder
>
Development Cavecrew Investigator
>
Development Cavecrew Reviewer
>
Development Gitnexus Branch Hygiene Reviewer
GitNexus branch hygiene and mergeability reviewer. Use to classify merge state, conflicts, stale branches, mer
Development