AGENT SKILL
iredis
Use this skill when the user wants to interact with a Redis database — run queries, get/set keys, check server info, or manage Redis from the terminal.
使用场景后端与接口
- License 许可
- MIT
- 最近更新
- 2026-11-02
- Stars
- ★ 57
- Forks
- 5
01 前言 Front Matter
- name
- iredis
- description
- Use this skill when the user wants to interact with a Redis database — run queries, get/set keys, check server info, or manage Redis from the terminal.
02 资源文件 6
- 其他customize.toml1.6 KB
- 参考文档steps/step-01-validate-prerequisites.md10.3 KB
- 参考文档steps/step-02-design-epics.md7.6 KB
- 参考文档steps/step-03-create-stories.md8.7 KB
- 参考文档steps/step-04-final-validation.md5.1 KB
- 参考文档templates/epics-template.md1.1 KB
03 SKILL.md 正文
iredis Plugin
iredis is an interactive Redis CLI with autocomplete, syntax highlighting, and a full-featured REPL. It supports both interactive and non-interactive command execution.
Commands
Self
iredis self version— Print iredis version
Query
iredis query run <command> [args...] [--raw] [--url <url>]— Execute Redis commandsiredis query run --url redis://localhost:6379 GET mykey— Example with URLiredis query run -h host -p 6379 PING— Example with host/port
Passthrough
iredis _ _ <args>— Raw passthrough (interactive mode, DSN mode, etc.)
Usage Examples
- "ping the Redis server"
- "get key mykey from Redis"
- "list all keys with pattern user:*"
- "show Redis server info"
- "check Redis server version"
Installation
pip install iredis
Key Features
- Syntax highlighting and autocomplete for Redis commands
- Interactive REPL mode with command history
- Non-interactive command execution (pass commands as positional args)
- Raw output mode for machine parsing (--raw)
- Connection via host/port, URL, Unix socket, or DSN alias
- TLS/SSL connection support
- SSH tunnel and NAT map support for clusters
- Customizable prompt and color themes
- Pager support for large outputs
Connections
# Default localhost:6379
iredis PING
# Specific host/port
iredis -h 10.0.0.1 -p 6380 -a mypassword GET mykey
# Redis URL
iredis --url redis://user:pass@host:6380/3 KEYS *
# DSN alias (configured in ~/.iredisrc)
iredis -d production KEYS *
Requirements
- Redis server running and accessible
- Network connectivity to the Redis host
- Authentication credentials if required
04 同仓库更多 Skills
sc-machin-mcp
暂无简介
★ 57
supercli.quickstart
SuperCLI capability router — discover and execute CLI commands through namespace.resource.action interface
★ 57
zzdoc
Use this skill to compile scdoc manpages with a fast Zig-based compiler.
★ 57
zx
Use this skill when the user wants to a tool for writing better scripts using node.js.
★ 57
zvm
Use this skill when the user wants to manage multiple Zig compiler versions.
★ 57
quickstart
暂无简介
★ 57