Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

add-command

Skill by redis

Guides an AI assistant through adding a new Redis command to the go-redis client, from fetching the spec and docs to Cmdable wiring, RESP parsing, tests and vet checks. Aimed at go-redis contributors.

  • Score 89
  • 22k stars
  • BSD-2-Clause
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install add-command

Built from the published package, never by AI.

git clone --depth 1 https://github.com/redis/go-redis /tmp/go-redis && mkdir -p ~/.claude/skills && cp -r /tmp/go-redis/.claude/skills/add-command ~/.claude/skills/add-command

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install add-command in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This agent skill walks an AI assistant through adding a new Redis command to the root redis package of go-redis. It covers core commands as well as RediSearch, TimeSeries, VectorSet and Bloom module subcommands. The skill requires the command's machine-readable spec and its prose docs before any Go is written. It fetches the spec from the redis/redis repository and the docs from redis.io, then maps both sources to the method signature, reply parser and key positions.

The skill routes the work to reference files covering the core Go pattern, module command shapes and cluster routing. It lists common pitfalls, such as forgetting to embed the new Cmdable interface, forgetting Clone(), and skipping SetVal, which the custom-vet setval check enforces. It is intended for developers contributing commands to go-redis.

Written from the project's SKILL.md and checked against it.

What it can do

  • Fetch command spec and docsReads the machine-readable command spec and the redis.io prose docs before writing Go code.
  • Map spec to implementationConnects spec arguments, reply schema and key specs to the method, parser and routing code.
  • Choose the right file and CmderHelps pick the matching *_commands.go file and reuse or define a Cmder type.
  • Foo and FooWithArgs patternExplains exposing a positional Foo method plus a FooWithArgs method for optional flags.
  • Module command guidanceCovers naming and RESP2-vs-RESP3 reply differences for RediSearch, TimeSeries and similar modules.
  • Cluster routing guidanceCovers keyless, fan-out, multi-key and cross-shard commands.
  • Pitfall checklistLists mistakes such as missing Clone(), missing SetVal and unconverted time.Duration arguments.

What you need

  • WebFetch tool access to retrieve the command spec and docs
  • A go-redis repository checkout to make the changes in

Try asking

  • Add the LCS command to go-redis, starting with its spec and docs.
  • Show me how to wire a new FooWithArgs method into the Cmdable interface.
  • Which go-redis file and Cmder type fit a RediSearch subcommand reply?

Good to know

  • Module command specs live in the module's own repository, not redis/redis.
  • The skill says to stop and ask the user if neither the spec nor the docs can be obtained.
  • Guidance is specific to the go-redis root redis package.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .claude/skills/add-command/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

Allowed tools: WebFetch

  • SKILL.md5 KB
  • references/cluster-routing-wiring.md2 KB
  • references/core-command-pattern.md6 KB
  • references/module-commands.md3 KB

Alternatives to add-command

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

add-command: common questions

Where does the skill get the command spec?

It reads the JSON spec from src/commands in the redis/redis repository, or a spec file or PR URL the user provides. Module commands are not in that repository, so the skill points to the module's own repo.

Does it support RediSearch and other module commands?

Yes. A reference file covers module subcommands, including naming and differences between RESP2 and RESP3 reply shapes.

What happens if the docs or spec cannot be found?

The skill says to stop and ask the user, because guessing the reply shape would produce a broken readReply parser.

How do I install add-command?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is add-command free?

The code is published under the BSD-2-Clause licence. The service it connects to may have its own pricing.

Is add-command safe to use?

It scores 89 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to add-command?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

add-command Install

Add to stack

Loading.