[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77VEVDJW6N418EPRZ466V9E":3,"skill-same:01M77VEVDJW6N418EPRZ466V9E":53},{"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":30,"commitSha":31,"skillDirectory":32,"forksCount":33,"repositoryHtmlUrl":34,"repositoryHomepageUrl":35,"ownerHtmlUrl":36,"ownerBlogUrl":6,"ownerDescription":37,"updatedAt":38,"install":39,"resources":52},"01M77VEVDJW6N418EPRZ466V9E","spendex-ai-router",null,"Smart AI router — automatically picks the best & cheapest LLM for every prompt. BYOK, tracks costs, enforces budgets. Supports 25+ providers.","Lord1Egypt\u002Fawesome-skill-forge","Lord1Egypt","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99746359?v=4","01M7592YDNT0XK9WJ0T2MQVPDN","Mohamed Mounir Ali AL Keshita","01M75GRFNHC8VZNWEB8DKDE433",3,"MIT","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fs\u002Fspendex-ai-router\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: spendex-ai-router\ndescription: Smart AI router — automatically picks the best & cheapest LLM for every prompt. BYOK, tracks costs, enforces budgets. Supports 25+ providers.\nrequires:\n  env:\n    - SPENDEX_API_KEY\n  bins:\n    - curl\n    - jq\n---\n\n# Spendex AI Router\n\nStop overpaying for AI. Spendex analyzes every prompt and routes it to the best model at the lowest cost — automatically.\n\n**Bring Your Own Keys** — connect your existing OpenAI, Anthropic, Google, Mistral, DeepSeek, Groq, Together, Fireworks, Cohere keys in the Spendex dashboard. Spendex routes between them intelligently.\n\n## Setup\n\n1. Create a free account at https:\u002F\u002Fspendex.ai\n2. Connect your provider API keys in the dashboard (OpenAI, Anthropic, Google, etc.)\n3. Copy your Spendex API key (`spx_...`) from the dashboard\n4. Set it as an environment variable: `export SPENDEX_API_KEY=\"spx_your_key_here\"`\n\n## Chat Completion\n\nWhen the user asks you to generate text, answer questions, write code, or any task that requires an LLM — route the request through Spendex instead of calling providers directly.\n\nSpendex automatically classifies prompt complexity (simple\u002Fmedium\u002Fcomplex) and picks the best model+provider combo for cost and quality.\n\n```bash\ncurl -s -X POST \"https:\u002F\u002Fapp.spendexai.com\u002Fv1\u002Fchat\u002Fcompletions\" \\\n  -H \"Authorization: Bearer $SPENDEX_API_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d \"{\n    \\\"messages\\\": [{\\\"role\\\": \\\"user\\\", \\\"content\\\": \\\"USER_PROMPT_HERE\\\"}],\n    \\\"stream\\\": false\n  }\" | jq '{\n    content: .choices[0].message.content,\n    model: .model,\n    cost: .usage.cost,\n    saved: .usage.saved,\n    classification: .usage.classification,\n    provider: .usage.provider\n  }'\n```\n\nReplace `USER_PROMPT_HERE` with the actual user message.\n\nThe response includes:\n- `content` — the AI response\n- `model` — which model was selected by the router\n- `cost` — exact cost in USD\n- `saved` — money saved vs. using the most expensive model\n- `classification` — prompt complexity (simple \u002F medium \u002F complex)\n- `provider` — which provider served the request\n\n## Check Credit Balance\n\nShow the user how much credit they have left.\n\n```bash\ncurl -s \"https:\u002F\u002Fapp.spendexai.com\u002Fapi\u002Fcredits\u002Fbalance\" \\\n  -H \"Authorization: Bearer $SPENDEX_API_KEY\" | jq '.'\n```\n\n## Check Budgets\n\nShow active budgets and how much has been spent vs. the limit.\n\n```bash\ncurl -s \"https:\u002F\u002Fapp.spendexai.com\u002Fapi\u002Fbudgets\" \\\n  -H \"Authorization: Bearer $SPENDEX_API_KEY\" | jq '.'\n```\n\n## Check Usage Stats\n\nShow recent usage broken down by model and provider.\n\n```bash\ncurl -s \"https:\u002F\u002Fapp.spendexai.com\u002Fapi\u002Fusage\u002Frealtime?stats=true\" \\\n  -H \"Authorization: Bearer $SPENDEX_API_KEY\" | jq '.'\n```\n\n## Check Cost Savings\n\nShow how much money Spendex has saved compared to always using the most expensive model.\n\n```bash\ncurl -s \"https:\u002F\u002Fapp.spendexai.com\u002Fapi\u002Fanalytics\u002Fsavings\" \\\n  -H \"Authorization: Bearer $SPENDEX_API_KEY\" | jq '.'\n```\n\n## Tips\n\n- You can add a `\"model\"` field to force a specific model (e.g. `\"model\": \"gpt-4o\"`), but leaving it empty lets Spendex pick the optimal one.\n- For conversations with history, include the full message array in `\"messages\"`.\n- Spendex deduplicates identical requests to avoid double-billing.\n- If the user asks \"how much am I spending?\", use the balance + usage + savings endpoints to give a full picture.\n","# Spendex AI Router\n\nStop overpaying for AI. Spendex analyzes every prompt and routes it to the best model at the lowest cost — automatically.\n\n**Bring Your Own Keys** — connect your existing OpenAI, Anthropic, Google, Mistral, DeepSeek, Groq, Together, Fireworks, Cohere keys in the Spendex dashboard. Spendex routes between them intelligently.\n\n## Setup\n\n1. Create a free account at https:\u002F\u002Fspendex.ai\n2. Connect your provider API keys in the dashboard (OpenAI, Anthropic, Google, etc.)\n3. Copy your Spendex API key (`spx_...`) from the dashboard\n4. Set it as an environment variable: `export SPENDEX_API_KEY=\"spx_your_key_here\"`\n\n## Chat Completion\n\nWhen the user asks you to generate text, answer questions, write code, or any task that requires an LLM — route the request through Spendex instead of calling providers directly.\n\nSpendex automatically classifies prompt complexity (simple\u002Fmedium\u002Fcomplex) and picks the best model+provider combo for cost and quality.\n\n```bash\ncurl -s -X POST \"https:\u002F\u002Fapp.spendexai.com\u002Fv1\u002Fchat\u002Fcompletions\" \\\n  -H \"Authorization: Bearer $SPENDEX_API_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d \"{\n    \\\"messages\\\": [{\\\"role\\\": \\\"user\\\", \\\"content\\\": \\\"USER_PROMPT_HERE\\\"}],\n    \\\"stream\\\": false\n  }\" | jq '{\n    content: .choices[0].message.content,\n    model: .model,\n    cost: .usage.cost,\n    saved: .usage.saved,\n    classification: .usage.classification,\n    provider: .usage.provider\n  }'\n```\n\nReplace `USER_PROMPT_HERE` with the actual user message.\n\nThe response includes:\n- `content` — the AI response\n- `model` — which model was selected by the router\n- `cost` — exact cost in USD\n- `saved` — money saved vs. using the most expensive model\n- `classification` — prompt complexity (simple \u002F medium \u002F complex)\n- `provider` — which provider served the request\n\n## Check Credit Balance\n\nShow the user how much credit they have left.\n\n```bash\ncurl -s \"https:\u002F\u002Fapp.spendexai.com\u002Fapi\u002Fcredits\u002Fbalance\" \\\n  -H \"Authorization: Bearer $SPENDEX_API_KEY\" | jq '.'\n```\n\n## Check Budgets\n\nShow active budgets and how much has been spent vs. the limit.\n\n```bash\ncurl -s \"https:\u002F\u002Fapp.spendexai.com\u002Fapi\u002Fbudgets\" \\\n  -H \"Authorization: Bearer $SPENDEX_API_KEY\" | jq '.'\n```\n\n## Check Usage Stats\n\nShow recent usage broken down by model and provider.\n\n```bash\ncurl -s \"https:\u002F\u002Fapp.spendexai.com\u002Fapi\u002Fusage\u002Frealtime?stats=true\" \\\n  -H \"Authorization: Bearer $SPENDEX_API_KEY\" | jq '.'\n```\n\n## Check Cost Savings\n\nShow how much money Spendex has saved compared to always using the most expensive model.\n\n```bash\ncurl -s \"https:\u002F\u002Fapp.spendexai.com\u002Fapi\u002Fanalytics\u002Fsavings\" \\\n  -H \"Authorization: Bearer $SPENDEX_API_KEY\" | jq '.'\n```\n\n## Tips\n\n- You can add a `\"model\"` field to force a specific model (e.g. `\"model\": \"gpt-4o\"`), but leaving it empty lets Spendex pick the optimal one.\n- For conversations with history, include the full message array in `\"messages\"`.\n- Spendex deduplicates identical requests to avoid double-billing.\n- If the user asks \"how much am I spending?\", use the balance + usage + savings endpoints to give a full picture.\n",{"name":5,"requires":24,"description":7},{"env":25,"bins":27},[26],"SPENDEX_API_KEY",[28,29],"curl","jq","master","4aa004da461d820f4ea5499e58eb8d196cf99016","community\u002Fclawhub\u002Fs\u002Fspendex-ai-router",0,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge","https:\u002F\u002Fskill-explorer-rho.vercel.app","https:\u002F\u002Fgithub.com\u002FLord1Egypt","Unbreakable. Unstoppable. Unmatched⚡.\r\n Speaker of machine tongues 🤖  | World-builder of decentralized dreams 🌐 | Defender of the digital realm🛡️.","2026-06-10 08:21:01",{"source":8,"skillName":5,"commands":40,"prompt":50,"zipAvailable":51},[41,44,47],{"tool":42,"command":43},"npx","npx skills add Lord1Egypt\u002Fawesome-skill-forge --skill spendex-ai-router",{"tool":45,"command":46},"bunx","bunx skills add Lord1Egypt\u002Fawesome-skill-forge --skill spendex-ai-router",{"tool":48,"command":49},"pnpm","pnpm dlx skills add Lord1Egypt\u002Fawesome-skill-forge --skill spendex-ai-router","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fs\u002Fspendex-ai-router\u002FSKILL.md",true,[],[54,61,68,75,82,89],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M785WKJB99G3STR1NF9NRTJW","youtube-content","YouTube transcripts to summaries, threads, blogs.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fyoutube-content\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M785WEFHB0G2S9YA6EPR3H0E","xurl","X\u002FTwitter via xurl CLI: post, search, DM, media, v2 API.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fxurl\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M785W98EDN4EFJXJPMQEHCRC","touchdesigner-mcp","Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftouchdesigner-mcp\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M785W5S9FP3QBH2V191E025P","test-driven-development","TDD: enforce RED-GREEN-REFACTOR, tests before code.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftest-driven-development\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M785W2AS08NSSH9YATCV6FJB","teams-meeting-pipeline","Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fteams-meeting-pipeline\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":19},"01M785VXKW4T34BTP1SCHW1R7F","systematic-debugging","4-phase root cause debugging: understand bugs before fixing.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fsystematic-debugging\u002FSKILL.md",[],[]]