Memories
Agent BuildingmemoriesMemories is an Agent Skill for agent building published in the mweinbach/agent-coworker repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Use when the user asks to view, list, inspect, add, create, edit, correct, update, or manage long-term memories for the current chat or workspace.
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/mweinbach/agent-coworker/blob/HEAD/skills/memories/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/memories, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Memories
Use this skill for explicit memory-management requests. The goal is to keep long-term memory accurate without touching unrelated folders or inventing duplicate entries.
Workflow
- Start with
manageMemoryactionlistto see the active folder, readable folders, paths, and summaries. - Use
manageMemoryactionreadbefore changing an existing memory. - Prefer
editwhen a relevant memory already exists. Usecreateonly for a genuinely new durable fact, preference, or project note. - Keep memory bodies concise and factual. Do not store secrets, credentials, transient status, or speculative conclusions.
- Use memory types consistently:
feedbackfor user preferences or corrections,projectfor workspace-specific implementation context, andnotefor durable general context. - After any unavoidable manual memory file repair, run
manageMemoryactionrefresh_index.
Boundaries
- Use
manageMemoryfor list/read/create/edit/refresh. Do not hand-write Markdown memory files when the tool is available. - Writes always go to the active memory folder for this chat or workspace.
(chats)may appear as shared readable context from project workspaces, but do not try to write to it unless it is the active folder.- Do not delete memories from this skill. Use the app or admin memory controls for deletion.
- If
manageMemoryis unavailable, advanced memory may be disabled. Use the legacymemorytool only when it is present.