searching-code SKILL.md skillA
searching-code from ampcode/official-plugins is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add ampcode/official-plugins/searching-code@git:20261023.acb8c9dPins git:20261023.acb8c9d in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- ampcode/official-plugins
- Path
skills/searching-code/SKILL.md- Versions recorded
- 1
- Latest version
- git:20261023.acb8c9d, committed Oct 23, 2026
- Size
- 5,473 bytes
- Repository stars
- 21
- License
- none declared
Finds where something is implemented, every place it is used, or how a behavior flows through the code, using scoped rg searches, and reports file links with line ranges without judging the code. Use when the task is to find code in this workspace by what it does, list its call sites, or trace a flow across modules.
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
# Searching code Find the files and line ranges that answer the brief's question and hand them back as links the caller can open. The caller reads the code itself; your deliverable is the map, not an essay. The brief asks one of two things: - **Locate**: where is X implemented, where is Y configured, every place Z is called. Return ranked locations. - **Trace**: how does X work, what happens when Y. Return the flow step by step, each step with its location. When the brief does not say which, locate. Find every occurrence when the brief asks for all of them; otherwise stop at the first location that clearly answers. If the brief asks whether the code is correct, return the locations and say that a review needs the full files; searching does not read enough to judge. ## Search Use `shell_command` for all reading and searching, and always set `workdir`. Search within the workspace root unless the brief names another location. - Use `rg` for content, `rg --files <dir>` for filenames, and `sed -n`, `head`, or `cat` to inspect candidates. `rg` is recursive by default; never pass `-r` (it means `--replace`). …
Read the whole file at its exact version.
How to install
mdr add ampcode/official-plugins/searching-code@sha256:b258d5dbbe059533The line at the top of this page pins the label git:20261023.acb8c9d, 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.
[](https://markdownregistry.com/a/art_axpv6uetwpe2mehw)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Oct 23, 2026.
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (5473 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
ampcode/official-plugins · 21 stars · license none declared · pushed 2026-11-01 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_axpv6uetwpe2mehw GET https://markdownregistry.com/api/v1/resolve?ref=ampcode/official-plugins/searching-code GET https://markdownregistry.com/api/v1/blob/b258d5dbbe05953382f665919c0700dafbba19d8de5692b30ec9c3b4754e92a1
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.