| name | cheap-recall |
| description | Use when working on the Knowledge Retrieval harness and you need cost efficiency control: Tries cached embeddings and cheap recall before broad search, bounding retrieval breadth to the context budget. |
Cheap Recall
Harness
- Harness: Knowledge Retrieval
- Axis: Cost efficiency
- Command: /cheap-recall
What This Skill Does
Tries cached embeddings and cheap recall before broad search, bounding retrieval breadth to the context budget.
Changing this harness changes what knowledge reaches the work: which sources are searched, which chunks are ranked into context, what citations survive, and how much lineage the system can show.
This is a working harness-control runbook. Use it to inspect the current boundary, choose a small control change, define tests, and produce an implementation-ready patch plan.
Use This Skill When
- You are changing or reviewing the Knowledge Retrieval harness.
- You need to bound spend, token use, storage, calls, review effort, or compute waste.
- You need a bounded change that can be tested before it affects real users, money, secrets, production, or external systems.
Required Inputs
- Current objective or task the harness must support.
- Current config, script, prompt, policy, UI, queue, route, or workflow that controls this boundary.
- One concrete failure, bottleneck, cost problem, missing capability, or operator complaint.
- Existing logs, traces, screenshots, examples, diffs, or event records if available.
- Authority limit: what the skill may change without human approval.
Quick Start
- Name the exact boundary:
Knowledge Retrieval / Cost efficiency.
- Answer: What work is spending too much money, tokens, storage, calls, or review effort?
- Pick one lever from the list below.
- Propose the smallest rule, config, script, checklist, UI, prompt, or test change that moves that lever.
- Run or define one positive test and one boundary test.
- Stop and escalate if the change touches secrets, spending, production, customer communication, deletion, access control, legal/medical/HR decisions, or public claims.
Control Levers
- Retrieval breadth vs. context budget
- Cache embeddings
- Cheap-recall-first
Basic Procedure
- Inspect current state. Identify the file, prompt, API route, policy, config, data source, queue, or human step that currently owns the boundary.
- Write the observed failure mode in one sentence: "Cheap Recall is needed because ..."
- Choose one lever only. Avoid combining multiple behavior changes unless the first change cannot work alone.
- Define the control change as one of: config value, allowlist/denylist, checklist, test, prompt clause, route rule, UI affordance, script, policy gate, or log field.
- Define allowed behavior and blocked behavior. The blocked behavior is mandatory for capability and safety-related changes.
- Add observability: log, trace, counter, screenshot, audit note, or before/after measurement.
- Verify locally or in dry-run first. Use mocked data if live execution would spend money or affect users.
- Produce an implementation handoff with exact files, exact tests, rollback path, and approval gate.
Verification
Use this minimum evidence before trusting the change:
- Evidence type: before/after cost, token count, call count, storage size, review volume, or rejected waste.
- Positive test: a normal request uses
Cheap Recall and produces the expected controlled behavior.
- Boundary test: an overreach, missing-input, unsafe, expensive, or unsupported request is blocked, downgraded, or escalated.
- Regression check: existing Knowledge Retrieval behavior that should not change still works.
- Rollback check: previous behavior can be restored by reverting the specific rule, config, script, prompt, or file.
Output Format
Return this structure:
## Cheap Recall Harness Update
Boundary: Knowledge Retrieval / Cost efficiency
Problem: <one sentence>
Selected lever: <one lever>
Change: <smallest concrete change>
Files or systems touched: <paths, configs, tools, policies, or human steps>
Allowed behavior: <what may happen>
Blocked behavior: <what must not happen>
Verification: <positive test, boundary test, regression check>
Evidence captured: <logs, traces, screenshots, costs, timings, or audit records>
Rollback: <how to undo>
Approval needed: <none or specific human gate>
Safety
Do not grant new runtime authority, spend money, deploy, modify secrets, delete data, contact external users, change access control, or bypass approval gates unless the operator explicitly authorizes that action. If authority is unclear, stop with a blocker question and state the exact approval needed.