agent-skills
AGENTS.md174 starsChanged 3 months agoMITView on GitHub
A collection of agentskills.io-compliant skills for AI coding agents working with Redis. Each skill is a focused, spec-compliant directory under skills/: The add-* Iris skills are copied from redis/redis-iris, which is their source of truth; edit them there and re-copy, adding this repo's license and metadata frontmatter and turning ../<skill>/SKILL.md links into plain skill names (the validator rejects links that leave the skill directory). They also drop every link into redis/redis-iris, which is private: public users and the link validator…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 31,439 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository14 other files it gives its agents.
- add-agent-memorySkill
- add-agent-playbooksSkill
- add-context-gatewaySkill
- add-intent-routerSkill
- add-lensSkill
- add-redis-irisSkill
- redis-clusteringSkill
- redis-connectionsSkill
- redis-coreSkill
- redis-docs-mcpSkill
- redis-observabilitySkill
- redis-searchSkill
- redis-securitySkill
- redis-semantic-cacheSkill
The file
We split this AGENTS.md into the rules it gives an agent
5 rules. About 0 are common, 2 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 33
Only what an agent loads at runtime is vendored.
- Distinctive: line 39
All skills follow the agentskills.io specification:
- Very specific: line 53
Create skills/<skill-name>/SKILL.md with the required frontmatter:
- Very specific: line 64
Add long-form examples under references/.
- Very specific: line 65
If the skill needs internal eval coverage, add evals/<skill-name>/<suite-name>/{evals.json, model-matrix.json} at the repo root, run the …
≈ “Common” is an estimate: at least 1 in 5 of the 40,246 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
AGENTS.md
This file provides guidance to AI coding agents (ChatGPT, Codex, Claude Code, Cursor, Copilot, etc.) when working with code in this repository.
Repository Overview
A collection of agentskills.io-compliant skills for AI coding agents working with Redis. Each skill is a focused, spec-compliant directory under skills/:
- redis-core — data structures, key naming, memory/TTL, atomic primitives, JSON vs Hash, Streams vs Pub/Sub
- redis-connections — pooling, multiplexing, pipelining, client-side caching, timeouts
- redis-search — FT.CREATE / FT.SEARCH / FT.AGGREGATE / FT.HYBRID, schema design, HNSW vs FLAT, hybrid retrieval, RAG
- redis-semantic-cache — LangCache for LLM response caching
- redis-clustering — hash tags, multi-key ops, read replicas
- redis-security — AUTH, TLS, ACLs, network exposure, command renaming
- redis-observability — INFO, SLOWLOG, MEMORY DOCTOR, FT.PROFILE, Redis Insight
- add-redis-iris — Redis Iris entry point: detects the framework, routes to a product skill
- add-agent-memory — Redis Iris Agent Memory: provision, recall, write-back
- add-agent-playbooks — Redis Iris Agent Playbooks: published Skills and approved FAQs
- add-context-gateway — Redis Iris Context Gateway: one MCP endpoint for every upstream server
- add-intent-router — Redis Iris Intent Router: semantic routing by example phrasings
- add-lens — Redis Iris Lens: per-turn tracing of LLM calls, tools, and retrievals
The add-* Iris skills are copied from redis/redis-iris, which is their source of truth; edit them there and re-copy, adding this repo's license and metadata frontmatter and turning ../<skill>/SKILL.md links into plain skill names (the validator rejects links that leave the skill directory). They also drop every link into redis/redis-iris, which is private: public users and the link validator get HTTP 404. Instead the copies inline what the agent needs (the iris.toml layout, the CLI error-code table, per-product identity tokens, the Agent Memory console steps, the uv pre-release fix) and point to iris <product> <command> --help for CLI detail. Re-apply these edits on every re-copy, or validate:skill-structure fails.
Where Skills Live
skills/ is the source of truth. plugins/redis-development/skills/ holds generated real copies of it for the ChatGPT, Codex, Claude Code, and Cursor plugin package, committed to the repo, and npm run sync:plugins regenerates them. Every marketplace publishes that one plugin directory, each through its own per-plugin manifest inside plugins/redis-development/ (.claude-plugin/, .codex-plugin/, .cursor-plugin/); the Claude and Cursor listings point at it from the repo-root .claude-plugin/marketplace.json and .cursor-plugin/marketplace.json.
Copies rather than symlinks, because Claude Code and Cursor both drop a symlink that escapes the plugin root when a plugin is installed from git, so the plugin loads no skills at all. Real files also survive a Windows checkout, where git writes symlinks as plain text files unless core.symlinks is on.
The copies also decide when an update publishes. The Claude Code plugin directory fetches only the plugins/redis-development subdirectory, and its nightly bot advances our pinned commit only when that subdirectory's own contents change. A skill edit that never lands there is never noticed, no matter how many versions we bump.
Only what an agent loads at runtime is vendored. Eval suites are not a special case here: they live in top-level evals/, outside any skill.
You should never have to run the sync by hand. The pre-commit hook runs it and stages the result, and npm run validate:plugin-skills (inside validate:plugins, so in both the hook and CI) fails when the copies drift, when a file lingers for a skill that no longer exists, or when a symlink reappears on either side.
Skill Format
All skills follow the agentskills.io specification:
skills/<skill-name>/
├── SKILL.md # Required: YAML frontmatter (name, description, license, metadata) + agent-facing instructions
├── references/ # Optional: long-form content loaded on demand (one file per topic)
├── scripts/ # Optional: executable code agents may invoke
└── assets/ # Optional: static resources (templates, schemas, images)Use skills/redis-core/ as the reference layout. Editorial convention across this repo: keep SKILL.md under ~150 lines with summary tables and key principles inline; move full Python/Java code samples into references/<topic>.md (one file per source rule). The agent loads SKILL.md once on activation; reference files are loaded only when the task requires them.
Adding a New Skill
- Create
skills/<skill-name>/SKILL.mdwith the required frontmatter:--- name: <skill-name> description: <one paragraph that includes the trigger phrases agents should match on> license: MIT metadata: author: <organization> version: "0.1.0" --- - Add long-form examples under
references/. - If the skill needs internal eval coverage, add
evals/<skill-name>/<suite-name>/{evals.json, model-matrix.json}at the repo root, run the suite, and promote a baseline (npm run eval:baseline) — validation requires every suite to carry a current baseline. - To publish via the marketplaces:
- ChatGPT and Codex: the sync vendors every skill into
plugins/redis-development/; keep its.codex-plugin/plugin.jsonversion aligned with the Claude manifest before submitting the package to OpenAI. - Claude Code: nothing to wire up. The sync vendors every skill under
skills/, so committing runs it and the directory's nightly bot picks the change up. - Cursor: nothing to wire up either — the single
redis-developmentplugin bundles every vendored skill. Cursor does not pull from git, so ask the Cursor marketplace team for a re-index (or re-submit at cursor.com/marketplace/publish) once the change lands.
- ChatGPT and Codex: the sync vendors every skill into
- Validate:
npm run validate(covers plugin manifests, the vendored copies, eval baselines, and the agentskills.io spec).
Running Validators
npm run validate # plugin manifests + vendored copies + eval baselines + agentskills.io spec
npm run validate:eval-baselines # every eval suite has a baseline matching its evals and matrix
npm run validate:skill-structure # spec validation only (across all skills)
npm run validate:plugins # codex + claude + cursor plugin manifests + vendored copies
npm run validate:codex-plugins # Codex manifest, assets, metadata, and cross-manifest consistency
npm run validate:plugin-skills # vendored copies match skills/, with no symlinks
npm run sync:plugins # regenerate the vendored copies (the fix when the above fails)CI runs the full validate on every PR. The husky pre-commit hook regenerates the
vendored copies, stages them, and runs the plugin-manifest and eval-baseline
checks — skill-structure validation needs the skill-validator Go binary and
network access for link checking (see CONTRIBUTING.md).
Running Evals
# Run the eval suite for a single skill
npm run eval -- --skill <skill-name> --suite <suite-name>
# Re-aggregate an existing iteration
npm run eval:aggregate -- --skill <skill-name> --suite <suite-name>
# Promote an iteration as the committed baseline
npm run eval:baseline -- --skill <skill-name> --suite <suite-name> --iteration iteration-1Eval suites live under evals/<skill-name>/<suite-name>/, outside skills/. Two reasons they are not next to the skill they exercise:
- A
with_skillrun grants the model read access toskills/<skill-name>/and points it there.evals.jsoncarriesexpected_outputand the grader'sexpectations, so keeping it inside that directory hands the model the answer to the question it is being asked. - Everything under
skills/is what the marketplaces publish. Nesting eval suites and baselines there ships them to every installed user.
The eval workspace output is written to eval-workspaces/ (gitignored).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

