aide-context-retrieval-wiring SKILL.md skillA

aide-context-retrieval-wiring from anonymousnomad/aide-sovereign-workbench is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add anonymousnomad/aide-sovereign-workbench/aide-context-retrieval-wiring@git:20260828.ba41dd3

Pins git:20260828.ba41dd3 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
anonymousnomad/aide-sovereign-workbench
Path
skills/packs/aide-context-retrieval-wiring/SKILL.md
Versions recorded
1
Latest version
git:20260828.ba41dd3, committed Aug 28, 2026
Size
5,588 bytes
Repository stars
53
License
Apache-2.0

Wire the built-but-unwired codebase index (node/src/services/index-service.mjs, BM25+RRF+optional dense embeddings, git-aware, /api/index/reindex + /api/index/search already routed) into the actual chat path so every model answer is grounded in the operator's real workspace — retrieval injection in model-router/chat, an @codebase context tool, embed-function supply via the local engine, index freshness on file change, token-budgeted context packs. Use whenever model answers ignore workspace…

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

# Context Retrieval Wiring — Ground Every Answer in the Real Workspace

Born 2026-08-27 gap analysis: AIDE already SHIPS a hybrid retrieval engine
(index-service.mjs: chunkFile, BM25 sparse, dense cosine, RRF fuse, git-branch
aware, incremental reindex, persist/restore from disk) with HTTP routes
(/api/index/reindex, /api/index/search) — and NOTHING in the chat path calls
it. `rg hybridSearch model-router.ts chat.ts orchestrator.mjs` = zero hits.
Rivals (Cursor secure codebase indexing 2026, VS Code workspace context) treat
this as THE differentiator. Also: no embed function is ever supplied
(openapi.ts `indexEmbedFn ?? null`), so the index runs in permanently
"degraded" BM25-only mode.

## Research base (verified 2026-08-27)

1. Cursor ships "secure codebase indexing" + "semantic search" as marquee
   features (cursor.com, changelog 2026); VS Code ships "workspace context" +
   "add prompt context" as first-class agent concepts (VS Code agents docs,
   retrieved 2026-08-27).
2. In-repo engine ALREADY implements hybrid retrieval correctly: BM25 sparse +
   dense cosine candidates → RRF fuse (k=20, 50 per list) → {path, line,
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add anonymousnomad/aide-sovereign-workbench/aide-context-retrieval-wiring@sha256:e96320b33baed4c4

The line at the top of this page pins the label git:20260828.ba41dd3, 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_gzlrm67trcjmfppn.svg)](https://markdownregistry.com/a/art_gzlrm67trcjmfppn)

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

Versions

The registry has recorded 1 version of this file, committed on Aug 28, 2026.

versioncommittedcommitsizeaudit
git:20260828.ba41dd3 latest2026-08-28 ba41dd3 5,588 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 (5588 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

anonymousnomad/aide-sovereign-workbench · 53 stars · license Apache-2.0 · pushed 2026-10-26 · branch covert-production

API

GET https://markdownregistry.com/api/v1/artifacts/art_gzlrm67trcjmfppn
GET https://markdownregistry.com/api/v1/resolve?ref=anonymousnomad/aide-sovereign-workbench/aide-context-retrieval-wiring
GET https://markdownregistry.com/api/v1/blob/e96320b33baed4c42ef2dcf1bc81a3a5cb7468b6f7313430141a785604ef48bf

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 anonymousnomad/aide-sovereign-workbench

AGENTS.md AGENTS.md file
anonymousnomad/aide-sovereign-workbench · AGENTS.md
git:20260911.2b7569f · audit A · 53 stars
audit-probe-discipline SKILL.md skill
anonymousnomad/aide-sovereign-workbench · docs/phase0/skills/audit-probe-discipline/SKILL.md · Local Phase-0 diagnostic procedure for quoting, stale runner references, and restricted Windows inventory queries.
git:20260912.9e65c9f · audit A · 53 stars
llms.txt llms.txt file
anonymousnomad/aide-sovereign-workbench · llms.txt
git:20260916.e7b3bfe · audit A · 53 stars
PC management SKILL.md skill
anonymousnomad/aide-sovereign-workbench · skills/packs/PC management/SKILL.md · Owner's manual for THIS machine (ASUS GL703GM — i7-8750H / GTX 1060 / 16GB RAM / 120Hz). Use whenever helping with…
git:20260823.df7cbde · audit A · 53 stars
adapter-serve-routing SKILL.md skill
anonymousnomad/aide-sovereign-workbench · skills/packs/adapter-serve-routing/SKILL.md · Define and verify deterministic format-conditional adapter routing at inference. Use whenever a shared base model…
git:20260823.df7cbde · audit A · 53 stars
agent-notes SKILL.md skill
anonymousnomad/aide-sovereign-workbench · skills/packs/agent-notes/SKILL.md · Agent Persistence System — the mandatory project journal. Use at the START of every session and every context…
git:20260823.df7cbde · audit A · 53 stars
aid-capability-battery-thinking-models SKILL.md skill
anonymousnomad/aide-sovereign-workbench · skills/packs/aid-capability-battery-thinking-models/SKILL.md
git:20260908.e9ac98d · audit C · 53 stars
aid-cipher-4b-fine-tune-pipeline SKILL.md skill
anonymousnomad/aide-sovereign-workbench · skills/packs/aid-cipher-4b-fine-tune-pipeline/SKILL.md · End-to-end recipe for fine-tuning the AIDE in-house cipher-4b model: fix the broken venv, install the ML stack…
git:20260908.e9ac98d · audit B · 53 stars
aid-closed-loop-on-by-default SKILL.md skill
anonymousnomad/aide-sovereign-workbench · skills/packs/aid-closed-loop-on-by-default/SKILL.md · Wire AIDE's self-improvement loop (`scripts/selfimprove.mjs`) into the daemon lifecycle so it runs continuously, not…
git:20260908.e9ac98d · audit A · 53 stars
aid-closed-loop-self-improvement SKILL.md skill
anonymousnomad/aide-sovereign-workbench · skills/packs/aid-closed-loop-self-improvement/SKILL.md
git:20260908.e9ac98d · audit C · 53 stars
aid-dap-real-debugpy-fixture SKILL.md skill
anonymousnomad/aide-sovereign-workbench · skills/packs/aid-dap-real-debugpy-fixture/SKILL.md · Wire in a REAL debugpy fixture for the AIDE DAP test batteries. The tests/arch/dap-contract.test.ts and…
git:20260908.e9ac98d · audit A · 53 stars
aid-double-check-everything SKILL.md skill
anonymousnomad/aide-sovereign-workbench · skills/packs/aid-double-check-everything/SKILL.md
git:20260908.e9ac98d · audit C · 53 stars

Every file in anonymousnomad/aide-sovereign-workbench

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