[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6PBKYQ5B2F08NB8KZ48JZ38":3,"skill-same:01M6PBKYQ5B2F08NB8KZ48JZ38":74},{"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":43,"linkOnly":44,"markdownContent":45,"markdownBody":46,"frontMatter":47,"refName":27,"commitSha":56,"skillDirectory":57,"forksCount":13,"repositoryHtmlUrl":58,"repositoryHomepageUrl":6,"ownerHtmlUrl":59,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":60,"install":61,"resources":73},"01M6PBKYQ5B2F08NB8KZ48JZ38","pi-custom-model",null,"Register custom Pi Agent model slugs so saved OpenRouter variants resolve correctly.","duc-duy-1612\u002FOnline-Delivery-Systems-Web","duc-duy-1612","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F192231384?v=4","01M6NSDKQQDKVTHZ8DZMZ1VYY6","01M6NSDKW8DDVTQHBT1HBDDJPT",0,"MIT","https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Fpi-custom-model\u002FSKILL.md",[17],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42],"custom","model","pi","pi custom model","main","variants","true","saved","pi-agent","register","critical","pi agent","github","community","models","operations","openrouter","https","license","codex","2026-11-10 10:12:30",false,"---\nname: pi-custom-model\ndescription: \"Register custom Pi Agent model slugs so saved OpenRouter variants resolve correctly.\"\ncategory: operations\nrisk: critical\nsource: community\nsource_repo: davidondrej\u002Fskills\nsource_type: community\ndate_added: \"2026-07-07\"\nauthor: davidondrej\ntags: [pi-agent, models, openrouter]\ntools: [claude, codex]\nlicense: \"MIT\"\nlicense_source: \"https:\u002F\u002Fgithub.com\u002Fdavidondrej\u002Fskills\u002Fblob\u002Fmain\u002FLICENSE\"\ndisable-model-invocation: true\n---\n\n# Pi custom \u002F variant model\n\n## When to Use\nPi's saved default only loads if the exact `provider\u002Fid` exists in its model registry. Pi ships a static bundled list per provider — so OpenRouter **routing-shortcut variants** (`:nitro` = sort by throughput, `:floor` = cheapest, `:exacto` = quality tool-use) and any brand-new slug are NOT in it. When the default doesn't resolve, Pi silently falls through to its built-in per-provider default (for openrouter that's `moonshotai\u002Fkimi-k2.6`) — looking like Pi \"reset\" your model. Fix = register the slug as a custom model so `find(provider, id)` matches.\n\n## Files (global)\n- `~\u002F.pi\u002Fagent\u002Fsettings.json` — `defaultProvider`, `defaultModel`, `defaultThinkingLevel`\n- `~\u002F.pi\u002Fagent\u002Fmodels.json` — custom models, keyed by provider\n- `~\u002F.pi\u002Fagent\u002Fauth.json` — provider credentials (check the provider key exists)\n\n## Steps\n1. **Confirm the slug is real** before adding it (e.g. check the OpenRouter model\u002Fvariant exists). A typo'd id also silently falls back.\n2. **Confirm auth.** The provider must have a key in `auth.json` (or an env var like `OPENROUTER_API_KEY`). No auth → the model is registered but unavailable → still falls back.\n3. **Add the model to `models.json`** under `providers.\u003Cprovider>.models`. For a **built-in provider** (openrouter, anthropic, etc.) you only supply metadata — `api`, `baseUrl`, and auth are inherited from the bundled defaults. Example:\n   ```json\n   {\n     \"providers\": {\n       \"openrouter\": {\n         \"models\": [\n           {\n             \"id\": \"z-ai\u002Fglm-5.2:nitro\",\n             \"name\": \"Z.ai: GLM 5.2 (nitro)\",\n             \"reasoning\": true,\n             \"thinkingLevelMap\": { \"xhigh\": \"xhigh\" },\n             \"input\": [\"text\"],\n             \"cost\": { \"input\": 0.95, \"output\": 3, \"cacheRead\": 0.18, \"cacheWrite\": 0 },\n             \"contextWindow\": 1048576,\n             \"maxTokens\": 32768,\n             \"compat\": { \"supportsDeveloperRole\": false, \"thinkingFormat\": \"openrouter\" }\n           }\n         ]\n       }\n     }\n   }\n   ```\n   Copy `cost`\u002F`contextWindow`\u002F`compat` from the base model (the variant shares them) — find the bundled entry in `\u003Cpi-pkg>\u002Fnode_modules\u002F@earendil-works\u002Fpi-ai\u002Fdist\u002Fproviders\u002F\u003Cprovider>.models.js`. Don't hardcode generic 128k\u002F16k if the real model is bigger.\n4. **Set the default** in `settings.json`: `defaultProvider` + `defaultModel` = the exact id. Leave `defaultThinkingLevel` as the user has it.\n5. **Verify:** `pi --list-models | grep \u003Cid>` shows it, and JSON parses. Optionally smoke-test: `pi --provider \u003Cp> --model \"\u003Cid>\" \"which model are you?\"`.\n\n## Quirks\n- **Exact match only.** `find()` is exact `provider`+`id` — no fuzzy\u002Fcolon-stripping for the *saved default* path. The slug in `settings.json` and `models.json` must be byte-identical.\n- **Silent fallback.** Pi prints no error when the default doesn't resolve; it just shows a different model in the footer. That's the tell.\n- **Don't edit `settings.json` alone.** Setting `defaultModel` to an unregistered slug does nothing — `models.json` is the actual fix.\n- **`enabledModels`** (optional) pins the model picker so Ctrl+P cycling can't drift back: `\"enabledModels\": [\"\u003Cprovider>\u002F\u003Cid>:\u003Cthinking>\"]`.\n- **Project override.** A repo's `.pi\u002Fsettings.json` overrides global. If a default reverts only inside one project, check that file first.\n- Restart Pi fully — the registry loads at startup.\n\n## Example\n\n**User request:**\n\n> Register custom Pi Agent model slugs so saved OpenRouter variants resolve correctly.\n\n## Limitations\n\n- Adapted from `davidondrej\u002Fskills`; verify local paths, tools, credentials, and agent features before acting.\n- For commands, remote access, scheduling, browser automation, or file-changing workflows, get explicit user approval and confirm the target environment first.\n","# Pi custom \u002F variant model\n\n## When to Use\nPi's saved default only loads if the exact `provider\u002Fid` exists in its model registry. Pi ships a static bundled list per provider — so OpenRouter **routing-shortcut variants** (`:nitro` = sort by throughput, `:floor` = cheapest, `:exacto` = quality tool-use) and any brand-new slug are NOT in it. When the default doesn't resolve, Pi silently falls through to its built-in per-provider default (for openrouter that's `moonshotai\u002Fkimi-k2.6`) — looking like Pi \"reset\" your model. Fix = register the slug as a custom model so `find(provider, id)` matches.\n\n## Files (global)\n- `~\u002F.pi\u002Fagent\u002Fsettings.json` — `defaultProvider`, `defaultModel`, `defaultThinkingLevel`\n- `~\u002F.pi\u002Fagent\u002Fmodels.json` — custom models, keyed by provider\n- `~\u002F.pi\u002Fagent\u002Fauth.json` — provider credentials (check the provider key exists)\n\n## Steps\n1. **Confirm the slug is real** before adding it (e.g. check the OpenRouter model\u002Fvariant exists). A typo'd id also silently falls back.\n2. **Confirm auth.** The provider must have a key in `auth.json` (or an env var like `OPENROUTER_API_KEY`). No auth → the model is registered but unavailable → still falls back.\n3. **Add the model to `models.json`** under `providers.\u003Cprovider>.models`. For a **built-in provider** (openrouter, anthropic, etc.) you only supply metadata — `api`, `baseUrl`, and auth are inherited from the bundled defaults. Example:\n   ```json\n   {\n     \"providers\": {\n       \"openrouter\": {\n         \"models\": [\n           {\n             \"id\": \"z-ai\u002Fglm-5.2:nitro\",\n             \"name\": \"Z.ai: GLM 5.2 (nitro)\",\n             \"reasoning\": true,\n             \"thinkingLevelMap\": { \"xhigh\": \"xhigh\" },\n             \"input\": [\"text\"],\n             \"cost\": { \"input\": 0.95, \"output\": 3, \"cacheRead\": 0.18, \"cacheWrite\": 0 },\n             \"contextWindow\": 1048576,\n             \"maxTokens\": 32768,\n             \"compat\": { \"supportsDeveloperRole\": false, \"thinkingFormat\": \"openrouter\" }\n           }\n         ]\n       }\n     }\n   }\n   ```\n   Copy `cost`\u002F`contextWindow`\u002F`compat` from the base model (the variant shares them) — find the bundled entry in `\u003Cpi-pkg>\u002Fnode_modules\u002F@earendil-works\u002Fpi-ai\u002Fdist\u002Fproviders\u002F\u003Cprovider>.models.js`. Don't hardcode generic 128k\u002F16k if the real model is bigger.\n4. **Set the default** in `settings.json`: `defaultProvider` + `defaultModel` = the exact id. Leave `defaultThinkingLevel` as the user has it.\n5. **Verify:** `pi --list-models | grep \u003Cid>` shows it, and JSON parses. Optionally smoke-test: `pi --provider \u003Cp> --model \"\u003Cid>\" \"which model are you?\"`.\n\n## Quirks\n- **Exact match only.** `find()` is exact `provider`+`id` — no fuzzy\u002Fcolon-stripping for the *saved default* path. The slug in `settings.json` and `models.json` must be byte-identical.\n- **Silent fallback.** Pi prints no error when the default doesn't resolve; it just shows a different model in the footer. That's the tell.\n- **Don't edit `settings.json` alone.** Setting `defaultModel` to an unregistered slug does nothing — `models.json` is the actual fix.\n- **`enabledModels`** (optional) pins the model picker so Ctrl+P cycling can't drift back: `\"enabledModels\": [\"\u003Cprovider>\u002F\u003Cid>:\u003Cthinking>\"]`.\n- **Project override.** A repo's `.pi\u002Fsettings.json` overrides global. If a default reverts only inside one project, check that file first.\n- Restart Pi fully — the registry loads at startup.\n\n## Example\n\n**User request:**\n\n> Register custom Pi Agent model slugs so saved OpenRouter variants resolve correctly.\n\n## Limitations\n\n- Adapted from `davidondrej\u002Fskills`; verify local paths, tools, credentials, and agent features before acting.\n- For commands, remote access, scheduling, browser automation, or file-changing workflows, get explicit user approval and confirm the target environment first.\n",{"name":5,"risk":33,"tags":48,"tools":49,"author":51,"source":36,"license":14,"category":38,"date_added":52,"description":7,"source_repo":53,"source_type":36,"license_source":54,"disable-model-invocation":55},[31,37,39],[50,42],"claude","davidondrej","2026-07-07","davidondrej\u002Fskills","https:\u002F\u002Fgithub.com\u002Fdavidondrej\u002Fskills\u002Fblob\u002Fmain\u002FLICENSE",true,"f3312ba749561b6159f477dbfc9313c875d40a56",".agents\u002Fskills_archive\u002Fpi-custom-model","https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web","https:\u002F\u002Fgithub.com\u002Fduc-duy-1612","2026-10-25 23:50:58",{"source":8,"skillName":5,"commands":62,"prompt":72,"zipAvailable":55},[63,66,69],{"tool":64,"command":65},"npx","npx skills add duc-duy-1612\u002FOnline-Delivery-Systems-Web --skill pi-custom-model",{"tool":67,"command":68},"bunx","bunx skills add duc-duy-1612\u002FOnline-Delivery-Systems-Web --skill pi-custom-model",{"tool":70,"command":71},"pnpm","pnpm dlx skills add duc-duy-1612\u002FOnline-Delivery-Systems-Web --skill pi-custom-model","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Fpi-custom-model\u002FSKILL.md",[],[75,101,124,145,173,197],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":84,"publishedAt":43},"01M6Q0FA5FZ410Z33Z3TFQ4DBA","zero-trust","Implement zero-trust network architecture. Configure identity-based access, micro-segmentation, and continuous verification. Use when implementing modern security architectures.","https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Fzero-trust\u002FSKILL.md",[81],{"categoryNo":82,"categoryName":83,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000011","运维与部署",[85,86,87,88,89,90,77,91,92,93,94,95,36,27,96,33,97,98,99,100],"ZeRO","trust","zero trust","architecture","assessment","verification","segmentation","devops-security","access","configure","only","active","scope","scripts","relevant","implementing",{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":43},"01M6Q0F1YZJW3KX5FBKEVZ8CV4","zcode-delegate","Delegate coding tasks to the Z.AI ZCode CLI only when the user explicitly requests it, while the orchestrator retains review and landing responsibility.","https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Fzcode-delegate\u002FSKILL.md",[],[108,109,110,111,112,113,114,115,116,24,117,118,119,95,120,36,121,122,33,123],"delegate","zcode","zcode delegate","review","cli","orchestration","tasks","run","Bash","node","read","orchestrator","files","desktop app","app","agent-orchestration",{"skillNo":125,"name":126,"nameZh":6,"description":127,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":128,"categories":129,"keywords":130,"publishedAt":43},"01M6Q0ETK41VGNMYEXW0T00AJN","youtube-transcript","Fetch YouTube transcripts through DeepAPI or local fallback tooling and save clean text output.","https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Fyoutube-transcript\u002FSKILL.md",[],[131,132,133,134,35,42,135,41,40,136,137,138,139,36,27,140,141,142,143,144],"transcript","youtube transcript","youtube","safe","research","text","fetch","tooling","clean","local","output","deepapi","youtube transcripts","blob",{"skillNo":146,"name":147,"nameZh":6,"description":148,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":149,"categories":150,"keywords":162,"publishedAt":43},"01M6Q0EPPH2PVMDW40017F8WX0","youtube-transcript-skills","Fetch YouTube video transcripts, search videos\u002Fchannels, browse channels, and extract playlists via the getyoutubetranscript.com API - free tier, no card required.","https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Fyoutube-transcript-skills\u002FSKILL.md",[151,154,157],{"categoryNo":152,"categoryName":153,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000010","后端与接口",{"categoryNo":155,"categoryName":156,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000016","图像与多媒体",{"categoryNo":158,"categoryName":159,"taxonomyType":160,"taxonomyTypeDesc":161},"01JBSEEDCAT000000000000030","开发工程师","PROFESSION","适用职业",[131,132,133,163,134,164,35,42,41,165,166,167,168,137,169,36,27,170,171,172],"youtube transcript skills","gemini","search","api","Video","browse","api-integration","free","card","channels",{"skillNo":174,"name":175,"nameZh":6,"description":176,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":177,"categories":178,"keywords":183,"publishedAt":43},"01M6Q0EAB96PX83W5PTE8A0R8D","youtube-notetaker","Turn YouTube talks into local study notes with slides, transcripts, editable annotations, and a markdown-backed viewer.","https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Fyoutube-notetaker\u002FSKILL.md",[179,182],{"categoryNo":180,"categoryName":181,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000003","演示文稿",{"categoryNo":155,"categoryName":156,"taxonomyType":20,"taxonomyTypeDesc":21},[133,184,185,112,134,186,187,188,189,41,167,190,191,192,193,27,194,140,195,196],"youtube notetaker","notetaker","workflow","official","notes","code","markdown","slides","annotations","README","study","dair-academy","viewer",{"skillNo":198,"name":199,"nameZh":6,"description":200,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":201,"categories":202,"keywords":204,"publishedAt":43},"01M6Q0E55F0GW5MX48V8HXS8B5","youtube-full","Fetch YouTube transcripts, search videos, browse channels, and extract playlists via TranscriptAPI — no yt-dlp, no Google API key, works from any cloud server.","https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Fyoutube-full\u002FSKILL.md",[203],{"categoryNo":152,"categoryName":153,"taxonomyType":20,"taxonomyTypeDesc":21},[205,133,206,207,134,164,165,208,209,166,167,168,137,210,169,36,27,170,211,143],"youtube full","full","google","server","dlp","credits","automatic"]