[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71RM38NS6C72VGD1RA5HY2M":3,"skill-same:01M71RM38NS6C72VGD1RA5HY2M":71},{"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":15,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":46,"commitSha":47,"skillDirectory":48,"forksCount":49,"repositoryHtmlUrl":50,"repositoryHomepageUrl":6,"ownerHtmlUrl":51,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":52,"install":53,"resources":66},"01M71RM38NS6C72VGD1RA5HY2M","context7-mcp",null,"Fetch current library and framework documentation through the Context7 MCP server instead of answering from training data, with a hard cap of three Context7 calls per question, an explicit CONTEXT7_UNAVAILABLE block on quota or rate-limit failure, and a TTL + ETag-revalidated disk cache (scripts\u002Flib\u002Fdoc-fetch-cache.sh) checked before every fetch. Use when the user asks about setup, configuration, APIs, or code examples for a named library or framework such as React, Next.js, Vue, Svelte, Express, Tailwind, Prisma, or Supabase.","dmae97\u002Fomk","dmae97","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F146327957?v=4","01M71RJRBWDNKEJ1A2DZVES8X1","01M71RJRCYHNT7E83M0Q42V6SJ",153,"MIT","https:\u002F\u002Fgithub.com\u002Fdmae97\u002Fomk\u002Fblob\u002Fmain\u002F.omk\u002Fskills\u002Fcontext7-mcp\u002FLICENSE-THIRD-PARTY","https:\u002F\u002Fgithub.com\u002Fdmae97\u002Fomk\u002Fblob\u002Fmain\u002F.omk\u002Fskills\u002Fcontext7-mcp\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"context7","context7 mcp","MCP","Bash","cache helper","when","svelte","prisma","express","fetch","question","disk","Tailwind","server","supabase","code","training","documentation","react","mcp server","2026-11-10 13:02:02",false,"---\nname: context7-mcp\ndescription: Fetch current library and framework documentation through the Context7 MCP server instead of answering from training data, with a hard cap of three Context7 calls per question, an explicit CONTEXT7_UNAVAILABLE block on quota or rate-limit failure, and a TTL + ETag-revalidated disk cache (scripts\u002Flib\u002Fdoc-fetch-cache.sh) checked before every fetch. Use when the user asks about setup, configuration, APIs, or code examples for a named library or framework such as React, Next.js, Vue, Svelte, Express, Tailwind, Prisma, or Supabase.\ncompatibility: Requires the `context7` MCP preset (npx -y @upstash\u002Fcontext7-mcp) registered in OMK and bash with sha256sum, shasum, or openssl for the cache helper.\nlicense: LICENSE-THIRD-PARTY\n---\n\n\u003C!-- OMK-PROVENANCE\nsource: https:\u002F\u002Fgithub.com\u002Fdanielvm-git\u002Fbigpowers\npinned-commit: 0e071af3e003fef676fa2e7de8e12c68c981a7e7 (tag v2.88.0, npm bigpowers@2.88.0)\nupstream-path: .pi\u002Fskills\u002Fcontext7-mcp\u002FSKILL.md (skill body) and scripts\u002Flib\u002Fdoc-fetch-cache.sh (cache helper)\nlicense: MIT, Copyright (c) 2026 Daniel VM -- full text in LICENSE-THIRD-PARTY (this directory)\nretrieved: 2026-09-04\nsha256(upstream SKILL.md @ pinned commit): 71f6249f6615377af05c61716097a0844420d7a8ac058ff9a226a6565846a5f5\nsha256(upstream doc-fetch-cache.sh @ pinned commit): 8b0677e4f2fa4aba532c62845985bf97c1f5adf2bb5555d688b973a0d89b45d3\nsha256(upstream LICENSE @ pinned commit): ab5c332485a9ffad649f5a341d5ecfd35abff52249bf2a5c958f168a002ce376\n\nOMK-specific deltas (the upstream body is otherwise kept as written):\n  - frontmatter: dropped the non-standard `model: haiku` key; added `compatibility` and `license`.\n  - fallback: upstream points at `bts docs \u003Clib>`, a bigpowers CLI that OMK does not ship. The\n    CONTEXT7_UNAVAILABLE block now asks for the official docs URL instead.\n  - cache helper: rewritten for OMK at scripts\u002Flib\u002Fdoc-fetch-cache.sh. Same get\u002Fput\u002Fstale surface;\n    keys are normalized in the script, the default directory is the git-ignored .omk\u002Fcache\u002Fdocs\n    resolved from the script location, and etag\u002Ftouch\u002Fpurge were added for conditional refresh.\n  - the MCP server itself is the pinned `context7` preset in\n    packages\u002Fcoding-agent\u002Fsrc\u002Fcore\u002Fmcp-presets.ts, not a bigpowers-managed server.\n-->\n\n# Context7 MCP\n\n> **HARD GATE** — Max **3** Context7 tool calls per user question (`resolve-library-id` + `query-docs` count toward the cap). On quota\u002Frate-limit errors, emit an explicit **CONTEXT7_UNAVAILABLE** block — do NOT silently answer from training data.\n>\n> **HARD GATE** — Before HTTP fetch, check `bash scripts\u002Flib\u002Fdoc-fetch-cache.sh get \"\u003ClibraryId>:\u003Cquery>\"`. Cache hit within TTL → use cached body (no round-trip). On ETag mismatch after conditional refresh, replace cache entry.\n\n## When to Use\n\n- Setup\u002Fconfiguration questions (\"How do I configure Next.js middleware?\")\n- Code involving libraries (\"Write a Prisma query for…\")\n- API references (\"What are the Supabase auth methods?\")\n- User mentions specific frameworks (React, Vue, Svelte, Express, Tailwind, etc.)\n\n## Bounded Retry (max 3x)\n\n| Attempt | Action |\n|---------|--------|\n| 1 | `resolve-library-id` → pick best match |\n| 2 | `query-docs` with selected `libraryId` |\n| 3 | Retry `query-docs` once with refined query (narrower scope) |\n\nAfter 3 failures, stop and print:\n\n```\nCONTEXT7_UNAVAILABLE\nReason: \u003Cquota|rate-limit|no-match|timeout>\nAction: Ask user to retry later or paste the official docs URL (fetch it with `fetch_content` and cite the URL, not Context7).\nDo NOT substitute training-data answers without labeling them UNVERIFIED.\n```\n\n## Fetch Cache (ETag-revalidated)\n\n1. **Cache key:** `\"\u003ClibraryId>:\u003Cnormalized-query>\"` (lowercase, trimmed). The helper normalizes the key itself, so pass the raw `libraryId:query` pair.\n2. **Read:** `bash scripts\u002Flib\u002Fdoc-fetch-cache.sh get \"\u003Ckey>\"` — exit 0 → use cached body (stdout). A stored ETag is echoed as `ETAG:\u003Cvalue>` on stderr.\n3. **Miss \u002F stale (exit 1):** call `query-docs`; store via `printf '%s' \"\u003Cbody>\" | bash scripts\u002Flib\u002Fdoc-fetch-cache.sh put \"\u003Ckey>\" \"\u003Cetag-or-empty>\" -`.\n4. **TTL:** 300s default (`DOC_CACHE_TTL`). Stale entries refresh on next fetch; honor `ETag` when MCP returns it.\n5. **Conditional refresh:** when an entry is stale, `bash scripts\u002Flib\u002Fdoc-fetch-cache.sh etag \"\u003Ckey>\"` prints the previous ETag. If the fresh response carries the same ETag, `bash scripts\u002Flib\u002Fdoc-fetch-cache.sh touch \"\u003Ckey>\"` keeps the body and restarts the TTL; otherwise `put` replaces the entry. Without an ETag from the MCP, store an empty ETag and rely on the TTL alone.\n6. **Housekeeping:** `bash scripts\u002Flib\u002Fdoc-fetch-cache.sh purge` drops expired entries. The cache lives in the git-ignored `.omk\u002Fcache\u002Fdocs` (override with `DOC_CACHE_DIR`).\n\n## Process\n\n1. `resolve-library-id` with `libraryName` + full user `query`.\n2. Select match: name similarity, reputation, benchmark score; prefer version-specific IDs when user names a version.\n3. `query-docs` with `libraryId` + specific question (one concept per call).\n4. Answer using fetched docs; cite library\u002Fversion when relevant.\n\n## Verify\n\n→ verify: `test -f scripts\u002Flib\u002Fdoc-fetch-cache.sh`\n","\u003C!-- OMK-PROVENANCE\nsource: https:\u002F\u002Fgithub.com\u002Fdanielvm-git\u002Fbigpowers\npinned-commit: 0e071af3e003fef676fa2e7de8e12c68c981a7e7 (tag v2.88.0, npm bigpowers@2.88.0)\nupstream-path: .pi\u002Fskills\u002Fcontext7-mcp\u002FSKILL.md (skill body) and scripts\u002Flib\u002Fdoc-fetch-cache.sh (cache helper)\nlicense: MIT, Copyright (c) 2026 Daniel VM -- full text in LICENSE-THIRD-PARTY (this directory)\nretrieved: 2026-09-04\nsha256(upstream SKILL.md @ pinned commit): 71f6249f6615377af05c61716097a0844420d7a8ac058ff9a226a6565846a5f5\nsha256(upstream doc-fetch-cache.sh @ pinned commit): 8b0677e4f2fa4aba532c62845985bf97c1f5adf2bb5555d688b973a0d89b45d3\nsha256(upstream LICENSE @ pinned commit): ab5c332485a9ffad649f5a341d5ecfd35abff52249bf2a5c958f168a002ce376\n\nOMK-specific deltas (the upstream body is otherwise kept as written):\n  - frontmatter: dropped the non-standard `model: haiku` key; added `compatibility` and `license`.\n  - fallback: upstream points at `bts docs \u003Clib>`, a bigpowers CLI that OMK does not ship. The\n    CONTEXT7_UNAVAILABLE block now asks for the official docs URL instead.\n  - cache helper: rewritten for OMK at scripts\u002Flib\u002Fdoc-fetch-cache.sh. Same get\u002Fput\u002Fstale surface;\n    keys are normalized in the script, the default directory is the git-ignored .omk\u002Fcache\u002Fdocs\n    resolved from the script location, and etag\u002Ftouch\u002Fpurge were added for conditional refresh.\n  - the MCP server itself is the pinned `context7` preset in\n    packages\u002Fcoding-agent\u002Fsrc\u002Fcore\u002Fmcp-presets.ts, not a bigpowers-managed server.\n-->\n\n# Context7 MCP\n\n> **HARD GATE** — Max **3** Context7 tool calls per user question (`resolve-library-id` + `query-docs` count toward the cap). On quota\u002Frate-limit errors, emit an explicit **CONTEXT7_UNAVAILABLE** block — do NOT silently answer from training data.\n>\n> **HARD GATE** — Before HTTP fetch, check `bash scripts\u002Flib\u002Fdoc-fetch-cache.sh get \"\u003ClibraryId>:\u003Cquery>\"`. Cache hit within TTL → use cached body (no round-trip). On ETag mismatch after conditional refresh, replace cache entry.\n\n## When to Use\n\n- Setup\u002Fconfiguration questions (\"How do I configure Next.js middleware?\")\n- Code involving libraries (\"Write a Prisma query for…\")\n- API references (\"What are the Supabase auth methods?\")\n- User mentions specific frameworks (React, Vue, Svelte, Express, Tailwind, etc.)\n\n## Bounded Retry (max 3x)\n\n| Attempt | Action |\n|---------|--------|\n| 1 | `resolve-library-id` → pick best match |\n| 2 | `query-docs` with selected `libraryId` |\n| 3 | Retry `query-docs` once with refined query (narrower scope) |\n\nAfter 3 failures, stop and print:\n\n```\nCONTEXT7_UNAVAILABLE\nReason: \u003Cquota|rate-limit|no-match|timeout>\nAction: Ask user to retry later or paste the official docs URL (fetch it with `fetch_content` and cite the URL, not Context7).\nDo NOT substitute training-data answers without labeling them UNVERIFIED.\n```\n\n## Fetch Cache (ETag-revalidated)\n\n1. **Cache key:** `\"\u003ClibraryId>:\u003Cnormalized-query>\"` (lowercase, trimmed). The helper normalizes the key itself, so pass the raw `libraryId:query` pair.\n2. **Read:** `bash scripts\u002Flib\u002Fdoc-fetch-cache.sh get \"\u003Ckey>\"` — exit 0 → use cached body (stdout). A stored ETag is echoed as `ETAG:\u003Cvalue>` on stderr.\n3. **Miss \u002F stale (exit 1):** call `query-docs`; store via `printf '%s' \"\u003Cbody>\" | bash scripts\u002Flib\u002Fdoc-fetch-cache.sh put \"\u003Ckey>\" \"\u003Cetag-or-empty>\" -`.\n4. **TTL:** 300s default (`DOC_CACHE_TTL`). Stale entries refresh on next fetch; honor `ETag` when MCP returns it.\n5. **Conditional refresh:** when an entry is stale, `bash scripts\u002Flib\u002Fdoc-fetch-cache.sh etag \"\u003Ckey>\"` prints the previous ETag. If the fresh response carries the same ETag, `bash scripts\u002Flib\u002Fdoc-fetch-cache.sh touch \"\u003Ckey>\"` keeps the body and restarts the TTL; otherwise `put` replaces the entry. Without an ETag from the MCP, store an empty ETag and rely on the TTL alone.\n6. **Housekeeping:** `bash scripts\u002Flib\u002Fdoc-fetch-cache.sh purge` drops expired entries. The cache lives in the git-ignored `.omk\u002Fcache\u002Fdocs` (override with `DOC_CACHE_DIR`).\n\n## Process\n\n1. `resolve-library-id` with `libraryName` + full user `query`.\n2. Select match: name similarity, reputation, benchmark score; prefer version-specific IDs when user names a version.\n3. `query-docs` with `libraryId` + specific question (one concept per call).\n4. Answer using fetched docs; cite library\u002Fversion when relevant.\n\n## Verify\n\n→ verify: `test -f scripts\u002Flib\u002Fdoc-fetch-cache.sh`\n",{"name":5,"license":44,"description":7,"compatibility":45},"LICENSE-THIRD-PARTY","Requires the `context7` MCP preset (npx -y @upstash\u002Fcontext7-mcp) registered in OMK and bash with sha256sum, shasum, or openssl for the cache helper.","main","ea03fcf76b438f12f0cebcd6b255d24d4cb52741",".omk\u002Fskills\u002Fcontext7-mcp",29,"https:\u002F\u002Fgithub.com\u002Fdmae97\u002Fomk","https:\u002F\u002Fgithub.com\u002Fdmae97","2026-11-14 19:00:33",{"source":8,"skillName":5,"commands":54,"prompt":64,"zipAvailable":65},[55,58,61],{"tool":56,"command":57},"npx","npx skills add dmae97\u002Fomk --skill context7-mcp",{"tool":59,"command":60},"bunx","bunx skills add dmae97\u002Fomk --skill context7-mcp",{"tool":62,"command":63},"pnpm","pnpm dlx skills add dmae97\u002Fomk --skill context7-mcp","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fdmae97\u002Fomk\u002Fblob\u002Fmain\u002F.omk\u002Fskills\u002Fcontext7-mcp\u002FSKILL.md",true,[67],{"path":44,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":70,"sourceHtmlUrl":15},"LICENSE","许可证",1066,[72,81,92,105,117,127],{"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":76,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":80},"01M7DWE3SHENZ7ZH6WD0YCVMW7","omk-tencent-memory","Configure and use OMK's built-in TencentDB Agent Memory integration. Use for TencentDB memory, MemoryCore v3, shared agent memory search, explicit memory storage, or troubleshooting tencent_memory configuration.","https:\u002F\u002Fgithub.com\u002Fdmae97\u002Fomk\u002Fblob\u002Fmain\u002Fpackages\u002Fcoding-agent\u002Fresources\u002Fskills\u002Fomk-tencent-memory\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fdmae97\u002Fomk\u002Fblob\u002Fmain\u002Fpackages\u002Fcoding-agent\u002Fresources\u002Fskills\u002Fomk-tencent-memory\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":39},"01M71RZKQCQ4G7MP08TE3QQ0PD","valid-skill","A valid skill for testing purposes.","https:\u002F\u002Fgithub.com\u002Fdmae97\u002Fomk\u002Fblob\u002Fmain\u002Fpackages\u002Fcoding-agent\u002Ftest\u002Ffixtures\u002Fskills\u002Fvalid-skill\u002FSKILL.md",[],[88,89,90,91],"valid skill","valid","for","testing",{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":39},"01M71RZJ8YHH8GKADPTSZBCJ1T","unknown-field","A skill with an unknown frontmatter field.","https:\u002F\u002Fgithub.com\u002Fdmae97\u002Fomk\u002Fblob\u002Fmain\u002Fpackages\u002Fcoding-agent\u002Ftest\u002Ffixtures\u002Fskills\u002Funknown-field\u002FSKILL.md",[],[99,100,101,102,103,104],"unknown","unknown field","unknown frontmatter field","with","a skill","frontmatter",{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":39},"01M71RZH4FVEENABTV8WTQ5HTS","nested-child","Nested skill should be ignored.","https:\u002F\u002Fgithub.com\u002Fdmae97\u002Fomk\u002Fblob\u002Fmain\u002Fpackages\u002Fcoding-agent\u002Ftest\u002Ffixtures\u002Fskills\u002Froot-skill-preferred\u002Fnested-child\u002FSKILL.md",[],[112,113,114,115,116],"nested child","child","nested","nested skill","ignored",{"skillNo":118,"name":119,"nameZh":6,"description":120,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":121,"categories":122,"keywords":123,"publishedAt":39},"01M71RZFZYSXRRVY5M8HP05NJV","root-skill-preferred","Root skill should win.","https:\u002F\u002Fgithub.com\u002Fdmae97\u002Fomk\u002Fblob\u002Fmain\u002Fpackages\u002Fcoding-agent\u002Ftest\u002Ffixtures\u002Fskills\u002Froot-skill-preferred\u002FSKILL.md",[],[124,125,126],"root","root skill preferred","root skill",{"skillNo":128,"name":129,"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":130,"categories":131,"keywords":132,"publishedAt":39},"01M71RZEQDH7RZ1PH36G7GPN9N","no-frontmatter","https:\u002F\u002Fgithub.com\u002Fdmae97\u002Fomk\u002Fblob\u002Fmain\u002Fpackages\u002Fcoding-agent\u002Ftest\u002Ffixtures\u002Fskills\u002Fno-frontmatter\u002FSKILL.md",[],[133,104],"no frontmatter"]