Redis Agent Skills is Redis's collection of packaged instructions and resources that teach AI coding agents how to work with Redis data structures, connections, search, caching, clustering, security, observability, and agent memory. It is for developers using coding agents to build or troubleshoot Redis-backed applications. The catalogue entries are the project's own agent skills, instructions, and plugin packaging.
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 redis/agent-skills --skill add-agent-memorygit clone --depth 1 https://github.com/redis/agent-skillsWrote 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/redis/agent-skills/add-agent-memory)<a href="https://agentmods.dev/skills/redis/agent-skills/add-agent-memory"><img src="https://agentmods.dev/badge/skills/redis/agent-skills/add-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/redis/agent-skills/add-agent-memory"><img src="https://agentmods.dev/badge/skills/redis/agent-skills/add-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.00133 | $0.04101 |
| Opus 5.5 | $0.00053 | $0.01640 |
| Sonnet 5.5 | $0.00027 | $0.00820 |
| Haiku 4.5 | $0.00013 | $0.00410 |
Grade A, and why
add-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 29d 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.
How it starts
The opening of the file, as written. The whole thing — 213 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Add Agent Memory
Before the model: recall what is known about the user. After the turn: write the exchange back. The service extracts long-term memories from sessions. What it remembers, shares, excludes and retains is a service setting, not an SDK argument: ask first, provision, then wire.
1. Discover
Read the project:
- Find the turn (where the model is called) and the user id and session or thread id in scope there.
- Identify the framework from imports.
- Find existing memory code (
BaseStore,InMemoryStore, custom dict or DB). You will replace its reads and writes, not the graph. - Already on Redis Agent Memory through its own client? Inventory before changing anything: adapters over the generated
redis_agent_memoryclient, an MCP client exposing memory tools to the model, anamespacestring written on every record, and any second runtime or framework plugin writing the same store. See "Already on Redis Agent Memory" in step 4. - Async agent? Use the
a-prefixed methods.
Then ask the developer these five questions, nothing more. A shrug takes the default.
| Ask | If the answer is | Configure |
|---|---|---|
| What should the agent remember about a user across sessions? | Free facts and preferences (default) | Nothing: built-in semantic and episodic types cover it |
| Structured business data: trip requirements, order constraints, account preferences | One memory_types entry with named fields and an extraction prompt |
|
| Is there knowledge every conversation should see? | Incidents, temporary policies, team notes | memory.shared_namespace("<name>"); an ops owner writes with remember(..., namespace_id=...); the agent reads with recall(shared=[...]) |
| No (default) | Skip the namespace | |
| What must never be kept? | Passwords, tokens, card numbers, confirmation codes, health data | exclusions.prompt naming each one. Guidance, not a guarantee: session content still reaches the model provider, and direct remember() writes skip it |
| How long should memory live? | Session TTL, long-term TTL (defaults 30d / 365d) | short_term_ttl, long_term_ttl |
| Do users need to be forgotten on request? | Yes | memory.forget(owner) on the erasure path |
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.
- 29d ago First seen · 213 lines · 133 tokens per session scan A 0d8fe56e57ac
add-agent-memory is a skill published in the GitHub repository redis/agent-skills (178 stars, last pushed 28d ago), licensed MIT. It adds 133 tokens to every session and 4,101 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-04.
add-agent-memory compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| add-agent-memoryredis/agent-skills | Skill | 178 | 28d ago | MIT | A | 133 | Claude Code |
| knowledge-ingestopenclaw/openclaw | Skill | 396k | today | MIT | A | 80 | Claude Code, Codex |
| forgetasgeirtj/system_prompts_leaks | Skill | 74k | today | CC0-1.0 | A | 0 | Claude Code, Codex |
| mem0-oss-to-platformmem0ai/mem0 | Skill | 70k | 6d ago | Apache-2.0 | A | 217 | Claude Code, Codex |
| Cortexdanielmiessler/LifeOS | Skill | 21k | 15d ago | MIT | A | 184 | Claude Code |
| ha-data-storesshiwenwen/hope-agent | Skill | 1.9k | today | MIT | A | 115 | Claude Code, Codex |
| memoryopensquilla/opensquilla | Skill | 7.2k | 7d ago | Apache-2.0 | A | 44 | Claude Code, Codex |