[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M738CHNJ2M3642XBHMDNWAW2":3,"skill-same:01M738CHNJ2M3642XBHMDNWAW2":55},{"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":34,"commitSha":35,"skillDirectory":36,"forksCount":14,"repositoryHtmlUrl":37,"repositoryHomepageUrl":6,"ownerHtmlUrl":38,"ownerBlogUrl":39,"ownerDescription":6,"updatedAt":40,"install":41,"resources":54},"01M738CHNJ2M3642XBHMDNWAW2","add-provider",null,"Adds custom LLM providers and models to GoodVibes Agent. Use when the user wants to add a provider, add a model, configure Ollama, Together AI, OpenRouter, Groq, LM Studio, Fireworks, vLLM, or any OpenAI-compatible endpoint.","mgd34msu\u002Fgoodvibes-agent","mgd34msu","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F18431027?v=4","01M738CATH5H7A50SZSXTFPZDW","Michael Davis","01M738CAV6GARBTR6VZK8Z6R8D",0,"MIT","https:\u002F\u002Fgithub.com\u002Fmgd34msu\u002Fgoodvibes-agent\u002Fblob\u002Fmain\u002F.goodvibes\u002Fskills\u002Fadd-provider\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: add-provider\ndescription: Adds custom LLM providers and models to GoodVibes Agent. Use when the user wants to add a provider, add a model, configure Ollama, Together AI, OpenRouter, Groq, LM Studio, Fireworks, vLLM, or any OpenAI-compatible endpoint.\nversion: 1.0.0\ntriggers:\n  - \u002Fadd-provider\n  - add provider\n  - add a provider\n  - new provider\n  - custom provider\n  - add model\n  - add a model\nauthor: goodvibes\n---\n\n# Add custom provider\n\nInteractively collect provider and model details from the user, then write a JSON config to `~\u002F.goodvibes\u002Fagent\u002Fproviders\u002F{name}.json`.\n\n## Workflow\n\n### Step 1: check for existing provider\n\nBefore collecting info, check if `~\u002F.goodvibes\u002Fagent\u002Fproviders\u002F` already has JSON files. If the user names a provider that already exists, ask:\n- **Add models** to the existing provider, or\n- **Overwrite** it entirely\n\nIf adding models, read the existing JSON, append new models, and write back.\n\n### Step 2: collect provider details\n\nAsk the user for each field. Apply smart defaults when the provider name matches a known service.\n\n#### Required fields\n\n| Field | Description | Validation |\n|-------|-------------|------------|\n| `name` | Internal ID | Lowercase alphanumeric + hyphens only, 1-64 chars |\n| `displayName` | Human-readable name | Non-empty string |\n| `type` | API compatibility | `openai-compat` (recommended) or `anthropic-compat` (not yet supported, use `openai-compat`) |\n| `baseURL` | API endpoint | Must start with `http:\u002F\u002F` or `https:\u002F\u002F` |\n\n> **Note:** `anthropic-compat` is accepted in the JSON schema for forward compatibility but is not yet functional at runtime. The loader will skip configs with this type and emit a warning. Use `openai-compat` for now. Most Anthropic-compatible proxies (e.g., via LiteLLM) expose an OpenAI-compatible endpoint.\n\n#### Optional fields\n\n| Field | Description | Default |\n|-------|-------------|---------|\n| `apiKeyEnv` | Environment variable for API key | None |\n| `apiKey` | Explicit API key (not recommended) | None |\n| `defaultHeaders` | Custom HTTP headers sent with every API request (e.g., for proxy authentication or routing) | None |\n\n### Smart defaults\n\nWhen the user mentions a known provider, pre-fill these values and confirm:\n\n```yaml\nollama:\n  displayName: Ollama\n  type: openai-compat\n  baseURL: http:\u002F\u002Flocalhost:11434\u002Fv1\n  apiKeyEnv: null\n\ntogether:\n  displayName: Together AI\n  type: openai-compat\n  baseURL: https:\u002F\u002Fapi.together.xyz\u002Fv1\n  apiKeyEnv: TOGETHER_API_KEY\n\nopenrouter:\n  displayName: OpenRouter\n  type: openai-compat\n  baseURL: https:\u002F\u002Fopenrouter.ai\u002Fapi\u002Fv1\n  apiKeyEnv: OPENROUTER_API_KEY\n\ngroq:\n  displayName: Groq\n  type: openai-compat\n  baseURL: https:\u002F\u002Fapi.groq.com\u002Fopenai\u002Fv1\n  apiKeyEnv: GROQ_API_KEY\n\nlm-studio:\n  displayName: LM Studio\n  type: openai-compat\n  baseURL: http:\u002F\u002Flocalhost:1234\u002Fv1\n  apiKeyEnv: null\n\nfireworks:\n  displayName: Fireworks AI\n  type: openai-compat\n  baseURL: https:\u002F\u002Fapi.fireworks.ai\u002Finference\u002Fv1\n  apiKeyEnv: FIREWORKS_API_KEY\n\nvllm:\n  displayName: vLLM\n  type: openai-compat\n  baseURL: http:\u002F\u002Flocalhost:8000\u002Fv1\n  apiKeyEnv: null\n```\n\nIf the name does not match a known provider, ask for all fields individually.\n\n### Step 3: collect model details\n\nCollect at least one model. For each model:\n\n| Field | Description | Validation |\n|-------|-------------|------------|\n| `id` | Model identifier sent to the API | Non-empty string |\n| `displayName` | Human-readable name | Non-empty string |\n| `description` | Short description | Optional, auto-generate if blank |\n| `contextWindow` | Max tokens in context | Positive integer |\n| `capabilities.toolCalling` | Supports function\u002Ftool calling | Boolean, default `true` |\n| `capabilities.codeEditing` | Good at code editing tasks | Boolean, default `true` |\n| `capabilities.reasoning` | Extended reasoning\u002Fchain-of-thought | Boolean, default `false` |\n| `capabilities.multimodal` | Supports image input | Boolean, default `false` |\n| `reasoningEffort` | Supported reasoning effort levels | Optional, e.g., `[\"low\", \"medium\", \"high\"]` |\n\nAfter each model, ask: \"Add another model?\" Loop until done.\n\n### Step 4: preview and confirm\n\nShow the complete JSON to the user and ask for confirmation before writing.\n\nExample output:\n\n```json\n{\n  \"name\": \"ollama\",\n  \"displayName\": \"Ollama\",\n  \"type\": \"openai-compat\",\n  \"baseURL\": \"http:\u002F\u002Flocalhost:11434\u002Fv1\",\n  \"models\": [\n    {\n      \"id\": \"llama3.3-70b\",\n      \"displayName\": \"Llama 3.3 70B\",\n      \"description\": \"Meta's Llama 3.3 70B parameter model\",\n      \"contextWindow\": 131072,\n      \"capabilities\": {\n        \"toolCalling\": true,\n        \"codeEditing\": true,\n        \"reasoning\": true,\n        \"multimodal\": false\n      },\n      \"reasoningEffort\": [\"low\", \"medium\", \"high\"]\n    }\n  ]\n}\n```\n\n### Step 5: write the file\n\nWrite to `~\u002F.goodvibes\u002Fagent\u002Fproviders\u002F{name}.json`. Create the directory if it does not exist.\n\nUse `precision_write` with `mode: \"fail_if_exists\"` for new providers. Use `mode: \"overwrite\"` when the user chose to overwrite an existing provider or when merging models into an existing file.\n\nIf the `apiKeyEnv` field is set, include it in the JSON. If the user provided an explicit `apiKey`, include it but warn that storing keys in plain text is not recommended. Suggest using an environment variable instead.\n\nIf `defaultHeaders` were provided, include them.\n\n### Step 6: confirm\n\nTell the user:\n- The file was written to `~\u002F.goodvibes\u002Fagent\u002Fproviders\u002F{name}.json`\n- The provider should be available to the Agent runtime after provider reload or next Agent startup\n- If an API key is needed, remind them to set the environment variable\n\n## Validation rules\n\nBefore writing, verify:\n1. `name` matches `\u002F^[a-z0-9]([a-z0-9-]*[a-z0-9])?$\u002F` and is 1-64 characters (no trailing hyphens)\n2. `baseURL` starts with `http:\u002F\u002F` or `https:\u002F\u002F`\n3. `contextWindow` is a positive integer for every model\n4. At least one model is defined\n5. Every model has a non-empty `id` and `displayName`\n\nIf validation fails, tell the user which field is invalid and ask for correction.\n\n## JSON schema reference\n\nThe provider JSON maps to the codebase types:\n\n- Provider registration uses `OpenAICompatProvider` for `openai-compat` type. The `anthropic-compat` type is parsed and accepted in the JSON but is **not yet supported at runtime**: the loader skips it with a warning. Recommend `openai-compat` for all custom providers.\n- `OpenAICompatOptions`: `{ name, baseURL, apiKey, defaultModel, models }`\n- Model entries map to `ModelDefinition`: `{ id, provider, displayName, description, contextWindow, capabilities, reasoningEffort?, selectable }`\n  - `reasoningEffort?: string[]`: optional array of supported effort levels, e.g., `[\"low\", \"medium\", \"high\"]`\n- The `selectable` field defaults to `true` for custom models\n- The `provider` field in `ModelDefinition` is auto-set to the provider `name`\n\n## Conversational style\n\nBe natural and helpful. Guide users step-by-step but do not be overly verbose. If the user provides multiple details at once (e.g., \"add ollama with llama3.3-70b\"), extract what you can and only ask for missing fields.\n\n## Edge cases\n\n- **Unknown context window**: Suggest 4096 as a safe default, note the user can update later\n- **No API key needed**: Omit `apiKeyEnv` and `apiKey` from the JSON entirely\n- **User provides a full JSON blob**: Validate it against the schema and write directly\n- **Multiple providers in one session**: After completing one, ask if they want to add another\n","# Add custom provider\n\nInteractively collect provider and model details from the user, then write a JSON config to `~\u002F.goodvibes\u002Fagent\u002Fproviders\u002F{name}.json`.\n\n## Workflow\n\n### Step 1: check for existing provider\n\nBefore collecting info, check if `~\u002F.goodvibes\u002Fagent\u002Fproviders\u002F` already has JSON files. If the user names a provider that already exists, ask:\n- **Add models** to the existing provider, or\n- **Overwrite** it entirely\n\nIf adding models, read the existing JSON, append new models, and write back.\n\n### Step 2: collect provider details\n\nAsk the user for each field. Apply smart defaults when the provider name matches a known service.\n\n#### Required fields\n\n| Field | Description | Validation |\n|-------|-------------|------------|\n| `name` | Internal ID | Lowercase alphanumeric + hyphens only, 1-64 chars |\n| `displayName` | Human-readable name | Non-empty string |\n| `type` | API compatibility | `openai-compat` (recommended) or `anthropic-compat` (not yet supported, use `openai-compat`) |\n| `baseURL` | API endpoint | Must start with `http:\u002F\u002F` or `https:\u002F\u002F` |\n\n> **Note:** `anthropic-compat` is accepted in the JSON schema for forward compatibility but is not yet functional at runtime. The loader will skip configs with this type and emit a warning. Use `openai-compat` for now. Most Anthropic-compatible proxies (e.g., via LiteLLM) expose an OpenAI-compatible endpoint.\n\n#### Optional fields\n\n| Field | Description | Default |\n|-------|-------------|---------|\n| `apiKeyEnv` | Environment variable for API key | None |\n| `apiKey` | Explicit API key (not recommended) | None |\n| `defaultHeaders` | Custom HTTP headers sent with every API request (e.g., for proxy authentication or routing) | None |\n\n### Smart defaults\n\nWhen the user mentions a known provider, pre-fill these values and confirm:\n\n```yaml\nollama:\n  displayName: Ollama\n  type: openai-compat\n  baseURL: http:\u002F\u002Flocalhost:11434\u002Fv1\n  apiKeyEnv: null\n\ntogether:\n  displayName: Together AI\n  type: openai-compat\n  baseURL: https:\u002F\u002Fapi.together.xyz\u002Fv1\n  apiKeyEnv: TOGETHER_API_KEY\n\nopenrouter:\n  displayName: OpenRouter\n  type: openai-compat\n  baseURL: https:\u002F\u002Fopenrouter.ai\u002Fapi\u002Fv1\n  apiKeyEnv: OPENROUTER_API_KEY\n\ngroq:\n  displayName: Groq\n  type: openai-compat\n  baseURL: https:\u002F\u002Fapi.groq.com\u002Fopenai\u002Fv1\n  apiKeyEnv: GROQ_API_KEY\n\nlm-studio:\n  displayName: LM Studio\n  type: openai-compat\n  baseURL: http:\u002F\u002Flocalhost:1234\u002Fv1\n  apiKeyEnv: null\n\nfireworks:\n  displayName: Fireworks AI\n  type: openai-compat\n  baseURL: https:\u002F\u002Fapi.fireworks.ai\u002Finference\u002Fv1\n  apiKeyEnv: FIREWORKS_API_KEY\n\nvllm:\n  displayName: vLLM\n  type: openai-compat\n  baseURL: http:\u002F\u002Flocalhost:8000\u002Fv1\n  apiKeyEnv: null\n```\n\nIf the name does not match a known provider, ask for all fields individually.\n\n### Step 3: collect model details\n\nCollect at least one model. For each model:\n\n| Field | Description | Validation |\n|-------|-------------|------------|\n| `id` | Model identifier sent to the API | Non-empty string |\n| `displayName` | Human-readable name | Non-empty string |\n| `description` | Short description | Optional, auto-generate if blank |\n| `contextWindow` | Max tokens in context | Positive integer |\n| `capabilities.toolCalling` | Supports function\u002Ftool calling | Boolean, default `true` |\n| `capabilities.codeEditing` | Good at code editing tasks | Boolean, default `true` |\n| `capabilities.reasoning` | Extended reasoning\u002Fchain-of-thought | Boolean, default `false` |\n| `capabilities.multimodal` | Supports image input | Boolean, default `false` |\n| `reasoningEffort` | Supported reasoning effort levels | Optional, e.g., `[\"low\", \"medium\", \"high\"]` |\n\nAfter each model, ask: \"Add another model?\" Loop until done.\n\n### Step 4: preview and confirm\n\nShow the complete JSON to the user and ask for confirmation before writing.\n\nExample output:\n\n```json\n{\n  \"name\": \"ollama\",\n  \"displayName\": \"Ollama\",\n  \"type\": \"openai-compat\",\n  \"baseURL\": \"http:\u002F\u002Flocalhost:11434\u002Fv1\",\n  \"models\": [\n    {\n      \"id\": \"llama3.3-70b\",\n      \"displayName\": \"Llama 3.3 70B\",\n      \"description\": \"Meta's Llama 3.3 70B parameter model\",\n      \"contextWindow\": 131072,\n      \"capabilities\": {\n        \"toolCalling\": true,\n        \"codeEditing\": true,\n        \"reasoning\": true,\n        \"multimodal\": false\n      },\n      \"reasoningEffort\": [\"low\", \"medium\", \"high\"]\n    }\n  ]\n}\n```\n\n### Step 5: write the file\n\nWrite to `~\u002F.goodvibes\u002Fagent\u002Fproviders\u002F{name}.json`. Create the directory if it does not exist.\n\nUse `precision_write` with `mode: \"fail_if_exists\"` for new providers. Use `mode: \"overwrite\"` when the user chose to overwrite an existing provider or when merging models into an existing file.\n\nIf the `apiKeyEnv` field is set, include it in the JSON. If the user provided an explicit `apiKey`, include it but warn that storing keys in plain text is not recommended. Suggest using an environment variable instead.\n\nIf `defaultHeaders` were provided, include them.\n\n### Step 6: confirm\n\nTell the user:\n- The file was written to `~\u002F.goodvibes\u002Fagent\u002Fproviders\u002F{name}.json`\n- The provider should be available to the Agent runtime after provider reload or next Agent startup\n- If an API key is needed, remind them to set the environment variable\n\n## Validation rules\n\nBefore writing, verify:\n1. `name` matches `\u002F^[a-z0-9]([a-z0-9-]*[a-z0-9])?$\u002F` and is 1-64 characters (no trailing hyphens)\n2. `baseURL` starts with `http:\u002F\u002F` or `https:\u002F\u002F`\n3. `contextWindow` is a positive integer for every model\n4. At least one model is defined\n5. Every model has a non-empty `id` and `displayName`\n\nIf validation fails, tell the user which field is invalid and ask for correction.\n\n## JSON schema reference\n\nThe provider JSON maps to the codebase types:\n\n- Provider registration uses `OpenAICompatProvider` for `openai-compat` type. The `anthropic-compat` type is parsed and accepted in the JSON but is **not yet supported at runtime**: the loader skips it with a warning. Recommend `openai-compat` for all custom providers.\n- `OpenAICompatOptions`: `{ name, baseURL, apiKey, defaultModel, models }`\n- Model entries map to `ModelDefinition`: `{ id, provider, displayName, description, contextWindow, capabilities, reasoningEffort?, selectable }`\n  - `reasoningEffort?: string[]`: optional array of supported effort levels, e.g., `[\"low\", \"medium\", \"high\"]`\n- The `selectable` field defaults to `true` for custom models\n- The `provider` field in `ModelDefinition` is auto-set to the provider `name`\n\n## Conversational style\n\nBe natural and helpful. Guide users step-by-step but do not be overly verbose. If the user provides multiple details at once (e.g., \"add ollama with llama3.3-70b\"), extract what you can and only ask for missing fields.\n\n## Edge cases\n\n- **Unknown context window**: Suggest 4096 as a safe default, note the user can update later\n- **No API key needed**: Omit `apiKeyEnv` and `apiKey` from the JSON entirely\n- **User provides a full JSON blob**: Validate it against the schema and write directly\n- **Multiple providers in one session**: After completing one, ask if they want to add another\n",{"name":5,"author":24,"version":25,"triggers":26,"description":7},"goodvibes","1.0.0",[27,28,29,30,31,32,33],"\u002Fadd-provider","add provider","add a provider","new provider","custom provider","add model","add a model","main","9b434c867fa4c0445731b9456496b300d6dad418",".goodvibes\u002Fskills\u002Fadd-provider","https:\u002F\u002Fgithub.com\u002Fmgd34msu\u002Fgoodvibes-agent","https:\u002F\u002Fgithub.com\u002Fmgd34msu","https:\u002F\u002Fwww.linkedin.com\u002Fin\u002Fmike-davis","2026-10-02 13:02:16",{"source":8,"skillName":5,"commands":42,"prompt":52,"zipAvailable":53},[43,46,49],{"tool":44,"command":45},"npx","npx skills add mgd34msu\u002Fgoodvibes-agent --skill add-provider",{"tool":47,"command":48},"bunx","bunx skills add mgd34msu\u002Fgoodvibes-agent --skill add-provider",{"tool":50,"command":51},"pnpm","pnpm dlx skills add mgd34msu\u002Fgoodvibes-agent --skill add-provider","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmgd34msu\u002Fgoodvibes-agent\u002Fblob\u002Fmain\u002F.goodvibes\u002Fskills\u002Fadd-provider\u002FSKILL.md",true,[],[56],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M738CM7CVJ54X7YJZKF08EEN","Ops Sweep","Sweep operational state","https:\u002F\u002Fgithub.com\u002Fmgd34msu\u002Fgoodvibes-agent\u002Fblob\u002Fmain\u002Fsrc\u002Ftest\u002Ffixtures\u002Fopenclaw-workspace\u002Fskills\u002Fops\u002FSKILL.md",[],[]]