bench SKILL.md skillA

bench from rergards/mempalace-code is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add rergards/mempalace-code/bench@git:20261004.5baa412

Pins git:20261004.5baa412 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
rergards/mempalace-code
Path
.claude/skills/bench/SKILL.md
Versions recorded
3
Latest version
git:20261004.5baa412, committed Oct 4, 2026
First version recorded
Apr 17, 2026
Size
4,183 bytes
Repository stars
24
License
Apache-2.0

Run embedding benchmarks — R@5 code retrieval, timing, model comparison.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Embedding Benchmarks

Run retrieval quality and performance benchmarks.

## When to Use

- Evaluating embedding model changes
- Performance regression testing
- Comparing model candidates
- User says "benchmark", "bench", "test embeddings"

## Baseline rule

There are no fixed pass/fail thresholds. The only recorded code-retrieval numbers
(the historical 2026-04-09 table in `AGENTS.md`) came from an older fixed list of
20 queries and are not comparable with the current dataset. Compare a candidate
only with a baseline measured by the same command, dataset, and environment — for
example the base commit run immediately before the candidate. Report a regression
or no regression against that baseline, never PASS/FAIL against a remembered
number.

Write every report under a disposable temp directory, never into the checkout,
and remove it when done.

## Steps

### Step 1: Check Prerequisites

```bash
OUT_DIR=$(mktemp -d)
python -c "from mempalace_code.storage import DEFAULT_EMBED_MODEL; print(f'Model: {DEFAULT_EMBED_MODEL}')"
python benchmarks/code_retrieval_bench.py --repo-dir . --validate-dataset
```

The embedding model must already be cached (`mempalace-code fetch-model`).
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add rergards/mempalace-code/bench@sha256:42fcfb63e029551d

The line at the top of this page pins the label git:20261004.5baa412, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_tl5xhv7pufhiz5dr.svg)](https://markdownregistry.com/a/art_tl5xhv7pufhiz5dr)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 3 versions of this file, between Apr 17, 2026 and Oct 4, 2026, about one every 85 days.

versioncommittedcommitsizeaudit
git:20261004.5baa412 latest2026-10-04 5baa412 4,183 BA view · diff
git:20260810.8075e722026-08-10 8075e72 3,074 BA view · diff
git:20260417.880e9062026-04-17 880e906 2,869 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (4183 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

rergards/mempalace-code · 24 stars · license Apache-2.0 · pushed 2026-11-01 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_tl5xhv7pufhiz5dr
GET https://markdownregistry.com/api/v1/resolve?ref=rergards/mempalace-code/bench
GET https://markdownregistry.com/api/v1/blob/42fcfb63e029551d4d7094440f782f93ec9bb3399f53ef6b9e3e538ec1d44bcc

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from rergards/mempalace-code

mempalace-release-prep SKILL.md skill
rergards/mempalace-code · .agents/skills/mempalace-release-prep/SKILL.md · Prepare a MemPalace release with safe repository cleanup, metadata reconciliation and credential-free local…
git:20261006.5699391 · audit A · 24 stars
doc-refresh SKILL.md skill
rergards/mempalace-code · .claude/skills/doc-refresh/SKILL.md · Weekly documentation refresh and maintenance - audit staleness, update docs, validate backlog
git:20260417.880e906 · audit A · 24 stars
entropy-gc SKILL.md skill
rergards/mempalace-code · .claude/skills/entropy-gc/SKILL.md · Scan codebase for AI-generated entropy — duplicated helpers, dead code, spreading anti-patterns. Use on a regular…
git:20260417.880e906 · audit A · 24 stars
mine SKILL.md skill
rergards/mempalace-code · .claude/skills/mine/SKILL.md · Mine a project with pre/post validation — verifies palace health before and after mining
git:20260810.8075e72 · audit A · 24 stars
palace-health SKILL.md skill
rergards/mempalace-code · .claude/skills/palace-health/SKILL.md · Check palace health, suggest repairs, run auto-backup
git:20260810.8075e72 · audit A · 24 stars
release-prep SKILL.md skill
rergards/mempalace-code · .claude/skills/release-prep/SKILL.md · Clean verified release artifacts and prepare MemPalace metadata, installed acceptance, and local qualification before…
git:20261031.13c9d57 · audit A · 24 stars
release SKILL.md skill
rergards/mempalace-code · .claude/skills/release/SKILL.md · Qualify and publish a mempalace-code release through the canonical runbook
git:20261004.5baa412 · audit A · 24 stars
ship SKILL.md skill
rergards/mempalace-code · .claude/skills/ship/SKILL.md · Verify and report ship readiness; fix, commit, or push only with fresh exact authority
git:20260822.94279fe · audit A · 24 stars
start SKILL.md skill
rergards/mempalace-code · .claude/skills/start/SKILL.md · Session startup — verify environment, load context, confirm readiness
git:20260901.484ab7d · audit A · 24 stars
status SKILL.md skill
rergards/mempalace-code · .claude/skills/status/SKILL.md · Show current project status - recent work, in-progress tasks, and next priorities from backlog
git:20261004.5baa412 · audit A · 24 stars
task-hardening SKILL.md skill
rergards/mempalace-code · .claude/skills/task-hardening/SKILL.md · Automate the repository post-implementation hardening workflow, including optional Codex diff review with returned…
git:20260417.880e906 · audit A · 24 stars
task-plan SKILL.md skill
rergards/mempalace-code · .claude/skills/task-plan/SKILL.md · Plan implementation for a backlog task with mode classification and optional Codex review
git:20260417.880e906 · audit A · 24 stars

Every file in rergards/mempalace-code

Other files named bench

bench SKILL.md skill
tongminglaic/ako4x · templates/skills/bench/SKILL.md · Run performance benchmarks to get a verdict on whether a kernel change actually helped. Use --ab-compare for sub-1x…
git:20260531.0fd4b5f · audit A · 84 stars
bench SKILL.md skill
geml-spec/geml · geml-parser/bench/SKILL.md
git:20260907.bba95b8 · audit C · 29 stars

Browse by kind, by grade A, or by owner.