01
It starts by itself
PR touches Redis code. Runs in GitHub Actions or Claude Code routine.
- ↻ PR touches Redis code
pull_request.opened or synchronize, files using a Redis client
Redis clients stay pooled and fast.
Install the Redis Connections skill and make it a habit: follow https://gethabit.dev/skills/redis/redis-connections.md
3K installs169 starsMIT licenceSource on GitHub ↗

Redis Connections
by redis · 3K installs
The skill
The redis connections skill gives developers client-side guidance for Redis: connection pools or multiplexing, pipelining, SCAN instead of KEYS, RESP3 client-side caching and sensible connect and read timeouts.
Only when you ask.
The habit
Redis clients stay pooled and fast.
↻ Runs by itselfPR touches Redis code
When does it start? How does it check its work? What does it remember?
Stops after one pull request and at most 20 findings per run.
The agent lists every changed file that sets up or calls a Redis client such as redis-py, Jedis or Lettuce.
It confirms the code uses a pool like ConnectionPool or one multiplexed connection, never a fresh connection per call.
Loops of independent commands get a suggestion to send them through a pipeline instead.
Calls to KEYS, SMEMBERS, HGETALL or LRANGE 0 -1 on big data get swapped for SCAN, SSCAN, HSCAN or paging.
It checks that socket_connect_timeout and socket_timeout are set and that blocking commands carry a timeout.
For hot keys that rarely change, it suggests RESP3 client-side caching; for write-heavy data it advises against it.
Findings go into the run log and a review comment, and tests run on the result.
It writes only in its own folder and asks you before anything goes out.
Read both lists. If the left one sounds like you, the Redis Connections skill helps.
The guidance names redis-py, Jedis, Lettuce, go-redis and NRedisStack.
No. BLPOP and similar are fine for queue consumers, but they need a timeout and should not run on a multiplexed connection.
Copy the prompt at the top into your agent. It installs the skill from redis/agent-skills and sets up the habit. Or run npx skills add redis/agent-skills --skill redis-connections.
Yes. It is published under MIT. Habit is free too.
Install the Redis Connections skill and make it a habit: follow https://gethabit.dev/skills/redis/redis-connections.md
All redis skills →More code skills →
Works in
Made by redis, published under MIT. Habit links to the original and never changes it. Is this your skill?