[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7940K8CY5W7MH4QB1KX3JHC":3,"skill-same:01M7940K8CY5W7MH4QB1KX3JHC":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":34,"commitSha":35,"skillDirectory":36,"forksCount":37,"repositoryHtmlUrl":38,"repositoryHomepageUrl":6,"ownerHtmlUrl":39,"ownerBlogUrl":40,"ownerDescription":41,"updatedAt":42,"install":43,"resources":56},"01M7940K8CY5W7MH4QB1KX3JHC","openrouter-hello-world",null,"Send your first OpenRouter API request and understand the response. Use when learning OpenRouter, testing setup, or verifying connectivity. Triggers: 'openrouter hello world', 'openrouter first request', 'test openrouter', 'openrouter quickstart'.","jukeyman\u002Fjukeyman-skills","jukeyman","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F142960420?v=4","01M78FR4Y3DHMMCBCC0GXXNB3F","RICK JEFFERSON","01M78FR4Z8RVQRAD31Y5J7V6EB",1,"MIT","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsaas-packs--openrouter-pack--openrouter-hello-world\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: openrouter-hello-world\ndescription: |\n  Send your first OpenRouter API request and understand the response. Use when learning OpenRouter, testing setup, or verifying connectivity. Triggers: 'openrouter hello world', 'openrouter first request', 'test openrouter', 'openrouter quickstart'.\nallowed-tools: Read, Write, Edit, Bash, Grep\nversion: 2.0.0\nlicense: MIT\nauthor: Jeremy Longshore \u003Cjeremy@intentsolutions.io>\ncompatible-with: claude-code, codex, openclaw\ntags: [saas, openrouter, api, quickstart]\n---\n# OpenRouter Hello World\n\n## Overview\n\nSend a minimal chat completion request through OpenRouter, understand the response format, try different models, and verify the full round-trip works. All requests go to the single endpoint `POST https:\u002F\u002Fopenrouter.ai\u002Fapi\u002Fv1\u002Fchat\u002Fcompletions`.\n\n## Minimal Request (cURL)\n\n```bash\ncurl -s https:\u002F\u002Fopenrouter.ai\u002Fapi\u002Fv1\u002Fchat\u002Fcompletions \\\n  -H \"Authorization: Bearer $OPENROUTER_API_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"model\": \"google\u002Fgemma-2-9b-it:free\",\n    \"messages\": [{\"role\": \"user\", \"content\": \"Say hello in three languages\"}],\n    \"max_tokens\": 100\n  }' | jq .\n```\n\n## Response Format\n\n```json\n{\n  \"id\": \"gen-abc123xyz\",\n  \"model\": \"google\u002Fgemma-2-9b-it:free\",\n  \"object\": \"chat.completion\",\n  \"created\": 1711234567,\n  \"choices\": [{\n    \"index\": 0,\n    \"message\": {\n      \"role\": \"assistant\",\n      \"content\": \"Hello! Bonjour! Hola!\"\n    },\n    \"finish_reason\": \"stop\"\n  }],\n  \"usage\": {\n    \"prompt_tokens\": 12,\n    \"completion_tokens\": 8,\n    \"total_tokens\": 20\n  }\n}\n```\n\nKey fields:\n- `id` (`gen-...`) -- use this to query generation stats via `GET \u002Fapi\u002Fv1\u002Fgeneration?id=gen-abc123xyz`\n- `model` -- confirms which model actually served the request\n- `usage` -- token counts for cost calculation\n- `finish_reason` -- `stop` (complete), `length` (hit max_tokens), `tool_calls` (function call)\n\n## Python Example\n\n```python\nfrom openai import OpenAI\nimport os\n\nclient = OpenAI(\n    base_url=\"https:\u002F\u002Fopenrouter.ai\u002Fapi\u002Fv1\",\n    api_key=os.environ[\"OPENROUTER_API_KEY\"],\n    default_headers={\"HTTP-Referer\": \"https:\u002F\u002Fyour-app.com\", \"X-Title\": \"My App\"},\n)\n\n# Basic completion\nresponse = client.chat.completions.create(\n    model=\"google\u002Fgemma-2-9b-it:free\",\n    messages=[\n        {\"role\": \"system\", \"content\": \"You are a helpful assistant.\"},\n        {\"role\": \"user\", \"content\": \"What is OpenRouter in one sentence?\"},\n    ],\n    max_tokens=100,\n)\n\nprint(response.choices[0].message.content)\nprint(f\"Model: {response.model}\")\nprint(f\"Tokens: {response.usage.prompt_tokens} prompt + {response.usage.completion_tokens} completion\")\n```\n\n## TypeScript Example\n\n```typescript\nimport OpenAI from \"openai\";\n\nconst client = new OpenAI({\n  baseURL: \"https:\u002F\u002Fopenrouter.ai\u002Fapi\u002Fv1\",\n  apiKey: process.env.OPENROUTER_API_KEY,\n  defaultHeaders: { \"HTTP-Referer\": \"https:\u002F\u002Fyour-app.com\", \"X-Title\": \"My App\" },\n});\n\nconst res = await client.chat.completions.create({\n  model: \"google\u002Fgemma-2-9b-it:free\",\n  messages: [{ role: \"user\", content: \"What is OpenRouter in one sentence?\" }],\n  max_tokens: 100,\n});\n\nconsole.log(res.choices[0].message.content);\nconsole.log(`Model: ${res.model} | Tokens: ${res.usage?.total_tokens}`);\n```\n\n## Try Different Models\n\n```python\n# Swap model ID to access any of 400+ models\nmodels_to_try = [\n    \"google\u002Fgemma-2-9b-it:free\",         # Free tier\n    \"meta-llama\u002Fllama-3.1-8b-instruct\",  # Open-source\n    \"anthropic\u002Fclaude-3.5-sonnet\",        # Anthropic\n    \"openai\u002Fgpt-4o\",                      # OpenAI\n    \"openrouter\u002Fauto\",                    # Auto-router (picks best model)\n]\n\nfor model_id in models_to_try:\n    try:\n        r = client.chat.completions.create(\n            model=model_id,\n            messages=[{\"role\": \"user\", \"content\": \"Hi\"}],\n            max_tokens=10,\n        )\n        print(f\"{model_id}: {r.choices[0].message.content}\")\n    except Exception as e:\n        print(f\"{model_id}: {e}\")\n```\n\n## Check Generation Cost\n\n```bash\n# After a request, query the generation endpoint for cost details\ncurl -s \"https:\u002F\u002Fopenrouter.ai\u002Fapi\u002Fv1\u002Fgeneration?id=gen-abc123xyz\" \\\n  -H \"Authorization: Bearer $OPENROUTER_API_KEY\" | jq '{\n    model: .data.model,\n    tokens_prompt: .data.tokens_prompt,\n    tokens_completion: .data.tokens_completion,\n    total_cost: .data.total_cost\n  }'\n```\n\n## Error Handling\n\n| HTTP | Cause | Fix |\n|------|-------|-----|\n| 401 | Invalid or missing API key | Verify `sk-or-v1-...` key is exported |\n| 402 | Insufficient credits for paid model | Add credits or use a `:free` model |\n| 404 | Wrong base URL or invalid model ID | Use `https:\u002F\u002Fopenrouter.ai\u002Fapi\u002Fv1`; check model ID at `\u002Fapi\u002Fv1\u002Fmodels` |\n| 400 | Malformed JSON or missing `messages` | Ensure `messages` array has objects with `role` and `content` |\n\n## Enterprise Considerations\n\n- Always set `max_tokens` to prevent unbounded completions\n- Use `HTTP-Referer` and `X-Title` headers for usage attribution in dashboards\n- Query `\u002Fapi\u002Fv1\u002Fgeneration?id=` for async cost auditing\n- Test with free models first, then switch to paid models for production\n\n## References\n\n- [Examples](${CLAUDE_SKILL_DIR}\u002Freferences\u002Fexamples.md) | [Errors](${CLAUDE_SKILL_DIR}\u002Freferences\u002Ferrors.md)\n- [OpenRouter Quickstart](https:\u002F\u002Fopenrouter.ai\u002Fdocs\u002Fquickstart) | [API Reference](https:\u002F\u002Fopenrouter.ai\u002Fdocs\u002Fapi\u002Freference\u002Foverview)\n","# OpenRouter Hello World\n\n## Overview\n\nSend a minimal chat completion request through OpenRouter, understand the response format, try different models, and verify the full round-trip works. All requests go to the single endpoint `POST https:\u002F\u002Fopenrouter.ai\u002Fapi\u002Fv1\u002Fchat\u002Fcompletions`.\n\n## Minimal Request (cURL)\n\n```bash\ncurl -s https:\u002F\u002Fopenrouter.ai\u002Fapi\u002Fv1\u002Fchat\u002Fcompletions \\\n  -H \"Authorization: Bearer $OPENROUTER_API_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"model\": \"google\u002Fgemma-2-9b-it:free\",\n    \"messages\": [{\"role\": \"user\", \"content\": \"Say hello in three languages\"}],\n    \"max_tokens\": 100\n  }' | jq .\n```\n\n## Response Format\n\n```json\n{\n  \"id\": \"gen-abc123xyz\",\n  \"model\": \"google\u002Fgemma-2-9b-it:free\",\n  \"object\": \"chat.completion\",\n  \"created\": 1711234567,\n  \"choices\": [{\n    \"index\": 0,\n    \"message\": {\n      \"role\": \"assistant\",\n      \"content\": \"Hello! Bonjour! Hola!\"\n    },\n    \"finish_reason\": \"stop\"\n  }],\n  \"usage\": {\n    \"prompt_tokens\": 12,\n    \"completion_tokens\": 8,\n    \"total_tokens\": 20\n  }\n}\n```\n\nKey fields:\n- `id` (`gen-...`) -- use this to query generation stats via `GET \u002Fapi\u002Fv1\u002Fgeneration?id=gen-abc123xyz`\n- `model` -- confirms which model actually served the request\n- `usage` -- token counts for cost calculation\n- `finish_reason` -- `stop` (complete), `length` (hit max_tokens), `tool_calls` (function call)\n\n## Python Example\n\n```python\nfrom openai import OpenAI\nimport os\n\nclient = OpenAI(\n    base_url=\"https:\u002F\u002Fopenrouter.ai\u002Fapi\u002Fv1\",\n    api_key=os.environ[\"OPENROUTER_API_KEY\"],\n    default_headers={\"HTTP-Referer\": \"https:\u002F\u002Fyour-app.com\", \"X-Title\": \"My App\"},\n)\n\n# Basic completion\nresponse = client.chat.completions.create(\n    model=\"google\u002Fgemma-2-9b-it:free\",\n    messages=[\n        {\"role\": \"system\", \"content\": \"You are a helpful assistant.\"},\n        {\"role\": \"user\", \"content\": \"What is OpenRouter in one sentence?\"},\n    ],\n    max_tokens=100,\n)\n\nprint(response.choices[0].message.content)\nprint(f\"Model: {response.model}\")\nprint(f\"Tokens: {response.usage.prompt_tokens} prompt + {response.usage.completion_tokens} completion\")\n```\n\n## TypeScript Example\n\n```typescript\nimport OpenAI from \"openai\";\n\nconst client = new OpenAI({\n  baseURL: \"https:\u002F\u002Fopenrouter.ai\u002Fapi\u002Fv1\",\n  apiKey: process.env.OPENROUTER_API_KEY,\n  defaultHeaders: { \"HTTP-Referer\": \"https:\u002F\u002Fyour-app.com\", \"X-Title\": \"My App\" },\n});\n\nconst res = await client.chat.completions.create({\n  model: \"google\u002Fgemma-2-9b-it:free\",\n  messages: [{ role: \"user\", content: \"What is OpenRouter in one sentence?\" }],\n  max_tokens: 100,\n});\n\nconsole.log(res.choices[0].message.content);\nconsole.log(`Model: ${res.model} | Tokens: ${res.usage?.total_tokens}`);\n```\n\n## Try Different Models\n\n```python\n# Swap model ID to access any of 400+ models\nmodels_to_try = [\n    \"google\u002Fgemma-2-9b-it:free\",         # Free tier\n    \"meta-llama\u002Fllama-3.1-8b-instruct\",  # Open-source\n    \"anthropic\u002Fclaude-3.5-sonnet\",        # Anthropic\n    \"openai\u002Fgpt-4o\",                      # OpenAI\n    \"openrouter\u002Fauto\",                    # Auto-router (picks best model)\n]\n\nfor model_id in models_to_try:\n    try:\n        r = client.chat.completions.create(\n            model=model_id,\n            messages=[{\"role\": \"user\", \"content\": \"Hi\"}],\n            max_tokens=10,\n        )\n        print(f\"{model_id}: {r.choices[0].message.content}\")\n    except Exception as e:\n        print(f\"{model_id}: {e}\")\n```\n\n## Check Generation Cost\n\n```bash\n# After a request, query the generation endpoint for cost details\ncurl -s \"https:\u002F\u002Fopenrouter.ai\u002Fapi\u002Fv1\u002Fgeneration?id=gen-abc123xyz\" \\\n  -H \"Authorization: Bearer $OPENROUTER_API_KEY\" | jq '{\n    model: .data.model,\n    tokens_prompt: .data.tokens_prompt,\n    tokens_completion: .data.tokens_completion,\n    total_cost: .data.total_cost\n  }'\n```\n\n## Error Handling\n\n| HTTP | Cause | Fix |\n|------|-------|-----|\n| 401 | Invalid or missing API key | Verify `sk-or-v1-...` key is exported |\n| 402 | Insufficient credits for paid model | Add credits or use a `:free` model |\n| 404 | Wrong base URL or invalid model ID | Use `https:\u002F\u002Fopenrouter.ai\u002Fapi\u002Fv1`; check model ID at `\u002Fapi\u002Fv1\u002Fmodels` |\n| 400 | Malformed JSON or missing `messages` | Ensure `messages` array has objects with `role` and `content` |\n\n## Enterprise Considerations\n\n- Always set `max_tokens` to prevent unbounded completions\n- Use `HTTP-Referer` and `X-Title` headers for usage attribution in dashboards\n- Query `\u002Fapi\u002Fv1\u002Fgeneration?id=` for async cost auditing\n- Test with free models first, then switch to paid models for production\n\n## References\n\n- [Examples](${CLAUDE_SKILL_DIR}\u002Freferences\u002Fexamples.md) | [Errors](${CLAUDE_SKILL_DIR}\u002Freferences\u002Ferrors.md)\n- [OpenRouter Quickstart](https:\u002F\u002Fopenrouter.ai\u002Fdocs\u002Fquickstart) | [API Reference](https:\u002F\u002Fopenrouter.ai\u002Fdocs\u002Fapi\u002Freference\u002Foverview)\n",{"name":5,"tags":24,"author":29,"license":15,"version":30,"description":31,"allowed-tools":32,"compatible-with":33},[25,26,27,28],"saas","openrouter","api","quickstart","Jeremy Longshore \u003Cjeremy@intentsolutions.io>","2.0.0","Send your first OpenRouter API request and understand the response. Use when learning OpenRouter, testing setup, or verifying connectivity. Triggers: 'openrouter hello world', 'openrouter first request', 'test openrouter', 'openrouter quickstart'.\n","Read, Write, Edit, Bash, Grep","claude-code, codex, openclaw","main","99825ad3f3bcc6597ddcc7294a14e6e922f2b67b","skills\u002Fsaas-packs--openrouter-pack--openrouter-hello-world",0,"https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills","https:\u002F\u002Fgithub.com\u002Fjukeyman","https:\u002F\u002FRJBUSINESSSOLUTIONS.ORG","Credit and Finance Expert | Developer\r\n\r\nI'm Rick Jefferson, a seasoned credit and finance expert with over a decade of experience in financial literacy,","2026-07-13 07:03:29",{"source":8,"skillName":5,"commands":44,"prompt":54,"zipAvailable":55},[45,48,51],{"tool":46,"command":47},"npx","npx skills add jukeyman\u002Fjukeyman-skills --skill openrouter-hello-world",{"tool":49,"command":50},"bunx","bunx skills add jukeyman\u002Fjukeyman-skills --skill openrouter-hello-world",{"tool":52,"command":53},"pnpm","pnpm dlx skills add jukeyman\u002Fjukeyman-skills --skill openrouter-hello-world","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsaas-packs--openrouter-pack--openrouter-hello-world\u002FSKILL.md",true,[],[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},"01M79ANS2SM329NEP5ZCX106RR","zustand-store-creator","Create zustand store creator operations. Auto-activating skill for Frontend Development.\nTriggers on: zustand store creator, zustand store creator\nPart of the Frontend Development skill category. Use when working with zustand store creator functionality. Trigger with phrases like \"zustand store creator\", \"zustand creator\", \"zustand\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzustand-store-creator\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},"01M79AMZKP4YDEZ7EHG1Y7PP74","zero-trust-config-helper","Configure with zero trust config helper operations. Auto-activating skill for Security Advanced.\nTriggers on: zero trust config helper, zero trust config helper\nPart of the Security Advanced skill category. Use when configuring systems or services. Trigger with phrases like \"zero trust config helper\", \"zero helper\", \"zero\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzero-trust-config-helper\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},"01M79AMJSBCEJQNBTYNAHYN5HM","zapier-integration-helper","Assist with zapier integration helper operations. Auto-activating skill for Business Automation.\nTriggers on: zapier integration helper, zapier integration helper\nPart of the Business Automation skill category. Use when working with APIs or building integrations. Trigger with phrases like \"zapier integration helper\", \"zapier helper\", \"zapier\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzapier-integration-helper\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},"01M79AHJZGVMARS13VFQYRR1MP","yaml-config-validator","Validate yaml config validator operations. Auto-activating skill for DevOps Basics.\nTriggers on: yaml config validator, yaml config validator\nPart of the DevOps Basics skill category. Use when configuring systems or services. Trigger with phrases like \"yaml config validator\", \"yaml validator\", \"yaml\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fyaml-config-validator\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},"01M79AHGDZRN0020RDQSQDPAM8","xvary-stock-research","Thesis-driven equity analysis from public SEC EDGAR and market data; \u002Fanalyze, \u002Fscore, \u002Fcompare workflows with bundled Python tools (Claude Code, Cursor, Codex).","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxvary-stock-research\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxvary-stock-research\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},"01M79AHCYJ9FV9RMHQ24HDRN33","xss-vulnerability-scanner","Scan xss vulnerability scanner operations. Auto-activating skill for Security Fundamentals.\nTriggers on: xss vulnerability scanner, xss vulnerability scanner\nPart of the Security Fundamentals skill category. Use when working with xss vulnerability scanner functionality. Trigger with phrases like \"xss vulnerability scanner\", \"xss scanner\", \"xss\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxss-vulnerability-scanner\u002FSKILL.md",[],[]]