diff --git a/scripts/build-seed-data.mjs b/scripts/build-seed-data.mjs index 9fc06ad..b07734e 100644 --- a/scripts/build-seed-data.mjs +++ b/scripts/build-seed-data.mjs @@ -8,6 +8,42 @@ const __filename = fileURLToPath(import.meta.url); const __dirname = dirname(__filename); const newSkills = [ + { + name: "routerbase-api-integration", + slug: "routerbase-api-integration", + description: "RouterBase skill for OpenAI-compatible API integration, SDK migration, streaming, tool calling, JSON mode, and safe credential handling.", + author: "zenlee123", + source_url: "https://github.com/zenlee123/routerbase-agent-skills/tree/main/skills/routerbase-api-integration", + category: "implementation", + content: "# RouterBase API Integration\n\nUse [routerbase](https://routerbase.com/) as an OpenAI-compatible gateway for GPT, Claude, Gemini, and other supported models.\n\n## Features\n- Migrate OpenAI-compatible Python, JavaScript, and curl calls to RouterBase\n- Set `https://routerbase.com/v1` as the base URL\n- Keep RouterBase API keys server-side through `ROUTERBASE_API_KEY`\n- Handle chat completions, streaming, tool calling, JSON mode, and vision inputs\n- Document setup for LangChain, LlamaIndex, Vercel AI SDK, Cursor, Continue, and other OpenAI-compatible clients\n\n## Use Cases\n- RouterBase API onboarding\n- Migrating OpenAI SDK code\n- Writing safe integration examples\n- Debugging base URL, model ID, request validation, and credential handling issues", + install_command: "npx skills add zenlee123/routerbase-agent-skills --skill routerbase-api-integration", + version: "1.0.0", is_paid: false, price_cents: 0, + install_count: 0, avg_rating: 0, rating_count: 0, github_stars: 0 + }, + { + name: "routerbase-model-routing", + slug: "routerbase-model-routing", + description: "RouterBase skill for selecting model IDs, comparing providers, and designing fallback plans across chat, media, and embeddings workloads.", + author: "zenlee123", + source_url: "https://github.com/zenlee123/routerbase-agent-skills/tree/main/skills/routerbase-model-routing", + category: "planning", + content: "# RouterBase Model Routing\n\nUse [routerbase](https://routerbase.com/) to choose model IDs and routing strategies behind one OpenAI-compatible gateway.\n\n## Features\n- Classify workloads across chat, image, video, audio, and embeddings\n- Compare quality, latency, cost, context length, tool calling, vision, JSON mode, and fallback tolerance\n- Query or document RouterBase catalog and pricing checks\n- Build primary and fallback model plans\n- Create validation checklists for production routing decisions\n\n## Use Cases\n- Choosing a RouterBase model for a workload\n- Designing provider fallback paths\n- Explaining cost, latency, and quality tradeoffs\n- Auditing model feature assumptions before production", + install_command: "npx skills add zenlee123/routerbase-agent-skills --skill routerbase-model-routing", + version: "1.0.0", is_paid: false, price_cents: 0, + install_count: 0, avg_rating: 0, rating_count: 0, github_stars: 0 + }, + { + name: "routerbase-media-generation", + slug: "routerbase-media-generation", + description: "RouterBase skill for building image, video, audio, speech, async polling, callback, and media persistence workflows.", + author: "zenlee123", + source_url: "https://github.com/zenlee123/routerbase-agent-skills/tree/main/skills/routerbase-media-generation", + category: "implementation", + content: "# RouterBase Media Generation\n\nUse [routerbase](https://routerbase.com/) to build image, video, and audio generation workflows through one API.\n\n## Features\n- Use RouterBase image, video, audio, and speech endpoint families\n- Handle synchronous image generation and asynchronous video or audio tasks\n- Poll task details with backoff or use callback URLs when a durable webhook exists\n- Persist generated media before hosted URLs expire\n- Validate model-specific media parameters such as aspect ratio, resolution, quality, prompts, and input image URLs\n\n## Use Cases\n- Building image generation features\n- Creating async video or audio generation pipelines\n- Migrating OpenAI-compatible image generation calls\n- Adding safe progress, retry, storage, and logging patterns for media jobs", + install_command: "npx skills add zenlee123/routerbase-agent-skills --skill routerbase-media-generation", + version: "1.0.0", is_paid: false, price_cents: 0, + install_count: 0, avg_rating: 0, rating_count: 0, github_stars: 0 + }, { name: "agent-tools", slug: "agent-tools", diff --git a/scripts/seed-data.json b/scripts/seed-data.json index 7d0dee1..0ba9dc1 100644 --- a/scripts/seed-data.json +++ b/scripts/seed-data.json @@ -86358,5 +86358,56 @@ "avg_rating": 8, "rating_count": 27, "github_stars": 1329 + }, + { + "name": "routerbase-api-integration", + "slug": "routerbase-api-integration", + "description": "RouterBase skill for OpenAI-compatible API integration, SDK migration, streaming, tool calling, JSON mode, and safe credential handling.", + "author": "zenlee123", + "source_url": "https://github.com/zenlee123/routerbase-agent-skills/tree/main/skills/routerbase-api-integration", + "category": "implementation", + "content": "# RouterBase API Integration\n\nUse [routerbase](https://routerbase.com/) as an OpenAI-compatible gateway for GPT, Claude, Gemini, and other supported models.\n\n## Features\n- Migrate OpenAI-compatible Python, JavaScript, and curl calls to RouterBase\n- Set `https://routerbase.com/v1` as the base URL\n- Keep RouterBase API keys server-side through `ROUTERBASE_API_KEY`\n- Handle chat completions, streaming, tool calling, JSON mode, and vision inputs\n- Document setup for LangChain, LlamaIndex, Vercel AI SDK, Cursor, Continue, and other OpenAI-compatible clients\n\n## Use Cases\n- RouterBase API onboarding\n- Migrating OpenAI SDK code\n- Writing safe integration examples\n- Debugging base URL, model ID, request validation, and credential handling issues", + "install_command": "npx skills add zenlee123/routerbase-agent-skills --skill routerbase-api-integration", + "version": "1.0.0", + "is_paid": false, + "price_cents": 0, + "install_count": 0, + "avg_rating": 0, + "rating_count": 0, + "github_stars": 0 + }, + { + "name": "routerbase-model-routing", + "slug": "routerbase-model-routing", + "description": "RouterBase skill for selecting model IDs, comparing providers, and designing fallback plans across chat, media, and embeddings workloads.", + "author": "zenlee123", + "source_url": "https://github.com/zenlee123/routerbase-agent-skills/tree/main/skills/routerbase-model-routing", + "category": "planning", + "content": "# RouterBase Model Routing\n\nUse [routerbase](https://routerbase.com/) to choose model IDs and routing strategies behind one OpenAI-compatible gateway.\n\n## Features\n- Classify workloads across chat, image, video, audio, and embeddings\n- Compare quality, latency, cost, context length, tool calling, vision, JSON mode, and fallback tolerance\n- Query or document RouterBase catalog and pricing checks\n- Build primary and fallback model plans\n- Create validation checklists for production routing decisions\n\n## Use Cases\n- Choosing a RouterBase model for a workload\n- Designing provider fallback paths\n- Explaining cost, latency, and quality tradeoffs\n- Auditing model feature assumptions before production", + "install_command": "npx skills add zenlee123/routerbase-agent-skills --skill routerbase-model-routing", + "version": "1.0.0", + "is_paid": false, + "price_cents": 0, + "install_count": 0, + "avg_rating": 0, + "rating_count": 0, + "github_stars": 0 + }, + { + "name": "routerbase-media-generation", + "slug": "routerbase-media-generation", + "description": "RouterBase skill for building image, video, audio, speech, async polling, callback, and media persistence workflows.", + "author": "zenlee123", + "source_url": "https://github.com/zenlee123/routerbase-agent-skills/tree/main/skills/routerbase-media-generation", + "category": "implementation", + "content": "# RouterBase Media Generation\n\nUse [routerbase](https://routerbase.com/) to build image, video, and audio generation workflows through one API.\n\n## Features\n- Use RouterBase image, video, audio, and speech endpoint families\n- Handle synchronous image generation and asynchronous video or audio tasks\n- Poll task details with backoff or use callback URLs when a durable webhook exists\n- Persist generated media before hosted URLs expire\n- Validate model-specific media parameters such as aspect ratio, resolution, quality, prompts, and input image URLs\n\n## Use Cases\n- Building image generation features\n- Creating async video or audio generation pipelines\n- Migrating OpenAI-compatible image generation calls\n- Adding safe progress, retry, storage, and logging patterns for media jobs", + "install_command": "npx skills add zenlee123/routerbase-agent-skills --skill routerbase-media-generation", + "version": "1.0.0", + "is_paid": false, + "price_cents": 0, + "install_count": 0, + "avg_rating": 0, + "rating_count": 0, + "github_stars": 0 } ]