[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77N8DRN3B3CRKXD3P8ARBXK":3,"skill-same:01M77N8DRN3B3CRKXD3P8ARBXK":45},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":20,"frontMatter":21,"refName":22,"commitSha":23,"skillDirectory":24,"forksCount":25,"repositoryHtmlUrl":26,"repositoryHomepageUrl":27,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":29,"updatedAt":30,"install":31,"resources":44},"01M77N8DRN3B3CRKXD3P8ARBXK","mlx-local-ai",null,"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\u002Fm\u002Fmlx-local-ai\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"# MLX Local AI 技能\n\n一键部署本地 AI 服务，支持 Apple Silicon (M1\u002FM2\u002FM3\u002FM4)。\n\n## 功能\n\n- 🤖 **本地 LLM 服务**：Qwen3.5-4B-OptiQ-4bit (通过 MLX-LM)\n- 📊 **Embedding 服务**：bge-base-zh-v1.5 (中文向量模型)\n- 🔄 **OpenClaw Gateway**：统一 API 网关\n- 🎯 **一键安装\u002F启动\u002F停止**\n\n## 系统要求\n\n- macOS 14.0+ (Sonoma 或更高)\n- Apple Silicon (M1\u002FM2\u002FM3\u002FM4)\n- Python 3.10+\n- 8GB+ 内存\n\n## 快速开始\n\n### 安装\n\n```bash\n.\u002Finstall.sh\n```\n\n### 启动服务\n\n```bash\n.\u002Fstart_ai.sh start\n```\n\n### 检查状态\n\n```bash\n.\u002Fstart_ai.sh status\n```\n\n### 停止服务\n\n```bash\n.\u002Fstart_ai.sh stop\n```\n\n## 服务端口\n\n| 服务 | 端口 | 说明 |\n|------|------|------|\n| Chat API | 8080 | OpenAI 兼容 API |\n| Embedding API | 8081 | 向量嵌入 API |\n| OpenClaw Gateway | 18789 | 管理界面 |\n\n## API 使用\n\n### Chat API\n\n```bash\ncurl http:\u002F\u002Flocalhost:8080\u002Fv1\u002Fchat\u002Fcompletions \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"model\": \"mlx-community\u002FQwen3.5-4B-OptiQ-4bit\",\n    \"messages\": [{\"role\": \"user\", \"content\": \"你好\"}],\n    \"max_tokens\": 100\n  }'\n```\n\n### Embedding API\n\n```bash\ncurl http:\u002F\u002Flocalhost:8081\u002Fembed \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"texts\": [\"你好\", \"世界\"]}'\n```\n\n## 文件结构\n\n```\nmlx-local-ai\u002F\n├── SKILL.md           # 本文件\n├── install.sh         # 安装脚本\n├── start_ai.sh        # 启动脚本\n├── uninstall.sh       # 卸载脚本\n├── config\u002F            # 配置文件\n│   ├── openclaw.json  # OpenClaw 配置\n│   └── env.example    # 环境变量示例\n└── scripts\u002F           # 工具脚本\n    ├── check_deps.py  # 依赖检查\n    └── test_api.py    # API 测试\n```\n\n## 配置\n\n### 环境变量\n\n复制 `config\u002Fenv.example` 到 `~\u002F.zshrc`：\n\n```bash\ncp config\u002Fenv.example ~\u002F.zshrc.local\necho 'source ~\u002F.zshrc.local' >> ~\u002F.zshrc\n```\n\n### 模型配置\n\n默认使用 `mlx-community\u002FQwen3.5-4B-OptiQ-4bit`，可在 `start_ai.sh` 中修改。\n\n## 故障排查\n\n### 服务无法启动\n\n```bash\n# 检查依赖\npython3 scripts\u002Fcheck_deps.py\n\n# 查看日志\n.\u002Fstart_ai.sh logs\n```\n\n### 模型加载失败\n\n```bash\n# 手动下载模型\nsource ~\u002Fmlx-env\u002Fbin\u002Factivate\nHF_ENDPOINT=https:\u002F\u002Fhf-mirror.com python3 -c \"from mlx_lm import load; load('mlx-community\u002FQwen3.5-4B-OptiQ-4bit')\"\n```\n\n## 更新\n\n```bash\n.\u002Finstall.sh --update\n```\n\n## 卸载\n\n```bash\n.\u002Funinstall.sh\n```\n\n## 许可证\n\nMIT License\n",{},"master","4aa004da461d820f4ea5499e58eb8d196cf99016","community\u002Fclawhub\u002Fm\u002Fmlx-local-ai",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":7,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add Lord1Egypt\u002Fawesome-skill-forge --skill mlx-local-ai",{"tool":37,"command":38},"bunx","bunx skills add Lord1Egypt\u002Fawesome-skill-forge --skill mlx-local-ai",{"tool":40,"command":41},"pnpm","pnpm dlx skills add Lord1Egypt\u002Fawesome-skill-forge --skill mlx-local-ai","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fm\u002Fmlx-local-ai\u002FSKILL.md",true,[],[46,53,60,67,74,81],{"skillNo":47,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":18},"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":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":18},"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":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":18},"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":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":18},"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":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":18},"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":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":18},"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",[],[]]