CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

agentdb-optimization

Optimize AgentDB performance with quantization (4-32x memory reduction), HNSW indexing (150x faster search), caching, and batch operations. Use when optimizing memory usage, improving search speed, or scaling to millions of vectors.

Quality

77%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

Fix and improve this skill with Tessl

tessl review fix ./.claude/skills/agentdb-optimization/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

57%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A well-structured, highly concrete optimization guide whose main weaknesses are redundancy (Recipes and Scaling Strategies repeat the same config blocks), a self-contradictory batch-insert example, and no validation feedback loops for destructive database operations. All detailed tuning and benchmark content is inlined in a ~510-line body with no reference files to offload it.

Suggestions

Merge "Optimization Recipes" and "Scaling Strategies" — both prescribe quantizationType/cacheSize/hnswM combinations — into a single decision table keyed by dataset size and priority (speed vs accuracy vs memory).

Fix the batch-insert example: the "FAST" path still calls adapter.insertPattern(pattern) in a per-item await loop identical to the "SLOW" path; show the actual batch API (e.g., a single insertPatterns(patterns) call) or remove the 500x claim.

Add validation checkpoints after risky changes — e.g., "after enabling quantization, re-run npx agentdb@latest benchmark and verify accuracy stays above your threshold before deploying" — and move the benchmark table, HNSW tuning tables, and pruning details into a references/ file linked from the body.

DimensionReasoningScore

Conciseness

The body is mostly efficient — trade-off tables, tuning guidance, and code with little conceptual padding Claude already knows — but Optimization Recipes and Scaling Strategies duplicate near-identical createAgentDBAdapter blocks (the config snippet repeats ~12 times) and claims like "32x memory reduction" appear 5+ times. This matches "mostly efficient but could be tightened" rather than the several padded sections of anchor 2.

3 / 5

Actionability

Concrete copy-paste-ready TypeScript and CLI commands ("npx agentdb@latest benchmark", "npx agentdb@latest stats") with specific parameter values cover the common cases. Not 5: the "Batch Insert (500x Faster)" fast path ("for (const pattern of patterns) { await adapter.insertPattern(pattern); }") is structurally identical to the "❌ SLOW" loop it claims to replace, leaving a notable correctness gap in executable guidance.

4 / 5

Workflow Clarity

Quick Start gives a rough benchmark-then-configure sequence, but operations on live databases — destructive "adapter.prune()", batch inserts, and quantization switches — have no explicit validation checkpoints (e.g., re-run benchmarks or verify recall after enabling quantization). Per the rubric's cap for database/batch operations without feedback loops, this is a 3 even though a Troubleshooting section partially compensates.

3 / 5

Progressive Disclosure

Section headers are clear and navigation is easy, but no bundle files exist — inlined tuning tables, benchmark results, recipes, and scaling matrices (~200 lines) clearly belong in separate reference files, and "Learn More" links point to docs/quantization-techniques.pdf and docs/hnsw-index.pdf that are not in the bundle. Good structure with inline content that should be split matches anchor 3.

3 / 5

Total

13

/

20

Passed

Description

88%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong description: it names the target tool, lists four concrete quantified capabilities, and includes an explicit, naturally phrased "Use when" clause. Its only weaknesses are a slightly generic trigger clause that could overlap with other performance-optimization skills and a few missing natural trigger variations.

DimensionReasoningScore

Specificity

Lists four concrete, quantified actions — "quantization (4-32x memory reduction)", "HNSW indexing (150x faster search)", "caching", "batch operations" — giving comprehensive coverage of the skill's capabilities. Not 4 because there are no minor gaps in coverage of the domain.

5 / 5

Completeness

Explicitly answers both questions: the "what" names four concrete techniques with quantified outcomes, and the "when" gives concrete trigger phrases ("Use when optimizing memory usage, improving search speed, or scaling to millions of vectors"). Matches anchor 5; the when-clause is specific, so it is not the merely-present "when" of anchor 4.

5 / 5

Trigger Term Quality

"Use when optimizing memory usage, improving search speed, or scaling to millions of vectors" provides natural trigger phrases, but common variations like "slow search", "latency", or "vector database performance" are absent. Good coverage with a few natural terms missing matches anchor 4 rather than the comprehensive synonym coverage of anchor 5.

4 / 5

Distinctiveness Conflict Risk

"AgentDB" carves out a clear niche, but the when-clause is tool-agnostic — "optimizing memory usage" or "improving search speed" could also fire for other vector-database or performance skills. Minor overlap risk with closely related skills matches anchor 4 rather than the minimal conflict risk of anchor 5.

4 / 5

Total

18

/

20

Passed

Validation

93%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

skill_md_line_count

SKILL.md is long (510 lines); consider splitting into references/ and linking

Warning

Total

15

/

16

Passed

Repository

ruvnet/ruflo

Path

.claude/skills/agentdb-optimization/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.