Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add lingxling/awesome-skills-cn --skill agent-memorygit clone --depth 1 https://github.com/lingxling/awesome-skills-cnWrote 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.
[](https://agentmods.dev/skills/lingxling/awesome-skills-cn/agent-memory)<a href="https://agentmods.dev/skills/lingxling/awesome-skills-cn/agent-memory"><img src="https://agentmods.dev/badge/skills/lingxling/awesome-skills-cn/agent-memory/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.
<a href="https://agentmods.dev/skills/lingxling/awesome-skills-cn/agent-memory"><img src="https://agentmods.dev/badge/skills/lingxling/awesome-skills-cn/agent-memory.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00018 | $0.00743 |
| Opus 5.5 | $0.00007 | $0.00297 |
| Sonnet 5.5 | $0.00004 | $0.00149 |
| Haiku 4.5 | $0.00002 | $0.00074 |
Grade A, and why
agent-memory scanned grade A with 0 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 18d ago.
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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
This is a copy
100% identical to agent-memory — 47 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 91 lines — stays where its author put it; the contents beside it link to each section on GitHub.
agentMemory Skill
When to Use
Use this skill when you need a hybrid memory system that provides persistent, searchable knowledge management for AI agents.
This skill extends your capabilities by providing a persistent, searchable memory bank that automatically syncs with project documentation.
Prerequisites
- Node.js installed
- Check if
agentMemoryis already installed in the project:ls -la .agentMemory
Setup
-
Install Dependencies:
npm install -
Build the Project:
npm run compile -
Start the Memory Server: You need to run the MCP server to interact with the memory bank.
npm run start-server <project_id> <absolute_path_to_workspace>Note: This skill typically runs as a background process or via an mcp-server configuration. ensuring it is running is key.
Capabilities (MCP Tools)
Once the server is running, you can use these tools:
memory_search
Search for memories by query, type, or tags.
- Args:
query(string),type?(string),tags?(string[]) - Usage: "Find all authentication patterns" ->
memory_search({ query: "authentication", type: "pattern" })
memory_write
Record new knowledge or decisions.
- Args:
key(string),type(string),content(string),tags?(string[]) - Usage: "Save this architecture decision" ->
memory_write({ key: "auth-v1", type: "decision", content: "..." })
memory_read
Retrieve specific memory content by key.
- Args:
key(string) - Usage: "Get the auth design" ->
memory_read({ key: "auth-v1" })
memory_stats
View analytics on memory usage.
- Usage: "Show memory statistics" ->
memory_stats({})
Workflow
- Initialization: The first time you run this in a project, it may attempt to import existing markdown memory banks from
.kilocode/,.clinerules/, or.roo/. - Development Loop:
- Before Task: Search memory for relevant context.
- During Task: Use read/search to answer questions.
- After Task: Write new findings to memory.
- Sync: Your writes are automatically synced to standard markdown files in the project.
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.
- 18d ago Changed · +6 lines e0772d7c6f8a
- 1mo ago First seen · 85 lines · 18 tokens per session scan A b630b9e32991
agent-memory is a skill published in the GitHub repository lingxling/awesome-skills-cn (320 stars, last pushed 18d ago), licensed MIT. It adds 18 tokens to every session and 743 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to agent-memory, differing in 47 lines, and is treated as a copy.
Other skills, from other repositories
mm-handoff
A skill that creates a compact handoff.md summary for starting a new Claude chat when the current chat is full. The file records recent work, current status, open questions, and selected project context.
mm-save-session
An end-of-session recorder for Claude Code that saves the conversation summary and project state in Obsidian notes. Obsidian is a note-taking app that stores information as files.
mm-clear-gate
A read-only checkpoint that uses a script to check whether project notes, handoff files, repository changes, and session records have been saved before clearing context.
mm-setup
A setup guide that personalizes a shared mm system for one user. It asks for details such as your name, work area, tools, language, and Obsidian vault location, then saves them in private configuration files.
mm-vault
A setup tool that creates a private GitHub repository for an Obsidian project memory folder and connects it to Claude.ai project knowledge. Obsidian is a note-taking app that stores information as files.
mm-doctor
A diagnostic workflow for checking the health of the mm system, including its configuration, project links, note vault, passports, session archive, and planning consistency.