[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6G2MYR5QSW9XQ6SCJKB5HPZ":3,"skill-same:01M6G2MYR5QSW9XQ6SCJKB5HPZ":90},{"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":22,"publishedAt":32,"linkOnly":33,"markdownContent":34,"markdownBody":35,"frontMatter":36,"refName":37,"commitSha":38,"skillDirectory":39,"forksCount":40,"repositoryHtmlUrl":41,"repositoryHomepageUrl":6,"ownerHtmlUrl":42,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":43,"install":44,"resources":57},"01M6G2MYR5QSW9XQ6SCJKB5HPZ","doc-search",null,"文档内容检索技能，用于在项目文件中搜索和定位信息。当需要在本地文档中查找关键词、搜索项目文件内容、定位特定信息、或需要快速了解项目文档结构时使用此技能。支持多策略搜索（文件名、标题、内容）、增量索引、上下文返回。适用于 Markdown、文本文件、代码文件等。","kbarbel640-del\u002Fskills","kbarbel640-del","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F255315490?v=4","01M6CJPPQGCCESXMG3K7BBGQ5J","01M6CJPPX2PB2BCZERFVM2C2B3",1,"MIT","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fsanvibyfish\u002Fdoc-search-skill\u002FSKILL.md",[17],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000002","文档处理","SCENARIO","使用场景",[23,24,25,26,27,28,29,30,31],"search","doc","doc search","markdown","文档","文本","关键词","搜索","文件","2026-11-10 10:12:30",false,"---\nname: doc-search\ndescription: 文档内容检索技能，用于在项目文件中搜索和定位信息。当需要在本地文档中查找关键词、搜索项目文件内容、定位特定信息、或需要快速了解项目文档结构时使用此技能。支持多策略搜索（文件名、标题、内容）、增量索引、上下文返回。适用于 Markdown、文本文件、代码文件等。\n---\n\n# Doc Search 文档检索\n\n轻量级本地文档检索，无需向量数据库。\n\n## 核心能力\n\n1. **多策略搜索** - 文件名 > 标题\u002Ffrontmatter > 正文内容，按相关性排序\n2. **增量索引** - 基于文件修改时间，只更新变化的文件\n3. **上下文返回** - 返回匹配行及前后 N 行\n4. **TF-IDF 排序** - 可选的轻量相关性排序\n\n## 快速使用\n\n### 直接搜索（无需索引）\n\n```bash\n# 简单关键词搜索\npython scripts\u002Fsearch.py \"关键词\" \u002Fpath\u002Fto\u002Fdocs\n\n# 带上下文\npython scripts\u002Fsearch.py \"关键词\" \u002Fpath\u002Fto\u002Fdocs --context 3\n\n# 限制文件类型\npython scripts\u002Fsearch.py \"关键词\" \u002Fpath\u002Fto\u002Fdocs --types md,txt\n```\n\n### 使用索引（大型项目推荐）\n\n```bash\n# 构建索引\npython scripts\u002Findexer.py \u002Fpath\u002Fto\u002Fdocs --output index.json\n\n# 基于索引搜索（更快）\npython scripts\u002Fsearch.py \"关键词\" --index index.json\n```\n\n## 搜索策略\n\n搜索按以下优先级返回结果：\n\n| 优先级 | 匹配类型 | 权重 |\n|--------|----------|------|\n| 1 | 文件名完全匹配 | 100 |\n| 2 | 文件名包含 | 80 |\n| 3 | 标题\u002FH1 匹配 | 70 |\n| 4 | Frontmatter 匹配 | 60 |\n| 5 | 正文内容匹配 | 40 |\n\n多次匹配会累加权重。\n\n## 输出格式\n\n```json\n{\n  \"query\": \"搜索词\",\n  \"total\": 5,\n  \"results\": [\n    {\n      \"file\": \"docs\u002Fguide.md\",\n      \"score\": 150,\n      \"matches\": [\n        {\n          \"type\": \"title\",\n          \"line\": 1,\n          \"content\": \"# 用户指南\",\n          \"context\": [\"---\", \"title: 用户指南\", \"---\"]\n        },\n        {\n          \"type\": \"content\", \n          \"line\": 42,\n          \"content\": \"这是关于搜索词的说明\",\n          \"context\": [\"上一行\", \"这是关于搜索词的说明\", \"下一行\"]\n        }\n      ]\n    }\n  ]\n}\n```\n\n## 配置文件（可选）\n\n在项目根目录创建 `.docsearch.yaml`：\n\n```yaml\n# 要索引的目录\ninclude:\n  - docs\u002F\n  - README.md\n  - src\u002F**\u002F*.md\n\n# 排除的模式\nexclude:\n  - node_modules\u002F\n  - \"*.min.js\"\n  - .git\u002F\n\n# 文件类型\ntypes:\n  - md\n  - txt\n  - py\n  - js\n\n# 索引选项\nindex:\n  max_file_size: 1mb\n  extract_frontmatter: true\n  extract_headings: true\n```\n\n## 高级用法\n\n### 组合 Bash 工具\n\n当不需要索引时，直接用 ripgrep：\n\n```bash\n# 快速搜索\nrg \"关键词\" --type md -C 2 --json\n\n# 搜索标题\nrg \"^#.*关键词\" --type md\n\n# 搜索 frontmatter\nrg -U \"^---[\\s\\S]*?关键词[\\s\\S]*?^---\" --type md\n```\n\n### Python API\n\n```python\nfrom scripts.search import DocSearch\n\nsearcher = DocSearch(\"\u002Fpath\u002Fto\u002Fdocs\")\nresults = searcher.search(\"关键词\", context_lines=2)\n\nfor r in results:\n    print(f\"{r['file']} (score: {r['score']})\")\n    for m in r['matches']:\n        print(f\"  L{m['line']}: {m['content']}\")\n```\n\n## 适用场景\n\n- 项目文档快速定位\n- 代码库中查找注释\u002F文档\n- 笔记系统内容检索\n- 配置文件搜索\n\n## 限制\n\n- 不支持语义搜索（需要向量数据库）\n- 中文分词依赖简单切分\n- 大文件（>1MB）建议跳过\n","# Doc Search 文档检索\n\n轻量级本地文档检索，无需向量数据库。\n\n## 核心能力\n\n1. **多策略搜索** - 文件名 > 标题\u002Ffrontmatter > 正文内容，按相关性排序\n2. **增量索引** - 基于文件修改时间，只更新变化的文件\n3. **上下文返回** - 返回匹配行及前后 N 行\n4. **TF-IDF 排序** - 可选的轻量相关性排序\n\n## 快速使用\n\n### 直接搜索（无需索引）\n\n```bash\n# 简单关键词搜索\npython scripts\u002Fsearch.py \"关键词\" \u002Fpath\u002Fto\u002Fdocs\n\n# 带上下文\npython scripts\u002Fsearch.py \"关键词\" \u002Fpath\u002Fto\u002Fdocs --context 3\n\n# 限制文件类型\npython scripts\u002Fsearch.py \"关键词\" \u002Fpath\u002Fto\u002Fdocs --types md,txt\n```\n\n### 使用索引（大型项目推荐）\n\n```bash\n# 构建索引\npython scripts\u002Findexer.py \u002Fpath\u002Fto\u002Fdocs --output index.json\n\n# 基于索引搜索（更快）\npython scripts\u002Fsearch.py \"关键词\" --index index.json\n```\n\n## 搜索策略\n\n搜索按以下优先级返回结果：\n\n| 优先级 | 匹配类型 | 权重 |\n|--------|----------|------|\n| 1 | 文件名完全匹配 | 100 |\n| 2 | 文件名包含 | 80 |\n| 3 | 标题\u002FH1 匹配 | 70 |\n| 4 | Frontmatter 匹配 | 60 |\n| 5 | 正文内容匹配 | 40 |\n\n多次匹配会累加权重。\n\n## 输出格式\n\n```json\n{\n  \"query\": \"搜索词\",\n  \"total\": 5,\n  \"results\": [\n    {\n      \"file\": \"docs\u002Fguide.md\",\n      \"score\": 150,\n      \"matches\": [\n        {\n          \"type\": \"title\",\n          \"line\": 1,\n          \"content\": \"# 用户指南\",\n          \"context\": [\"---\", \"title: 用户指南\", \"---\"]\n        },\n        {\n          \"type\": \"content\", \n          \"line\": 42,\n          \"content\": \"这是关于搜索词的说明\",\n          \"context\": [\"上一行\", \"这是关于搜索词的说明\", \"下一行\"]\n        }\n      ]\n    }\n  ]\n}\n```\n\n## 配置文件（可选）\n\n在项目根目录创建 `.docsearch.yaml`：\n\n```yaml\n# 要索引的目录\ninclude:\n  - docs\u002F\n  - README.md\n  - src\u002F**\u002F*.md\n\n# 排除的模式\nexclude:\n  - node_modules\u002F\n  - \"*.min.js\"\n  - .git\u002F\n\n# 文件类型\ntypes:\n  - md\n  - txt\n  - py\n  - js\n\n# 索引选项\nindex:\n  max_file_size: 1mb\n  extract_frontmatter: true\n  extract_headings: true\n```\n\n## 高级用法\n\n### 组合 Bash 工具\n\n当不需要索引时，直接用 ripgrep：\n\n```bash\n# 快速搜索\nrg \"关键词\" --type md -C 2 --json\n\n# 搜索标题\nrg \"^#.*关键词\" --type md\n\n# 搜索 frontmatter\nrg -U \"^---[\\s\\S]*?关键词[\\s\\S]*?^---\" --type md\n```\n\n### Python API\n\n```python\nfrom scripts.search import DocSearch\n\nsearcher = DocSearch(\"\u002Fpath\u002Fto\u002Fdocs\")\nresults = searcher.search(\"关键词\", context_lines=2)\n\nfor r in results:\n    print(f\"{r['file']} (score: {r['score']})\")\n    for m in r['matches']:\n        print(f\"  L{m['line']}: {m['content']}\")\n```\n\n## 适用场景\n\n- 项目文档快速定位\n- 代码库中查找注释\u002F文档\n- 笔记系统内容检索\n- 配置文件搜索\n\n## 限制\n\n- 不支持语义搜索（需要向量数据库）\n- 中文分词依赖简单切分\n- 大文件（>1MB）建议跳过\n",{"name":5,"description":7},"main","e7e336ac628c3e3bd771aff1aaa469c93778f94a","skills\u002Fsanvibyfish\u002Fdoc-search-skill",0,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del","2026-08-23 22:39:37",{"source":8,"skillName":5,"commands":45,"prompt":55,"zipAvailable":56},[46,49,52],{"tool":47,"command":48},"npx","npx skills add kbarbel640-del\u002Fskills --skill doc-search",{"tool":50,"command":51},"bunx","bunx skills add kbarbel640-del\u002Fskills --skill doc-search",{"tool":53,"command":54},"pnpm","pnpm dlx skills add kbarbel640-del\u002Fskills --skill doc-search","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fsanvibyfish\u002Fdoc-search-skill\u002FSKILL.md",true,[58,64,68,72,76,82,86],{"path":59,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":62,"sourceHtmlUrl":63},"_meta.json","REFERENCE","参考文档",283,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fsanvibyfish\u002Fdoc-search-skill\u002F_meta.json",{"path":65,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":66,"sourceHtmlUrl":67},"README.md",1719,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fsanvibyfish\u002Fdoc-search-skill\u002FREADME.md",{"path":69,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":70,"sourceHtmlUrl":71},"README.zh.md",1693,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fsanvibyfish\u002Fdoc-search-skill\u002FREADME.zh.md",{"path":73,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":74,"sourceHtmlUrl":75},"references\u002Fsearch-strategies.md",2270,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fsanvibyfish\u002Fdoc-search-skill\u002Freferences\u002Fsearch-strategies.md",{"path":77,"resourceType":78,"resourceTypeDesc":79,"sizeBytes":80,"sourceHtmlUrl":81},"scripts\u002Findexer.py","SCRIPT","脚本",8268,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fsanvibyfish\u002Fdoc-search-skill\u002Fscripts\u002Findexer.py",{"path":83,"resourceType":78,"resourceTypeDesc":79,"sizeBytes":84,"sourceHtmlUrl":85},"scripts\u002Fquick_search.sh",1208,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fsanvibyfish\u002Fdoc-search-skill\u002Fscripts\u002Fquick_search.sh",{"path":87,"resourceType":78,"resourceTypeDesc":79,"sizeBytes":88,"sourceHtmlUrl":89},"scripts\u002Fsearch.py",11018,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fsanvibyfish\u002Fdoc-search-skill\u002Fscripts\u002Fsearch.py",[91,122,149,170,176,196],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":102,"publishedAt":32},"01M6G8J55967D6281ACMKAKTEQ","crowd-prompting","A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzzadrian\u002Fcrowd-prompting\u002FSKILL.md",[97],{"categoryNo":98,"categoryName":99,"taxonomyType":100,"taxonomyTypeDesc":101},"01JBSEEDCAT000000000000036","内容创作者","PROFESSION","适用职业",[103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121],"crowd prompting","prompting","api","with","tokens","domain","world","prompts","operations","instructions","text","tool","system","improve","productivity","marketplace","https","content","ai agents",{"skillNo":123,"name":124,"nameZh":6,"description":125,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":126,"categories":127,"keywords":131,"publishedAt":32},"01M6G8J0PKPAYVET6BWE8W4C26","dilemm-ai","Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzyori\u002Fdilemm-ai\u002FSKILL.md",[128],{"categoryNo":129,"categoryName":130,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000023","Skill与智能体开发",[132,105,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,110,148],"dilemm ai","arena","analyze","browser","openclaw agent","create","automation","browser automation","bot","openclaw","design","strategy","headless","compete","submit","matchmaking","use",{"skillNo":150,"name":151,"nameZh":6,"description":152,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":153,"categories":154,"keywords":158,"publishedAt":32},"01M6G8HWAF3K9SW7NP3Z83CPJ6","arxiv-paper-reviews","Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date\u002Fcategory\u002Finterest, viewing paper details with comments, or submitting paper reviews via API at http:\u002F\u002F150.158.152.82:8000.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzxrys\u002Fweak-accept\u002FSKILL.md",[155],{"categoryNo":156,"categoryName":157,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000021","资料检索与研究",[159,160,161,162,163,164,165,106,166,146,148,167,105,168,169],"arxiv paper reviews","reviews","arxiv","paper","crawler","papers","comments","fetch","read","http","via",{"skillNo":171,"name":151,"nameZh":6,"description":152,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":172,"categories":173,"keywords":175,"publishedAt":32},"01M6G8HQJ7N7WMY6YV7D7SSJ16","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzxrys\u002Farxiv-paper-reviews\u002FSKILL.md",[174],{"categoryNo":156,"categoryName":157,"taxonomyType":20,"taxonomyTypeDesc":21},[162,161,160,159,169,164,165,106,163,146,148,166,167,105,168],{"skillNo":177,"name":178,"nameZh":6,"description":179,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":180,"categories":181,"keywords":182,"publishedAt":32},"01M6G8HM95Y64JNVFC2HN4E2BG","git-summary","Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzweack\u002Fgit-summary\u002FSKILL.md",[],[183,184,185,186,187,188,189,190,191,192,193,194,195],"git","summary","git summary","commits","repository","win32","status","linux","contributors","true","quick","get","branches",{"skillNo":197,"name":198,"nameZh":6,"description":199,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":200,"categories":201,"keywords":206,"publishedAt":32},"01M6G8HGEGF05CNEJCGVYFSC4R","agent-constitution","Interact with AgentConstitution governance contracts on Base Sepolia. Check compliance, read rules, log actions, query governance state.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fztsalexey\u002Fagent-constitution\u002FSKILL.md",[202,203],{"categoryNo":129,"categoryName":130,"taxonomyType":20,"taxonomyTypeDesc":21},{"categoryNo":204,"categoryName":205,"taxonomyType":100,"taxonomyTypeDesc":101},"01JBSEEDCAT000000000000037","律师与法务",[207,208,209,210,106,211,212,37,213,167,214,215,216,217,218,119,219,220,221],"agent constitution","constitution","contracts","tree","query","base","log","check","Rules","projects","compliance","actions","state","governance","github"]