evidence-reference-lookup
Use when deciding how to handle a media type, storage mode, or integrity question — searches this plugin's own reference corpus and returns the most relevant passages with their file paths. Triggers - "how do I redact video", "what is object lock compliance mode", "which hash tool on macOS".
- License 许可
- MIT
- 最近更新
- 2026-11-10
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- evidence-reference-lookup
- description
- Use when deciding how to handle a media type, storage mode, or integrity question — searches this plugin's own reference corpus and returns the most relevant passages with their file paths. Triggers - "how do I redact video", "what is object lock compliance mode", "which hash tool on macOS".
- allowed-tools
- Bash(grep *), Bash(rg *), Bash(command *), Bash(find *), Bash(sed *), Bash(wc *), Read
02 资源文件 17
- 参考文档references/capture/photo-video-provenance.md5.5 KB
- 参考文档references/capture/web-pages.md5.7 KB
- 参考文档references/custody/chain-of-custody-principles.md9.5 KB
- 参考文档references/custody/legal-considerations.md10.4 KB
- 参考文档references/custody/register-schema.md3.8 KB
- 参考文档references/hashing/algorithms-and-manifests.md5.6 KB
- 参考文档references/hashing/macos-vs-linux-tooling.md5.3 KB
- 参考文档references/metadata/anomaly-signals.md5.4 KB
- 参考文档references/metadata/exiftool.md4.7 KB
- 参考文档references/metadata/mediainfo.md4.6 KB
- 参考文档references/packaging/bagit.md5.3 KB
- 参考文档references/README.md8.6 KB
- 参考文档references/redaction/by-media-type.md6.1 KB
- 参考文档references/storage/rclone-immutable-remotes.md5.1 KB
- 参考文档references/storage/worm-and-object-lock.md5.6 KB
- 参考文档references/timestamping/opentimestamps.md5.6 KB
- 参考文档references/timestamping/rfc3161-tsa.md6.6 KB
03 SKILL.md 正文
Reference Lookup
Search this plugin's own reference corpus and return the passages that actually answer the question, with their paths.
When to use
- Deciding how to handle a media type, storage mode, or integrity question.
- Checking which tool is appropriate before running it.
- Understanding a concept the pipeline assumes, such as retention mode or WORM media.
Inputs
- A free-text query. Required.
Procedure
1. Locate the corpus
The corpus lives in references/ in this skill's directory, organised by topic:
hashing/, timestamping/, packaging/, metadata/, capture/, storage/,
redaction/, custody/. Resolve the skill directory at runtime and run the searches from it; never hardcode a path.
2. Search
rg -li "$QUERY" references/
Fall back to grep -rli "$QUERY" references/ where rg is unavailable. Both are
case-insensitive and list matching files.
3. Widen a query that returns nothing
Try the concept rather than the phrasing — "retention" for "how long does it stay", "WORM" for "write once". Try each significant word alone before concluding there is no answer. Say which variations were tried.
4. Extract context
rg -n -C 4 "$QUERY" "$FILE"
Rank files by how many distinct query terms they match, not by raw hit count — a file that mentions every term once is usually a better answer than one that repeats a single term.
5. Report
Return the top three files. For each: the path, a one-line statement of what the file covers, and the matching excerpt with its line numbers. Then answer the original question in one or two sentences, citing which file it came from.
If nothing matches, say so plainly, name the searches that were run, and suggest where the answer might live instead. Do not invent guidance and attribute it to the corpus.
Output
- Ranked excerpts with paths and line numbers, plus a direct answer.
- Nothing is written or modified.
Notes
- The corpus is original material written for this plugin. It is opinionated and deliberately narrow — it covers what this pipeline does, not the whole field.
- It is a starting point, not authority. Anything with legal consequence needs a qualified professional, not a reference file.
04 同仓库更多 Skills
no-description
暂无简介
good-skill
Fixture skill that satisfies every rule.
broken-link
Links to a reference file that does not exist.
Bad_Name
Name violates the kebab-case rule and does not match the directory.
skill-authoring
Write, review, and validate portable agent skills in SKILL.md format. Use when creating a new skill, editing an existing one, or asked whether a skill follows the Agent Skills spec.
weigh-bags
Record scale readings for each bag — empty (tare), outbound, current, final — and reconcile them against the itemised inventory to find unaccounted weight. Use when the user gives a bag weight, says how heavy something is, weighs their luggage, or asks how close to the limit they are. Appends to bags.yaml and runs scripts/reconcile.py.