[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M78B48WZ0SMVRKCF1HNN40TJ":3,"skill-same:01M78B48WZ0SMVRKCF1HNN40TJ":57},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":14,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":32,"updatedAt":33,"install":34,"resources":46},"01M78B48WZ0SMVRKCF1HNN40TJ","pi-custom-model",null,"Register a custom or variant model (e.g. an OpenRouter \":nitro\" \u002F \":floor\" \u002F \":exacto\" slug) in the Pi Agent so it can be set as the global default. Use when Pi silently falls back to a different model (e.g. moonshotai\u002Fkimi-k2.6) after setting defaultModel, or when a model slug isn't in Pi's bundled list. Triggers on \"Pi reset my model\", \"Pi won't use this model\", \"add a model to Pi\", \"Pi default keeps reverting\".","Solizardking\u002Fskillhub-main","Solizardking","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F108096810?v=4","01M786KDB10AYV042N0F9BD5B5","Clawd","01M786NYYXSZK1D05WM8JQPC48",0,"MIT","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fpublic\u002Fapi\u002Fskills\u002Fops-and-setup\u002Fpi-custom-model\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: pi-custom-model\ndescription: Register a custom or variant model (e.g. an OpenRouter \":nitro\" \u002F \":floor\" \u002F \":exacto\" slug) in the Pi Agent so it can be set as the global default. Use when Pi silently falls back to a different model (e.g. moonshotai\u002Fkimi-k2.6) after setting defaultModel, or when a model slug isn't in Pi's bundled list. Triggers on \"Pi reset my model\", \"Pi won't use this model\", \"add a model to Pi\", \"Pi default keeps reverting\".\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","# 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",{"name":5,"description":7,"disable-model-invocation":24},true,"main","be3de0244dc1a57e323d8160787ebb40fb64930e","public\u002Fapi\u002Fskills\u002Fops-and-setup\u002Fpi-custom-model","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main","https:\u002F\u002Fskills.x402.wtf","https:\u002F\u002Fgithub.com\u002FSolizardking","https:\u002F\u002Fmusebook.trade","Got a mile high and never came down","2026-10-08 23:20:13",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":24},[36,39,42],{"tool":37,"command":38},"npx","npx skills add Solizardking\u002Fskillhub-main --skill pi-custom-model",{"tool":40,"command":41},"bunx","bunx skills add Solizardking\u002Fskillhub-main --skill pi-custom-model",{"tool":43,"command":44},"pnpm","pnpm dlx skills add Solizardking\u002Fskillhub-main --skill pi-custom-model","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fpublic\u002Fapi\u002Fskills\u002Fops-and-setup\u002Fpi-custom-model\u002FSKILL.md",[47,53],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"metadata.json","REFERENCE","参考文档",628,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fpublic\u002Fapi\u002Fskills\u002Fops-and-setup\u002Fpi-custom-model\u002Fmetadata.json",{"path":54,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":55,"sourceHtmlUrl":56},"verification.json",1321,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fpublic\u002Fapi\u002Fskills\u002Fops-and-setup\u002Fpi-custom-model\u002Fverification.json",[58,65,72,79,86,94],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":19},"01M78E0TGCAMNPS207BA3G07S7","zkrouter","Self-hosted OpenAI-compatible LLM router — smart tier-based routing, ZK-stamped routing decisions, mode overrides, free OpenRouter at install via the Birth bot. Save 60-80% on inference costs by routing to the cheapest capable model across 12+ OpenRouter models.","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fskills\u002Fzkrouter\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M78E0R1Z8BDT6EDTHY17MTNB","zk","For custom ZK Solana programs and privacy-preserving applications to prevent double spending. Guide to integrate rent-free nullifier PDAs for double-spend prevention.","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fskills\u002Fzk\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":19},"01M78E0P3ZTZ1YWF8MD5MM23QE","zk-omni-messaging","Zero-knowledge omnichain messaging between Robinhood Chain and Solana using CheshireZkOmniMessenger (msgType 4) with nullifier anti-replay and the zk-omni-relayer service.","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fskills\u002Fzk-omni-messaging\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M78E0JXZ2PNB1896VXAGDBWD","zerion-wallet-data","Use when the user asks to check a wallet's portfolio, token balances, DeFi positions, PnL, transaction history, or NFTs. Provides interpreted on-chain data across 40+ EVM chains and Solana via x402 pay-per-request or API key — no raw RPC decoding needed.","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fskills\u002Fzerion-wallet-data\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":90,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M78E0G14FH9GRRTQYMKD5E59","youtube-clipper","YouTube 视频智能剪辑工具。下载视频和字幕，AI 分析生成精细章节（几分钟级别）， 用户选择片段后自动剪辑、翻译字幕为中英双语、烧录字幕到视频，并生成总结文案。 使用场景：当用户需要剪辑 YouTube 视频、生成短视频片段、制作双语字幕版本时。 关键词：视频剪辑、YouTube、字幕翻译、双语字幕、视频下载、clip video","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fskills\u002Fyoutube-clipper\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fskills\u002Fyoutube-clipper\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":19},"01M78E0C2ZYA99CFFDNB7ZMK5S","yield-optimization","Multi-chain yield optimization via yield.xyz (StakeKit). Discover 2,988+ yield opportunities across 75+ blockchains, build deposit\u002Fwithdrawal transactions with shell scripts, and sign them with a MoonPay wallet. Use when the user wants to earn yield, find the best lending or staking rate, enter\u002Fexit a position, or check portfolio balances.","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fskills\u002Fyield-optimization\u002FSKILL.md",[],[]]