[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M78Z0T0SSZH8X0C8Q79ASZNG":3,"skill-same:01M78Z0T0SSZH8X0C8Q79ASZNG":58},{"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":35,"commitSha":36,"skillDirectory":37,"forksCount":38,"repositoryHtmlUrl":39,"repositoryHomepageUrl":6,"ownerHtmlUrl":40,"ownerBlogUrl":41,"ownerDescription":42,"updatedAt":43,"install":44,"resources":57},"01M78Z0T0SSZH8X0C8Q79ASZNG","coreweave-sdk-patterns",null,"Production-ready patterns for CoreWeave GPU workload management with kubectl and Python.\nUse when building inference clients, managing GPU deployments programmatically,\nor creating reusable CoreWeave deployment templates.\nTrigger with phrases like \"coreweave patterns\", \"coreweave client\",\n\"coreweave Python\", \"coreweave deployment template\".","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--coreweave-pack--coreweave-sdk-patterns\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: coreweave-sdk-patterns\ndescription: |\n  Production-ready patterns for CoreWeave GPU workload management with kubectl and Python.\n  Use when building inference clients, managing GPU deployments programmatically,\n  or creating reusable CoreWeave deployment templates.\n  Trigger with phrases like \"coreweave patterns\", \"coreweave client\",\n  \"coreweave Python\", \"coreweave deployment template\".\nallowed-tools: Read, Write, Edit\nversion: 1.0.0\nlicense: MIT\nauthor: Jeremy Longshore \u003Cjeremy@intentsolutions.io>\ntags: [saas, gpu-cloud, kubernetes, inference, coreweave]\ncompatible-with: claude-code\n---\n\n# CoreWeave SDK Patterns\n\n## Overview\n\nCoreWeave is Kubernetes-native -- use kubectl, Kubernetes Python client, or Helm for programmatic management. These patterns cover GPU-aware deployment templates, inference client wrappers, and node affinity configurations.\n\n## Instructions\n\n### GPU Affinity Helper\n\n```python\n# coreweave_helpers.py\nfrom dataclasses import dataclass\n\n@dataclass\nclass GPUConfig:\n    gpu_class: str        # A100_PCIE_80GB, H100_SXM5, L40, etc.\n    gpu_count: int = 1\n    memory_gb: int = 32\n    cpu_cores: int = 4\n\nGPU_CATALOG = {\n    \"a100-80gb\": GPUConfig(\"A100_PCIE_80GB\", memory_gb=48, cpu_cores=8),\n    \"h100-80gb\": GPUConfig(\"H100_SXM5\", memory_gb=64, cpu_cores=12),\n    \"l40\":       GPUConfig(\"L40\", memory_gb=24, cpu_cores=4),\n    \"a100-8x\":   GPUConfig(\"A100_NVLINK_A100_SXM4_80GB\", gpu_count=8, memory_gb=256, cpu_cores=64),\n}\n\ndef gpu_affinity_block(gpu_class: str) -> dict:\n    return {\n        \"nodeAffinity\": {\n            \"requiredDuringSchedulingIgnoredDuringExecution\": {\n                \"nodeSelectorTerms\": [{\n                    \"matchExpressions\": [{\n                        \"key\": \"gpu.nvidia.com\u002Fclass\",\n                        \"operator\": \"In\",\n                        \"values\": [gpu_class],\n                    }]\n                }]\n            }\n        }\n    }\n\ndef gpu_resources(config: GPUConfig) -> dict:\n    return {\n        \"limits\": {\n            \"nvidia.com\u002Fgpu\": str(config.gpu_count),\n            \"memory\": f\"{config.memory_gb}Gi\",\n            \"cpu\": str(config.cpu_cores),\n        },\n        \"requests\": {\n            \"nvidia.com\u002Fgpu\": str(config.gpu_count),\n            \"memory\": f\"{config.memory_gb \u002F\u002F 2}Gi\",\n            \"cpu\": str(config.cpu_cores \u002F\u002F 2),\n        },\n    }\n```\n\n### Inference Client Wrapper\n\n```python\n# inference_client.py\nimport requests\nfrom typing import Optional\n\nclass CoreWeaveInferenceClient:\n    def __init__(self, endpoint: str, timeout: int = 30):\n        self.endpoint = endpoint.rstrip(\"\u002F\")\n        self.timeout = timeout\n        self.session = requests.Session()\n\n    def generate(self, prompt: str, max_tokens: int = 256, **kwargs) -> str:\n        resp = self.session.post(\n            f\"{self.endpoint}\u002Fv1\u002Fcompletions\",\n            json={\"prompt\": prompt, \"max_tokens\": max_tokens, **kwargs},\n            timeout=self.timeout,\n        )\n        resp.raise_for_status()\n        return resp.json()[\"choices\"][0][\"text\"]\n\n    def chat(self, messages: list[dict], **kwargs) -> str:\n        resp = self.session.post(\n            f\"{self.endpoint}\u002Fv1\u002Fchat\u002Fcompletions\",\n            json={\"messages\": messages, **kwargs},\n            timeout=self.timeout,\n        )\n        resp.raise_for_status()\n        return resp.json()[\"choices\"][0][\"message\"][\"content\"]\n\n    def health(self) -> bool:\n        try:\n            resp = self.session.get(f\"{self.endpoint}\u002Fhealth\", timeout=5)\n            return resp.status_code == 200\n        except Exception:\n            return False\n```\n\n### Deployment Template Generator\n\n```python\nimport yaml\n\ndef generate_inference_deployment(\n    name: str,\n    image: str,\n    gpu_type: str = \"a100-80gb\",\n    replicas: int = 1,\n    port: int = 8000,\n) -> str:\n    config = GPU_CATALOG[gpu_type]\n    return yaml.dump({\n        \"apiVersion\": \"apps\u002Fv1\",\n        \"kind\": \"Deployment\",\n        \"metadata\": {\"name\": name},\n        \"spec\": {\n            \"replicas\": replicas,\n            \"selector\": {\"matchLabels\": {\"app\": name}},\n            \"template\": {\n                \"metadata\": {\"labels\": {\"app\": name}},\n                \"spec\": {\n                    \"containers\": [{\n                        \"name\": name,\n                        \"image\": image,\n                        \"ports\": [{\"containerPort\": port}],\n                        \"resources\": gpu_resources(config),\n                    }],\n                    \"affinity\": gpu_affinity_block(config.gpu_class),\n                },\n            },\n        },\n    })\n```\n\n## Error Handling\n\n| Error | Cause | Solution |\n|-------|-------|----------|\n| GPU class not found | Typo in node label | Use exact values from `gpu.nvidia.com\u002Fclass` |\n| OOM on inference | Model too large for GPU | Use larger GPU or quantized model |\n| Connection refused | Service not ready | Check pod readiness probe |\n\n## Resources\n\n- [CoreWeave GPU Instances](https:\u002F\u002Fdocs.coreweave.com\u002Fdocs\u002Fplatform\u002Finstances\u002Fgpu-instances)\n- [Kubernetes Python Client](https:\u002F\u002Fgithub.com\u002Fkubernetes-client\u002Fpython)\n\n## Next Steps\n\nApply patterns in `coreweave-core-workflow-a` for KServe inference deployments.\n","# CoreWeave SDK Patterns\n\n## Overview\n\nCoreWeave is Kubernetes-native -- use kubectl, Kubernetes Python client, or Helm for programmatic management. These patterns cover GPU-aware deployment templates, inference client wrappers, and node affinity configurations.\n\n## Instructions\n\n### GPU Affinity Helper\n\n```python\n# coreweave_helpers.py\nfrom dataclasses import dataclass\n\n@dataclass\nclass GPUConfig:\n    gpu_class: str        # A100_PCIE_80GB, H100_SXM5, L40, etc.\n    gpu_count: int = 1\n    memory_gb: int = 32\n    cpu_cores: int = 4\n\nGPU_CATALOG = {\n    \"a100-80gb\": GPUConfig(\"A100_PCIE_80GB\", memory_gb=48, cpu_cores=8),\n    \"h100-80gb\": GPUConfig(\"H100_SXM5\", memory_gb=64, cpu_cores=12),\n    \"l40\":       GPUConfig(\"L40\", memory_gb=24, cpu_cores=4),\n    \"a100-8x\":   GPUConfig(\"A100_NVLINK_A100_SXM4_80GB\", gpu_count=8, memory_gb=256, cpu_cores=64),\n}\n\ndef gpu_affinity_block(gpu_class: str) -> dict:\n    return {\n        \"nodeAffinity\": {\n            \"requiredDuringSchedulingIgnoredDuringExecution\": {\n                \"nodeSelectorTerms\": [{\n                    \"matchExpressions\": [{\n                        \"key\": \"gpu.nvidia.com\u002Fclass\",\n                        \"operator\": \"In\",\n                        \"values\": [gpu_class],\n                    }]\n                }]\n            }\n        }\n    }\n\ndef gpu_resources(config: GPUConfig) -> dict:\n    return {\n        \"limits\": {\n            \"nvidia.com\u002Fgpu\": str(config.gpu_count),\n            \"memory\": f\"{config.memory_gb}Gi\",\n            \"cpu\": str(config.cpu_cores),\n        },\n        \"requests\": {\n            \"nvidia.com\u002Fgpu\": str(config.gpu_count),\n            \"memory\": f\"{config.memory_gb \u002F\u002F 2}Gi\",\n            \"cpu\": str(config.cpu_cores \u002F\u002F 2),\n        },\n    }\n```\n\n### Inference Client Wrapper\n\n```python\n# inference_client.py\nimport requests\nfrom typing import Optional\n\nclass CoreWeaveInferenceClient:\n    def __init__(self, endpoint: str, timeout: int = 30):\n        self.endpoint = endpoint.rstrip(\"\u002F\")\n        self.timeout = timeout\n        self.session = requests.Session()\n\n    def generate(self, prompt: str, max_tokens: int = 256, **kwargs) -> str:\n        resp = self.session.post(\n            f\"{self.endpoint}\u002Fv1\u002Fcompletions\",\n            json={\"prompt\": prompt, \"max_tokens\": max_tokens, **kwargs},\n            timeout=self.timeout,\n        )\n        resp.raise_for_status()\n        return resp.json()[\"choices\"][0][\"text\"]\n\n    def chat(self, messages: list[dict], **kwargs) -> str:\n        resp = self.session.post(\n            f\"{self.endpoint}\u002Fv1\u002Fchat\u002Fcompletions\",\n            json={\"messages\": messages, **kwargs},\n            timeout=self.timeout,\n        )\n        resp.raise_for_status()\n        return resp.json()[\"choices\"][0][\"message\"][\"content\"]\n\n    def health(self) -> bool:\n        try:\n            resp = self.session.get(f\"{self.endpoint}\u002Fhealth\", timeout=5)\n            return resp.status_code == 200\n        except Exception:\n            return False\n```\n\n### Deployment Template Generator\n\n```python\nimport yaml\n\ndef generate_inference_deployment(\n    name: str,\n    image: str,\n    gpu_type: str = \"a100-80gb\",\n    replicas: int = 1,\n    port: int = 8000,\n) -> str:\n    config = GPU_CATALOG[gpu_type]\n    return yaml.dump({\n        \"apiVersion\": \"apps\u002Fv1\",\n        \"kind\": \"Deployment\",\n        \"metadata\": {\"name\": name},\n        \"spec\": {\n            \"replicas\": replicas,\n            \"selector\": {\"matchLabels\": {\"app\": name}},\n            \"template\": {\n                \"metadata\": {\"labels\": {\"app\": name}},\n                \"spec\": {\n                    \"containers\": [{\n                        \"name\": name,\n                        \"image\": image,\n                        \"ports\": [{\"containerPort\": port}],\n                        \"resources\": gpu_resources(config),\n                    }],\n                    \"affinity\": gpu_affinity_block(config.gpu_class),\n                },\n            },\n        },\n    })\n```\n\n## Error Handling\n\n| Error | Cause | Solution |\n|-------|-------|----------|\n| GPU class not found | Typo in node label | Use exact values from `gpu.nvidia.com\u002Fclass` |\n| OOM on inference | Model too large for GPU | Use larger GPU or quantized model |\n| Connection refused | Service not ready | Check pod readiness probe |\n\n## Resources\n\n- [CoreWeave GPU Instances](https:\u002F\u002Fdocs.coreweave.com\u002Fdocs\u002Fplatform\u002Finstances\u002Fgpu-instances)\n- [Kubernetes Python Client](https:\u002F\u002Fgithub.com\u002Fkubernetes-client\u002Fpython)\n\n## Next Steps\n\nApply patterns in `coreweave-core-workflow-a` for KServe inference deployments.\n",{"name":5,"tags":24,"author":30,"license":15,"version":31,"description":32,"allowed-tools":33,"compatible-with":34},[25,26,27,28,29],"saas","gpu-cloud","kubernetes","inference","coreweave","Jeremy Longshore \u003Cjeremy@intentsolutions.io>","1.0.0","Production-ready patterns for CoreWeave GPU workload management with kubectl and Python.\nUse when building inference clients, managing GPU deployments programmatically,\nor creating reusable CoreWeave deployment templates.\nTrigger with phrases like \"coreweave patterns\", \"coreweave client\",\n\"coreweave Python\", \"coreweave deployment template\".\n","Read, Write, Edit","claude-code","main","99825ad3f3bcc6597ddcc7294a14e6e922f2b67b","skills\u002Fsaas-packs--coreweave-pack--coreweave-sdk-patterns",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":45,"prompt":55,"zipAvailable":56},[46,49,52],{"tool":47,"command":48},"npx","npx skills add jukeyman\u002Fjukeyman-skills --skill coreweave-sdk-patterns",{"tool":50,"command":51},"bunx","bunx skills add jukeyman\u002Fjukeyman-skills --skill coreweave-sdk-patterns",{"tool":53,"command":54},"pnpm","pnpm dlx skills add jukeyman\u002Fjukeyman-skills --skill coreweave-sdk-patterns","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsaas-packs--coreweave-pack--coreweave-sdk-patterns\u002FSKILL.md",true,[],[59,66,73,80,87,95],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"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":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"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":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"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":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"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":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":91,"sourceHtmlUrl":92,"categories":93,"keywords":94,"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":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"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",[],[]]