superpowers-sage:acorn-redis

superpowers-sage:acorn-redis is a skill for Claude Code from hekivo/superpowers-sage. It costs 112 tokens per session (1,461 once invoked), scanned A, original, MIT.

Guidance for using Redis, a fast in-memory data service, with Acorn and WordPress. It covers caching, sessions, queues, locks, counters, and connecting Redis to a Lando development environment.

In plain words
What is it for?
Use it to configure Redis-backed WordPress or Laravel caches, sessions, queues, rate limits, locks, and counters when the project has a Redis service available.
Why use it?
It can move temporary or frequently accessed data out of slower database or in-process storage and coordinate data between requests. It also clarifies that Redis should not replace the main database for permanent records.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Part of the superpowers-sage plugin — 36 skills, 3 commands, 11 agents, 7 hooks shipped together

Good fit Use it to configure Redis-backed WordPress or Laravel caches, sessions, queues, rate limits, locks, and counters when the project has a Redis service available.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hekivo/superpowers-sage/acorn-redis
Install

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.

Any agent
npx skills add hekivo/superpowers-sage --skill acorn-redis
Clone the repo
git clone --depth 1 https://github.com/hekivo/superpowers-sage

Made for: Claude Code.

Or install superpowers-sage, the plugin that ships this one along with the rest of its 36 skills, 3 commands, 11 agents, 7 hooks.

Wrote 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.

agentmods badge for superpowers-sage:acorn-redis

README.md
[![agentmods](https://agentmods.dev/badge/skills/hekivo/superpowers-sage/acorn-redis/github.svg)](https://agentmods.dev/skills/hekivo/superpowers-sage/acorn-redis)
Your own site
<a href="https://agentmods.dev/skills/hekivo/superpowers-sage/acorn-redis"><img src="https://agentmods.dev/badge/skills/hekivo/superpowers-sage/acorn-redis/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.

agentmods 80×15 button for superpowers-sage:acorn-redis

Your own site · 80×15
<a href="https://agentmods.dev/skills/hekivo/superpowers-sage/acorn-redis"><img src="https://agentmods.dev/badge/skills/hekivo/superpowers-sage/acorn-redis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 112 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,461 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00112 $0.01461
Opus 5 $0.00056 $0.00731
Sonnet 5 $0.00022 $0.00292
Haiku 4.5 $0.00011 $0.00146

Measured 11d ago against content hash a112a16a49cc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

superpowers-sage:acorn-redis 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 11d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/redis-health.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

plugins/superpowers-sage/skills/acorn-redis/SKILL.md · 139 lines

How it starts

The opening of the file, as written. The whole thing — 139 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Redis with Acorn in WordPress

When to use

  • Object cache for WordPress (wp_cache_*) backed by Redis instead of ephemeral in-process cache
  • Laravel cache / session / queue driver inside theme code
  • Cross-request rate limiting, lock coordination, or atomic counters
  • High-traffic sites where wp_options autoload pressure needs relief
  • Queue backend for acorn-queues when jobs need durable storage beyond sync driver

When NOT to use

  • Small dev-only sites with no performance pressure — array/file cache is fine
  • Shared hosting without Redis — use file or database cache driver instead
  • As a database — Redis is cache; persistent data belongs in MySQL
  • When wp_cache_* calls are rare and localized — flushing coordination overhead may exceed benefit

Prerequisites

  • Lando config includes a redis service (setup shown below)
  • predis/predis or phpredis extension available
  • wp-redis or object-cache.php drop-in installed for WordPress object cache integration
  • REDIS_HOST / REDIS_PORT set in .env

Redis in the Stack

Lando provides Redis as a service. Acorn connects to it through Laravel's Redis integration (illuminate/redis). Three primary uses:

  • Cache driver — store computed values, query results, rendered partials
  • Session driver — user sessions backed by Redis instead of filesystem
  • Queue driver — background job processing (see sage:acorn-queues)

See references/cache-config.md for full Lando service config, config/cache.php, and Cache::remember() patterns. See references/cache-tags.md for tag-based invalidation with save_post and edited_term. See references/session-queue.md for session driver and queue connection wiring. See references/troubleshooting.md for connection refused, drop-in not installed, cache not persisting, session issues.

Scripts: scripts/redis-health.sh

Read the full file on GitHub · 139 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

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.

  1. 11d ago First seen · 139 lines · 112 tokens per session scan A a112a16a49cc

Subscribe to this mod's changes

superpowers-sage:acorn-redis is a skill published in the GitHub repository hekivo/superpowers-sage (13 stars, last pushed 3mo ago), licensed MIT. It adds 112 tokens to every session and 1,461 once invoked, about $0.0006 per session on Opus 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-08-30.

Related

Other skills, from other repositories

pinecone

Managed vector DB for production RAG and search.

NousResearch/hermes-agent · 13 tokens

redis-js

Work with the Upstash Redis JavaScript/TypeScript SDK for serverless Redis operations. Use for caching, session storage, rate limiting, leaderboards, full-text search (querying, filtering, aggregating with @upstash/redis search extension), and all Redis data structures. Supports automatic serialization/deserialization…

upstash/redis-js · 93 tokens

using-redis-token-buckets

Use when adding a bucket-like rate limit backed by Redis: a per-caller budget with burst capacity and continuous refill, a refund path for requests that did no work, or a limit whose Retry-After must be a real wait rather than a window edge. posthog/tokenbucket.py provides an atomic Lua token bucket (consume, refund…

PostHog/posthog-foss · 148 tokens

byted-milvus

Manages Milvus on Volcano Engine (Volcengine): provision/inspect/scale/delete clusters and run collection + CRUD/search operations via bundled CLIs. Use when the user mentions Milvus + Volcengine/Volcano Engine or asks to operate Milvus there.

bytedance/agentkit-samples · 0 tokens

vector-db

Vector database expert for embeddings, similarity search, RAG patterns, and indexing strategies.

RightNow-AI/openfang · 19 tokens

redis-search

Redis Search guidance covering FT.CREATE schema design, field type selection (TEXT, TAG, NUMERIC, GEO, GEOSHAPE, VECTOR, JSON path), DIALECT 2 query syntax, FT.SEARCH / FT.AGGREGATE / FT.HYBRID command selection, vector similarity with HNSW or FLAT, hybrid retrieval combining lexical and vector ranking, RAG pipelines…

redis/agent-skills · 152 tokens