[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75Z7HWPBYCDXPTRDZFA8EWT":3,"skill-same:01M75Z7HWPBYCDXPTRDZFA8EWT":44},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":13,"repositoryHtmlUrl":26,"repositoryHomepageUrl":27,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":29,"install":30,"resources":43},"01M75Z7HWPBYCDXPTRDZFA8EWT","search-tools",null,"Bound a text search or file listing before it burns the context window. Load before searching a source tree, listing files, or writing a subagent brief that will search. Covers rg, fd, and result-set caps.","drmikecrowe\u002Fharnessed","drmikecrowe","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F90312?v=4","01M75Z3TD9D8YVCA67X1F4HFY4","01M75Z3TDYTCR5APZRMXJ00TXG",0,"BSD-3-Clause","https:\u002F\u002Fgithub.com\u002Fdrmikecrowe\u002Fharnessed\u002Fblob\u002Fmain\u002Fcatalog\u002Frecipes\u002Fmikes-universal-setup\u002Fskills\u002Fsearch-tools\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: search-tools\ndescription: Bound a text search or file listing before it burns the context window. Load before searching a source tree, listing files, or writing a subagent brief that will search. Covers rg, fd, and result-set caps.\n---\n\n# Search Tools\n\nThe always-on floor is [[harness-mechanics]]: never run the `grep` or `find` binaries. This skill is\nthe rest of it — which tool to reach for, and how to bound what comes back.\n\n## Text Search: Search Tool First, Then rg\n\nSearch with the harness's built-in search tool first — it respects ignore files and returns\nline-anchored matches. Shell out only when that cannot answer the question. Then use `rg`, never the\n`grep` binary (see [[harness-mechanics]]; that ban covers `git grep` and `| grep`, and `rg -v`\ninverts). The ban names the shell binary only: a built-in search tool is not shell `grep`.\n\n`rg` is the fallback, not the default. No search tool → `rg` by elimination, never by preference.\n\n## Bound the result set at the source\n\nAn unbounded search over a large tree is one of the cheapest ways to burn a context window. Cap the\noutput at the source, never after it lands:\n\n- Existence or location only → `rg -l` for filenames, `rg -c` for counts. Never page full matches to\n  answer \"does this exist\".\n- Cap the volume → `-m\u002F--max-count`, and scope to a path or `-g` glob before widening.\n- Could not bound it → route by what you need back:\n  - **`rtk rg …`** for the matches themselves. Runs `rg` natively and compacts the result:\n    whitespace stripped, long lines truncated, grouped by file. One call, no round trip. The rtk hook\n    rewrites a plain `rg` too, so the prefix is optional and never doubles up.\n    **Not when exact bytes matter** — the compaction is lossy. Precise whitespace, a full unbroken\n    line, or a token you will copy → bounded raw `rg`.\n  - **`ctx_batch_execute`** for a large match list you have specific questions about. It indexes the\n    output and returns only the windows your `queries` match. See [[ctx-routing]] for the\n    query-breadth trap.\n\nNeither un-spends a result set you did not need. Bound first, then route.\n\n## Capture once, query many\n\n```bash\n# Wrong — runs twice, output may differ\npnpm build | tail -50\npnpm build | rg error\n\n# Right\npnpm build > \u002Ftmp\u002Fbuild.log 2>&1\ntail -50 \u002Ftmp\u002Fbuild.log\nrg -i error \u002Ftmp\u002Fbuild.log\n```\n\n## File Discovery: Glob Tool First, Then fd\n\nFind paths with the harness's glob or file-discovery tool first. Shell out only when it cannot\nexpress the query, then use `fd`, never the `find` binary (see [[harness-mechanics]]). That ban names\nthe shell binary only; built-in file tools are not shell `find`.\n\n```bash\n# Wrong\nfind . -name \"*.ts\" -type f\n\n# Right\nfd -e ts\n```\n\nNarrow at the source: `-e \u003Cext>`, a starting path, `--max-depth`. `fd -H` includes hidden files.\n\nStill large → wrap it in `rtk find`, which takes native `find` flags and prints a compact tree.\n\nA listing you need to question rather than read → `ctx_batch_execute`, with SPECIFIC queries. A\nbroad query matches every section and re-emits the whole listing, once per query. A narrow one never\nsurfaces the section you asked for. See [[ctx-routing]].\n\n## Subagents\n\nSubagents inherit none of this. A prompt that will search a tree must say so. Quote it: *prefer the\nharness search and glob tools; if you shell out, use `rg`\u002F`fd`, never the `grep`\u002F`find` binaries.*\nCarry the output bound across too: *scope to a path, bound the result set (`-l`, `-c`, `-m`), route\nthe rest through `ctx_batch_execute`.* Told only \"use rg\", a subagent returns the whole dump.\n","# Search Tools\n\nThe always-on floor is [[harness-mechanics]]: never run the `grep` or `find` binaries. This skill is\nthe rest of it — which tool to reach for, and how to bound what comes back.\n\n## Text Search: Search Tool First, Then rg\n\nSearch with the harness's built-in search tool first — it respects ignore files and returns\nline-anchored matches. Shell out only when that cannot answer the question. Then use `rg`, never the\n`grep` binary (see [[harness-mechanics]]; that ban covers `git grep` and `| grep`, and `rg -v`\ninverts). The ban names the shell binary only: a built-in search tool is not shell `grep`.\n\n`rg` is the fallback, not the default. No search tool → `rg` by elimination, never by preference.\n\n## Bound the result set at the source\n\nAn unbounded search over a large tree is one of the cheapest ways to burn a context window. Cap the\noutput at the source, never after it lands:\n\n- Existence or location only → `rg -l` for filenames, `rg -c` for counts. Never page full matches to\n  answer \"does this exist\".\n- Cap the volume → `-m\u002F--max-count`, and scope to a path or `-g` glob before widening.\n- Could not bound it → route by what you need back:\n  - **`rtk rg …`** for the matches themselves. Runs `rg` natively and compacts the result:\n    whitespace stripped, long lines truncated, grouped by file. One call, no round trip. The rtk hook\n    rewrites a plain `rg` too, so the prefix is optional and never doubles up.\n    **Not when exact bytes matter** — the compaction is lossy. Precise whitespace, a full unbroken\n    line, or a token you will copy → bounded raw `rg`.\n  - **`ctx_batch_execute`** for a large match list you have specific questions about. It indexes the\n    output and returns only the windows your `queries` match. See [[ctx-routing]] for the\n    query-breadth trap.\n\nNeither un-spends a result set you did not need. Bound first, then route.\n\n## Capture once, query many\n\n```bash\n# Wrong — runs twice, output may differ\npnpm build | tail -50\npnpm build | rg error\n\n# Right\npnpm build > \u002Ftmp\u002Fbuild.log 2>&1\ntail -50 \u002Ftmp\u002Fbuild.log\nrg -i error \u002Ftmp\u002Fbuild.log\n```\n\n## File Discovery: Glob Tool First, Then fd\n\nFind paths with the harness's glob or file-discovery tool first. Shell out only when it cannot\nexpress the query, then use `fd`, never the `find` binary (see [[harness-mechanics]]). That ban names\nthe shell binary only; built-in file tools are not shell `find`.\n\n```bash\n# Wrong\nfind . -name \"*.ts\" -type f\n\n# Right\nfd -e ts\n```\n\nNarrow at the source: `-e \u003Cext>`, a starting path, `--max-depth`. `fd -H` includes hidden files.\n\nStill large → wrap it in `rtk find`, which takes native `find` flags and prints a compact tree.\n\nA listing you need to question rather than read → `ctx_batch_execute`, with SPECIFIC queries. A\nbroad query matches every section and re-emits the whole listing, once per query. A narrow one never\nsurfaces the section you asked for. See [[ctx-routing]].\n\n## Subagents\n\nSubagents inherit none of this. A prompt that will search a tree must say so. Quote it: *prefer the\nharness search and glob tools; if you shell out, use `rg`\u002F`fd`, never the `grep`\u002F`find` binaries.*\nCarry the output bound across too: *scope to a path, bound the result set (`-l`, `-c`, `-m`), route\nthe rest through `ctx_batch_execute`.* Told only \"use rg\", a subagent returns the whole dump.\n",{"name":5,"description":7},"main","580ef1f7d05e79586ece387ff45e3e0e47424c9f","catalog\u002Frecipes\u002Fmikes-universal-setup\u002Fskills\u002Fsearch-tools","https:\u002F\u002Fgithub.com\u002Fdrmikecrowe\u002Fharnessed","https:\u002F\u002Fdrmikecrowe.github.io\u002Fharnessed\u002F","https:\u002F\u002Fgithub.com\u002Fdrmikecrowe","2026-11-13 22:15:04",{"source":8,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add drmikecrowe\u002Fharnessed --skill search-tools",{"tool":36,"command":37},"bunx","bunx skills add drmikecrowe\u002Fharnessed --skill search-tools",{"tool":39,"command":40},"pnpm","pnpm dlx skills add drmikecrowe\u002Fharnessed --skill search-tools","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fdrmikecrowe\u002Fharnessed\u002Fblob\u002Fmain\u002Fcatalog\u002Frecipes\u002Fmikes-universal-setup\u002Fskills\u002Fsearch-tools\u002FSKILL.md",true,[],[45,52,59,65,72,79],{"skillNo":46,"name":47,"nameZh":6,"description":48,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":49,"categories":50,"keywords":51,"publishedAt":18},"01M75Z8044E0QMWTA23RT25EPS","foo","GH-649 fixture skill.","https:\u002F\u002Fgithub.com\u002Fdrmikecrowe\u002Fharnessed\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Frecipes\u002Fplugin-recipe\u002Fskills\u002Ffoo\u002FSKILL.md",[],[],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":18},"01M75Z7YR0WSHATRWFY0C5563T","time-helper","Ask the time MCP server for the current time in any IANA timezone and convert times between timezones.","https:\u002F\u002Fgithub.com\u002Fdrmikecrowe\u002Fharnessed\u002Fblob\u002Fmain\u002Fcatalog\u002Frecipes\u002Ftime\u002Fskills\u002Ftime-helper\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":18},"01M75Z7WFANC8TKFCFCPV43V88","wrangler","https:\u002F\u002Fgithub.com\u002Fdrmikecrowe\u002Fharnessed\u002Fblob\u002Fmain\u002Fcatalog\u002Frecipes\u002Fmikes-universal-setup\u002Fskills\u002Fwrangler\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":18},"01M75Z7SASE6ADBXJ26CGMFPJ7","varlock","Create and maintain `.env.schema` files in the varlock\u002F@env-spec DSL. Use when adding env var definitions, migrating from `.env.example`, running varlock commands (init, load, run, encrypt, audit), debugging missing env vars, or wiring 1Password secrets.","https:\u002F\u002Fgithub.com\u002Fdrmikecrowe\u002Fharnessed\u002Fblob\u002Fmain\u002Fcatalog\u002Frecipes\u002Fmikes-universal-setup\u002Fskills\u002Fvarlock\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":18},"01M75Z7Q23PFS46ZSHTYW6Z4MF","thinking-partner","Find where the user's idea, plan, direction, or draft is wrong before they accelerate. Use on \"I've been thinking\", \"what do you think\", \"assess this\", \"review my plan\", \"am I going the right direction\", \"should I\". Not for code diffs.","https:\u002F\u002Fgithub.com\u002Fdrmikecrowe\u002Fharnessed\u002Fblob\u002Fmain\u002Fcatalog\u002Frecipes\u002Fmikes-universal-setup\u002Fskills\u002Fthinking-partner\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":18},"01M75Z7N0J4JN3S5V01PNTSM25","tests-are-authority","An existing test encodes a decision already made; your change does not outrank it. Load when a test fails after your change, before editing an existing test, and before adding skip\u002Fxfail or loosening an assertion.","https:\u002F\u002Fgithub.com\u002Fdrmikecrowe\u002Fharnessed\u002Fblob\u002Fmain\u002Fcatalog\u002Frecipes\u002Fmikes-universal-setup\u002Fskills\u002Ftests-are-authority\u002FSKILL.md",[],[]]