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-lensgit 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-lens)<a href="https://agentmods.dev/skills/redis/agent-skills/add-lens"><img src="https://agentmods.dev/badge/skills/redis/agent-skills/add-lens/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-lens"><img src="https://agentmods.dev/badge/skills/redis/agent-skills/add-lens.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.00161 | $0.03550 |
| Opus 5.5 | $0.00064 | $0.01420 |
| Sonnet 5.5 | $0.00032 | $0.00710 |
| Haiku 4.5 | $0.00016 | $0.00355 |
Grade A, and why
add-lens 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 — 179 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Add Lens
One trace per agent turn, visible in the Lens UI under the agent's agent_id. Lens runs inside redis-iris; it has no service to provision and no CLI. Two lines at start-up, one turn per message, then close the gaps the agent has. Lens sits next to any other Iris product, or none.
Full reference: Lens (docs/core/lens.md in redis-iris).
1. Discover
Read the project:
- The turn: where one user message becomes one answer (
app.invoke,Runner.run,runner.run_async,agent.run,kickoff, or the handler around a hand-written loop). - The ids: where the agent's own name lives, and where each request's session or thread id and user id live. Always set both
agent_idandsession_id. Every Lens UI view is filtered byagent_id, so a trace without one never shows. Turns are shown grouped by session, so a turn without a session id does not show either (showing turns without a session is an upcoming feature). - Start-up: the one place that runs before the first turn (app factory,
main, worker boot). - The model client: the library that finally calls the model, under any framework. Lens instruments four:
openai,anthropic,botocore(Bedrock) andlangchain_core. Many frameworks call one of these underneath; confirm in step 2. Any other client (for examplegoogle-genaiorlitellm) records no LLM span and no tokens unless step 6 adds an instrumentor for it. - Existing telemetry:
opentelemetry,TracerProvider,opentelemetry-instrument,OTEL_*variables, or another LLM instrumentation. Note who installs the global provider and when. - The gaps in step 5:
.clientcalls, custom retrieval, thread pools, process hops, short-lived processes.
Then match the shape. It decides who opens the turn:
| The agent | Turn opened by | You add |
|---|---|---|
redis_iris.integrations.langgraph.attach(hooks, graph) |
attach, on every invoke / stream and async twin, session from configurable.thread_id, user from configurable.user_id |
lens.init() only |
workflows.turn(...) / workflows.aturn(...) |
workflows.turn, from session= and owner= |
lens.init() only |
LangGraph without attach |
you | lens.turn() around app.invoke / app.ainvoke, thread id as the session |
Google ADK, including redis_iris.integrations.adk.attach |
you: ADK attach does not open one, so before and after would be two traces |
lens.turn() around runner.run_async |
| OpenAI Agents SDK | you | lens.turn() around Runner.run |
| Pydantic AI, CrewAI, any other framework | you | lens.turn() around agent.run / kickoff |
Plain loop (openai, anthropic, another client) |
you | lens.turn() around the handler for one message, not around one model call |
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 · 179 lines · 161 tokens per session scan A a0129a7abfc8
add-lens is a skill published in the GitHub repository redis/agent-skills (178 stars, last pushed 28d ago), licensed MIT. It adds 161 tokens to every session and 3,550 once invoked, about $0.0006 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-lens compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| add-lensredis/agent-skills | Skill | 178 | 28d ago | MIT | A | 161 | Claude Code |
| implementing-api-rate-limiting-and-throttlingxalgorix/xalgorix | Skill | 1.6k | yesterday | Apache-2.0 | A | 114 | Claude Code, Codex |
| redis-jsupstash/redis-js | Skill | 989 | 5d ago | MIT | A | 93 | Claude Code, Codex |
| redisericrisco/rsc-harness | Skill | 701 | yesterday | MIT | A | 111 | Claude Code, Codex |
| frontmcp-configagentfront/frontmcp | Skill | 154 | today | Apache-2.0 | A | 187 | Claude Code |
| Docker TestcontainersPramodDutta/qaskills | Skill | 253 | 1mo ago | MIT | A | 42 | Claude Code, Codex |
| huawei-cloud-mrs-redis-meta-checkhuaweicloud/huaweicloud-skills | Skill | 59 | today | MIT | A | 167 | Claude Code, Codex |