From 5311b9ab76ef3563dfc8809351092c0df7e8d742 Mon Sep 17 00:00:00 2001 From: Vishal Bala Date: Fri, 21 Aug 2026 11:10:57 +0200 Subject: [PATCH 01/14] feat(plugins): bundle the public redis.io docs MCP server MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Declares the public Redis docs MCP gateway at https://redis.io/mcp in the ChatGPT/Codex and Claude Code plugin package, so enabling the plugin connects it with no user configuration. The endpoint is public, read-only, and needs no credentials and no local Redis: three tools (search, fetch, ask) over streamable HTTP. MCP is a plugin-level component — the agentskills.io format has no MCP field, so this belongs in the plugin manifests rather than in a skill. Both manifests reference one shared .mcp.json at the plugin root, since Claude Code and Codex accept the same entry shape: { "mcpServers": { "redis-docs": { "type": "http", "url": "..." } } } Verified end-to-end against Codex CLI 0.149.0 by installing this package from a local marketplace: the server appears in `codex mcp list` and a session calls `redis-docs/search` successfully with the pre-existing global Redis docs server disabled, so the tool can only have come from the plugin. `type` is required on both platforms — Claude Code reads a url without it as a stdio server and skips it, and OpenAI's own bundled github plugin carries "type": "http". The file has to sit at the plugin root; Codex did not resolve it from a nested path. validate:claude-plugins now checks mcpServers entries, which were previously unvalidated in either inline or path form: a url with no type is fatal at runtime, so it is now a validation error, along with unknown transports and an entry defining neither url nor command. Cursor is not covered. Its marketplace pluginRoot is skills, so every Cursor plugin is a single skill directory; its declaration ships with the redis-docs-mcp skill in a follow-up, alongside that skill's eval suite. Refs RAAE-1835 --- .claude-plugin/marketplace.json | 8 +-- AGENTS.md | 33 +++++++++ README.md | 35 +++++++++ .../.claude-plugin/plugin.json | 9 +-- .../.codex-plugin/plugin.json | 8 ++- plugins/redis-development/.mcp.json | 8 +++ scripts/validate-claude-plugins.mjs | 72 +++++++++++++++++++ 7 files changed, 162 insertions(+), 11 deletions(-) create mode 100644 plugins/redis-development/.mcp.json diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json index 8b49cf4..b2f30c4 100644 --- a/.claude-plugin/marketplace.json +++ b/.claude-plugin/marketplace.json @@ -6,16 +6,16 @@ }, "metadata": { "description": "Official Redis plugins for Claude Code", - "version": "1.4.0" + "version": "1.5.0" }, "plugins": [ { "name": "redis-development", "source": "./plugins/redis-development", - "description": "Redis development best practices — data structures, Redis Search (lexical + vector + hybrid retrieval), caching, and performance optimization, plus Iris Redis Agent Memory.", - "version": "1.4.0", + "description": "Redis development best practices — data structures, Redis Search (lexical + vector + hybrid retrieval), caching, and performance optimization, plus Iris Redis Agent Memory and live lookup of the official redis.io documentation.", + "version": "1.5.0", "category": "database", - "tags": ["redis", "database", "caching", "vector-search", "performance"] + "tags": ["redis", "database", "caching", "vector-search", "performance", "documentation"] } ] } diff --git a/AGENTS.md b/AGENTS.md index 156a0db..4eaba4c 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -64,6 +64,39 @@ Use [skills/redis-core/](skills/redis-core/) as the reference layout. Editorial - Cursor: add an entry to `.cursor-plugin/marketplace.json` pointing at ``, then re-submit the repo at [cursor.com/marketplace/publish](https://cursor.com/marketplace/publish). Cursor does not pull from git. 6. Validate: `npm run validate` (covers plugin manifests, the vendored copies, eval baselines, and the agentskills.io spec). +## Bundled MCP Servers + +The plugin package declares the public Redis docs MCP server at `https://redis.io/mcp`, so enabling +the plugin connects it with no user configuration. MCP is always a **plugin-level** component: the +agentskills.io format has no MCP field, so a skill can describe tools but never carry them. + +One shared file, [plugins/redis-development/.mcp.json](plugins/redis-development/.mcp.json), +referenced by both manifests as `"mcpServers": "./.mcp.json"`. Claude Code and Codex accept the same +shape, so there is no reason to keep two copies: + +```json +{ "mcpServers": { "redis-docs": { "type": "http", "url": "https://redis.io/mcp" } } } +``` + +Constraints worth knowing before editing it: + +- **`type` is required.** Claude Code reads a `url` with no `type` as a stdio server, skips it at + startup, and reports it as misconfigured. Codex is the same: its own bundled plugins (see + `~/.codex/.tmp/plugins/plugins/github/.mcp.json`) carry `"type": "http"`. `validate:claude-plugins` + enforces this and the accepted transports (`http`, `streamable-http`, `sse`, `ws`). +- **The file belongs at the plugin root.** Codex resolves `mcpServers` relative to the plugin root + and did not pick the server up from a nested path in testing; the root location is also what + Claude Code auto-discovers, so the explicit reference and the default agree. +- **Version bumps move together.** `validate:codex-plugins` fails unless the Codex and Claude + manifests agree on `name`, `version`, `repository`, and `license`. +- **The server key is not the skill name.** The key `redis-docs` composes into the callable tool + name (`mcp__plugin_redis-development_redis-docs__search` in Claude Code), so renaming it changes + permission rules, `allowed-tools` entries, and hook matchers. + +Cursor is not covered here. Its marketplace `pluginRoot` is `skills`, so every Cursor plugin is a +single skill directory and its declaration ships with the `redis-docs-mcp` skill instead. The +`npx skills add` path carries no MCP at all. + ## Running Validators ```bash diff --git a/README.md b/README.md index 4d91cb4..24f9dde 100644 --- a/README.md +++ b/README.md @@ -52,6 +52,41 @@ This repository also includes Cursor plugin packaging. Run this command in chat: The top-level `skills/` directory remains the source of truth. `plugins/redis-development/skills/` holds generated real copies used by the ChatGPT, Codex, and Claude Code plugin package (not symlinks, which plugin installation flows may drop); `npm run sync:plugins` regenerates them and the pre-commit hook keeps them current. See [AGENTS.md](AGENTS.md#where-skills-live). +### Redis Docs MCP server + +The ChatGPT, Codex, and Claude Code plugin package bundles the official Redis documentation MCP +server at `https://redis.io/mcp`, so an agent can look up authoritative docs instead of relying on +stale training data. It needs **no credentials, no local Redis, and no configuration** — a public, +read-only, hosted endpoint that connects automatically once the plugin is enabled. + +Three read-only tools: `search` (query the docs index), `fetch` (retrieve a section by id), and +`ask` (a grounded answer with citations). + +| Channel | Carries the MCP server? | +|---------|-------------------------| +| Claude Code plugin | Yes | +| ChatGPT / Codex plugin | Yes | +| Cursor plugins | Not yet — Cursor packages one plugin per skill, so it arrives with the `redis-docs-mcp` skill | +| Agent Skills CLI (`npx skills add`) | No — the Agent Skills format has no MCP component | + +Both manifests point at one shared [`plugins/redis-development/.mcp.json`](plugins/redis-development/.mcp.json). +To add the server to any MCP client by hand: + +```bash +claude mcp add --transport http redis-docs https://redis.io/mcp +``` + +Two things worth knowing: + +- **`ask` is rate-limited** to roughly 4 requests/minute per IP, and that budget is shared across + everyone behind the same NAT. `search` + `fetch` carry a much looser limit and are the intended + default path. +- **Questions leave your machine.** Text passed to these tools reaches Redis and the model provider + behind the gateway. Don't send proprietary source, credentials, or customer data. + +If egress to `redis.io` is blocked the server will fail to connect. That is not a broken install — +every skill in this repo is static guidance and works offline. + ## Usage Skills are automatically available once installed. The agent will use them when relevant tasks are detected. diff --git a/plugins/redis-development/.claude-plugin/plugin.json b/plugins/redis-development/.claude-plugin/plugin.json index 1b8d4cf..a0cb318 100644 --- a/plugins/redis-development/.claude-plugin/plugin.json +++ b/plugins/redis-development/.claude-plugin/plugin.json @@ -1,7 +1,7 @@ { "name": "redis-development", - "version": "1.4.0", - "description": "Redis development best practices — data structures, query engine, vector search, caching, and performance optimization", + "version": "1.5.0", + "description": "Redis development best practices — data structures, query engine, vector search, caching, and performance optimization, plus live lookup of the official redis.io documentation", "author": { "name": "Redis", "url": "https://redis.io" @@ -9,6 +9,7 @@ "homepage": "https://redis.io", "repository": "https://github.com/redis/agent-skills", "license": "MIT", - "keywords": ["redis", "database", "caching", "vector-search", "performance", "best-practices"], - "skills": "./skills/" + "keywords": ["redis", "database", "caching", "vector-search", "performance", "best-practices", "documentation"], + "skills": "./skills/", + "mcpServers": "./.mcp.json" } diff --git a/plugins/redis-development/.codex-plugin/plugin.json b/plugins/redis-development/.codex-plugin/plugin.json index 367b732..925a69c 100644 --- a/plugins/redis-development/.codex-plugin/plugin.json +++ b/plugins/redis-development/.codex-plugin/plugin.json @@ -1,7 +1,7 @@ { "name": "redis-development", - "version": "1.4.0", - "description": "Redis development best practices for data modeling, search, caching, connections, clustering, security, observability, and agent memory", + "version": "1.5.0", + "description": "Redis development best practices for data modeling, search, caching, connections, clustering, security, observability, and agent memory, plus live lookup of the official redis.io documentation", "author": { "name": "Redis", "email": "support@redis.com", @@ -16,9 +16,11 @@ "caching", "vector-search", "performance", - "best-practices" + "best-practices", + "documentation" ], "skills": "./skills/", + "mcpServers": "./.mcp.json", "interface": { "displayName": "Redis Development", "shortDescription": "Build reliable, production-ready Redis applications", diff --git a/plugins/redis-development/.mcp.json b/plugins/redis-development/.mcp.json new file mode 100644 index 0000000..95e89f7 --- /dev/null +++ b/plugins/redis-development/.mcp.json @@ -0,0 +1,8 @@ +{ + "mcpServers": { + "redis-docs": { + "type": "http", + "url": "https://redis.io/mcp" + } + } +} diff --git a/scripts/validate-claude-plugins.mjs b/scripts/validate-claude-plugins.mjs index 824cc4d..56ce280 100644 --- a/scripts/validate-claude-plugins.mjs +++ b/scripts/validate-claude-plugins.mjs @@ -107,6 +107,76 @@ async function validateReferencedPath( } } +// Transports Claude Code accepts for a remote MCP server. "streamable-http" is +// an alias for "http" so configs copied from server docs work unchanged. +const remoteMcpTransports = new Set(["http", "streamable-http", "sse", "ws"]); + +// Resolve every inline mcpServers map a manifest contributes, following string +// values (and arrays of them) to the config files they point at. +async function collectMcpServerMaps(pluginDir, value, pluginName) { + if (typeof value === "string") { + const resolved = path.resolve(pluginDir, value); + const config = await readJsonFile( + resolved, + `${pluginName} mcp config "${value}"`, + ); + return config?.mcpServers ? [config.mcpServers] : []; + } + if (Array.isArray(value)) { + const maps = []; + for (const entry of value) { + maps.push(...(await collectMcpServerMaps(pluginDir, entry, pluginName))); + } + return maps; + } + if (value && typeof value === "object") { + return [value]; + } + return []; +} + +async function validateMcpServers(pluginDir, pluginManifest, pluginName) { + const maps = await collectMcpServerMaps( + pluginDir, + pluginManifest.mcpServers, + pluginName, + ); + + for (const map of maps) { + for (const [serverName, server] of Object.entries(map)) { + const label = `${pluginName}: mcpServers."${serverName}"`; + if (!server || typeof server !== "object" || Array.isArray(server)) { + addError(`${label} must be an object.`); + continue; + } + + const hasUrl = typeof server.url === "string" && server.url.length > 0; + const hasCommand = + typeof server.command === "string" && server.command.length > 0; + + if (!hasUrl && !hasCommand) { + addError(`${label} must define either "url" or "command".`); + continue; + } + + // Claude Code reads an entry with no "type" as a stdio server, so a + // remote server missing it is skipped at runtime rather than connected. + if (hasUrl && typeof server.type !== "string") { + addError( + `${label} has a "url" but no "type"; add "type": "http" (or "sse" / "ws").`, + ); + continue; + } + + if (hasUrl && !remoteMcpTransports.has(server.type)) { + addError( + `${label} has unsupported transport "${server.type}"; expected one of ${[...remoteMcpTransports].join(", ")}.`, + ); + } + } + } +} + async function main() { const marketplacePath = path.join( repoRoot, @@ -201,6 +271,8 @@ async function main() { await validateReferencedPath(pluginDir, field, value, entry.name); } } + + await validateMcpServers(pluginDir, pluginManifest, entry.name); } summarizeAndExit(); From e31c12615d4856a770052a0021fd6703f7bb35f9 Mon Sep 17 00:00:00 2001 From: Vishal Bala Date: Fri, 21 Aug 2026 11:21:15 +0200 Subject: [PATCH 02/14] docs: scope the MCP notes to the README Drop the AGENTS.md section. That file is the maintainers' guidance for this repo, and restructuring it is not an outside contributor's call to make; the constraints it recorded (type is required, the file belongs at the plugin root, the manifests' versions move together) are already in the commit that added the server and in the validator that enforces them. Trim the README down to what someone installing the plugin needs: what the server is, which channels carry it, and how to add it by hand. Refs RAAE-1835 --- AGENTS.md | 33 --------------------------------- README.md | 11 ----------- 2 files changed, 44 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 4eaba4c..156a0db 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -64,39 +64,6 @@ Use [skills/redis-core/](skills/redis-core/) as the reference layout. Editorial - Cursor: add an entry to `.cursor-plugin/marketplace.json` pointing at ``, then re-submit the repo at [cursor.com/marketplace/publish](https://cursor.com/marketplace/publish). Cursor does not pull from git. 6. Validate: `npm run validate` (covers plugin manifests, the vendored copies, eval baselines, and the agentskills.io spec). -## Bundled MCP Servers - -The plugin package declares the public Redis docs MCP server at `https://redis.io/mcp`, so enabling -the plugin connects it with no user configuration. MCP is always a **plugin-level** component: the -agentskills.io format has no MCP field, so a skill can describe tools but never carry them. - -One shared file, [plugins/redis-development/.mcp.json](plugins/redis-development/.mcp.json), -referenced by both manifests as `"mcpServers": "./.mcp.json"`. Claude Code and Codex accept the same -shape, so there is no reason to keep two copies: - -```json -{ "mcpServers": { "redis-docs": { "type": "http", "url": "https://redis.io/mcp" } } } -``` - -Constraints worth knowing before editing it: - -- **`type` is required.** Claude Code reads a `url` with no `type` as a stdio server, skips it at - startup, and reports it as misconfigured. Codex is the same: its own bundled plugins (see - `~/.codex/.tmp/plugins/plugins/github/.mcp.json`) carry `"type": "http"`. `validate:claude-plugins` - enforces this and the accepted transports (`http`, `streamable-http`, `sse`, `ws`). -- **The file belongs at the plugin root.** Codex resolves `mcpServers` relative to the plugin root - and did not pick the server up from a nested path in testing; the root location is also what - Claude Code auto-discovers, so the explicit reference and the default agree. -- **Version bumps move together.** `validate:codex-plugins` fails unless the Codex and Claude - manifests agree on `name`, `version`, `repository`, and `license`. -- **The server key is not the skill name.** The key `redis-docs` composes into the callable tool - name (`mcp__plugin_redis-development_redis-docs__search` in Claude Code), so renaming it changes - permission rules, `allowed-tools` entries, and hook matchers. - -Cursor is not covered here. Its marketplace `pluginRoot` is `skills`, so every Cursor plugin is a -single skill directory and its declaration ships with the `redis-docs-mcp` skill instead. The -`npx skills add` path carries no MCP at all. - ## Running Validators ```bash diff --git a/README.md b/README.md index 24f9dde..7f9fb70 100644 --- a/README.md +++ b/README.md @@ -76,17 +76,6 @@ To add the server to any MCP client by hand: claude mcp add --transport http redis-docs https://redis.io/mcp ``` -Two things worth knowing: - -- **`ask` is rate-limited** to roughly 4 requests/minute per IP, and that budget is shared across - everyone behind the same NAT. `search` + `fetch` carry a much looser limit and are the intended - default path. -- **Questions leave your machine.** Text passed to these tools reaches Redis and the model provider - behind the gateway. Don't send proprietary source, credentials, or customer data. - -If egress to `redis.io` is blocked the server will fail to connect. That is not a broken install — -every skill in this repo is static guidance and works offline. - ## Usage Skills are automatically available once installed. The agent will use them when relevant tasks are detected. From c4dc7ff9039ee2039bcde8d37be5dc4a0e47bb3c Mon Sep 17 00:00:00 2001 From: Vishal Bala Date: Mon, 24 Aug 2026 10:30:33 +0200 Subject: [PATCH 03/14] feat(redis-docs-mcp): add the docs MCP skill and wire it into Cursor Follows the manifest wiring that declared the public docs MCP gateway for Claude Code and Codex, and adds the two things it left out. Cursor: its marketplace sets pluginRoot: skills, so a Cursor plugin is a skill directory and a server can only be declared from inside one. The new skill carries the mcpServers block and gets a marketplace entry. Guidance: the gateway ships its own tool descriptions, and on when to call each tool they are already accurate, so the skill does not restate them. It covers only what those descriptions get wrong or leave out: - ids address sections, not pages, in four shapes; repeated urls in one result set are adjacent sections rather than duplicates; a #sec: id returns ~1-2 KB while a bare page id returns the whole page; never construct an id - metadata.version means "added in", not "current as of" - client usage guides and operate/ docs are indexed, symbol-level client API reference is not, and a miss means "not on redis.io" rather than "no such thing" - the ask rate limit, and why a grounded refusal must not be retried reworded No references/ directory, unlike the other eight skills. The convention is to move long code samples out of SKILL.md; this skill has none, and every line in it is hot path for a tool the agent is about to call in the same turn. Splitting ~50 lines across five files would add a summary and a pointer per file for no gain, and putting "never construct an id" behind an on-demand load means the agent constructs one first. Three claims in the first draft of this skill were wrong, and are corrected here against the live endpoint. metadata.version is a real Redis version on commands pages (the introducing release); client library documentation is indexed, only symbol-level reference is missing; and release notes are indexed too. Two of the three had already been written into evals, so the suite would have rewarded the wrong behaviour and the baseline would have frozen it. The eval suite embeds the server's own instructions and tool descriptions in both arms, because in production the agent always has them - otherwise the measured delta credits the skill for work the tool descriptions already do. The harness spawns the CLI without --mcp-config, so the suite grades stated approach rather than tool calls; invocation is verified manually instead. The Cursor manifest omits "type", matching Cursor's published example, while Claude Code requires it. That asymmetry is deliberate. Server key stays redis-docs so the composed tool name stays mcp__plugin_redis-development_redis-docs__search; the skill directory takes the clearer -mcp suffix, which also matches the gateway's own serverInfo.name. redis-development and the Claude marketplace move to 1.6.0; the Cursor marketplace to 1.5.0 with the new entry at 1.0.0. Suite result: mean +33 pass-rate points, all three models improve, and the skill arm is also more concise (-363 tokens mean). Per model: opus-5 70 -> 95, sonnet-5 53 -> 95, haiku-4.5 45 -> 77. --- .claude-plugin/marketplace.json | 4 +- .cursor-plugin/marketplace.json | 10 +- .../docs-mcp/baselines/README.md | 28 + .../baselines/aggregate-benchmark.json | 583 ++++++++++++++++++ .../docs-mcp/baselines/aggregate-benchmark.md | 39 ++ .../docs-mcp/baselines/baseline.json | 15 + .../docs-mcp/baselines/model-matrix.json | 16 + evals/redis-docs-mcp/docs-mcp/evals.json | 93 +++ .../redis-docs-mcp/docs-mcp/model-matrix.json | 16 + .../.claude-plugin/plugin.json | 2 +- .../.codex-plugin/plugin.json | 2 +- .../skills/redis-docs-mcp/SKILL.md | 66 ++ .../redis-docs-mcp/.cursor-plugin/plugin.json | 18 + skills/redis-docs-mcp/SKILL.md | 66 ++ 14 files changed, 953 insertions(+), 5 deletions(-) create mode 100644 evals/redis-docs-mcp/docs-mcp/baselines/README.md create mode 100644 evals/redis-docs-mcp/docs-mcp/baselines/aggregate-benchmark.json create mode 100644 evals/redis-docs-mcp/docs-mcp/baselines/aggregate-benchmark.md create mode 100644 evals/redis-docs-mcp/docs-mcp/baselines/baseline.json create mode 100644 evals/redis-docs-mcp/docs-mcp/baselines/model-matrix.json create mode 100644 evals/redis-docs-mcp/docs-mcp/evals.json create mode 100644 evals/redis-docs-mcp/docs-mcp/model-matrix.json create mode 100644 plugins/redis-development/skills/redis-docs-mcp/SKILL.md create mode 100644 skills/redis-docs-mcp/.cursor-plugin/plugin.json create mode 100644 skills/redis-docs-mcp/SKILL.md diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json index b2f30c4..b084c66 100644 --- a/.claude-plugin/marketplace.json +++ b/.claude-plugin/marketplace.json @@ -6,14 +6,14 @@ }, "metadata": { "description": "Official Redis plugins for Claude Code", - "version": "1.5.0" + "version": "1.6.0" }, "plugins": [ { "name": "redis-development", "source": "./plugins/redis-development", "description": "Redis development best practices — data structures, Redis Search (lexical + vector + hybrid retrieval), caching, and performance optimization, plus Iris Redis Agent Memory and live lookup of the official redis.io documentation.", - "version": "1.5.0", + "version": "1.6.0", "category": "database", "tags": ["redis", "database", "caching", "vector-search", "performance", "documentation"] } diff --git a/.cursor-plugin/marketplace.json b/.cursor-plugin/marketplace.json index f580065..ed748c0 100644 --- a/.cursor-plugin/marketplace.json +++ b/.cursor-plugin/marketplace.json @@ -6,7 +6,7 @@ }, "metadata": { "description": "Official Redis plugins for Cursor", - "version": "1.4.0", + "version": "1.5.0", "pluginRoot": "skills" }, "plugins": [ @@ -66,6 +66,14 @@ "category": "database", "tags": ["redis", "observability", "monitoring"] }, + { + "name": "redis-docs-mcp", + "source": "redis-docs-mcp", + "description": "Official Redis documentation lookup over MCP — search the redis.io docs index, fetch the exact section, or get a grounded answer with citations, instead of relying on stale model recall.", + "version": "1.0.0", + "category": "database", + "tags": ["redis", "documentation", "mcp", "search", "reference"] + }, { "name": "iris-development", "source": "iris-development", diff --git a/evals/redis-docs-mcp/docs-mcp/baselines/README.md b/evals/redis-docs-mcp/docs-mcp/baselines/README.md new file mode 100644 index 0000000..34b29ac --- /dev/null +++ b/evals/redis-docs-mcp/docs-mcp/baselines/README.md @@ -0,0 +1,28 @@ +# docs-mcp Baseline + +Updated: 2026-08-24T08:30:10.470Z + +Skill: `redis-docs-mcp` + +Suite: `docs-mcp` + +Source iteration: `iteration-1` + +Source output: `eval-workspaces/redis-docs-mcp/docs-mcp/iteration-1` + +This is a curated aggregate benchmark snapshot. Use it as the shared reference +when comparing future skill changes against the current accepted behavior. + +## Included Files + +- `aggregate-benchmark.json` +- `aggregate-benchmark.md` +- `model-matrix.json` +- `baseline.json` +- `README.md` + +## Update Command + +```bash +npm run eval:baseline -- --skill redis-docs-mcp --suite docs-mcp +``` diff --git a/evals/redis-docs-mcp/docs-mcp/baselines/aggregate-benchmark.json b/evals/redis-docs-mcp/docs-mcp/baselines/aggregate-benchmark.json new file mode 100644 index 0000000..c221e28 --- /dev/null +++ b/evals/redis-docs-mcp/docs-mcp/baselines/aggregate-benchmark.json @@ -0,0 +1,583 @@ +{ + "generated_at": "2026-08-24T08:30:10.454Z", + "input_root": "eval-workspaces/redis-docs-mcp/docs-mcp/iteration-1", + "context": { + "skill_name": "redis-docs-mcp", + "suite_name": "docs-mcp" + }, + "models": [ + { + "model_dir": "anthropic__claude-haiku-4-5-20251001", + "model": "claude-haiku-4-5-20251001", + "provider": "anthropic", + "analyzer_model": "", + "runs_per_configuration": 3, + "evals_run": [ + 1, + 2, + 3, + 4, + 5 + ], + "without_skill": { + "count": 10, + "pass_rate": 0.45, + "time_seconds": 16.2795, + "tokens": 1471.2 + }, + "with_skill": { + "count": 10, + "pass_rate": 0.7666666666666667, + "time_seconds": 21.9795, + "tokens": 1374.9 + }, + "delta": { + "pass_rate": 0.3166666666666667, + "time_seconds": 5.700000000000003, + "tokens": -96.29999999999995 + }, + "cost": { + "generation_usd": 1.324492, + "grading_usd": 2.834956, + "total_usd": 4.159449, + "with_skill_usd": 2.206942, + "without_skill_usd": 1.952507, + "delta_usd": 0.025443, + "runs_with_cost": 20 + }, + "verdict": "improves" + }, + { + "model_dir": "anthropic__claude-opus-5", + "model": "claude-opus-5", + "provider": "anthropic", + "analyzer_model": "", + "runs_per_configuration": 3, + "evals_run": [ + 1, + 2, + 3, + 4, + 5 + ], + "without_skill": { + "count": 10, + "pass_rate": 0.7000000000000001, + "time_seconds": 39.49209999999999, + "tokens": 3662.7 + }, + "with_skill": { + "count": 10, + "pass_rate": 0.95, + "time_seconds": 33.2445, + "tokens": 3361.4 + }, + "delta": { + "pass_rate": 0.2499999999999999, + "time_seconds": -6.247599999999991, + "tokens": -301.2999999999997 + }, + "cost": { + "generation_usd": 7.051852, + "grading_usd": 2.939345, + "total_usd": 9.991196, + "with_skill_usd": 5.205659, + "without_skill_usd": 4.785537, + "delta_usd": 0.042012, + "runs_with_cost": 20 + }, + "verdict": "improves" + }, + { + "model_dir": "anthropic__claude-sonnet-5", + "model": "claude-sonnet-5", + "provider": "anthropic", + "analyzer_model": "", + "runs_per_configuration": 3, + "evals_run": [ + 1, + 2, + 3, + 4, + 5 + ], + "without_skill": { + "count": 10, + "pass_rate": 0.5333333333333334, + "time_seconds": 25.464399999999998, + "tokens": 2450 + }, + "with_skill": { + "count": 10, + "pass_rate": 0.9500000000000002, + "time_seconds": 24.272800000000004, + "tokens": 1758.9 + }, + "delta": { + "pass_rate": 0.41666666666666674, + "time_seconds": -1.191599999999994, + "tokens": -691.0999999999999 + }, + "cost": { + "generation_usd": 5.845243, + "grading_usd": 2.657929, + "total_usd": 8.503171, + "with_skill_usd": 4.544788, + "without_skill_usd": 3.958383, + "delta_usd": 0.05864, + "runs_with_cost": 20 + }, + "verdict": "improves" + } + ], + "evals": [ + { + "eval_id": 1, + "eval_name": "sections-not-pages", + "without_skill": { + "count": 6, + "pass_rate": 0.47222222222222227, + "time_seconds": 31.455666666666662, + "tokens": 2254.1666666666665 + }, + "with_skill": { + "count": 6, + "pass_rate": 0.8611111111111112, + "time_seconds": 26.040000000000003, + "tokens": 2245.5 + }, + "delta": { + "pass_rate": 0.3888888888888889, + "time_seconds": -5.4156666666666595, + "tokens": -8.666666666666515 + }, + "mean_delta_pass_rate": 0.3888888888888889, + "models": [ + { + "model": "claude-haiku-4-5-20251001", + "eval_name": "sections-not-pages", + "with_skill": { + "count": 2, + "pass_rate": 0.8333333333333334, + "time_seconds": 27.518, + "tokens": 1545.5 + }, + "without_skill": { + "count": 2, + "pass_rate": 0.5, + "time_seconds": 18.767, + "tokens": 1587 + }, + "delta": { + "pass_rate": 0.33333333333333337, + "time_seconds": 8.751000000000001, + "tokens": -41.5 + } + }, + { + "model": "claude-opus-5", + "eval_name": "sections-not-pages", + "with_skill": { + "count": 2, + "pass_rate": 0.8333333333333334, + "time_seconds": 25.2705, + "tokens": 3106.5 + }, + "without_skill": { + "count": 2, + "pass_rate": 0.75, + "time_seconds": 45.1365, + "tokens": 2671 + }, + "delta": { + "pass_rate": 0.08333333333333337, + "time_seconds": -19.866, + "tokens": 435.5 + } + }, + { + "model": "claude-sonnet-5", + "eval_name": "sections-not-pages", + "with_skill": { + "count": 2, + "pass_rate": 0.9166666666666667, + "time_seconds": 25.3315, + "tokens": 2084.5 + }, + "without_skill": { + "count": 2, + "pass_rate": 0.16666666666666666, + "time_seconds": 30.463500000000003, + "tokens": 2504.5 + }, + "delta": { + "pass_rate": 0.7500000000000001, + "time_seconds": -5.132000000000005, + "tokens": -420 + } + } + ] + }, + { + "eval_id": 2, + "eval_name": "never-construct-ids", + "without_skill": { + "count": 6, + "pass_rate": 0.4166666666666667, + "time_seconds": 25.557333333333332, + "tokens": 2103 + }, + "with_skill": { + "count": 6, + "pass_rate": 1, + "time_seconds": 23.640833333333333, + "tokens": 1768.1666666666667 + }, + "delta": { + "pass_rate": 0.5833333333333333, + "time_seconds": -1.9164999999999992, + "tokens": -334.83333333333326 + }, + "mean_delta_pass_rate": 0.5833333333333333, + "models": [ + { + "model": "claude-haiku-4-5-20251001", + "eval_name": "never-construct-ids", + "with_skill": { + "count": 2, + "pass_rate": 1, + "time_seconds": 20.433999999999997, + "tokens": 1105.5 + }, + "without_skill": { + "count": 2, + "pass_rate": 0.25, + "time_seconds": 16.6225, + "tokens": 1322.5 + }, + "delta": { + "pass_rate": 0.75, + "time_seconds": 3.8114999999999988, + "tokens": -217 + } + }, + { + "model": "claude-opus-5", + "eval_name": "never-construct-ids", + "with_skill": { + "count": 2, + "pass_rate": 1, + "time_seconds": 23.631999999999998, + "tokens": 2485.5 + }, + "without_skill": { + "count": 2, + "pass_rate": 0.3333333333333333, + "time_seconds": 34.4275, + "tokens": 2958.5 + }, + "delta": { + "pass_rate": 0.6666666666666667, + "time_seconds": -10.795500000000004, + "tokens": -473 + } + }, + { + "model": "claude-sonnet-5", + "eval_name": "never-construct-ids", + "with_skill": { + "count": 2, + "pass_rate": 1, + "time_seconds": 26.8565, + "tokens": 1713.5 + }, + "without_skill": { + "count": 2, + "pass_rate": 0.6666666666666666, + "time_seconds": 25.622, + "tokens": 2028 + }, + "delta": { + "pass_rate": 0.33333333333333337, + "time_seconds": 1.2345000000000006, + "tokens": -314.5 + } + } + ] + }, + { + "eval_id": 3, + "eval_name": "version-metadata-trap", + "without_skill": { + "count": 6, + "pass_rate": 0.8055555555555557, + "time_seconds": 21.548333333333336, + "tokens": 2383.8333333333335 + }, + "with_skill": { + "count": 6, + "pass_rate": 0.861111111111111, + "time_seconds": 19.8115, + "tokens": 1790 + }, + "delta": { + "pass_rate": 0.05555555555555536, + "time_seconds": -1.7368333333333368, + "tokens": -593.8333333333335 + }, + "mean_delta_pass_rate": 0.05555555555555536, + "models": [ + { + "model": "claude-haiku-4-5-20251001", + "eval_name": "version-metadata-trap", + "with_skill": { + "count": 2, + "pass_rate": 0.5833333333333333, + "time_seconds": 14.4705, + "tokens": 1278.5 + }, + "without_skill": { + "count": 2, + "pass_rate": 0.75, + "time_seconds": 14.4635, + "tokens": 1326 + }, + "delta": { + "pass_rate": -0.16666666666666674, + "time_seconds": 0.006999999999999673, + "tokens": -47.5 + } + }, + { + "model": "claude-opus-5", + "eval_name": "version-metadata-trap", + "with_skill": { + "count": 2, + "pass_rate": 1, + "time_seconds": 29.3495, + "tokens": 2643.5 + }, + "without_skill": { + "count": 2, + "pass_rate": 0.8333333333333334, + "time_seconds": 34.707, + "tokens": 3476.5 + }, + "delta": { + "pass_rate": 0.16666666666666663, + "time_seconds": -5.357500000000002, + "tokens": -833 + } + }, + { + "model": "claude-sonnet-5", + "eval_name": "version-metadata-trap", + "with_skill": { + "count": 2, + "pass_rate": 1, + "time_seconds": 15.6145, + "tokens": 1448 + }, + "without_skill": { + "count": 2, + "pass_rate": 0.8333333333333334, + "time_seconds": 15.4745, + "tokens": 2349 + }, + "delta": { + "pass_rate": 0.16666666666666663, + "time_seconds": 0.1399999999999988, + "tokens": -901 + } + } + ] + }, + { + "eval_id": 4, + "eval_name": "corpus-boundary-miss", + "without_skill": { + "count": 6, + "pass_rate": 0.611111111111111, + "time_seconds": 19.897, + "tokens": 2447.6666666666665 + }, + "with_skill": { + "count": 6, + "pass_rate": 0.8888888888888888, + "time_seconds": 26.418666666666667, + "tokens": 1935.3333333333333 + }, + "delta": { + "pass_rate": 0.2777777777777778, + "time_seconds": 6.521666666666668, + "tokens": -512.3333333333333 + }, + "mean_delta_pass_rate": 0.2777777777777778, + "models": [ + { + "model": "claude-haiku-4-5-20251001", + "eval_name": "corpus-boundary-miss", + "with_skill": { + "count": 2, + "pass_rate": 0.6666666666666666, + "time_seconds": 24.3495, + "tokens": 1376 + }, + "without_skill": { + "count": 2, + "pass_rate": 0.3333333333333333, + "time_seconds": 14.665000000000001, + "tokens": 1343 + }, + "delta": { + "pass_rate": 0.3333333333333333, + "time_seconds": 9.684499999999998, + "tokens": 33 + } + }, + { + "model": "claude-opus-5", + "eval_name": "corpus-boundary-miss", + "with_skill": { + "count": 2, + "pass_rate": 1, + "time_seconds": 33.3575, + "tokens": 3159 + }, + "without_skill": { + "count": 2, + "pass_rate": 1, + "time_seconds": 31.461, + "tokens": 3810 + }, + "delta": { + "pass_rate": 0, + "time_seconds": 1.8965000000000032, + "tokens": -651 + } + }, + { + "model": "claude-sonnet-5", + "eval_name": "corpus-boundary-miss", + "with_skill": { + "count": 2, + "pass_rate": 1, + "time_seconds": 21.549, + "tokens": 1271 + }, + "without_skill": { + "count": 2, + "pass_rate": 0.5, + "time_seconds": 13.565, + "tokens": 2190 + }, + "delta": { + "pass_rate": 0.5, + "time_seconds": 7.984, + "tokens": -919 + } + } + ] + }, + { + "eval_id": 5, + "eval_name": "ask-economics", + "without_skill": { + "count": 6, + "pass_rate": 0.5, + "time_seconds": 36.935, + "tokens": 3451.1666666666665 + }, + "with_skill": { + "count": 6, + "pass_rate": 0.8333333333333334, + "time_seconds": 36.583666666666666, + "tokens": 3086.3333333333335 + }, + "delta": { + "pass_rate": 0.33333333333333337, + "time_seconds": -0.3513333333333364, + "tokens": -364.83333333333303 + }, + "mean_delta_pass_rate": 0.33333333333333337, + "models": [ + { + "model": "claude-haiku-4-5-20251001", + "eval_name": "ask-economics", + "with_skill": { + "count": 2, + "pass_rate": 0.75, + "time_seconds": 23.1255, + "tokens": 1569 + }, + "without_skill": { + "count": 2, + "pass_rate": 0.41666666666666663, + "time_seconds": 16.8795, + "tokens": 1777.5 + }, + "delta": { + "pass_rate": 0.33333333333333337, + "time_seconds": 6.245999999999999, + "tokens": -208.5 + } + }, + { + "model": "claude-opus-5", + "eval_name": "ask-economics", + "with_skill": { + "count": 2, + "pass_rate": 0.9166666666666667, + "time_seconds": 54.613, + "tokens": 5412.5 + }, + "without_skill": { + "count": 2, + "pass_rate": 0.5833333333333333, + "time_seconds": 51.7285, + "tokens": 5397.5 + }, + "delta": { + "pass_rate": 0.3333333333333335, + "time_seconds": 2.8845000000000027, + "tokens": 15 + } + }, + { + "model": "claude-sonnet-5", + "eval_name": "ask-economics", + "with_skill": { + "count": 2, + "pass_rate": 0.8333333333333334, + "time_seconds": 32.0125, + "tokens": 2277.5 + }, + "without_skill": { + "count": 2, + "pass_rate": 0.5, + "time_seconds": 42.197, + "tokens": 3178.5 + }, + "delta": { + "pass_rate": 0.33333333333333337, + "time_seconds": -10.1845, + "tokens": -901 + } + } + ] + } + ], + "overall": { + "models": 3, + "total_cost_usd": 22.653816, + "generation_cost_usd": 14.221587, + "grading_cost_usd": 8.43223, + "mean_delta_pass_rate": 0.3277777777777778, + "mean_delta_tokens": -362.89999999999986, + "mean_delta_time_seconds": -0.5797333333333275, + "mean_delta_cost_usd": 0.04203166666666667, + "models_improved": 3, + "models_neutral": 0, + "models_degraded": 0 + } +} diff --git a/evals/redis-docs-mcp/docs-mcp/baselines/aggregate-benchmark.md b/evals/redis-docs-mcp/docs-mcp/baselines/aggregate-benchmark.md new file mode 100644 index 0000000..1d364cb --- /dev/null +++ b/evals/redis-docs-mcp/docs-mcp/baselines/aggregate-benchmark.md @@ -0,0 +1,39 @@ +# Skill Benchmark + +Generated: 2026-08-24T08:30:10.454Z + +Skill: redis-docs-mcp + +Suite: docs-mcp + +Input: `eval-workspaces/redis-docs-mcp/docs-mcp/iteration-1` + +## Overall + +- Models: 3 +- Mean pass-rate delta: +33 points +- Mean token delta: -363 +- Mean time delta: -0.6s +- Total eval cost: $22.6538 +- Mean cost delta: +$0.0420 +- Verdict counts: 3 improves, 0 neutral, 0 degrades + + + +## By Model + +| Model | Without Skill | With Skill | Pass Delta | Token Delta | Time Delta | Total Cost | Cost Delta | Verdict | +|-------|---------------|------------|------------|-------------|------------|------------|------------|---------| +| claude-haiku-4-5-20251001 | 45% | 77% | +32 points | -96 | +5.7s | $4.1594 | +$0.0254 | improves | +| claude-opus-5 | 70% | 95% | +25 points | -301 | -6.2s | $9.9912 | +$0.0420 | improves | +| claude-sonnet-5 | 53% | 95% | +42 points | -691 | -1.2s | $8.5032 | +$0.0586 | improves | + +## By Eval + +| Eval | Without Skill | With Skill | Pass Delta | Token Delta | Time Delta | Model Pass Deltas | +|------|---------------|------------|------------|-------------|------------|-------------------| +| sections-not-pages | 47% | 86% | +39 points | -9 | -5.4s | claude-haiku-4-5-20251001: +33 points
claude-opus-5: +8 points
claude-sonnet-5: +75 points | +| never-construct-ids | 42% | 100% | +58 points | -335 | -1.9s | claude-haiku-4-5-20251001: +75 points
claude-opus-5: +67 points
claude-sonnet-5: +33 points | +| version-metadata-trap | 81% | 86% | +6 points | -594 | -1.7s | claude-haiku-4-5-20251001: -17 points
claude-opus-5: +17 points
claude-sonnet-5: +17 points | +| corpus-boundary-miss | 61% | 89% | +28 points | -512 | +6.5s | claude-haiku-4-5-20251001: +33 points
claude-opus-5: +0 points
claude-sonnet-5: +50 points | +| ask-economics | 50% | 83% | +33 points | -365 | -0.4s | claude-haiku-4-5-20251001: +33 points
claude-opus-5: +33 points
claude-sonnet-5: +33 points | diff --git a/evals/redis-docs-mcp/docs-mcp/baselines/baseline.json b/evals/redis-docs-mcp/docs-mcp/baselines/baseline.json new file mode 100644 index 0000000..0e8bab7 --- /dev/null +++ b/evals/redis-docs-mcp/docs-mcp/baselines/baseline.json @@ -0,0 +1,15 @@ +{ + "baseline_name": "current", + "updated_at": "2026-08-24T08:30:10.470Z", + "skill_name": "redis-docs-mcp", + "eval_suite": "docs-mcp", + "iteration": "iteration-1", + "input_root": "eval-workspaces/redis-docs-mcp/docs-mcp/iteration-1", + "included_files": [ + "aggregate-benchmark.json", + "aggregate-benchmark.md", + "model-matrix.json", + "baseline.json", + "README.md" + ] +} diff --git a/evals/redis-docs-mcp/docs-mcp/baselines/model-matrix.json b/evals/redis-docs-mcp/docs-mcp/baselines/model-matrix.json new file mode 100644 index 0000000..e88c248 --- /dev/null +++ b/evals/redis-docs-mcp/docs-mcp/baselines/model-matrix.json @@ -0,0 +1,16 @@ +{ + "eval_suite": "docs-mcp", + "description": "Cross-model run plan for the redis-docs-mcp eval suite (section-scoped ids, id construction, metadata.version, corpus boundaries, ask economics). Anthropic skill-creator tooling owns generation, grading, per-model benchmark.json, and benchmark.md; this file records the model matrix we run before combining per-model benchmark files. Note the harness gives runs no MCP access, so the suite grades stated approach rather than tool calls.", + "models": [ + "claude-opus-5", + "claude-sonnet-5", + "claude-haiku-4-5-20251001" + ], + "configurations": [ + "with_skill", + "without_skill" + ], + "repetitions": 2, + "judge_model": "claude-sonnet-5", + "default_iteration": "iteration-1" +} diff --git a/evals/redis-docs-mcp/docs-mcp/evals.json b/evals/redis-docs-mcp/docs-mcp/evals.json new file mode 100644 index 0000000..2cf01fb --- /dev/null +++ b/evals/redis-docs-mcp/docs-mcp/evals.json @@ -0,0 +1,93 @@ +{ + "skill_name": "redis-docs-mcp", + "eval_suite": "docs-mcp", + "description": "Evals for the redis-docs-mcp skill: reading what the redis.io docs MCP server actually returns. Each prompt embeds the server's own instructions and tool descriptions in both arms, because in production the agent always has them - so the measured delta is the skill's guidance alone, not credit for what the tool descriptions already say. The discriminators are section-scoped ids, the metadata.version trap, and treating a search miss as non-existence.", + "evals": [ + { + "id": 1, + "name": "sections-not-pages", + "prompt": "My agent has the redis-docs MCP server connected. Its tool inventory reads:\n\nServer instructions: \"Authoritative, up-to-date Redis documentation. Consult these tools for any question about Redis - commands, configuration, data types, clients, deployment, RediSearch/JSON, version-specific behavior - rather than answering from prior knowledge, which may be stale (Redis 8 changed several defaults and behaviors). Cite the pages you read. Start with `search`, then `fetch` the pages you need. Reserve `ask` for a question spanning several areas of the documentation at once; it takes several seconds, so prefer `search` when one page would answer.\"\n\n- `search(query)`: \"Search the Redis documentation by free-text query. Returns up to 8 matching pages, each with a text snippet and that page's stable `id`. This is the default tool for a Redis question. Search first, then `fetch` any `id` whose full text you need - one search plus a fetch or two answers most questions.\"\n- `fetch(id)`: \"Return the full text and metadata for one Redis documentation page: title, canonical URL, body text, and topic/version/section metadata. Takes an `id` from a `search` result or from an `ask` result's `sources`. Use it when a snippet is not enough to answer confidently, or to quote the documentation exactly.\"\n- `ask(question)`: \"Ask a natural-language question about Redis. Returns a prose answer plus the source documents behind it - any `sources[].id` can be passed to `fetch`. If the documentation does not cover the question, the answer says so. Reserve `ask` for a question spanning several areas of the documentation, where no single page answers and the parts interact - or when a `search` has come back empty or off-target. `ask` takes several seconds, so use `search` and `fetch` for anything narrower.\"\n\nDebugging our integration and I think the index is broken. A search for 'hash field expiration' came back with what look like three duplicate results - same url three times. I fetched the first of those ids and got about a kilobyte of text, nowhere near the page. But when I fetched `commands/hexpire` I got the whole page, several kilobytes, examples and all. Same tool, two completely different behaviours. What is going on and do I need to work around it?", + "expected_output": "Explains the index is per-section rather than per-page: the three hits share a page url but carry distinct section ids, so they are different sections of that page rather than duplicates, and the size difference follows the id shape - a section id returns that one section while a bare page id returns the whole page. Nothing is broken; to cover the topic, fetch the other section ids the search already returned.", + "covered_rules": [ + "docs-section-ids" + ], + "expectations": [ + "The output identifies that the documentation index is section-scoped rather than page-scoped.", + "The output explains that results sharing one url are different sections of the same page, not duplicate hits.", + "The output ties the size difference to the shape of the id, explaining that a section id returns one section while a bare page id such as commands/hexpire returns the whole page.", + "The output states that neither response is a bug, a truncation, or a misconfiguration to work around.", + "The output advises fetching the other section ids already present in the search results rather than re-running the search.", + "The output does not attribute the short response to a client-side response-size limit or a broken index." + ] + }, + { + "id": 2, + "name": "never-construct-ids", + "prompt": "My agent has the redis-docs MCP server connected. Its tool inventory reads:\n\nServer instructions: \"Authoritative, up-to-date Redis documentation. Consult these tools for any question about Redis - commands, configuration, data types, clients, deployment, RediSearch/JSON, version-specific behavior - rather than answering from prior knowledge, which may be stale (Redis 8 changed several defaults and behaviors). Cite the pages you read. Start with `search`, then `fetch` the pages you need. Reserve `ask` for a question spanning several areas of the documentation at once; it takes several seconds, so prefer `search` when one page would answer.\"\n\n- `search(query)`: \"Search the Redis documentation by free-text query. Returns up to 8 matching pages, each with a text snippet and that page's stable `id`. This is the default tool for a Redis question. Search first, then `fetch` any `id` whose full text you need - one search plus a fetch or two answers most questions.\"\n- `fetch(id)`: \"Return the full text and metadata for one Redis documentation page: title, canonical URL, body text, and topic/version/section metadata. Takes an `id` from a `search` result or from an `ask` result's `sources`. Use it when a snippet is not enough to answer confidently, or to quote the documentation exactly.\"\n- `ask(question)`: \"Ask a natural-language question about Redis. Returns a prose answer plus the source documents behind it - any `sources[].id` can be passed to `fetch`. If the documentation does not cover the question, the answer says so. Reserve `ask` for a question spanning several areas of the documentation, where no single page answers and the parts interact - or when a `search` has come back empty or off-target. `ask` takes several seconds, so use `search` and `fetch` for anything narrower.\"\n\nWriting a small wrapper around these tools. To save a round trip I want to skip search entirely when I already know the page I want, and build the fetch id from the url - so `commands/setex` for https://redis.io/docs/latest/commands/setex/, and by the same rule `develop/data-types/hashes` for the hashes page. I spot-checked the first one and it worked. Is this sane to build on?", + "expected_output": "Says no: ids must come from a search result or an ask result's sources rather than being constructed. Acknowledges the url-derived form happens to work for simple command pages, but explains that longer pages are addressed by section ids carrying a #sec: suffix that cannot be derived from a url, so the rule breaks exactly where the pages are big enough for the saving to matter.", + "covered_rules": [ + "docs-id-construction", + "docs-section-ids" + ], + "expectations": [ + "The output advises against constructing fetch ids and states that valid ids come from a search result or from an ask result's sources.", + "The output acknowledges that the url-derived form does work for simple command pages such as commands/setex.", + "The output explains that longer pages are addressed by section-scoped ids carrying a #sec: suffix that cannot be derived from the url.", + "The output gives at least one concrete example of a section id shape the url-derived rule cannot produce, such as a named anchor or an ordinal window suffix.", + "The output does not endorse url-to-id construction as a general way to save a round trip.", + "The output offers a legitimate alternative, such as reusing ids already returned by an earlier search or by ask sources." + ] + }, + { + "id": 3, + "name": "version-metadata-trap", + "prompt": "My agent has the redis-docs MCP server connected. Its tool inventory reads:\n\nServer instructions: \"Authoritative, up-to-date Redis documentation. Consult these tools for any question about Redis - commands, configuration, data types, clients, deployment, RediSearch/JSON, version-specific behavior - rather than answering from prior knowledge, which may be stale (Redis 8 changed several defaults and behaviors). Cite the pages you read. Start with `search`, then `fetch` the pages you need. Reserve `ask` for a question spanning several areas of the documentation at once; it takes several seconds, so prefer `search` when one page would answer.\"\n\n- `search(query)`: \"Search the Redis documentation by free-text query. Returns up to 8 matching pages, each with a text snippet and that page's stable `id`. This is the default tool for a Redis question. Search first, then `fetch` any `id` whose full text you need - one search plus a fetch or two answers most questions.\"\n- `fetch(id)`: \"Return the full text and metadata for one Redis documentation page: title, canonical URL, body text, and topic/version/section metadata. Takes an `id` from a `search` result or from an `ask` result's `sources`. Use it when a snippet is not enough to answer confidently, or to quote the documentation exactly.\"\n- `ask(question)`: \"Ask a natural-language question about Redis. Returns a prose answer plus the source documents behind it - any `sources[].id` can be passed to `fetch`. If the documentation does not cover the question, the answer says so. Reserve `ask` for a question spanning several areas of the documentation, where no single page answers and the parts interact - or when a `search` has come back empty or off-target. `ask` takes several seconds, so use `search` and `fetch` for anything narrower.\"\n\nReviewing a transcript. A user asked whether EXPIRE's behaviour changed in Redis 8. Our agent fetched `commands/expire`, saw `version: \"1.0.0\"` in the returned metadata, and answered that EXPIRE has been stable since Redis 1.0.0 with nothing new in Redis 8. Earlier in the same session it had fetched a Redis Search page whose metadata read `version: \"stack\"` and quietly ignored it. Was that answer sound, and what should the agent key off instead?", + "expected_output": "States the answer was unsound: on a command page metadata.version is the release the command was introduced in, not an assertion that nothing changed afterwards - and EXPIRE's own page body documents a change prior to 2.1.3 and a Redis 8 interaction with Redis Search. The 'stack' value shows the field is not even a release outside commands pages. Version questions should be answered from the page body prose and cited from there.", + "covered_rules": [ + "docs-version-metadata" + ], + "expectations": [ + "The output identifies metadata.version on a command page as the release the command was introduced in.", + "The output states that the field says nothing about behaviour changes after that release, so the agent's 'stable since 1.0.0' conclusion was unsupported.", + "The output notes that the EXPIRE page's own body text documents later changes, such as the pre-2.1.3 behaviour or the Redis 8 interaction with Redis Search.", + "The output explains that the 'stack' value is a product channel rather than a release, so the field is not uniformly a version number across the corpus.", + "The output directs that version-specific questions be answered from the page body prose and cited from there.", + "The output does not treat 1.0.0 as evidence that the command is unchanged since that release." + ] + }, + { + "id": 4, + "name": "corpus-boundary-miss", + "prompt": "My agent has the redis-docs MCP server connected. Its tool inventory reads:\n\nServer instructions: \"Authoritative, up-to-date Redis documentation. Consult these tools for any question about Redis - commands, configuration, data types, clients, deployment, RediSearch/JSON, version-specific behavior - rather than answering from prior knowledge, which may be stale (Redis 8 changed several defaults and behaviors). Cite the pages you read. Start with `search`, then `fetch` the pages you need. Reserve `ask` for a question spanning several areas of the documentation at once; it takes several seconds, so prefer `search` when one page would answer.\"\n\n- `search(query)`: \"Search the Redis documentation by free-text query. Returns up to 8 matching pages, each with a text snippet and that page's stable `id`. This is the default tool for a Redis question. Search first, then `fetch` any `id` whose full text you need - one search plus a fetch or two answers most questions.\"\n- `fetch(id)`: \"Return the full text and metadata for one Redis documentation page: title, canonical URL, body text, and topic/version/section metadata. Takes an `id` from a `search` result or from an `ask` result's `sources`. Use it when a snippet is not enough to answer confidently, or to quote the documentation exactly.\"\n- `ask(question)`: \"Ask a natural-language question about Redis. Returns a prose answer plus the source documents behind it - any `sources[].id` can be passed to `fetch`. If the documentation does not cover the question, the answer says so. Reserve `ask` for a question spanning several areas of the documentation, where no single page answers and the parts interact - or when a `search` has come back empty or off-target. `ask` takes several seconds, so use `search` and `fetch` for anything narrower.\"\n\nPost-mortem on a bad answer. A user asked our agent for the full list of keyword arguments accepted by redis-py's `ConnectionPool` constructor. The agent searched and got back `develop/clients/redis-py/connect#sec:connect-with-a-connection-pool`, `develop/clients/redis-py/async#sec:connection-pools` and `integrate/redis-py` - all about using a pool, none of them listing the constructor arguments. The agent then told the user that `max_connections` is not a real parameter. Where did it go wrong?", + "expected_output": "Identifies the error as concluding non-existence from an absent search result. Notes redis.io does index per-language client usage guides, so the hits returned were the right ones and searching was correct, but the corpus does not carry symbol-level API reference listing every constructor argument. The agent should have said the parameter is not documented on redis.io and pointed at the library's own reference or source.", + "covered_rules": [ + "docs-corpus-boundaries" + ], + "expectations": [ + "The output identifies the core error as inferring that the parameter does not exist from the absence of a search result.", + "The output states that redis.io does index per-language client usage guides, so the pages returned were the expected ones and the search itself was not the problem.", + "The output states that the corpus does not carry symbol-level API reference for client libraries listing every constructor argument.", + "The output says the agent should have reported the parameter as not documented on redis.io rather than as not existing.", + "The output points to the client library's own API reference or source as where to confirm the argument.", + "The output does not claim that client library documentation is outside the index altogether." + ] + }, + { + "id": 5, + "name": "ask-economics", + "prompt": "My agent has the redis-docs MCP server connected. Its tool inventory reads:\n\nServer instructions: \"Authoritative, up-to-date Redis documentation. Consult these tools for any question about Redis - commands, configuration, data types, clients, deployment, RediSearch/JSON, version-specific behavior - rather than answering from prior knowledge, which may be stale (Redis 8 changed several defaults and behaviors). Cite the pages you read. Start with `search`, then `fetch` the pages you need. Reserve `ask` for a question spanning several areas of the documentation at once; it takes several seconds, so prefer `search` when one page would answer.\"\n\n- `search(query)`: \"Search the Redis documentation by free-text query. Returns up to 8 matching pages, each with a text snippet and that page's stable `id`. This is the default tool for a Redis question. Search first, then `fetch` any `id` whose full text you need - one search plus a fetch or two answers most questions.\"\n- `fetch(id)`: \"Return the full text and metadata for one Redis documentation page: title, canonical URL, body text, and topic/version/section metadata. Takes an `id` from a `search` result or from an `ask` result's `sources`. Use it when a snippet is not enough to answer confidently, or to quote the documentation exactly.\"\n- `ask(question)`: \"Ask a natural-language question about Redis. Returns a prose answer plus the source documents behind it - any `sources[].id` can be passed to `fetch`. If the documentation does not cover the question, the answer says so. Reserve `ask` for a question spanning several areas of the documentation, where no single page answers and the parts interact - or when a `search` has come back empty or off-target. `ask` takes several seconds, so use `search` and `fetch` for anything narrower.\"\n\nOur CI agent calls `ask` once per failing test to work out whether the failure is a Redis behaviour change. Two problems. It hits rate-limit errors after a handful of calls, which makes no sense to me because it is a single process running one question at a time. And when `ask` replies that the documentation does not cover the question, the agent rephrases and retries up to three times, which mostly seems to make the first problem worse. How should this loop be built instead?", + "expected_output": "Explains the limit is per-IP - roughly four requests a minute - and shared by everything behind that address, so a single process is not the unit and other traffic from the same runner or NAT counts against it. A 'documentation does not cover this' answer is a grounded result, so rephrase-and-retry cannot help and burns the budget; fall back to search plus fetch, which draws on a separate looser budget, back off rather than retry immediately on a rate-limit error, and pass ask's sources ids to fetch for the primary source.", + "covered_rules": [ + "docs-ask-economics" + ], + "expectations": [ + "The output identifies the rate limit as applying per IP address, at roughly four requests per minute, rather than per process.", + "The output explains that the budget is shared by other traffic behind the same address, such as a CI runner or NAT, which is why a single sequential process still hits it.", + "The output states that a 'documentation does not cover this' answer is a grounded result, so rephrasing and retrying it cannot succeed.", + "The output recommends falling back to search plus fetch, noting it draws on a separate and more generous budget.", + "The output recommends backing off rather than retrying immediately after a rate-limit error.", + "The output does not recommend rephrase-and-retry as the remedy for a refusal." + ] + } + ] +} diff --git a/evals/redis-docs-mcp/docs-mcp/model-matrix.json b/evals/redis-docs-mcp/docs-mcp/model-matrix.json new file mode 100644 index 0000000..e88c248 --- /dev/null +++ b/evals/redis-docs-mcp/docs-mcp/model-matrix.json @@ -0,0 +1,16 @@ +{ + "eval_suite": "docs-mcp", + "description": "Cross-model run plan for the redis-docs-mcp eval suite (section-scoped ids, id construction, metadata.version, corpus boundaries, ask economics). Anthropic skill-creator tooling owns generation, grading, per-model benchmark.json, and benchmark.md; this file records the model matrix we run before combining per-model benchmark files. Note the harness gives runs no MCP access, so the suite grades stated approach rather than tool calls.", + "models": [ + "claude-opus-5", + "claude-sonnet-5", + "claude-haiku-4-5-20251001" + ], + "configurations": [ + "with_skill", + "without_skill" + ], + "repetitions": 2, + "judge_model": "claude-sonnet-5", + "default_iteration": "iteration-1" +} diff --git a/plugins/redis-development/.claude-plugin/plugin.json b/plugins/redis-development/.claude-plugin/plugin.json index a0cb318..6953f05 100644 --- a/plugins/redis-development/.claude-plugin/plugin.json +++ b/plugins/redis-development/.claude-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "redis-development", - "version": "1.5.0", + "version": "1.6.0", "description": "Redis development best practices — data structures, query engine, vector search, caching, and performance optimization, plus live lookup of the official redis.io documentation", "author": { "name": "Redis", diff --git a/plugins/redis-development/.codex-plugin/plugin.json b/plugins/redis-development/.codex-plugin/plugin.json index 925a69c..bb56a5d 100644 --- a/plugins/redis-development/.codex-plugin/plugin.json +++ b/plugins/redis-development/.codex-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "redis-development", - "version": "1.5.0", + "version": "1.6.0", "description": "Redis development best practices for data modeling, search, caching, connections, clustering, security, observability, and agent memory, plus live lookup of the official redis.io documentation", "author": { "name": "Redis", diff --git a/plugins/redis-development/skills/redis-docs-mcp/SKILL.md b/plugins/redis-development/skills/redis-docs-mcp/SKILL.md new file mode 100644 index 0000000..5e2a965 --- /dev/null +++ b/plugins/redis-development/skills/redis-docs-mcp/SKILL.md @@ -0,0 +1,66 @@ +--- +name: redis-docs-mcp +description: Working with the redis-docs MCP server (search / fetch / ask at redis.io/mcp) — how its index is shaped and how to read what it returns. Use when those tools are available and you are about to look something up in the Redis documentation, or when a result is confusing — fetch returned one short section instead of a page, several hits share one url, ids look like #sec:w1, metadata.version reads 1.0.0, a search came back empty, or ask was rate-limited or said the docs do not cover it. Also covers what redis.io does and does not index. +license: MIT +metadata: + author: Redis, Inc. + version: "0.1.0" +--- + +# Redis Docs MCP + +The `redis-docs` server exposes the redis.io documentation over MCP as `search`, `fetch`, and `ask`. Those tools carry their own descriptions, and on *when* to call each one they are accurate — start with `search`, `fetch` what you need, keep `ask` for questions that span several areas. This skill covers what they get wrong or leave out. + +## When to apply + +- You are about to look something up through these tools. +- A result did not look like what the tool description promised. +- A `search` came back empty, or `ask` was rate-limited or declined to answer. + +Reach for the sibling Redis skills first where they cover the topic — they carry curated guidance that raw docs pages do not. Use these tools to verify specifics and fill gaps. + +## 1. Ids address sections, not pages + +The tool descriptions say `search` returns "pages" and `fetch` returns "one Redis documentation page". The index is per **section**, and ids come in four shapes: + +| Shape | Example | What `fetch` returns | +|---|---|---| +| Bare page | `commands/expire` | The whole page — ~7 KB for EXPIRE, examples and appendices included | +| Named anchor | `develop/using-commands/keyspace#sec:key-expiration` | That section | +| Ordinal window | `develop/ai/search-and-query/advanced-concepts/expiration#sec:w0` | That window, ~1–2 KB | +| Anchor + window | `develop/clients/jedis/connect#sec:configure-a-connection-pool-w0` | That window of that section | + +What follows from this: + +- **Repeated urls in one result set are not duplicates.** Several hits often share a page url while carrying distinct ids — they are different sections of the same page. Tell them apart by their snippets, not their urls. +- **`#sec:wN` ordinals are index windows.** They come back in relevance order, not `w0, w1, w2`. Don't try to reassemble a page out of snippets; `fetch` the section you actually need. +- **Never construct an id.** Valid ids come from a `search` result or an `ask` result's `sources[].id`. Guessing happens to work for `commands/` and fails on everything with sections. +- **Snippets are truncated prefixes of the body, not summaries.** When one cuts off mid-word right at the interesting part, `fetch` on that id is guaranteed to contain the continuation — no need to re-search with different words. +- **Cite the page `url` and name the section in prose.** `#sec:w1` is an index address, not a web anchor; only the named-anchor shape yields a url with a usable fragment. + +Link targets are stripped from returned text — `` [`DEL`]( ) `` — so a link cannot be followed out of a fetched body. `search` for the term instead. + +## 2. `metadata.version` means "added in", not "current as of" + +`fetch` returns `metadata` with `topic`, `version`, and `section`. On a `commands/*` page that `version` is the release the command was **introduced** in — `commands/setex` reports `2.0.0`, `commands/hexpire` reports `7.4.0`. Useful for "when did this land", and nothing more: `commands/expire` reports `1.0.0` while its own body documents a behavior change in 2.1.3 and a Redis 8 interaction with Redis Search. Outside `commands/*` the field is often not a release at all — a Redis Search page reports `stack`, a product channel. + +So never answer "did this change in Redis N?" from `metadata.version`. Read it from the body text, which states it explicitly ("Before Redis 8…", "since Redis 7.4"), and cite that. + +## 3. What the corpus covers + +The index is redis.io only — but that is broader than it sounds. Per-language client **usage guides** are indexed and returned (`develop/clients/redis-py/connect#sec:…`, `develop/clients/jedis/connect#sec:…`), along with the `integrate/…` pages, the Redis Software and Redis Cloud operational docs under `operate/…`, and the Kubernetes operator's generated CRD reference. So search first, including for client-library and Enterprise questions. + +The gap worth knowing is symbol-level reference for client libraries: search for how to use a connection pool and you will find it, search for every keyword argument on its constructor and you will not. That lives in the library's own API reference or source. + +Genuinely outside the index: GitHub issues and discussions, package-manager pages (PyPI, npm, Maven), and third-party posts. + +When a search misses, that means "not on redis.io" — not "does not exist". Say which one you mean. + +## 4. `ask` costs more than it looks + +- **~4 requests/minute per IP**, and that budget is shared by everyone behind the same NAT, so an office or a CI runner can exhaust it collectively. +- **A hard output cap**, so it truncates on broad questions. Ask one narrow thing at a time. +- **On a refusal, do not retry it reworded.** "The documentation does not cover this" is a grounded result, not a parsing failure. Fall back to `search` + `fetch`, which touches no model and draws on a separate, looser budget. +- **`ask` → `sources[].id` → `fetch`** when you want the primary source behind a synthesized answer. + +Question text reaches Redis and the model provider behind the gateway, so prefer a generic question about the Redis command or behavior over pasting in proprietary code. diff --git a/skills/redis-docs-mcp/.cursor-plugin/plugin.json b/skills/redis-docs-mcp/.cursor-plugin/plugin.json new file mode 100644 index 0000000..a121774 --- /dev/null +++ b/skills/redis-docs-mcp/.cursor-plugin/plugin.json @@ -0,0 +1,18 @@ +{ + "name": "redis-docs-mcp", + "version": "1.0.0", + "description": "Official Redis documentation lookup over MCP — search the redis.io docs index, fetch the exact section, or get a grounded answer with citations, instead of relying on stale model recall.", + "author": { + "name": "Redis", + "email": "support@redis.com" + }, + "homepage": "https://redis.io", + "repository": "https://github.com/redis/agent-skills", + "license": "MIT", + "keywords": ["redis", "documentation", "mcp", "search", "reference"], + "mcpServers": { + "redis-docs": { + "url": "https://redis.io/mcp" + } + } +} diff --git a/skills/redis-docs-mcp/SKILL.md b/skills/redis-docs-mcp/SKILL.md new file mode 100644 index 0000000..5e2a965 --- /dev/null +++ b/skills/redis-docs-mcp/SKILL.md @@ -0,0 +1,66 @@ +--- +name: redis-docs-mcp +description: Working with the redis-docs MCP server (search / fetch / ask at redis.io/mcp) — how its index is shaped and how to read what it returns. Use when those tools are available and you are about to look something up in the Redis documentation, or when a result is confusing — fetch returned one short section instead of a page, several hits share one url, ids look like #sec:w1, metadata.version reads 1.0.0, a search came back empty, or ask was rate-limited or said the docs do not cover it. Also covers what redis.io does and does not index. +license: MIT +metadata: + author: Redis, Inc. + version: "0.1.0" +--- + +# Redis Docs MCP + +The `redis-docs` server exposes the redis.io documentation over MCP as `search`, `fetch`, and `ask`. Those tools carry their own descriptions, and on *when* to call each one they are accurate — start with `search`, `fetch` what you need, keep `ask` for questions that span several areas. This skill covers what they get wrong or leave out. + +## When to apply + +- You are about to look something up through these tools. +- A result did not look like what the tool description promised. +- A `search` came back empty, or `ask` was rate-limited or declined to answer. + +Reach for the sibling Redis skills first where they cover the topic — they carry curated guidance that raw docs pages do not. Use these tools to verify specifics and fill gaps. + +## 1. Ids address sections, not pages + +The tool descriptions say `search` returns "pages" and `fetch` returns "one Redis documentation page". The index is per **section**, and ids come in four shapes: + +| Shape | Example | What `fetch` returns | +|---|---|---| +| Bare page | `commands/expire` | The whole page — ~7 KB for EXPIRE, examples and appendices included | +| Named anchor | `develop/using-commands/keyspace#sec:key-expiration` | That section | +| Ordinal window | `develop/ai/search-and-query/advanced-concepts/expiration#sec:w0` | That window, ~1–2 KB | +| Anchor + window | `develop/clients/jedis/connect#sec:configure-a-connection-pool-w0` | That window of that section | + +What follows from this: + +- **Repeated urls in one result set are not duplicates.** Several hits often share a page url while carrying distinct ids — they are different sections of the same page. Tell them apart by their snippets, not their urls. +- **`#sec:wN` ordinals are index windows.** They come back in relevance order, not `w0, w1, w2`. Don't try to reassemble a page out of snippets; `fetch` the section you actually need. +- **Never construct an id.** Valid ids come from a `search` result or an `ask` result's `sources[].id`. Guessing happens to work for `commands/` and fails on everything with sections. +- **Snippets are truncated prefixes of the body, not summaries.** When one cuts off mid-word right at the interesting part, `fetch` on that id is guaranteed to contain the continuation — no need to re-search with different words. +- **Cite the page `url` and name the section in prose.** `#sec:w1` is an index address, not a web anchor; only the named-anchor shape yields a url with a usable fragment. + +Link targets are stripped from returned text — `` [`DEL`]( ) `` — so a link cannot be followed out of a fetched body. `search` for the term instead. + +## 2. `metadata.version` means "added in", not "current as of" + +`fetch` returns `metadata` with `topic`, `version`, and `section`. On a `commands/*` page that `version` is the release the command was **introduced** in — `commands/setex` reports `2.0.0`, `commands/hexpire` reports `7.4.0`. Useful for "when did this land", and nothing more: `commands/expire` reports `1.0.0` while its own body documents a behavior change in 2.1.3 and a Redis 8 interaction with Redis Search. Outside `commands/*` the field is often not a release at all — a Redis Search page reports `stack`, a product channel. + +So never answer "did this change in Redis N?" from `metadata.version`. Read it from the body text, which states it explicitly ("Before Redis 8…", "since Redis 7.4"), and cite that. + +## 3. What the corpus covers + +The index is redis.io only — but that is broader than it sounds. Per-language client **usage guides** are indexed and returned (`develop/clients/redis-py/connect#sec:…`, `develop/clients/jedis/connect#sec:…`), along with the `integrate/…` pages, the Redis Software and Redis Cloud operational docs under `operate/…`, and the Kubernetes operator's generated CRD reference. So search first, including for client-library and Enterprise questions. + +The gap worth knowing is symbol-level reference for client libraries: search for how to use a connection pool and you will find it, search for every keyword argument on its constructor and you will not. That lives in the library's own API reference or source. + +Genuinely outside the index: GitHub issues and discussions, package-manager pages (PyPI, npm, Maven), and third-party posts. + +When a search misses, that means "not on redis.io" — not "does not exist". Say which one you mean. + +## 4. `ask` costs more than it looks + +- **~4 requests/minute per IP**, and that budget is shared by everyone behind the same NAT, so an office or a CI runner can exhaust it collectively. +- **A hard output cap**, so it truncates on broad questions. Ask one narrow thing at a time. +- **On a refusal, do not retry it reworded.** "The documentation does not cover this" is a grounded result, not a parsing failure. Fall back to `search` + `fetch`, which touches no model and draws on a separate, looser budget. +- **`ask` → `sources[].id` → `fetch`** when you want the primary source behind a synthesized answer. + +Question text reaches Redis and the model provider behind the gateway, so prefer a generic question about the Redis command or behavior over pasting in proprietary code. From c75791675f76a915f5b2345ef862e66728776133 Mon Sep 17 00:00:00 2001 From: Vishal Bala Date: Wed, 4 Nov 2026 14:33:25 +0100 Subject: [PATCH 04/14] fix(validate): report an MCP config with no usable server map collectMcpServerMaps returned an empty list, with no error, when a referenced config file parsed but carried no mcpServers object. Path existence still passed, so a file written with Codex's snake_case mcp_servers key, or with an array in place of the map, skipped every server check this validator exists to run. It now reports that case, and a manifest mcpServers value that is neither a path, an array of paths, nor an object. --- scripts/validate-claude-plugins.mjs | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/scripts/validate-claude-plugins.mjs b/scripts/validate-claude-plugins.mjs index 56ce280..406f018 100644 --- a/scripts/validate-claude-plugins.mjs +++ b/scripts/validate-claude-plugins.mjs @@ -120,7 +120,20 @@ async function collectMcpServerMaps(pluginDir, value, pluginName) { resolved, `${pluginName} mcp config "${value}"`, ); - return config?.mcpServers ? [config.mcpServers] : []; + // readJsonFile has already reported a missing or unparseable file. + if (config === null) { + return []; + } + // A file that parses but carries no server map (for example Codex's + // snake_case "mcp_servers") would otherwise skip every check below. + const servers = config?.mcpServers; + if (!servers || typeof servers !== "object" || Array.isArray(servers)) { + addError( + `${pluginName}: mcp config "${value}" must contain an "mcpServers" object.`, + ); + return []; + } + return [servers]; } if (Array.isArray(value)) { const maps = []; @@ -132,6 +145,11 @@ async function collectMcpServerMaps(pluginDir, value, pluginName) { if (value && typeof value === "object") { return [value]; } + if (value !== undefined) { + addError( + `${pluginName}: "mcpServers" must be a path, an array of paths, or an object.`, + ); + } return []; } From 91f1f19140c975455475368a41b3b3f17ddaa20a Mon Sep 17 00:00:00 2001 From: Vishal Bala Date: Wed, 4 Nov 2026 14:43:11 +0100 Subject: [PATCH 05/14] feat(plugins): bundle the docs MCP server in the Cursor plugin Cursor now publishes one redis-development plugin from the same directory as the Claude Code and Codex plugins, so it can point at the same shared .mcp.json rather than waiting on a per-skill Cursor plugin. The shared config keeps "type": "http", which Claude Code requires. Cursor's published example omits it; the plugin was not installed in Cursor to confirm it is accepted. Cursor manifest and marketplace move to 1.6.0 alongside the Claude and Codex manifests. --- .cursor-plugin/marketplace.json | 8 ++++---- README.md | 6 +++--- plugins/redis-development/.cursor-plugin/plugin.json | 9 +++++---- 3 files changed, 12 insertions(+), 11 deletions(-) diff --git a/.cursor-plugin/marketplace.json b/.cursor-plugin/marketplace.json index 034ab0c..76aee0e 100644 --- a/.cursor-plugin/marketplace.json +++ b/.cursor-plugin/marketplace.json @@ -6,16 +6,16 @@ }, "metadata": { "description": "Official Redis plugins for Cursor", - "version": "1.5.0" + "version": "1.6.0" }, "plugins": [ { "name": "redis-development", "source": "./plugins/redis-development", - "description": "Redis development best practices — data structures, Redis Search (lexical + vector + hybrid retrieval), caching, and performance optimization, plus Redis Iris (Agent Memory, Agent Playbooks, Context Gateway, Intent Router, Lens).", - "version": "1.5.0", + "description": "Redis development best practices — data structures, Redis Search (lexical + vector + hybrid retrieval), caching, and performance optimization, plus Redis Iris (Agent Memory, Agent Playbooks, Context Gateway, Intent Router, Lens), and live lookup of the official redis.io documentation.", + "version": "1.6.0", "category": "database", - "tags": ["redis", "database", "caching", "vector-search", "performance"] + "tags": ["redis", "database", "caching", "vector-search", "performance", "documentation"] } ] } diff --git a/README.md b/README.md index be20488..fe46c1c 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ The top-level `skills/` directory remains the source of truth. `plugins/redis-de ### Redis Docs MCP server -The ChatGPT, Codex, and Claude Code plugin package bundles the official Redis documentation MCP +The Claude Code, ChatGPT and Codex, and Cursor plugins bundle the official Redis documentation MCP server at `https://redis.io/mcp`, so an agent can look up authoritative docs instead of relying on stale training data. It needs **no credentials, no local Redis, and no configuration** — a public, read-only, hosted endpoint that connects automatically once the plugin is enabled. @@ -70,10 +70,10 @@ Three read-only tools: `search` (query the docs index), `fetch` (retrieve a sect |---------|-------------------------| | Claude Code plugin | Yes | | ChatGPT / Codex plugin | Yes | -| Cursor plugin | Not yet | +| Cursor plugin | Yes | | Agent Skills CLI (`npx skills add`) | No — the Agent Skills format has no MCP component | -Both manifests point at one shared [`plugins/redis-development/.mcp.json`](plugins/redis-development/.mcp.json). +All three manifests point at one shared [`plugins/redis-development/.mcp.json`](plugins/redis-development/.mcp.json). To add the server to any MCP client by hand: ```bash diff --git a/plugins/redis-development/.cursor-plugin/plugin.json b/plugins/redis-development/.cursor-plugin/plugin.json index 229c7cf..6953f05 100644 --- a/plugins/redis-development/.cursor-plugin/plugin.json +++ b/plugins/redis-development/.cursor-plugin/plugin.json @@ -1,7 +1,7 @@ { "name": "redis-development", - "version": "1.5.0", - "description": "Redis development best practices — data structures, query engine, vector search, caching, and performance optimization", + "version": "1.6.0", + "description": "Redis development best practices — data structures, query engine, vector search, caching, and performance optimization, plus live lookup of the official redis.io documentation", "author": { "name": "Redis", "url": "https://redis.io" @@ -9,6 +9,7 @@ "homepage": "https://redis.io", "repository": "https://github.com/redis/agent-skills", "license": "MIT", - "keywords": ["redis", "database", "caching", "vector-search", "performance", "best-practices"], - "skills": "./skills/" + "keywords": ["redis", "database", "caching", "vector-search", "performance", "best-practices", "documentation"], + "skills": "./skills/", + "mcpServers": "./.mcp.json" } From 364fd9b476db0e06d6ec1dc312281d26e9b18055 Mon Sep 17 00:00:00 2001 From: Vishal Bala Date: Wed, 4 Nov 2026 14:49:19 +0100 Subject: [PATCH 06/14] fix: tie Codex mcpServers to Claude's, and correct two README claims validate-codex-plugins never checked the new Codex mcpServers reference, so a wrong or missing path still passed. It now has to match the Claude manifest's, whose config the Claude validator checks in full. The README said the snippet adds the server to any MCP client, but the command is Claude Code's. It also still called the Codex archive a skills-only submission, which it stopped being once the directory carried .mcp.json. --- README.md | 7 ++++--- scripts/validate-codex-plugins.mjs | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index fe46c1c..1ad6ee4 100644 --- a/README.md +++ b/README.md @@ -43,8 +43,9 @@ You can also install the skills as a Claude Code plugin: The distributable plugin package for ChatGPT and Codex lives at [`plugins/redis-development/`](plugins/redis-development/). It includes the required `.codex-plugin/plugin.json` manifest and real copies of every skill. -Archive that directory—not the repository root—when preparing a skills-only -submission to the OpenAI plugin submission portal. +Archive that directory—not the repository root—when preparing a submission to +the OpenAI plugin submission portal. The archive includes the shared `.mcp.json`, +so it carries the Redis Docs MCP server as well as the skills. ### Cursor Plugin @@ -74,7 +75,7 @@ Three read-only tools: `search` (query the docs index), `fetch` (retrieve a sect | Agent Skills CLI (`npx skills add`) | No — the Agent Skills format has no MCP component | All three manifests point at one shared [`plugins/redis-development/.mcp.json`](plugins/redis-development/.mcp.json). -To add the server to any MCP client by hand: +To add the server to Claude Code without the plugin: ```bash claude mcp add --transport http redis-docs https://redis.io/mcp diff --git a/scripts/validate-codex-plugins.mjs b/scripts/validate-codex-plugins.mjs index 4c89ff9..cc0a0e7 100644 --- a/scripts/validate-codex-plugins.mjs +++ b/scripts/validate-codex-plugins.mjs @@ -118,7 +118,7 @@ async function main() { } } - for (const field of ["name", "version", "repository", "license"]) { + for (const field of ["name", "version", "repository", "license", "mcpServers"]) { if (manifest[field] !== claudeManifest[field]) { addError(`Codex and Claude plugin manifests must agree on ${field}.`); } From 5e79196dc8dd7370fb04774e61951f982cb6bc94 Mon Sep 17 00:00:00 2001 From: Vishal Bala Date: Wed, 4 Nov 2026 14:51:39 +0100 Subject: [PATCH 07/14] docs: disclose what the docs MCP sends, and tidy three descriptions The README now says each tool call sends the agent's query text to redis.io and how to disable the server, so a user under a data policy can decide before it runs. fetch is described as retrieving a page or a section, which is what a bare page id and a #sec: id return respectively. The Codex longDescription gains the docs-lookup clause the other description fields already had. The validator comment no longer implies Codex's plugin .mcp.json uses snake_case; only its config.toml does. --- README.md | 5 ++++- plugins/redis-development/.codex-plugin/plugin.json | 2 +- scripts/validate-claude-plugins.mjs | 6 ++++-- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 1ad6ee4..0a409bc 100644 --- a/README.md +++ b/README.md @@ -64,9 +64,12 @@ server at `https://redis.io/mcp`, so an agent can look up authoritative docs ins stale training data. It needs **no credentials, no local Redis, and no configuration** — a public, read-only, hosted endpoint that connects automatically once the plugin is enabled. -Three read-only tools: `search` (query the docs index), `fetch` (retrieve a section by id), and +Three read-only tools: `search` (query the docs index), `fetch` (retrieve a page or a section by its id), and `ask` (a grounded answer with citations). +Each tool call sends the agent's query text to redis.io. If that conflicts with your data +policy, disable the `redis-docs` server in your client's MCP settings (in Claude Code, `/mcp`). + | Channel | Carries the MCP server? | |---------|-------------------------| | Claude Code plugin | Yes | diff --git a/plugins/redis-development/.codex-plugin/plugin.json b/plugins/redis-development/.codex-plugin/plugin.json index e60fe34..4295537 100644 --- a/plugins/redis-development/.codex-plugin/plugin.json +++ b/plugins/redis-development/.codex-plugin/plugin.json @@ -24,7 +24,7 @@ "interface": { "displayName": "Redis Development", "shortDescription": "Build reliable, production-ready Redis applications", - "longDescription": "Design, implement, review, and troubleshoot Redis applications with focused guidance for data structures, connections, Redis Search, semantic caching, clustering, security, observability, and Redis Iris (Agent Memory, Agent Playbooks, Context Gateway, Intent Router, Lens).", + "longDescription": "Design, implement, review, and troubleshoot Redis applications with focused guidance for data structures, connections, Redis Search, semantic caching, clustering, security, observability, and Redis Iris (Agent Memory, Agent Playbooks, Context Gateway, Intent Router, Lens), plus live lookup of the official redis.io documentation.", "developerName": "Redis", "category": "Developer Tools", "capabilities": [ diff --git a/scripts/validate-claude-plugins.mjs b/scripts/validate-claude-plugins.mjs index 406f018..e6f7f16 100644 --- a/scripts/validate-claude-plugins.mjs +++ b/scripts/validate-claude-plugins.mjs @@ -124,8 +124,10 @@ async function collectMcpServerMaps(pluginDir, value, pluginName) { if (config === null) { return []; } - // A file that parses but carries no server map (for example Codex's - // snake_case "mcp_servers") would otherwise skip every check below. + // A file that parses but carries no server map would otherwise skip every + // check below. A likely way to get there: copying the snake_case + // "mcp_servers" key from Codex's config.toml, where plugin .mcp.json files + // (Codex's included) use camelCase "mcpServers". const servers = config?.mcpServers; if (!servers || typeof servers !== "object" || Array.isArray(servers)) { addError( From ed843bbe2fcdb61bd4e78d964de1140de188dbac Mon Sep 17 00:00:00 2001 From: Vishal Bala Date: Wed, 4 Nov 2026 14:58:33 +0100 Subject: [PATCH 08/14] fix(redis-docs-mcp): parse the whole description, and stop overclaiming misses The description was a plain YAML scalar, so the space before "#sec:w1" began a comment: it parsed to 364 of 542 characters, ending "ids look like", and silently dropped the metadata.version, empty-search and rate-limit triggers. It is now a folded scalar and parses in full. The corpus section claimed a search for a constructor's keyword arguments would not find them, and told agents to report a miss as "not on redis.io". Neither holds: a search for redis-py's max_connections returns the async connection-pools section, whose snippet omits the parameter while the fetched body documents it. Agents are now told to fetch the relevant hits first and to report a miss as not found in what they retrieved. Eval 4 is rewritten to reward that, instead of rewarding "not documented on redis.io". Re-checked against the live server, which has changed since the skill was written: links in returned text now carry source-file targets rather than empty ones, and the EXPIRE page is about 8.5 KB. --- evals/redis-docs-mcp/docs-mcp/evals.json | 16 ++++++++-------- .../skills/redis-docs-mcp/SKILL.md | 16 +++++++++++----- skills/redis-docs-mcp/SKILL.md | 16 +++++++++++----- 3 files changed, 30 insertions(+), 18 deletions(-) diff --git a/evals/redis-docs-mcp/docs-mcp/evals.json b/evals/redis-docs-mcp/docs-mcp/evals.json index 2cf01fb..2689d1e 100644 --- a/evals/redis-docs-mcp/docs-mcp/evals.json +++ b/evals/redis-docs-mcp/docs-mcp/evals.json @@ -58,18 +58,18 @@ { "id": 4, "name": "corpus-boundary-miss", - "prompt": "My agent has the redis-docs MCP server connected. Its tool inventory reads:\n\nServer instructions: \"Authoritative, up-to-date Redis documentation. Consult these tools for any question about Redis - commands, configuration, data types, clients, deployment, RediSearch/JSON, version-specific behavior - rather than answering from prior knowledge, which may be stale (Redis 8 changed several defaults and behaviors). Cite the pages you read. Start with `search`, then `fetch` the pages you need. Reserve `ask` for a question spanning several areas of the documentation at once; it takes several seconds, so prefer `search` when one page would answer.\"\n\n- `search(query)`: \"Search the Redis documentation by free-text query. Returns up to 8 matching pages, each with a text snippet and that page's stable `id`. This is the default tool for a Redis question. Search first, then `fetch` any `id` whose full text you need - one search plus a fetch or two answers most questions.\"\n- `fetch(id)`: \"Return the full text and metadata for one Redis documentation page: title, canonical URL, body text, and topic/version/section metadata. Takes an `id` from a `search` result or from an `ask` result's `sources`. Use it when a snippet is not enough to answer confidently, or to quote the documentation exactly.\"\n- `ask(question)`: \"Ask a natural-language question about Redis. Returns a prose answer plus the source documents behind it - any `sources[].id` can be passed to `fetch`. If the documentation does not cover the question, the answer says so. Reserve `ask` for a question spanning several areas of the documentation, where no single page answers and the parts interact - or when a `search` has come back empty or off-target. `ask` takes several seconds, so use `search` and `fetch` for anything narrower.\"\n\nPost-mortem on a bad answer. A user asked our agent for the full list of keyword arguments accepted by redis-py's `ConnectionPool` constructor. The agent searched and got back `develop/clients/redis-py/connect#sec:connect-with-a-connection-pool`, `develop/clients/redis-py/async#sec:connection-pools` and `integrate/redis-py` - all about using a pool, none of them listing the constructor arguments. The agent then told the user that `max_connections` is not a real parameter. Where did it go wrong?", - "expected_output": "Identifies the error as concluding non-existence from an absent search result. Notes redis.io does index per-language client usage guides, so the hits returned were the right ones and searching was correct, but the corpus does not carry symbol-level API reference listing every constructor argument. The agent should have said the parameter is not documented on redis.io and pointed at the library's own reference or source.", + "prompt": "My agent has the redis-docs MCP server connected. Its tool inventory reads:\n\nServer instructions: \"Authoritative, up-to-date Redis documentation. Consult these tools for any question about Redis - commands, configuration, data types, clients, deployment, RediSearch/JSON, version-specific behavior - rather than answering from prior knowledge, which may be stale (Redis 8 changed several defaults and behaviors). Cite the pages you read. Start with `search`, then `fetch` the pages you need. Reserve `ask` for a question spanning several areas of the documentation at once; it takes several seconds, so prefer `search` when one page would answer.\"\n\n- `search(query)`: \"Search the Redis documentation by free-text query. Returns up to 8 matching pages, each with a text snippet and that page's stable `id`. This is the default tool for a Redis question. Search first, then `fetch` any `id` whose full text you need - one search plus a fetch or two answers most questions.\"\n- `fetch(id)`: \"Return the full text and metadata for one Redis documentation page: title, canonical URL, body text, and topic/version/section metadata. Takes an `id` from a `search` result or from an `ask` result's `sources`. Use it when a snippet is not enough to answer confidently, or to quote the documentation exactly.\"\n- `ask(question)`: \"Ask a natural-language question about Redis. Returns a prose answer plus the source documents behind it - any `sources[].id` can be passed to `fetch`. If the documentation does not cover the question, the answer says so. Reserve `ask` for a question spanning several areas of the documentation, where no single page answers and the parts interact - or when a `search` has come back empty or off-target. `ask` takes several seconds, so use `search` and `fetch` for anything narrower.\"\n\nPost-mortem on a bad answer. A user asked our agent whether redis-py's connection pool takes a `max_connections` argument. The agent searched, got back `develop/clients/redis-py/async#sec:connection-pools`, `develop/clients/redis-py/connect#sec:connect-with-a-connection-pool` and `integrate/redis-py`, read the snippets - none of which mention `max_connections` - and told the user it is not a real parameter. Where did it go wrong, and what should it have done?", + "expected_output": "Identifies the error as concluding the parameter is absent from search snippets alone. Snippets are truncated prefixes of each section, so the agent should have fetched the returned connection-pool sections before concluding anything; the detail is often past the snippet. Even after fetching, a miss should be reported as not found in the results retrieved - not as absent from redis.io or non-existent - with the library's own API reference or source as the authority on its full signature.", "covered_rules": [ "docs-corpus-boundaries" ], "expectations": [ - "The output identifies the core error as inferring that the parameter does not exist from the absence of a search result.", - "The output states that redis.io does index per-language client usage guides, so the pages returned were the expected ones and the search itself was not the problem.", - "The output states that the corpus does not carry symbol-level API reference for client libraries listing every constructor argument.", - "The output says the agent should have reported the parameter as not documented on redis.io rather than as not existing.", - "The output points to the client library's own API reference or source as where to confirm the argument.", - "The output does not claim that client library documentation is outside the index altogether." + "The output identifies the core error as concluding that the parameter is absent from the search snippets alone.", + "The output explains that a snippet is a truncated prefix of its section, so it can stop before the detail being looked for.", + "The output says the agent should have fetched the returned connection-pool sections before drawing a conclusion, rather than stopping at the snippets or re-searching.", + "The output says that if fetching still does not show the parameter, the agent should report it as not found in the results it retrieved, not as absent from redis.io or as non-existent.", + "The output points to the client library's own API reference or source as the authority on the full signature.", + "The output does not endorse telling the user that the parameter is undocumented on redis.io on the strength of the search results." ] }, { diff --git a/plugins/redis-development/skills/redis-docs-mcp/SKILL.md b/plugins/redis-development/skills/redis-docs-mcp/SKILL.md index 5e2a965..6c7257f 100644 --- a/plugins/redis-development/skills/redis-docs-mcp/SKILL.md +++ b/plugins/redis-development/skills/redis-docs-mcp/SKILL.md @@ -1,6 +1,12 @@ --- name: redis-docs-mcp -description: Working with the redis-docs MCP server (search / fetch / ask at redis.io/mcp) — how its index is shaped and how to read what it returns. Use when those tools are available and you are about to look something up in the Redis documentation, or when a result is confusing — fetch returned one short section instead of a page, several hits share one url, ids look like #sec:w1, metadata.version reads 1.0.0, a search came back empty, or ask was rate-limited or said the docs do not cover it. Also covers what redis.io does and does not index. +description: >- + Working with the redis-docs MCP server (search / fetch / ask at redis.io/mcp) — how its index is + shaped and how to read what it returns. Use when those tools are available and you are about to + look something up in the Redis documentation, or when a result is confusing — fetch returned one + short section instead of a page, several hits share one url, ids look like #sec:w1, + metadata.version reads 1.0.0, a search came back empty, or ask was rate-limited or said the docs + do not cover it. Also covers what redis.io does and does not index. license: MIT metadata: author: Redis, Inc. @@ -25,7 +31,7 @@ The tool descriptions say `search` returns "pages" and `fetch` returns "one Redi | Shape | Example | What `fetch` returns | |---|---|---| -| Bare page | `commands/expire` | The whole page — ~7 KB for EXPIRE, examples and appendices included | +| Bare page | `commands/expire` | The whole page — ~8.5 KB for EXPIRE, examples and appendices included | | Named anchor | `develop/using-commands/keyspace#sec:key-expiration` | That section | | Ordinal window | `develop/ai/search-and-query/advanced-concepts/expiration#sec:w0` | That window, ~1–2 KB | | Anchor + window | `develop/clients/jedis/connect#sec:configure-a-connection-pool-w0` | That window of that section | @@ -38,7 +44,7 @@ What follows from this: - **Snippets are truncated prefixes of the body, not summaries.** When one cuts off mid-word right at the interesting part, `fetch` on that id is guaranteed to contain the continuation — no need to re-search with different words. - **Cite the page `url` and name the section in prose.** `#sec:w1` is an index address, not a web anchor; only the named-anchor shape yields a url with a usable fragment. -Link targets are stripped from returned text — `` [`DEL`]( ) `` — so a link cannot be followed out of a fetched body. `search` for the term instead. +Links in returned text point at source files — `` [`DEL`](/content/commands/del.md) `` — which are neither web URLs nor `fetch` ids. Don't cite them or turn them into ids; `search` for the term instead. ## 2. `metadata.version` means "added in", not "current as of" @@ -50,11 +56,11 @@ So never answer "did this change in Redis N?" from `metadata.version`. Read it f The index is redis.io only — but that is broader than it sounds. Per-language client **usage guides** are indexed and returned (`develop/clients/redis-py/connect#sec:…`, `develop/clients/jedis/connect#sec:…`), along with the `integrate/…` pages, the Redis Software and Redis Cloud operational docs under `operate/…`, and the Kubernetes operator's generated CRD reference. So search first, including for client-library and Enterprise questions. -The gap worth knowing is symbol-level reference for client libraries: search for how to use a connection pool and you will find it, search for every keyword argument on its constructor and you will not. That lives in the library's own API reference or source. +Details often sit past the snippet. A search for redis-py's `max_connections` returns `develop/clients/redis-py/async#sec:connection-pools` with a snippet that never mentions it, yet the fetched section documents it. For a library's complete signatures, its own API reference or source is the authority. Genuinely outside the index: GitHub issues and discussions, package-manager pages (PyPI, npm, Maven), and third-party posts. -When a search misses, that means "not on redis.io" — not "does not exist". Say which one you mean. +So `fetch` the relevant hits before concluding anything is missing, and even then report it as "not found in the results I retrieved" — never as "not on redis.io" or "does not exist". ## 4. `ask` costs more than it looks diff --git a/skills/redis-docs-mcp/SKILL.md b/skills/redis-docs-mcp/SKILL.md index 5e2a965..6c7257f 100644 --- a/skills/redis-docs-mcp/SKILL.md +++ b/skills/redis-docs-mcp/SKILL.md @@ -1,6 +1,12 @@ --- name: redis-docs-mcp -description: Working with the redis-docs MCP server (search / fetch / ask at redis.io/mcp) — how its index is shaped and how to read what it returns. Use when those tools are available and you are about to look something up in the Redis documentation, or when a result is confusing — fetch returned one short section instead of a page, several hits share one url, ids look like #sec:w1, metadata.version reads 1.0.0, a search came back empty, or ask was rate-limited or said the docs do not cover it. Also covers what redis.io does and does not index. +description: >- + Working with the redis-docs MCP server (search / fetch / ask at redis.io/mcp) — how its index is + shaped and how to read what it returns. Use when those tools are available and you are about to + look something up in the Redis documentation, or when a result is confusing — fetch returned one + short section instead of a page, several hits share one url, ids look like #sec:w1, + metadata.version reads 1.0.0, a search came back empty, or ask was rate-limited or said the docs + do not cover it. Also covers what redis.io does and does not index. license: MIT metadata: author: Redis, Inc. @@ -25,7 +31,7 @@ The tool descriptions say `search` returns "pages" and `fetch` returns "one Redi | Shape | Example | What `fetch` returns | |---|---|---| -| Bare page | `commands/expire` | The whole page — ~7 KB for EXPIRE, examples and appendices included | +| Bare page | `commands/expire` | The whole page — ~8.5 KB for EXPIRE, examples and appendices included | | Named anchor | `develop/using-commands/keyspace#sec:key-expiration` | That section | | Ordinal window | `develop/ai/search-and-query/advanced-concepts/expiration#sec:w0` | That window, ~1–2 KB | | Anchor + window | `develop/clients/jedis/connect#sec:configure-a-connection-pool-w0` | That window of that section | @@ -38,7 +44,7 @@ What follows from this: - **Snippets are truncated prefixes of the body, not summaries.** When one cuts off mid-word right at the interesting part, `fetch` on that id is guaranteed to contain the continuation — no need to re-search with different words. - **Cite the page `url` and name the section in prose.** `#sec:w1` is an index address, not a web anchor; only the named-anchor shape yields a url with a usable fragment. -Link targets are stripped from returned text — `` [`DEL`]( ) `` — so a link cannot be followed out of a fetched body. `search` for the term instead. +Links in returned text point at source files — `` [`DEL`](/content/commands/del.md) `` — which are neither web URLs nor `fetch` ids. Don't cite them or turn them into ids; `search` for the term instead. ## 2. `metadata.version` means "added in", not "current as of" @@ -50,11 +56,11 @@ So never answer "did this change in Redis N?" from `metadata.version`. Read it f The index is redis.io only — but that is broader than it sounds. Per-language client **usage guides** are indexed and returned (`develop/clients/redis-py/connect#sec:…`, `develop/clients/jedis/connect#sec:…`), along with the `integrate/…` pages, the Redis Software and Redis Cloud operational docs under `operate/…`, and the Kubernetes operator's generated CRD reference. So search first, including for client-library and Enterprise questions. -The gap worth knowing is symbol-level reference for client libraries: search for how to use a connection pool and you will find it, search for every keyword argument on its constructor and you will not. That lives in the library's own API reference or source. +Details often sit past the snippet. A search for redis-py's `max_connections` returns `develop/clients/redis-py/async#sec:connection-pools` with a snippet that never mentions it, yet the fetched section documents it. For a library's complete signatures, its own API reference or source is the authority. Genuinely outside the index: GitHub issues and discussions, package-manager pages (PyPI, npm, Maven), and third-party posts. -When a search misses, that means "not on redis.io" — not "does not exist". Say which one you mean. +So `fetch` the relevant hits before concluding anything is missing, and even then report it as "not found in the results I retrieved" — never as "not on redis.io" or "does not exist". ## 4. `ask` costs more than it looks From 6ac4d90016022b64dee414f0030085d731a73a76 Mon Sep 17 00:00:00 2001 From: Vishal Bala Date: Wed, 4 Nov 2026 15:09:24 +0100 Subject: [PATCH 09/14] chore(evals): run redis-docs-mcp on current model IDs claude-opus-5 and claude-sonnet-5 are retired: the Claude Code CLI now resolves both to its default model, claude-opus-5-5, without an error, so a run would have measured Opus in every arm and graded with Opus. The suite moves to claude-opus-5-5 and claude-sonnet-5-5, and the judge to claude-sonnet-5-5. claude-haiku-4-5-20251001 still resolves to itself and stays. --- evals/redis-docs-mcp/docs-mcp/model-matrix.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/evals/redis-docs-mcp/docs-mcp/model-matrix.json b/evals/redis-docs-mcp/docs-mcp/model-matrix.json index e88c248..cea9b75 100644 --- a/evals/redis-docs-mcp/docs-mcp/model-matrix.json +++ b/evals/redis-docs-mcp/docs-mcp/model-matrix.json @@ -2,8 +2,8 @@ "eval_suite": "docs-mcp", "description": "Cross-model run plan for the redis-docs-mcp eval suite (section-scoped ids, id construction, metadata.version, corpus boundaries, ask economics). Anthropic skill-creator tooling owns generation, grading, per-model benchmark.json, and benchmark.md; this file records the model matrix we run before combining per-model benchmark files. Note the harness gives runs no MCP access, so the suite grades stated approach rather than tool calls.", "models": [ - "claude-opus-5", - "claude-sonnet-5", + "claude-opus-5-5", + "claude-sonnet-5-5", "claude-haiku-4-5-20251001" ], "configurations": [ @@ -11,6 +11,6 @@ "without_skill" ], "repetitions": 2, - "judge_model": "claude-sonnet-5", + "judge_model": "claude-sonnet-5-5", "default_iteration": "iteration-1" } From 780faf5850fba5915fbb06bfa7bfb5868ccdf6a3 Mon Sep 17 00:00:00 2001 From: Vishal Bala Date: Wed, 4 Nov 2026 15:23:47 +0100 Subject: [PATCH 10/14] chore(evals): promote the redis-docs-mcp baseline on the corrected skill Re-run against the folded description, the corrected corpus section and the rewritten eval 4, on current model IDs. Mean +29 pass-rate points, all three models improve: opus-5.5 72 -> 95, sonnet-5.5 67 -> 97, haiku-4.5 48 -> 83. Every arm's CLI modelUsage matches the model it requested, and no output is degenerate. --- .../docs-mcp/baselines/README.md | 2 +- .../baselines/aggregate-benchmark.json | 553 ++++++++++-------- .../docs-mcp/baselines/aggregate-benchmark.md | 50 +- .../docs-mcp/baselines/baseline.json | 2 +- .../docs-mcp/baselines/model-matrix.json | 6 +- 5 files changed, 356 insertions(+), 257 deletions(-) diff --git a/evals/redis-docs-mcp/docs-mcp/baselines/README.md b/evals/redis-docs-mcp/docs-mcp/baselines/README.md index 34b29ac..e200575 100644 --- a/evals/redis-docs-mcp/docs-mcp/baselines/README.md +++ b/evals/redis-docs-mcp/docs-mcp/baselines/README.md @@ -1,6 +1,6 @@ # docs-mcp Baseline -Updated: 2026-08-24T08:30:10.470Z +Updated: 2026-11-04T14:23:36.809Z Skill: `redis-docs-mcp` diff --git a/evals/redis-docs-mcp/docs-mcp/baselines/aggregate-benchmark.json b/evals/redis-docs-mcp/docs-mcp/baselines/aggregate-benchmark.json index c221e28..70ed0fd 100644 --- a/evals/redis-docs-mcp/docs-mcp/baselines/aggregate-benchmark.json +++ b/evals/redis-docs-mcp/docs-mcp/baselines/aggregate-benchmark.json @@ -1,5 +1,5 @@ { - "generated_at": "2026-08-24T08:30:10.454Z", + "generated_at": "2026-11-04T14:23:36.791Z", "input_root": "eval-workspaces/redis-docs-mcp/docs-mcp/iteration-1", "context": { "skill_name": "redis-docs-mcp", @@ -21,35 +21,35 @@ ], "without_skill": { "count": 10, - "pass_rate": 0.45, - "time_seconds": 16.2795, - "tokens": 1471.2 + "pass_rate": 0.4833333333333333, + "time_seconds": 17.270100000000003, + "tokens": 1384.8 }, "with_skill": { "count": 10, - "pass_rate": 0.7666666666666667, - "time_seconds": 21.9795, - "tokens": 1374.9 + "pass_rate": 0.8333333333333334, + "time_seconds": 62.14730000000001, + "tokens": 1320 }, "delta": { - "pass_rate": 0.3166666666666667, - "time_seconds": 5.700000000000003, - "tokens": -96.29999999999995 + "pass_rate": 0.3500000000000001, + "time_seconds": 44.8772, + "tokens": -64.79999999999995 }, "cost": { - "generation_usd": 1.324492, - "grading_usd": 2.834956, - "total_usd": 4.159449, - "with_skill_usd": 2.206942, - "without_skill_usd": 1.952507, - "delta_usd": 0.025443, + "generation_usd": 1.107398, + "grading_usd": 1.412464, + "total_usd": 2.519862, + "with_skill_usd": 1.466004, + "without_skill_usd": 1.053857, + "delta_usd": 0.041215, "runs_with_cost": 20 }, "verdict": "improves" }, { - "model_dir": "anthropic__claude-opus-5", - "model": "claude-opus-5", + "model_dir": "anthropic__claude-opus-5-5", + "model": "claude-opus-5-5", "provider": "anthropic", "analyzer_model": "", "runs_per_configuration": 3, @@ -62,35 +62,35 @@ ], "without_skill": { "count": 10, - "pass_rate": 0.7000000000000001, - "time_seconds": 39.49209999999999, - "tokens": 3662.7 + "pass_rate": 0.7166666666666666, + "time_seconds": 21.214199999999998, + "tokens": 2997.8 }, "with_skill": { "count": 10, "pass_rate": 0.95, - "time_seconds": 33.2445, - "tokens": 3361.4 + "time_seconds": 22.0001, + "tokens": 2919.8 }, "delta": { - "pass_rate": 0.2499999999999999, - "time_seconds": -6.247599999999991, - "tokens": -301.2999999999997 + "pass_rate": 0.2333333333333334, + "time_seconds": 0.7859000000000016, + "tokens": -78 }, "cost": { - "generation_usd": 7.051852, - "grading_usd": 2.939345, - "total_usd": 9.991196, - "with_skill_usd": 5.205659, - "without_skill_usd": 4.785537, - "delta_usd": 0.042012, + "generation_usd": 3.986361, + "grading_usd": 1.562294, + "total_usd": 5.548655, + "with_skill_usd": 3.131637, + "without_skill_usd": 2.417018, + "delta_usd": 0.071462, "runs_with_cost": 20 }, "verdict": "improves" }, { - "model_dir": "anthropic__claude-sonnet-5", - "model": "claude-sonnet-5", + "model_dir": "anthropic__claude-sonnet-5-5", + "model": "claude-sonnet-5-5", "provider": "anthropic", "analyzer_model": "", "runs_per_configuration": 3, @@ -103,28 +103,28 @@ ], "without_skill": { "count": 10, - "pass_rate": 0.5333333333333334, - "time_seconds": 25.464399999999998, - "tokens": 2450 + "pass_rate": 0.6666666666666666, + "time_seconds": 16.4757, + "tokens": 2756.4 }, "with_skill": { "count": 10, - "pass_rate": 0.9500000000000002, - "time_seconds": 24.272800000000004, - "tokens": 1758.9 + "pass_rate": 0.9666666666666668, + "time_seconds": 14.8924, + "tokens": 2673 }, "delta": { - "pass_rate": 0.41666666666666674, - "time_seconds": -1.191599999999994, - "tokens": -691.0999999999999 + "pass_rate": 0.30000000000000016, + "time_seconds": -1.5832999999999995, + "tokens": -83.40000000000009 }, "cost": { - "generation_usd": 5.845243, - "grading_usd": 2.657929, - "total_usd": 8.503171, - "with_skill_usd": 4.544788, - "without_skill_usd": 3.958383, - "delta_usd": 0.05864, + "generation_usd": 1.725466, + "grading_usd": 1.485876, + "total_usd": 3.211342, + "with_skill_usd": 1.782299, + "without_skill_usd": 1.429043, + "delta_usd": 0.035326, "runs_with_cost": 20 }, "verdict": "improves" @@ -136,84 +136,84 @@ "eval_name": "sections-not-pages", "without_skill": { "count": 6, - "pass_rate": 0.47222222222222227, - "time_seconds": 31.455666666666662, - "tokens": 2254.1666666666665 + "pass_rate": 0.5555555555555555, + "time_seconds": 19.127333333333333, + "tokens": 2135 }, "with_skill": { "count": 6, "pass_rate": 0.8611111111111112, - "time_seconds": 26.040000000000003, - "tokens": 2245.5 + "time_seconds": 85.28516666666665, + "tokens": 2227.1666666666665 }, "delta": { - "pass_rate": 0.3888888888888889, - "time_seconds": -5.4156666666666595, - "tokens": -8.666666666666515 + "pass_rate": 0.3055555555555557, + "time_seconds": 66.15783333333331, + "tokens": 92.16666666666652 }, - "mean_delta_pass_rate": 0.3888888888888889, + "mean_delta_pass_rate": 0.3055555555555557, "models": [ { "model": "claude-haiku-4-5-20251001", "eval_name": "sections-not-pages", "with_skill": { "count": 2, - "pass_rate": 0.8333333333333334, - "time_seconds": 27.518, - "tokens": 1545.5 + "pass_rate": 0.9166666666666667, + "time_seconds": 219.87199999999999, + "tokens": 1272 }, "without_skill": { "count": 2, - "pass_rate": 0.5, - "time_seconds": 18.767, - "tokens": 1587 + "pass_rate": 0.4166666666666667, + "time_seconds": 21.169, + "tokens": 1681.5 }, "delta": { - "pass_rate": 0.33333333333333337, - "time_seconds": 8.751000000000001, - "tokens": -41.5 + "pass_rate": 0.5, + "time_seconds": 198.70299999999997, + "tokens": -409.5 } }, { - "model": "claude-opus-5", + "model": "claude-opus-5-5", "eval_name": "sections-not-pages", "with_skill": { "count": 2, "pass_rate": 0.8333333333333334, - "time_seconds": 25.2705, - "tokens": 3106.5 + "time_seconds": 21.363999999999997, + "tokens": 2848 }, "without_skill": { "count": 2, - "pass_rate": 0.75, - "time_seconds": 45.1365, - "tokens": 2671 + "pass_rate": 0.5833333333333333, + "time_seconds": 21.2565, + "tokens": 2647.5 }, "delta": { - "pass_rate": 0.08333333333333337, - "time_seconds": -19.866, - "tokens": 435.5 + "pass_rate": 0.2500000000000001, + "time_seconds": 0.10749999999999815, + "tokens": 200.5 } }, { - "model": "claude-sonnet-5", + "model": "claude-sonnet-5-5", "eval_name": "sections-not-pages", "with_skill": { "count": 2, - "pass_rate": 0.9166666666666667, - "time_seconds": 25.3315, - "tokens": 2084.5 + "pass_rate": 0.8333333333333334, + "time_seconds": 14.619499999999999, + "tokens": 2561.5 }, "without_skill": { "count": 2, - "pass_rate": 0.16666666666666666, - "time_seconds": 30.463500000000003, - "tokens": 2504.5 + "pass_rate": 0.6666666666666666, + "time_seconds": 14.956499999999998, + "tokens": 2076 }, "delta": { - "pass_rate": 0.7500000000000001, - "time_seconds": -5.132000000000005, - "tokens": -420 + "pass_rate": 0.16666666666666674, + "time_seconds": -0.33699999999999974, + "tokens": 485.5 } } ] @@ -223,84 +223,84 @@ "eval_name": "never-construct-ids", "without_skill": { "count": 6, - "pass_rate": 0.4166666666666667, - "time_seconds": 25.557333333333332, - "tokens": 2103 + "pass_rate": 0.47222222222222215, + "time_seconds": 17.447166666666664, + "tokens": 1800 }, "with_skill": { "count": 6, - "pass_rate": 1, - "time_seconds": 23.640833333333333, - "tokens": 1768.1666666666667 + "pass_rate": 0.9444444444444445, + "time_seconds": 22.054, + "tokens": 1921.6666666666667 }, "delta": { - "pass_rate": 0.5833333333333333, - "time_seconds": -1.9164999999999992, - "tokens": -334.83333333333326 + "pass_rate": 0.4722222222222224, + "time_seconds": 4.606833333333334, + "tokens": 121.66666666666674 }, - "mean_delta_pass_rate": 0.5833333333333333, + "mean_delta_pass_rate": 0.4722222222222224, "models": [ { "model": "claude-haiku-4-5-20251001", "eval_name": "never-construct-ids", "with_skill": { "count": 2, - "pass_rate": 1, - "time_seconds": 20.433999999999997, - "tokens": 1105.5 + "pass_rate": 0.9166666666666667, + "time_seconds": 33.397999999999996, + "tokens": 1024 }, "without_skill": { "count": 2, "pass_rate": 0.25, - "time_seconds": 16.6225, - "tokens": 1322.5 + "time_seconds": 19.151, + "tokens": 989.5 }, "delta": { - "pass_rate": 0.75, - "time_seconds": 3.8114999999999988, - "tokens": -217 + "pass_rate": 0.6666666666666667, + "time_seconds": 14.246999999999996, + "tokens": 34.5 } }, { - "model": "claude-opus-5", + "model": "claude-opus-5-5", "eval_name": "never-construct-ids", "with_skill": { "count": 2, - "pass_rate": 1, - "time_seconds": 23.631999999999998, - "tokens": 2485.5 + "pass_rate": 0.9166666666666667, + "time_seconds": 19.273, + "tokens": 2401 }, "without_skill": { "count": 2, - "pass_rate": 0.3333333333333333, - "time_seconds": 34.4275, - "tokens": 2958.5 + "pass_rate": 0.5833333333333333, + "time_seconds": 17.857, + "tokens": 2283 }, "delta": { - "pass_rate": 0.6666666666666667, - "time_seconds": -10.795500000000004, - "tokens": -473 + "pass_rate": 0.3333333333333335, + "time_seconds": 1.4160000000000004, + "tokens": 118 } }, { - "model": "claude-sonnet-5", + "model": "claude-sonnet-5-5", "eval_name": "never-construct-ids", "with_skill": { "count": 2, "pass_rate": 1, - "time_seconds": 26.8565, - "tokens": 1713.5 + "time_seconds": 13.491, + "tokens": 2340 }, "without_skill": { "count": 2, - "pass_rate": 0.6666666666666666, - "time_seconds": 25.622, - "tokens": 2028 + "pass_rate": 0.5833333333333333, + "time_seconds": 15.3335, + "tokens": 2127.5 }, "delta": { - "pass_rate": 0.33333333333333337, - "time_seconds": 1.2345000000000006, - "tokens": -314.5 + "pass_rate": 0.41666666666666674, + "time_seconds": -1.8425000000000011, + "tokens": 212.5 } } ] @@ -310,84 +310,84 @@ "eval_name": "version-metadata-trap", "without_skill": { "count": 6, - "pass_rate": 0.8055555555555557, - "time_seconds": 21.548333333333336, - "tokens": 2383.8333333333335 + "pass_rate": 0.888888888888889, + "time_seconds": 17.245499999999996, + "tokens": 2175.6666666666665 }, "with_skill": { "count": 6, - "pass_rate": 0.861111111111111, - "time_seconds": 19.8115, - "tokens": 1790 + "pass_rate": 0.9444444444444445, + "time_seconds": 18.59, + "tokens": 1765.1666666666667 }, "delta": { - "pass_rate": 0.05555555555555536, - "time_seconds": -1.7368333333333368, - "tokens": -593.8333333333335 + "pass_rate": 0.05555555555555558, + "time_seconds": 1.3445000000000036, + "tokens": -410.4999999999998 }, - "mean_delta_pass_rate": 0.05555555555555536, + "mean_delta_pass_rate": 0.05555555555555558, "models": [ { "model": "claude-haiku-4-5-20251001", "eval_name": "version-metadata-trap", "with_skill": { "count": 2, - "pass_rate": 0.5833333333333333, - "time_seconds": 14.4705, - "tokens": 1278.5 + "pass_rate": 0.8333333333333334, + "time_seconds": 23.15, + "tokens": 1153.5 }, "without_skill": { "count": 2, - "pass_rate": 0.75, - "time_seconds": 14.4635, - "tokens": 1326 + "pass_rate": 0.8333333333333334, + "time_seconds": 15.191500000000001, + "tokens": 1153.5 }, "delta": { - "pass_rate": -0.16666666666666674, - "time_seconds": 0.006999999999999673, - "tokens": -47.5 + "pass_rate": 0, + "time_seconds": 7.958499999999997, + "tokens": 0 } }, { - "model": "claude-opus-5", + "model": "claude-opus-5-5", "eval_name": "version-metadata-trap", "with_skill": { "count": 2, "pass_rate": 1, - "time_seconds": 29.3495, - "tokens": 2643.5 + "time_seconds": 18.124000000000002, + "tokens": 2228.5 }, "without_skill": { "count": 2, - "pass_rate": 0.8333333333333334, - "time_seconds": 34.707, - "tokens": 3476.5 + "pass_rate": 1, + "time_seconds": 22.4565, + "tokens": 2757.5 }, "delta": { - "pass_rate": 0.16666666666666663, - "time_seconds": -5.357500000000002, - "tokens": -833 + "pass_rate": 0, + "time_seconds": -4.332499999999996, + "tokens": -529 } }, { - "model": "claude-sonnet-5", + "model": "claude-sonnet-5-5", "eval_name": "version-metadata-trap", "with_skill": { "count": 2, "pass_rate": 1, - "time_seconds": 15.6145, - "tokens": 1448 + "time_seconds": 14.495999999999999, + "tokens": 1913.5 }, "without_skill": { "count": 2, "pass_rate": 0.8333333333333334, - "time_seconds": 15.4745, - "tokens": 2349 + "time_seconds": 14.0885, + "tokens": 2616 }, "delta": { "pass_rate": 0.16666666666666663, - "time_seconds": 0.1399999999999988, - "tokens": -901 + "time_seconds": 0.40749999999999886, + "tokens": -702.5 } } ] @@ -397,22 +397,22 @@ "eval_name": "corpus-boundary-miss", "without_skill": { "count": 6, - "pass_rate": 0.611111111111111, - "time_seconds": 19.897, - "tokens": 2447.6666666666665 + "pass_rate": 0.75, + "time_seconds": 15.862333333333332, + "tokens": 2375.6666666666665 }, "with_skill": { "count": 6, "pass_rate": 0.8888888888888888, - "time_seconds": 26.418666666666667, - "tokens": 1935.3333333333333 + "time_seconds": 16.492, + "tokens": 2110.6666666666665 }, "delta": { - "pass_rate": 0.2777777777777778, - "time_seconds": 6.521666666666668, - "tokens": -512.3333333333333 + "pass_rate": 0.13888888888888884, + "time_seconds": 0.6296666666666688, + "tokens": -265 }, - "mean_delta_pass_rate": 0.2777777777777778, + "mean_delta_pass_rate": 0.13888888888888884, "models": [ { "model": "claude-haiku-4-5-20251001", @@ -420,61 +420,61 @@ "with_skill": { "count": 2, "pass_rate": 0.6666666666666666, - "time_seconds": 24.3495, - "tokens": 1376 + "time_seconds": 16.1045, + "tokens": 1567 }, "without_skill": { "count": 2, - "pass_rate": 0.3333333333333333, - "time_seconds": 14.665000000000001, - "tokens": 1343 + "pass_rate": 0.5833333333333333, + "time_seconds": 14.349, + "tokens": 1312.5 }, "delta": { - "pass_rate": 0.3333333333333333, - "time_seconds": 9.684499999999998, - "tokens": 33 + "pass_rate": 0.08333333333333337, + "time_seconds": 1.7555000000000014, + "tokens": 254.5 } }, { - "model": "claude-opus-5", + "model": "claude-opus-5-5", "eval_name": "corpus-boundary-miss", "with_skill": { "count": 2, "pass_rate": 1, - "time_seconds": 33.3575, - "tokens": 3159 + "time_seconds": 20.054000000000002, + "tokens": 2485 }, "without_skill": { "count": 2, - "pass_rate": 1, - "time_seconds": 31.461, - "tokens": 3810 + "pass_rate": 0.8333333333333334, + "time_seconds": 19.0105, + "tokens": 2936 }, "delta": { - "pass_rate": 0, - "time_seconds": 1.8965000000000032, - "tokens": -651 + "pass_rate": 0.16666666666666663, + "time_seconds": 1.0435000000000016, + "tokens": -451 } }, { - "model": "claude-sonnet-5", + "model": "claude-sonnet-5-5", "eval_name": "corpus-boundary-miss", "with_skill": { "count": 2, "pass_rate": 1, - "time_seconds": 21.549, - "tokens": 1271 + "time_seconds": 13.3175, + "tokens": 2280 }, "without_skill": { "count": 2, - "pass_rate": 0.5, - "time_seconds": 13.565, - "tokens": 2190 + "pass_rate": 0.8333333333333334, + "time_seconds": 14.2275, + "tokens": 2878.5 }, "delta": { - "pass_rate": 0.5, - "time_seconds": 7.984, - "tokens": -919 + "pass_rate": 0.16666666666666663, + "time_seconds": -0.9099999999999984, + "tokens": -598.5 } } ] @@ -484,84 +484,84 @@ "eval_name": "ask-economics", "without_skill": { "count": 6, - "pass_rate": 0.5, - "time_seconds": 36.935, - "tokens": 3451.1666666666665 + "pass_rate": 0.44444444444444436, + "time_seconds": 21.917666666666666, + "tokens": 3412 }, "with_skill": { "count": 6, - "pass_rate": 0.8333333333333334, - "time_seconds": 36.583666666666666, - "tokens": 3086.3333333333335 + "pass_rate": 0.9444444444444445, + "time_seconds": 22.645166666666668, + "tokens": 3496.6666666666665 }, "delta": { - "pass_rate": 0.33333333333333337, - "time_seconds": -0.3513333333333364, - "tokens": -364.83333333333303 + "pass_rate": 0.5000000000000002, + "time_seconds": 0.7275000000000027, + "tokens": 84.66666666666652 }, - "mean_delta_pass_rate": 0.33333333333333337, + "mean_delta_pass_rate": 0.5000000000000002, "models": [ { "model": "claude-haiku-4-5-20251001", "eval_name": "ask-economics", "with_skill": { "count": 2, - "pass_rate": 0.75, - "time_seconds": 23.1255, - "tokens": 1569 + "pass_rate": 0.8333333333333334, + "time_seconds": 18.212, + "tokens": 1583.5 }, "without_skill": { "count": 2, - "pass_rate": 0.41666666666666663, - "time_seconds": 16.8795, - "tokens": 1777.5 + "pass_rate": 0.3333333333333333, + "time_seconds": 16.490000000000002, + "tokens": 1787 }, "delta": { - "pass_rate": 0.33333333333333337, - "time_seconds": 6.245999999999999, - "tokens": -208.5 + "pass_rate": 0.5, + "time_seconds": 1.7219999999999978, + "tokens": -203.5 } }, { - "model": "claude-opus-5", + "model": "claude-opus-5-5", "eval_name": "ask-economics", "with_skill": { "count": 2, - "pass_rate": 0.9166666666666667, - "time_seconds": 54.613, - "tokens": 5412.5 + "pass_rate": 1, + "time_seconds": 31.1855, + "tokens": 4636.5 }, "without_skill": { "count": 2, "pass_rate": 0.5833333333333333, - "time_seconds": 51.7285, - "tokens": 5397.5 + "time_seconds": 25.490499999999997, + "tokens": 4365 }, "delta": { - "pass_rate": 0.3333333333333335, - "time_seconds": 2.8845000000000027, - "tokens": 15 + "pass_rate": 0.41666666666666674, + "time_seconds": 5.695000000000004, + "tokens": 271.5 } }, { - "model": "claude-sonnet-5", + "model": "claude-sonnet-5-5", "eval_name": "ask-economics", "with_skill": { "count": 2, - "pass_rate": 0.8333333333333334, - "time_seconds": 32.0125, - "tokens": 2277.5 + "pass_rate": 1, + "time_seconds": 18.538, + "tokens": 4270 }, "without_skill": { "count": 2, - "pass_rate": 0.5, - "time_seconds": 42.197, - "tokens": 3178.5 + "pass_rate": 0.41666666666666663, + "time_seconds": 23.7725, + "tokens": 4084 }, "delta": { - "pass_rate": 0.33333333333333337, - "time_seconds": -10.1845, - "tokens": -901 + "pass_rate": 0.5833333333333334, + "time_seconds": -5.234500000000001, + "tokens": 186 } } ] @@ -569,15 +569,92 @@ ], "overall": { "models": 3, - "total_cost_usd": 22.653816, - "generation_cost_usd": 14.221587, - "grading_cost_usd": 8.43223, - "mean_delta_pass_rate": 0.3277777777777778, - "mean_delta_tokens": -362.89999999999986, - "mean_delta_time_seconds": -0.5797333333333275, - "mean_delta_cost_usd": 0.04203166666666667, + "total_cost_usd": 11.279859, + "generation_cost_usd": 6.819225, + "grading_cost_usd": 4.460634, + "mean_delta_pass_rate": 0.29444444444444456, + "mean_delta_tokens": -75.40000000000002, + "mean_delta_time_seconds": 14.693266666666666, + "mean_delta_cost_usd": 0.049334333333333334, "models_improved": 3, "models_neutral": 0, "models_degraded": 0 + }, + "baseline_comparison": { + "path": "evals/redis-docs-mcp/docs-mcp/baselines/aggregate-benchmark.json", + "generated_at": "2026-08-24T08:30:10.454Z", + "input_root": "eval-workspaces/redis-docs-mcp/docs-mcp/iteration-1", + "overall": { + "baseline": { + "mean_pass_delta": 0.3277777777777778, + "mean_token_delta": -362.89999999999986, + "mean_time_delta_seconds": -0.5797333333333275, + "mean_cost_delta_usd": 0.04203166666666667 + }, + "current": { + "mean_pass_delta": 0.29444444444444456, + "mean_token_delta": -75.40000000000002, + "mean_time_delta_seconds": 14.693266666666666, + "mean_cost_delta_usd": 0.049334333333333334 + }, + "change": { + "mean_pass_delta": -0.033333333333333215, + "mean_token_delta": 287.49999999999983, + "mean_time_delta_seconds": 15.272999999999994, + "mean_cost_delta_usd": 0.007302666666666666 + } + }, + "models": [ + { + "model": "claude-haiku-4-5-20251001", + "status": "compared", + "baseline": { + "pass_delta": 0.3166666666666667, + "token_delta": -96.29999999999995, + "time_delta_seconds": 5.700000000000003, + "cost_delta_usd": 0.025443 + }, + "current": { + "pass_delta": 0.3500000000000001, + "token_delta": -64.79999999999995, + "time_delta_seconds": 44.8772, + "cost_delta_usd": 0.041215 + }, + "change": { + "pass_delta": 0.03333333333333338, + "token_delta": 31.5, + "time_delta_seconds": 39.1772, + "cost_delta_usd": 0.015772 + }, + "baseline_verdict": "improves", + "current_verdict": "improves" + }, + { + "model": "claude-opus-5-5", + "status": "new", + "current": { + "pass_delta": 0.2333333333333334, + "token_delta": -78, + "time_delta_seconds": 0.7859000000000016, + "cost_delta_usd": 0.071462 + }, + "current_verdict": "improves" + }, + { + "model": "claude-sonnet-5-5", + "status": "new", + "current": { + "pass_delta": 0.30000000000000016, + "token_delta": -83.40000000000009, + "time_delta_seconds": -1.5832999999999995, + "cost_delta_usd": 0.035326 + }, + "current_verdict": "improves" + } + ], + "missing_models": [ + "claude-opus-5", + "claude-sonnet-5" + ] } } diff --git a/evals/redis-docs-mcp/docs-mcp/baselines/aggregate-benchmark.md b/evals/redis-docs-mcp/docs-mcp/baselines/aggregate-benchmark.md index 1d364cb..7aeb3d1 100644 --- a/evals/redis-docs-mcp/docs-mcp/baselines/aggregate-benchmark.md +++ b/evals/redis-docs-mcp/docs-mcp/baselines/aggregate-benchmark.md @@ -1,6 +1,6 @@ # Skill Benchmark -Generated: 2026-08-24T08:30:10.454Z +Generated: 2026-11-04T14:23:36.791Z Skill: redis-docs-mcp @@ -11,29 +11,51 @@ Input: `eval-workspaces/redis-docs-mcp/docs-mcp/iteration-1` ## Overall - Models: 3 -- Mean pass-rate delta: +33 points -- Mean token delta: -363 -- Mean time delta: -0.6s -- Total eval cost: $22.6538 -- Mean cost delta: +$0.0420 +- Mean pass-rate delta: +29 points +- Mean token delta: -75 +- Mean time delta: +14.7s +- Total eval cost: $11.2799 +- Mean cost delta: +$0.0493 - Verdict counts: 3 improves, 0 neutral, 0 degrades +## Against Baseline + +Baseline: `evals/redis-docs-mcp/docs-mcp/baselines/aggregate-benchmark.json` + +Baseline generated: 2026-08-24T08:30:10.454Z + +| Metric | Baseline | Current | Change | +|--------|----------|---------|--------| +| Mean pass delta | +33 points | +29 points | -3 points | +| Mean token delta | -363 | -75 | +287 | +| Mean time delta | -0.6s | +14.7s | +15.3s | +| Mean cost delta | +$0.0420 | +$0.0493 | +$0.0073 | + +### By Model Against Baseline + +| Model | Pass Delta Change | Token Delta Change | Time Delta Change | Cost Delta Change | Verdict | +|-------|-------------------|--------------------|-------------------|-------------------|---------| +| claude-haiku-4-5-20251001 | +3 points | +32 | +39.2s | +$0.0158 | improves -> improves | +| claude-opus-5-5 | New model | n/a | n/a | n/a | improves | +| claude-sonnet-5-5 | New model | n/a | n/a | n/a | improves | + +Missing baseline models in this run: claude-opus-5, claude-sonnet-5 ## By Model | Model | Without Skill | With Skill | Pass Delta | Token Delta | Time Delta | Total Cost | Cost Delta | Verdict | |-------|---------------|------------|------------|-------------|------------|------------|------------|---------| -| claude-haiku-4-5-20251001 | 45% | 77% | +32 points | -96 | +5.7s | $4.1594 | +$0.0254 | improves | -| claude-opus-5 | 70% | 95% | +25 points | -301 | -6.2s | $9.9912 | +$0.0420 | improves | -| claude-sonnet-5 | 53% | 95% | +42 points | -691 | -1.2s | $8.5032 | +$0.0586 | improves | +| claude-haiku-4-5-20251001 | 48% | 83% | +35 points | -65 | +44.9s | $2.5199 | +$0.0412 | improves | +| claude-opus-5-5 | 72% | 95% | +23 points | -78 | +0.8s | $5.5487 | +$0.0715 | improves | +| claude-sonnet-5-5 | 67% | 97% | +30 points | -83 | -1.6s | $3.2113 | +$0.0353 | improves | ## By Eval | Eval | Without Skill | With Skill | Pass Delta | Token Delta | Time Delta | Model Pass Deltas | |------|---------------|------------|------------|-------------|------------|-------------------| -| sections-not-pages | 47% | 86% | +39 points | -9 | -5.4s | claude-haiku-4-5-20251001: +33 points
claude-opus-5: +8 points
claude-sonnet-5: +75 points | -| never-construct-ids | 42% | 100% | +58 points | -335 | -1.9s | claude-haiku-4-5-20251001: +75 points
claude-opus-5: +67 points
claude-sonnet-5: +33 points | -| version-metadata-trap | 81% | 86% | +6 points | -594 | -1.7s | claude-haiku-4-5-20251001: -17 points
claude-opus-5: +17 points
claude-sonnet-5: +17 points | -| corpus-boundary-miss | 61% | 89% | +28 points | -512 | +6.5s | claude-haiku-4-5-20251001: +33 points
claude-opus-5: +0 points
claude-sonnet-5: +50 points | -| ask-economics | 50% | 83% | +33 points | -365 | -0.4s | claude-haiku-4-5-20251001: +33 points
claude-opus-5: +33 points
claude-sonnet-5: +33 points | +| sections-not-pages | 56% | 86% | +31 points | +92 | +66.2s | claude-haiku-4-5-20251001: +50 points
claude-opus-5-5: +25 points
claude-sonnet-5-5: +17 points | +| never-construct-ids | 47% | 94% | +47 points | +122 | +4.6s | claude-haiku-4-5-20251001: +67 points
claude-opus-5-5: +33 points
claude-sonnet-5-5: +42 points | +| version-metadata-trap | 89% | 94% | +6 points | -410 | +1.3s | claude-haiku-4-5-20251001: +0 points
claude-opus-5-5: +0 points
claude-sonnet-5-5: +17 points | +| corpus-boundary-miss | 75% | 89% | +14 points | -265 | +0.6s | claude-haiku-4-5-20251001: +8 points
claude-opus-5-5: +17 points
claude-sonnet-5-5: +17 points | +| ask-economics | 44% | 94% | +50 points | +85 | +0.7s | claude-haiku-4-5-20251001: +50 points
claude-opus-5-5: +42 points
claude-sonnet-5-5: +58 points | diff --git a/evals/redis-docs-mcp/docs-mcp/baselines/baseline.json b/evals/redis-docs-mcp/docs-mcp/baselines/baseline.json index 0e8bab7..38d43ea 100644 --- a/evals/redis-docs-mcp/docs-mcp/baselines/baseline.json +++ b/evals/redis-docs-mcp/docs-mcp/baselines/baseline.json @@ -1,6 +1,6 @@ { "baseline_name": "current", - "updated_at": "2026-08-24T08:30:10.470Z", + "updated_at": "2026-11-04T14:23:36.809Z", "skill_name": "redis-docs-mcp", "eval_suite": "docs-mcp", "iteration": "iteration-1", diff --git a/evals/redis-docs-mcp/docs-mcp/baselines/model-matrix.json b/evals/redis-docs-mcp/docs-mcp/baselines/model-matrix.json index e88c248..cea9b75 100644 --- a/evals/redis-docs-mcp/docs-mcp/baselines/model-matrix.json +++ b/evals/redis-docs-mcp/docs-mcp/baselines/model-matrix.json @@ -2,8 +2,8 @@ "eval_suite": "docs-mcp", "description": "Cross-model run plan for the redis-docs-mcp eval suite (section-scoped ids, id construction, metadata.version, corpus boundaries, ask economics). Anthropic skill-creator tooling owns generation, grading, per-model benchmark.json, and benchmark.md; this file records the model matrix we run before combining per-model benchmark files. Note the harness gives runs no MCP access, so the suite grades stated approach rather than tool calls.", "models": [ - "claude-opus-5", - "claude-sonnet-5", + "claude-opus-5-5", + "claude-sonnet-5-5", "claude-haiku-4-5-20251001" ], "configurations": [ @@ -11,6 +11,6 @@ "without_skill" ], "repetitions": 2, - "judge_model": "claude-sonnet-5", + "judge_model": "claude-sonnet-5-5", "default_iteration": "iteration-1" } From 1f789a0c46471b1c83968885bbca3c0a0a1480c3 Mon Sep 17 00:00:00 2001 From: Vishal Bala Date: Wed, 4 Nov 2026 15:44:29 +0100 Subject: [PATCH 11/14] fix(redis-docs-mcp): anchor+window ids carry a url fragment too; list the skill The citation guidance said only named-anchor ids return a url with a usable fragment. Anchor+window ids such as develop/clients/jedis/connect#sec:configure-a-connection-pool-w0 do as well; only bare #sec:wN ids don't. The README skills table now lists redis-docs-mcp. --- README.md | 1 + plugins/redis-development/skills/redis-docs-mcp/SKILL.md | 2 +- skills/redis-docs-mcp/SKILL.md | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0a409bc..11e5aa4 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,7 @@ Skills follow the [Agent Skills](https://agentskills.io/) format. | [redis-clustering](skills/redis-clustering/) | Hash tags for multi-key operations, avoiding CROSSSLOT, reading from replicas. | | [redis-security](skills/redis-security/) | Authentication and TLS, ACL-based least privilege, network bind, firewall, command renaming. | | [redis-observability](skills/redis-observability/) | Key metrics (INFO), debugging commands (SLOWLOG, MEMORY DOCTOR, FT.PROFILE), Redis Insight. | +| [redis-docs-mcp](skills/redis-docs-mcp/) | Reading what the bundled redis.io docs MCP server returns: section-scoped ids, `metadata.version`, corpus coverage, `ask` rate limits. | | [add-redis-iris](skills/add-redis-iris/) | Redis Iris: detect the agent's framework and route to the right Iris product skill. Start here. | | [add-agent-memory](skills/add-agent-memory/) | Redis Iris Agent Memory: provision with the `iris` CLI, wire recall and write-back so the agent remembers users across sessions. | | [add-agent-playbooks](skills/add-agent-playbooks/) | Redis Iris Agent Playbooks: publish procedures (Skills) and approved answers (FAQs), answer from published content only. | diff --git a/plugins/redis-development/skills/redis-docs-mcp/SKILL.md b/plugins/redis-development/skills/redis-docs-mcp/SKILL.md index 6c7257f..9471f90 100644 --- a/plugins/redis-development/skills/redis-docs-mcp/SKILL.md +++ b/plugins/redis-development/skills/redis-docs-mcp/SKILL.md @@ -42,7 +42,7 @@ What follows from this: - **`#sec:wN` ordinals are index windows.** They come back in relevance order, not `w0, w1, w2`. Don't try to reassemble a page out of snippets; `fetch` the section you actually need. - **Never construct an id.** Valid ids come from a `search` result or an `ask` result's `sources[].id`. Guessing happens to work for `commands/` and fails on everything with sections. - **Snippets are truncated prefixes of the body, not summaries.** When one cuts off mid-word right at the interesting part, `fetch` on that id is guaranteed to contain the continuation — no need to re-search with different words. -- **Cite the page `url` and name the section in prose.** `#sec:w1` is an index address, not a web anchor; only the named-anchor shape yields a url with a usable fragment. +- **Cite the page `url` and name the section in prose.** `#sec:w1` is an index address, not a web anchor. Ids with a named anchor (`#sec:`, or `#sec:-wN`) return a url with a usable fragment; bare `#sec:wN` ids don't. Links in returned text point at source files — `` [`DEL`](/content/commands/del.md) `` — which are neither web URLs nor `fetch` ids. Don't cite them or turn them into ids; `search` for the term instead. diff --git a/skills/redis-docs-mcp/SKILL.md b/skills/redis-docs-mcp/SKILL.md index 6c7257f..9471f90 100644 --- a/skills/redis-docs-mcp/SKILL.md +++ b/skills/redis-docs-mcp/SKILL.md @@ -42,7 +42,7 @@ What follows from this: - **`#sec:wN` ordinals are index windows.** They come back in relevance order, not `w0, w1, w2`. Don't try to reassemble a page out of snippets; `fetch` the section you actually need. - **Never construct an id.** Valid ids come from a `search` result or an `ask` result's `sources[].id`. Guessing happens to work for `commands/` and fails on everything with sections. - **Snippets are truncated prefixes of the body, not summaries.** When one cuts off mid-word right at the interesting part, `fetch` on that id is guaranteed to contain the continuation — no need to re-search with different words. -- **Cite the page `url` and name the section in prose.** `#sec:w1` is an index address, not a web anchor; only the named-anchor shape yields a url with a usable fragment. +- **Cite the page `url` and name the section in prose.** `#sec:w1` is an index address, not a web anchor. Ids with a named anchor (`#sec:`, or `#sec:-wN`) return a url with a usable fragment; bare `#sec:wN` ids don't. Links in returned text point at source files — `` [`DEL`](/content/commands/del.md) `` — which are neither web URLs nor `fetch` ids. Don't cite them or turn them into ids; `search` for the term instead. From 09bc2cbc6308e5b177cf88668104a533c73920f8 Mon Sep 17 00:00:00 2001 From: Vishal Bala Date: Wed, 4 Nov 2026 15:47:54 +0100 Subject: [PATCH 12/14] docs(redis-docs-mcp): privacy note covers every tool; describe the suite accurately The note on what leaves the machine sat under ask and named only ask's path. search and fetch send their query text to Redis too, so it now says so, still as a preference rather than a rule. The suite description named three of its five rules and called the weakest one a discriminator. It now lists all five and says which discriminate. --- evals/redis-docs-mcp/docs-mcp/evals.json | 2 +- plugins/redis-development/skills/redis-docs-mcp/SKILL.md | 2 +- skills/redis-docs-mcp/SKILL.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/evals/redis-docs-mcp/docs-mcp/evals.json b/evals/redis-docs-mcp/docs-mcp/evals.json index 2689d1e..92584c1 100644 --- a/evals/redis-docs-mcp/docs-mcp/evals.json +++ b/evals/redis-docs-mcp/docs-mcp/evals.json @@ -1,7 +1,7 @@ { "skill_name": "redis-docs-mcp", "eval_suite": "docs-mcp", - "description": "Evals for the redis-docs-mcp skill: reading what the redis.io docs MCP server actually returns. Each prompt embeds the server's own instructions and tool descriptions in both arms, because in production the agent always has them - so the measured delta is the skill's guidance alone, not credit for what the tool descriptions already say. The discriminators are section-scoped ids, the metadata.version trap, and treating a search miss as non-existence.", + "description": "Evals for the redis-docs-mcp skill: reading what the redis.io docs MCP server actually returns. Each prompt embeds the server's own instructions and tool descriptions in both arms, because in production the agent always has them - so the measured delta is the skill's guidance alone, not credit for what the tool descriptions already say. It covers five rules: section-scoped ids, never constructing an id, what metadata.version means, fetching before reporting a miss, and ask economics. Ask economics and id construction discriminate most; the metadata.version eval barely does, because models mostly avoid that trap unaided.", "evals": [ { "id": 1, diff --git a/plugins/redis-development/skills/redis-docs-mcp/SKILL.md b/plugins/redis-development/skills/redis-docs-mcp/SKILL.md index 9471f90..1d07bb2 100644 --- a/plugins/redis-development/skills/redis-docs-mcp/SKILL.md +++ b/plugins/redis-development/skills/redis-docs-mcp/SKILL.md @@ -69,4 +69,4 @@ So `fetch` the relevant hits before concluding anything is missing, and even the - **On a refusal, do not retry it reworded.** "The documentation does not cover this" is a grounded result, not a parsing failure. Fall back to `search` + `fetch`, which touches no model and draws on a separate, looser budget. - **`ask` → `sources[].id` → `fetch`** when you want the primary source behind a synthesized answer. -Question text reaches Redis and the model provider behind the gateway, so prefer a generic question about the Redis command or behavior over pasting in proprietary code. +Query text from every tool reaches Redis, and from `ask` the model provider behind the gateway too, so prefer a generic question about the Redis command or behavior over pasting in proprietary code. diff --git a/skills/redis-docs-mcp/SKILL.md b/skills/redis-docs-mcp/SKILL.md index 9471f90..1d07bb2 100644 --- a/skills/redis-docs-mcp/SKILL.md +++ b/skills/redis-docs-mcp/SKILL.md @@ -69,4 +69,4 @@ So `fetch` the relevant hits before concluding anything is missing, and even the - **On a refusal, do not retry it reworded.** "The documentation does not cover this" is a grounded result, not a parsing failure. Fall back to `search` + `fetch`, which touches no model and draws on a separate, looser budget. - **`ask` → `sources[].id` → `fetch`** when you want the primary source behind a synthesized answer. -Question text reaches Redis and the model provider behind the gateway, so prefer a generic question about the Redis command or behavior over pasting in proprietary code. +Query text from every tool reaches Redis, and from `ask` the model provider behind the gateway too, so prefer a generic question about the Redis command or behavior over pasting in proprietary code. From 3b85fdd69d2927b798f712ba72a997be149740f2 Mon Sep 17 00:00:00 2001 From: Vishal Bala Date: Wed, 4 Nov 2026 16:28:23 +0100 Subject: [PATCH 13/14] fix(redis-docs-mcp): drop unsourced ask figures, and teach the back-off eval 5 grades The skill stated ask's rate limit as about four requests a minute, a hard output cap, and a separate, looser budget for search and fetch. None of these is published: the server sends no rate-limit headers on any tool and its instructions name no limit. The skill now says only that ask is rate-limited per IP at a low per-minute budget, and eval 5 no longer grades the number or the budget claim. Eval 5 also graded backing off after a rate-limit error, which the skill never said, so it measured the model rather than the skill. Section 4 now says it. --- evals/redis-docs-mcp/docs-mcp/evals.json | 6 +++--- plugins/redis-development/skills/redis-docs-mcp/SKILL.md | 5 ++--- skills/redis-docs-mcp/SKILL.md | 5 ++--- 3 files changed, 7 insertions(+), 9 deletions(-) diff --git a/evals/redis-docs-mcp/docs-mcp/evals.json b/evals/redis-docs-mcp/docs-mcp/evals.json index 92584c1..e12ca62 100644 --- a/evals/redis-docs-mcp/docs-mcp/evals.json +++ b/evals/redis-docs-mcp/docs-mcp/evals.json @@ -76,15 +76,15 @@ "id": 5, "name": "ask-economics", "prompt": "My agent has the redis-docs MCP server connected. Its tool inventory reads:\n\nServer instructions: \"Authoritative, up-to-date Redis documentation. Consult these tools for any question about Redis - commands, configuration, data types, clients, deployment, RediSearch/JSON, version-specific behavior - rather than answering from prior knowledge, which may be stale (Redis 8 changed several defaults and behaviors). Cite the pages you read. Start with `search`, then `fetch` the pages you need. Reserve `ask` for a question spanning several areas of the documentation at once; it takes several seconds, so prefer `search` when one page would answer.\"\n\n- `search(query)`: \"Search the Redis documentation by free-text query. Returns up to 8 matching pages, each with a text snippet and that page's stable `id`. This is the default tool for a Redis question. Search first, then `fetch` any `id` whose full text you need - one search plus a fetch or two answers most questions.\"\n- `fetch(id)`: \"Return the full text and metadata for one Redis documentation page: title, canonical URL, body text, and topic/version/section metadata. Takes an `id` from a `search` result or from an `ask` result's `sources`. Use it when a snippet is not enough to answer confidently, or to quote the documentation exactly.\"\n- `ask(question)`: \"Ask a natural-language question about Redis. Returns a prose answer plus the source documents behind it - any `sources[].id` can be passed to `fetch`. If the documentation does not cover the question, the answer says so. Reserve `ask` for a question spanning several areas of the documentation, where no single page answers and the parts interact - or when a `search` has come back empty or off-target. `ask` takes several seconds, so use `search` and `fetch` for anything narrower.\"\n\nOur CI agent calls `ask` once per failing test to work out whether the failure is a Redis behaviour change. Two problems. It hits rate-limit errors after a handful of calls, which makes no sense to me because it is a single process running one question at a time. And when `ask` replies that the documentation does not cover the question, the agent rephrases and retries up to three times, which mostly seems to make the first problem worse. How should this loop be built instead?", - "expected_output": "Explains the limit is per-IP - roughly four requests a minute - and shared by everything behind that address, so a single process is not the unit and other traffic from the same runner or NAT counts against it. A 'documentation does not cover this' answer is a grounded result, so rephrase-and-retry cannot help and burns the budget; fall back to search plus fetch, which draws on a separate looser budget, back off rather than retry immediately on a rate-limit error, and pass ask's sources ids to fetch for the primary source.", + "expected_output": "Explains the limit is per IP and shared by everything behind that address, so a single process is not the unit and other traffic from the same runner or NAT counts against it. A 'documentation does not cover this' answer is a grounded result, so rephrase-and-retry cannot help and burns the budget; fall back to search plus fetch, back off rather than retry immediately on a rate-limit error, and pass ask's sources ids to fetch for the primary source.", "covered_rules": [ "docs-ask-economics" ], "expectations": [ - "The output identifies the rate limit as applying per IP address, at roughly four requests per minute, rather than per process.", + "The output identifies the rate limit as applying per IP address rather than per process.", "The output explains that the budget is shared by other traffic behind the same address, such as a CI runner or NAT, which is why a single sequential process still hits it.", "The output states that a 'documentation does not cover this' answer is a grounded result, so rephrasing and retrying it cannot succeed.", - "The output recommends falling back to search plus fetch, noting it draws on a separate and more generous budget.", + "The output recommends falling back to search plus fetch after a refusal, rather than calling ask again.", "The output recommends backing off rather than retrying immediately after a rate-limit error.", "The output does not recommend rephrase-and-retry as the remedy for a refusal." ] diff --git a/plugins/redis-development/skills/redis-docs-mcp/SKILL.md b/plugins/redis-development/skills/redis-docs-mcp/SKILL.md index 1d07bb2..035dca7 100644 --- a/plugins/redis-development/skills/redis-docs-mcp/SKILL.md +++ b/plugins/redis-development/skills/redis-docs-mcp/SKILL.md @@ -64,9 +64,8 @@ So `fetch` the relevant hits before concluding anything is missing, and even the ## 4. `ask` costs more than it looks -- **~4 requests/minute per IP**, and that budget is shared by everyone behind the same NAT, so an office or a CI runner can exhaust it collectively. -- **A hard output cap**, so it truncates on broad questions. Ask one narrow thing at a time. -- **On a refusal, do not retry it reworded.** "The documentation does not cover this" is a grounded result, not a parsing failure. Fall back to `search` + `fetch`, which touches no model and draws on a separate, looser budget. +- **Rate-limited per IP at a low per-minute budget**, shared by everyone behind the same NAT, so an office or a CI runner can exhaust it collectively. On a rate-limit error, back off before retrying rather than retrying straight away, and ask one narrow question at a time. +- **On a refusal, do not retry it reworded.** "The documentation does not cover this" is a grounded result, not a parsing failure. Fall back to `search` + `fetch` instead. - **`ask` → `sources[].id` → `fetch`** when you want the primary source behind a synthesized answer. Query text from every tool reaches Redis, and from `ask` the model provider behind the gateway too, so prefer a generic question about the Redis command or behavior over pasting in proprietary code. diff --git a/skills/redis-docs-mcp/SKILL.md b/skills/redis-docs-mcp/SKILL.md index 1d07bb2..035dca7 100644 --- a/skills/redis-docs-mcp/SKILL.md +++ b/skills/redis-docs-mcp/SKILL.md @@ -64,9 +64,8 @@ So `fetch` the relevant hits before concluding anything is missing, and even the ## 4. `ask` costs more than it looks -- **~4 requests/minute per IP**, and that budget is shared by everyone behind the same NAT, so an office or a CI runner can exhaust it collectively. -- **A hard output cap**, so it truncates on broad questions. Ask one narrow thing at a time. -- **On a refusal, do not retry it reworded.** "The documentation does not cover this" is a grounded result, not a parsing failure. Fall back to `search` + `fetch`, which touches no model and draws on a separate, looser budget. +- **Rate-limited per IP at a low per-minute budget**, shared by everyone behind the same NAT, so an office or a CI runner can exhaust it collectively. On a rate-limit error, back off before retrying rather than retrying straight away, and ask one narrow question at a time. +- **On a refusal, do not retry it reworded.** "The documentation does not cover this" is a grounded result, not a parsing failure. Fall back to `search` + `fetch` instead. - **`ask` → `sources[].id` → `fetch`** when you want the primary source behind a synthesized answer. Query text from every tool reaches Redis, and from `ask` the model provider behind the gateway too, so prefer a generic question about the Redis command or behavior over pasting in proprietary code. From 1200ddf553cb76b35e9d9bb5f6f27af0a91e59da Mon Sep 17 00:00:00 2001 From: Vishal Bala Date: Wed, 4 Nov 2026 16:41:00 +0100 Subject: [PATCH 14/14] chore(evals): re-baseline redis-docs-mcp after softening the ask figures Re-run on 3b85fdd. Mean +27 pass-rate points, all three models improve: opus-5.5 73 -> 95, sonnet-5.5 60 -> 98, haiku-4.5 52 -> 73. Every arm's CLI modelUsage matches the model it requested, and no output is degenerate. --- .../docs-mcp/baselines/README.md | 2 +- .../baselines/aggregate-benchmark.json | 517 +++++++++--------- .../docs-mcp/baselines/aggregate-benchmark.md | 47 +- .../docs-mcp/baselines/baseline.json | 2 +- 4 files changed, 294 insertions(+), 274 deletions(-) diff --git a/evals/redis-docs-mcp/docs-mcp/baselines/README.md b/evals/redis-docs-mcp/docs-mcp/baselines/README.md index e200575..2685f9b 100644 --- a/evals/redis-docs-mcp/docs-mcp/baselines/README.md +++ b/evals/redis-docs-mcp/docs-mcp/baselines/README.md @@ -1,6 +1,6 @@ # docs-mcp Baseline -Updated: 2026-11-04T14:23:36.809Z +Updated: 2026-11-04T15:38:24.340Z Skill: `redis-docs-mcp` diff --git a/evals/redis-docs-mcp/docs-mcp/baselines/aggregate-benchmark.json b/evals/redis-docs-mcp/docs-mcp/baselines/aggregate-benchmark.json index 70ed0fd..f081404 100644 --- a/evals/redis-docs-mcp/docs-mcp/baselines/aggregate-benchmark.json +++ b/evals/redis-docs-mcp/docs-mcp/baselines/aggregate-benchmark.json @@ -1,5 +1,5 @@ { - "generated_at": "2026-11-04T14:23:36.791Z", + "generated_at": "2026-11-04T15:38:24.292Z", "input_root": "eval-workspaces/redis-docs-mcp/docs-mcp/iteration-1", "context": { "skill_name": "redis-docs-mcp", @@ -21,28 +21,28 @@ ], "without_skill": { "count": 10, - "pass_rate": 0.4833333333333333, - "time_seconds": 17.270100000000003, - "tokens": 1384.8 + "pass_rate": 0.5166666666666666, + "time_seconds": 16.909299999999995, + "tokens": 1419.9 }, "with_skill": { "count": 10, - "pass_rate": 0.8333333333333334, - "time_seconds": 62.14730000000001, - "tokens": 1320 + "pass_rate": 0.7333333333333333, + "time_seconds": 20.1735, + "tokens": 1285 }, "delta": { - "pass_rate": 0.3500000000000001, - "time_seconds": 44.8772, - "tokens": -64.79999999999995 + "pass_rate": 0.21666666666666667, + "time_seconds": 3.264200000000006, + "tokens": -134.9000000000001 }, "cost": { - "generation_usd": 1.107398, - "grading_usd": 1.412464, - "total_usd": 2.519862, - "with_skill_usd": 1.466004, - "without_skill_usd": 1.053857, - "delta_usd": 0.041215, + "generation_usd": 0.933218, + "grading_usd": 1.45756, + "total_usd": 2.390778, + "with_skill_usd": 1.306451, + "without_skill_usd": 1.084327, + "delta_usd": 0.022212, "runs_with_cost": 20 }, "verdict": "improves" @@ -62,28 +62,28 @@ ], "without_skill": { "count": 10, - "pass_rate": 0.7166666666666666, - "time_seconds": 21.214199999999998, - "tokens": 2997.8 + "pass_rate": 0.7333333333333332, + "time_seconds": 18.2749, + "tokens": 2311.8 }, "with_skill": { "count": 10, "pass_rate": 0.95, - "time_seconds": 22.0001, - "tokens": 2919.8 + "time_seconds": 19.124700000000004, + "tokens": 2275.5 }, "delta": { - "pass_rate": 0.2333333333333334, - "time_seconds": 0.7859000000000016, - "tokens": -78 + "pass_rate": 0.21666666666666679, + "time_seconds": 0.8498000000000054, + "tokens": -36.30000000000018 }, "cost": { - "generation_usd": 3.986361, - "grading_usd": 1.562294, - "total_usd": 5.548655, - "with_skill_usd": 3.131637, - "without_skill_usd": 2.417018, - "delta_usd": 0.071462, + "generation_usd": 4.349502, + "grading_usd": 1.76922, + "total_usd": 6.118721, + "with_skill_usd": 3.52995, + "without_skill_usd": 2.588771, + "delta_usd": 0.094118, "runs_with_cost": 20 }, "verdict": "improves" @@ -103,28 +103,28 @@ ], "without_skill": { "count": 10, - "pass_rate": 0.6666666666666666, - "time_seconds": 16.4757, - "tokens": 2756.4 + "pass_rate": 0.6000000000000001, + "time_seconds": 13.068200000000001, + "tokens": 2000.8 }, "with_skill": { "count": 10, - "pass_rate": 0.9666666666666668, - "time_seconds": 14.8924, - "tokens": 2673 + "pass_rate": 0.9833333333333334, + "time_seconds": 13.073500000000001, + "tokens": 1865.3 }, "delta": { - "pass_rate": 0.30000000000000016, - "time_seconds": -1.5832999999999995, - "tokens": -83.40000000000009 + "pass_rate": 0.3833333333333333, + "time_seconds": 0.005300000000000082, + "tokens": -135.5 }, "cost": { - "generation_usd": 1.725466, - "grading_usd": 1.485876, - "total_usd": 3.211342, - "with_skill_usd": 1.782299, - "without_skill_usd": 1.429043, - "delta_usd": 0.035326, + "generation_usd": 1.671728, + "grading_usd": 1.39866, + "total_usd": 3.070388, + "with_skill_usd": 1.732323, + "without_skill_usd": 1.338064, + "delta_usd": 0.039426, "runs_with_cost": 20 }, "verdict": "improves" @@ -136,42 +136,42 @@ "eval_name": "sections-not-pages", "without_skill": { "count": 6, - "pass_rate": 0.5555555555555555, - "time_seconds": 19.127333333333333, - "tokens": 2135 + "pass_rate": 0.5, + "time_seconds": 16.32283333333333, + "tokens": 1812.6666666666667 }, "with_skill": { "count": 6, - "pass_rate": 0.8611111111111112, - "time_seconds": 85.28516666666665, - "tokens": 2227.1666666666665 + "pass_rate": 0.8333333333333334, + "time_seconds": 19.92316666666667, + "tokens": 1709.6666666666667 }, "delta": { - "pass_rate": 0.3055555555555557, - "time_seconds": 66.15783333333331, - "tokens": 92.16666666666652 + "pass_rate": 0.33333333333333337, + "time_seconds": 3.6003333333333387, + "tokens": -103 }, - "mean_delta_pass_rate": 0.3055555555555557, + "mean_delta_pass_rate": 0.33333333333333337, "models": [ { "model": "claude-haiku-4-5-20251001", "eval_name": "sections-not-pages", "with_skill": { "count": 2, - "pass_rate": 0.9166666666666667, - "time_seconds": 219.87199999999999, - "tokens": 1272 + "pass_rate": 0.75, + "time_seconds": 30.122500000000002, + "tokens": 1461 }, "without_skill": { "count": 2, - "pass_rate": 0.4166666666666667, - "time_seconds": 21.169, - "tokens": 1681.5 + "pass_rate": 0.25, + "time_seconds": 22.982, + "tokens": 1646.5 }, "delta": { "pass_rate": 0.5, - "time_seconds": 198.70299999999997, - "tokens": -409.5 + "time_seconds": 7.140500000000003, + "tokens": -185.5 } }, { @@ -180,19 +180,19 @@ "with_skill": { "count": 2, "pass_rate": 0.8333333333333334, - "time_seconds": 21.363999999999997, - "tokens": 2848 + "time_seconds": 17.5315, + "tokens": 1977.5 }, "without_skill": { "count": 2, - "pass_rate": 0.5833333333333333, - "time_seconds": 21.2565, - "tokens": 2647.5 + "pass_rate": 0.75, + "time_seconds": 15.582, + "tokens": 1893.5 }, "delta": { - "pass_rate": 0.2500000000000001, - "time_seconds": 0.10749999999999815, - "tokens": 200.5 + "pass_rate": 0.08333333333333337, + "time_seconds": 1.9495000000000005, + "tokens": 84 } }, { @@ -200,20 +200,20 @@ "eval_name": "sections-not-pages", "with_skill": { "count": 2, - "pass_rate": 0.8333333333333334, - "time_seconds": 14.619499999999999, - "tokens": 2561.5 + "pass_rate": 0.9166666666666667, + "time_seconds": 12.1155, + "tokens": 1690.5 }, "without_skill": { "count": 2, - "pass_rate": 0.6666666666666666, - "time_seconds": 14.956499999999998, - "tokens": 2076 + "pass_rate": 0.5, + "time_seconds": 10.404499999999999, + "tokens": 1898 }, "delta": { - "pass_rate": 0.16666666666666674, - "time_seconds": -0.33699999999999974, - "tokens": 485.5 + "pass_rate": 0.41666666666666674, + "time_seconds": 1.711000000000002, + "tokens": -207.5 } } ] @@ -223,20 +223,20 @@ "eval_name": "never-construct-ids", "without_skill": { "count": 6, - "pass_rate": 0.47222222222222215, - "time_seconds": 17.447166666666664, - "tokens": 1800 + "pass_rate": 0.49999999999999994, + "time_seconds": 15.241, + "tokens": 1498.8333333333333 }, "with_skill": { "count": 6, - "pass_rate": 0.9444444444444445, - "time_seconds": 22.054, - "tokens": 1921.6666666666667 + "pass_rate": 0.9722222222222223, + "time_seconds": 15.889833333333334, + "tokens": 1455.8333333333333 }, "delta": { "pass_rate": 0.4722222222222224, - "time_seconds": 4.606833333333334, - "tokens": 121.66666666666674 + "time_seconds": 0.648833333333334, + "tokens": -43 }, "mean_delta_pass_rate": 0.4722222222222224, "models": [ @@ -245,20 +245,20 @@ "eval_name": "never-construct-ids", "with_skill": { "count": 2, - "pass_rate": 0.9166666666666667, - "time_seconds": 33.397999999999996, - "tokens": 1024 + "pass_rate": 1, + "time_seconds": 17.519, + "tokens": 773.5 }, "without_skill": { "count": 2, - "pass_rate": 0.25, - "time_seconds": 19.151, - "tokens": 989.5 + "pass_rate": 0.5833333333333333, + "time_seconds": 15.4145, + "tokens": 1280 }, "delta": { - "pass_rate": 0.6666666666666667, - "time_seconds": 14.246999999999996, - "tokens": 34.5 + "pass_rate": 0.41666666666666674, + "time_seconds": 2.104499999999998, + "tokens": -506.5 } }, { @@ -267,19 +267,19 @@ "with_skill": { "count": 2, "pass_rate": 0.9166666666666667, - "time_seconds": 19.273, - "tokens": 2401 + "time_seconds": 18.058500000000002, + "tokens": 1891.5 }, "without_skill": { "count": 2, "pass_rate": 0.5833333333333333, - "time_seconds": 17.857, - "tokens": 2283 + "time_seconds": 16.114, + "tokens": 1726.5 }, "delta": { "pass_rate": 0.3333333333333335, - "time_seconds": 1.4160000000000004, - "tokens": 118 + "time_seconds": 1.9445000000000014, + "tokens": 165 } }, { @@ -288,18 +288,18 @@ "with_skill": { "count": 2, "pass_rate": 1, - "time_seconds": 13.491, - "tokens": 2340 + "time_seconds": 12.091999999999999, + "tokens": 1702.5 }, "without_skill": { "count": 2, - "pass_rate": 0.5833333333333333, - "time_seconds": 15.3335, - "tokens": 2127.5 + "pass_rate": 0.3333333333333333, + "time_seconds": 14.194500000000001, + "tokens": 1490 }, "delta": { - "pass_rate": 0.41666666666666674, - "time_seconds": -1.8425000000000011, + "pass_rate": 0.6666666666666667, + "time_seconds": -2.1025000000000027, "tokens": 212.5 } } @@ -310,42 +310,42 @@ "eval_name": "version-metadata-trap", "without_skill": { "count": 6, - "pass_rate": 0.888888888888889, - "time_seconds": 17.245499999999996, - "tokens": 2175.6666666666665 + "pass_rate": 0.7222222222222222, + "time_seconds": 14.994500000000002, + "tokens": 1732.6666666666667 }, "with_skill": { "count": 6, - "pass_rate": 0.9444444444444445, - "time_seconds": 18.59, - "tokens": 1765.1666666666667 + "pass_rate": 0.9444444444444443, + "time_seconds": 16.677333333333333, + "tokens": 1482.1666666666667 }, "delta": { - "pass_rate": 0.05555555555555558, - "time_seconds": 1.3445000000000036, - "tokens": -410.4999999999998 + "pass_rate": 0.2222222222222221, + "time_seconds": 1.6828333333333312, + "tokens": -250.5 }, - "mean_delta_pass_rate": 0.05555555555555558, + "mean_delta_pass_rate": 0.2222222222222221, "models": [ { "model": "claude-haiku-4-5-20251001", "eval_name": "version-metadata-trap", "with_skill": { "count": 2, - "pass_rate": 0.8333333333333334, - "time_seconds": 23.15, - "tokens": 1153.5 + "pass_rate": 0.8333333333333333, + "time_seconds": 19.271, + "tokens": 1266.5 }, "without_skill": { "count": 2, - "pass_rate": 0.8333333333333334, - "time_seconds": 15.191500000000001, - "tokens": 1153.5 + "pass_rate": 0.6666666666666666, + "time_seconds": 15.5275, + "tokens": 1286.5 }, "delta": { - "pass_rate": 0, - "time_seconds": 7.958499999999997, - "tokens": 0 + "pass_rate": 0.16666666666666663, + "time_seconds": 3.743500000000001, + "tokens": -20 } }, { @@ -354,19 +354,19 @@ "with_skill": { "count": 2, "pass_rate": 1, - "time_seconds": 18.124000000000002, - "tokens": 2228.5 + "time_seconds": 19.368499999999997, + "tokens": 2033.5 }, "without_skill": { "count": 2, - "pass_rate": 1, - "time_seconds": 22.4565, - "tokens": 2757.5 + "pass_rate": 0.8333333333333334, + "time_seconds": 18.0805, + "tokens": 2105 }, "delta": { - "pass_rate": 0, - "time_seconds": -4.332499999999996, - "tokens": -529 + "pass_rate": 0.16666666666666663, + "time_seconds": 1.2879999999999967, + "tokens": -71.5 } }, { @@ -375,19 +375,19 @@ "with_skill": { "count": 2, "pass_rate": 1, - "time_seconds": 14.495999999999999, - "tokens": 1913.5 + "time_seconds": 11.3925, + "tokens": 1146.5 }, "without_skill": { "count": 2, - "pass_rate": 0.8333333333333334, - "time_seconds": 14.0885, - "tokens": 2616 + "pass_rate": 0.6666666666666666, + "time_seconds": 11.3755, + "tokens": 1806.5 }, "delta": { - "pass_rate": 0.16666666666666663, - "time_seconds": 0.40749999999999886, - "tokens": -702.5 + "pass_rate": 0.33333333333333337, + "time_seconds": 0.01699999999999946, + "tokens": -660 } } ] @@ -398,41 +398,41 @@ "without_skill": { "count": 6, "pass_rate": 0.75, - "time_seconds": 15.862333333333332, - "tokens": 2375.6666666666665 + "time_seconds": 14.2145, + "tokens": 1680 }, "with_skill": { "count": 6, - "pass_rate": 0.8888888888888888, - "time_seconds": 16.492, - "tokens": 2110.6666666666665 + "pass_rate": 0.8333333333333334, + "time_seconds": 15.735166666666665, + "tokens": 1657 }, "delta": { - "pass_rate": 0.13888888888888884, - "time_seconds": 0.6296666666666688, - "tokens": -265 + "pass_rate": 0.08333333333333337, + "time_seconds": 1.5206666666666653, + "tokens": -23 }, - "mean_delta_pass_rate": 0.13888888888888884, + "mean_delta_pass_rate": 0.08333333333333337, "models": [ { "model": "claude-haiku-4-5-20251001", "eval_name": "corpus-boundary-miss", "with_skill": { "count": 2, - "pass_rate": 0.6666666666666666, - "time_seconds": 16.1045, - "tokens": 1567 + "pass_rate": 0.5, + "time_seconds": 16.5355, + "tokens": 1271.5 }, "without_skill": { "count": 2, "pass_rate": 0.5833333333333333, - "time_seconds": 14.349, - "tokens": 1312.5 + "time_seconds": 14.175, + "tokens": 1112 }, "delta": { - "pass_rate": 0.08333333333333337, - "time_seconds": 1.7555000000000014, - "tokens": 254.5 + "pass_rate": -0.08333333333333326, + "time_seconds": 2.3604999999999983, + "tokens": 159.5 } }, { @@ -441,19 +441,19 @@ "with_skill": { "count": 2, "pass_rate": 1, - "time_seconds": 20.054000000000002, - "tokens": 2485 + "time_seconds": 17.636, + "tokens": 2077.5 }, "without_skill": { "count": 2, "pass_rate": 0.8333333333333334, - "time_seconds": 19.0105, - "tokens": 2936 + "time_seconds": 17.9135, + "tokens": 2215.5 }, "delta": { "pass_rate": 0.16666666666666663, - "time_seconds": 1.0435000000000016, - "tokens": -451 + "time_seconds": -0.27749999999999986, + "tokens": -138 } }, { @@ -462,19 +462,19 @@ "with_skill": { "count": 2, "pass_rate": 1, - "time_seconds": 13.3175, - "tokens": 2280 + "time_seconds": 13.034, + "tokens": 1622 }, "without_skill": { "count": 2, - "pass_rate": 0.8333333333333334, - "time_seconds": 14.2275, - "tokens": 2878.5 + "pass_rate": 0.8333333333333333, + "time_seconds": 10.555, + "tokens": 1712.5 }, "delta": { - "pass_rate": 0.16666666666666663, - "time_seconds": -0.9099999999999984, - "tokens": -598.5 + "pass_rate": 0.16666666666666674, + "time_seconds": 2.479000000000001, + "tokens": -90.5 } } ] @@ -484,42 +484,42 @@ "eval_name": "ask-economics", "without_skill": { "count": 6, - "pass_rate": 0.44444444444444436, - "time_seconds": 21.917666666666666, - "tokens": 3412 + "pass_rate": 0.6111111111111112, + "time_seconds": 19.647833333333335, + "tokens": 2830 }, "with_skill": { "count": 6, - "pass_rate": 0.9444444444444445, - "time_seconds": 22.645166666666668, - "tokens": 3496.6666666666665 + "pass_rate": 0.8611111111111112, + "time_seconds": 19.060666666666666, + "tokens": 2738.3333333333335 }, "delta": { - "pass_rate": 0.5000000000000002, - "time_seconds": 0.7275000000000027, - "tokens": 84.66666666666652 + "pass_rate": 0.25, + "time_seconds": -0.5871666666666684, + "tokens": -91.66666666666652 }, - "mean_delta_pass_rate": 0.5000000000000002, + "mean_delta_pass_rate": 0.25, "models": [ { "model": "claude-haiku-4-5-20251001", "eval_name": "ask-economics", "with_skill": { "count": 2, - "pass_rate": 0.8333333333333334, - "time_seconds": 18.212, - "tokens": 1583.5 + "pass_rate": 0.5833333333333334, + "time_seconds": 17.4195, + "tokens": 1652.5 }, "without_skill": { "count": 2, - "pass_rate": 0.3333333333333333, - "time_seconds": 16.490000000000002, - "tokens": 1787 + "pass_rate": 0.5, + "time_seconds": 16.447499999999998, + "tokens": 1774.5 }, "delta": { - "pass_rate": 0.5, - "time_seconds": 1.7219999999999978, - "tokens": -203.5 + "pass_rate": 0.08333333333333337, + "time_seconds": 0.9720000000000013, + "tokens": -122 } }, { @@ -528,19 +528,19 @@ "with_skill": { "count": 2, "pass_rate": 1, - "time_seconds": 31.1855, - "tokens": 4636.5 + "time_seconds": 23.029, + "tokens": 3397.5 }, "without_skill": { "count": 2, - "pass_rate": 0.5833333333333333, - "time_seconds": 25.490499999999997, - "tokens": 4365 + "pass_rate": 0.6666666666666667, + "time_seconds": 23.6845, + "tokens": 3618.5 }, "delta": { - "pass_rate": 0.41666666666666674, - "time_seconds": 5.695000000000004, - "tokens": 271.5 + "pass_rate": 0.33333333333333326, + "time_seconds": -0.6555, + "tokens": -221 } }, { @@ -549,19 +549,19 @@ "with_skill": { "count": 2, "pass_rate": 1, - "time_seconds": 18.538, - "tokens": 4270 + "time_seconds": 16.7335, + "tokens": 3165 }, "without_skill": { "count": 2, - "pass_rate": 0.41666666666666663, - "time_seconds": 23.7725, - "tokens": 4084 + "pass_rate": 0.6666666666666666, + "time_seconds": 18.811500000000002, + "tokens": 3097 }, "delta": { - "pass_rate": 0.5833333333333334, - "time_seconds": -5.234500000000001, - "tokens": 186 + "pass_rate": 0.33333333333333337, + "time_seconds": -2.078000000000003, + "tokens": 68 } } ] @@ -569,39 +569,39 @@ ], "overall": { "models": 3, - "total_cost_usd": 11.279859, - "generation_cost_usd": 6.819225, - "grading_cost_usd": 4.460634, - "mean_delta_pass_rate": 0.29444444444444456, - "mean_delta_tokens": -75.40000000000002, - "mean_delta_time_seconds": 14.693266666666666, - "mean_delta_cost_usd": 0.049334333333333334, + "total_cost_usd": 11.579887, + "generation_cost_usd": 6.954448, + "grading_cost_usd": 4.62544, + "mean_delta_pass_rate": 0.27222222222222225, + "mean_delta_tokens": -102.23333333333342, + "mean_delta_time_seconds": 1.3731000000000038, + "mean_delta_cost_usd": 0.05191866666666667, "models_improved": 3, "models_neutral": 0, "models_degraded": 0 }, "baseline_comparison": { "path": "evals/redis-docs-mcp/docs-mcp/baselines/aggregate-benchmark.json", - "generated_at": "2026-08-24T08:30:10.454Z", + "generated_at": "2026-11-04T14:23:36.791Z", "input_root": "eval-workspaces/redis-docs-mcp/docs-mcp/iteration-1", "overall": { "baseline": { - "mean_pass_delta": 0.3277777777777778, - "mean_token_delta": -362.89999999999986, - "mean_time_delta_seconds": -0.5797333333333275, - "mean_cost_delta_usd": 0.04203166666666667 - }, - "current": { "mean_pass_delta": 0.29444444444444456, "mean_token_delta": -75.40000000000002, "mean_time_delta_seconds": 14.693266666666666, "mean_cost_delta_usd": 0.049334333333333334 }, + "current": { + "mean_pass_delta": 0.27222222222222225, + "mean_token_delta": -102.23333333333342, + "mean_time_delta_seconds": 1.3731000000000038, + "mean_cost_delta_usd": 0.05191866666666667 + }, "change": { - "mean_pass_delta": -0.033333333333333215, - "mean_token_delta": 287.49999999999983, - "mean_time_delta_seconds": 15.272999999999994, - "mean_cost_delta_usd": 0.007302666666666666 + "mean_pass_delta": -0.02222222222222231, + "mean_token_delta": -26.8333333333334, + "mean_time_delta_seconds": -13.320166666666662, + "mean_cost_delta_usd": 0.0025843333333333343 } }, "models": [ @@ -609,52 +609,75 @@ "model": "claude-haiku-4-5-20251001", "status": "compared", "baseline": { - "pass_delta": 0.3166666666666667, - "token_delta": -96.29999999999995, - "time_delta_seconds": 5.700000000000003, - "cost_delta_usd": 0.025443 - }, - "current": { "pass_delta": 0.3500000000000001, "token_delta": -64.79999999999995, "time_delta_seconds": 44.8772, "cost_delta_usd": 0.041215 }, + "current": { + "pass_delta": 0.21666666666666667, + "token_delta": -134.9000000000001, + "time_delta_seconds": 3.264200000000006, + "cost_delta_usd": 0.022212 + }, "change": { - "pass_delta": 0.03333333333333338, - "token_delta": 31.5, - "time_delta_seconds": 39.1772, - "cost_delta_usd": 0.015772 + "pass_delta": -0.13333333333333341, + "token_delta": -70.10000000000014, + "time_delta_seconds": -41.613, + "cost_delta_usd": -0.019003000000000003 }, "baseline_verdict": "improves", "current_verdict": "improves" }, { "model": "claude-opus-5-5", - "status": "new", - "current": { + "status": "compared", + "baseline": { "pass_delta": 0.2333333333333334, "token_delta": -78, "time_delta_seconds": 0.7859000000000016, "cost_delta_usd": 0.071462 }, + "current": { + "pass_delta": 0.21666666666666679, + "token_delta": -36.30000000000018, + "time_delta_seconds": 0.8498000000000054, + "cost_delta_usd": 0.094118 + }, + "change": { + "pass_delta": -0.016666666666666607, + "token_delta": 41.69999999999982, + "time_delta_seconds": 0.06390000000000384, + "cost_delta_usd": 0.022655999999999996 + }, + "baseline_verdict": "improves", "current_verdict": "improves" }, { "model": "claude-sonnet-5-5", - "status": "new", - "current": { + "status": "compared", + "baseline": { "pass_delta": 0.30000000000000016, "token_delta": -83.40000000000009, "time_delta_seconds": -1.5832999999999995, "cost_delta_usd": 0.035326 }, + "current": { + "pass_delta": 0.3833333333333333, + "token_delta": -135.5, + "time_delta_seconds": 0.005300000000000082, + "cost_delta_usd": 0.039426 + }, + "change": { + "pass_delta": 0.08333333333333315, + "token_delta": -52.09999999999991, + "time_delta_seconds": 1.5885999999999996, + "cost_delta_usd": 0.0040999999999999995 + }, + "baseline_verdict": "improves", "current_verdict": "improves" } ], - "missing_models": [ - "claude-opus-5", - "claude-sonnet-5" - ] + "missing_models": [] } } diff --git a/evals/redis-docs-mcp/docs-mcp/baselines/aggregate-benchmark.md b/evals/redis-docs-mcp/docs-mcp/baselines/aggregate-benchmark.md index 7aeb3d1..1322ba4 100644 --- a/evals/redis-docs-mcp/docs-mcp/baselines/aggregate-benchmark.md +++ b/evals/redis-docs-mcp/docs-mcp/baselines/aggregate-benchmark.md @@ -1,6 +1,6 @@ # Skill Benchmark -Generated: 2026-11-04T14:23:36.791Z +Generated: 2026-11-04T15:38:24.292Z Skill: redis-docs-mcp @@ -11,51 +11,48 @@ Input: `eval-workspaces/redis-docs-mcp/docs-mcp/iteration-1` ## Overall - Models: 3 -- Mean pass-rate delta: +29 points -- Mean token delta: -75 -- Mean time delta: +14.7s -- Total eval cost: $11.2799 -- Mean cost delta: +$0.0493 +- Mean pass-rate delta: +27 points +- Mean token delta: -102 +- Mean time delta: +1.4s +- Total eval cost: $11.5799 +- Mean cost delta: +$0.0519 - Verdict counts: 3 improves, 0 neutral, 0 degrades ## Against Baseline Baseline: `evals/redis-docs-mcp/docs-mcp/baselines/aggregate-benchmark.json` -Baseline generated: 2026-08-24T08:30:10.454Z +Baseline generated: 2026-11-04T14:23:36.791Z | Metric | Baseline | Current | Change | |--------|----------|---------|--------| -| Mean pass delta | +33 points | +29 points | -3 points | -| Mean token delta | -363 | -75 | +287 | -| Mean time delta | -0.6s | +14.7s | +15.3s | -| Mean cost delta | +$0.0420 | +$0.0493 | +$0.0073 | +| Mean pass delta | +29 points | +27 points | -2 points | +| Mean token delta | -75 | -102 | -27 | +| Mean time delta | +14.7s | +1.4s | -13.3s | +| Mean cost delta | +$0.0493 | +$0.0519 | +$0.0026 | ### By Model Against Baseline | Model | Pass Delta Change | Token Delta Change | Time Delta Change | Cost Delta Change | Verdict | |-------|-------------------|--------------------|-------------------|-------------------|---------| -| claude-haiku-4-5-20251001 | +3 points | +32 | +39.2s | +$0.0158 | improves -> improves | -| claude-opus-5-5 | New model | n/a | n/a | n/a | improves | -| claude-sonnet-5-5 | New model | n/a | n/a | n/a | improves | - -Missing baseline models in this run: claude-opus-5, claude-sonnet-5 - +| claude-haiku-4-5-20251001 | -13 points | -70 | -41.6s | -$0.0190 | improves -> improves | +| claude-opus-5-5 | -2 points | +42 | +0.1s | +$0.0227 | improves -> improves | +| claude-sonnet-5-5 | +8 points | -52 | +1.6s | +$0.0041 | improves -> improves | ## By Model | Model | Without Skill | With Skill | Pass Delta | Token Delta | Time Delta | Total Cost | Cost Delta | Verdict | |-------|---------------|------------|------------|-------------|------------|------------|------------|---------| -| claude-haiku-4-5-20251001 | 48% | 83% | +35 points | -65 | +44.9s | $2.5199 | +$0.0412 | improves | -| claude-opus-5-5 | 72% | 95% | +23 points | -78 | +0.8s | $5.5487 | +$0.0715 | improves | -| claude-sonnet-5-5 | 67% | 97% | +30 points | -83 | -1.6s | $3.2113 | +$0.0353 | improves | +| claude-haiku-4-5-20251001 | 52% | 73% | +22 points | -135 | +3.3s | $2.3908 | +$0.0222 | improves | +| claude-opus-5-5 | 73% | 95% | +22 points | -36 | +0.8s | $6.1187 | +$0.0941 | improves | +| claude-sonnet-5-5 | 60% | 98% | +38 points | -136 | +0.0s | $3.0704 | +$0.0394 | improves | ## By Eval | Eval | Without Skill | With Skill | Pass Delta | Token Delta | Time Delta | Model Pass Deltas | |------|---------------|------------|------------|-------------|------------|-------------------| -| sections-not-pages | 56% | 86% | +31 points | +92 | +66.2s | claude-haiku-4-5-20251001: +50 points
claude-opus-5-5: +25 points
claude-sonnet-5-5: +17 points | -| never-construct-ids | 47% | 94% | +47 points | +122 | +4.6s | claude-haiku-4-5-20251001: +67 points
claude-opus-5-5: +33 points
claude-sonnet-5-5: +42 points | -| version-metadata-trap | 89% | 94% | +6 points | -410 | +1.3s | claude-haiku-4-5-20251001: +0 points
claude-opus-5-5: +0 points
claude-sonnet-5-5: +17 points | -| corpus-boundary-miss | 75% | 89% | +14 points | -265 | +0.6s | claude-haiku-4-5-20251001: +8 points
claude-opus-5-5: +17 points
claude-sonnet-5-5: +17 points | -| ask-economics | 44% | 94% | +50 points | +85 | +0.7s | claude-haiku-4-5-20251001: +50 points
claude-opus-5-5: +42 points
claude-sonnet-5-5: +58 points | +| sections-not-pages | 50% | 83% | +33 points | -103 | +3.6s | claude-haiku-4-5-20251001: +50 points
claude-opus-5-5: +8 points
claude-sonnet-5-5: +42 points | +| never-construct-ids | 50% | 97% | +47 points | -43 | +0.6s | claude-haiku-4-5-20251001: +42 points
claude-opus-5-5: +33 points
claude-sonnet-5-5: +67 points | +| version-metadata-trap | 72% | 94% | +22 points | -251 | +1.7s | claude-haiku-4-5-20251001: +17 points
claude-opus-5-5: +17 points
claude-sonnet-5-5: +33 points | +| corpus-boundary-miss | 75% | 83% | +8 points | -23 | +1.5s | claude-haiku-4-5-20251001: -8 points
claude-opus-5-5: +17 points
claude-sonnet-5-5: +17 points | +| ask-economics | 61% | 86% | +25 points | -92 | -0.6s | claude-haiku-4-5-20251001: +8 points
claude-opus-5-5: +33 points
claude-sonnet-5-5: +33 points | diff --git a/evals/redis-docs-mcp/docs-mcp/baselines/baseline.json b/evals/redis-docs-mcp/docs-mcp/baselines/baseline.json index 38d43ea..c6a1022 100644 --- a/evals/redis-docs-mcp/docs-mcp/baselines/baseline.json +++ b/evals/redis-docs-mcp/docs-mcp/baselines/baseline.json @@ -1,6 +1,6 @@ { "baseline_name": "current", - "updated_at": "2026-11-04T14:23:36.809Z", + "updated_at": "2026-11-04T15:38:24.340Z", "skill_name": "redis-docs-mcp", "eval_suite": "docs-mcp", "iteration": "iteration-1",