[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M796VG2EKM9GH66XWM687MVK":3,"skill-same:01M796VG2EKM9GH66XWM687MVK":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},"01M796VG2EKM9GH66XWM687MVK","vastai-install-auth",null,"Install and configure Vast.ai CLI and REST API authentication.\nUse when setting up a new Vast.ai integration, configuring API keys,\nor initializing Vast.ai GPU cloud access in your project.\nTrigger with phrases like \"install vastai\", \"setup vastai\",\n\"vastai auth\", \"configure vastai API key\", \"vastai gpu setup\".","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--vastai-pack--vastai-install-auth\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: vastai-install-auth\ndescription: |\n  Install and configure Vast.ai CLI and REST API authentication.\n  Use when setting up a new Vast.ai integration, configuring API keys,\n  or initializing Vast.ai GPU cloud access in your project.\n  Trigger with phrases like \"install vastai\", \"setup vastai\",\n  \"vastai auth\", \"configure vastai API key\", \"vastai gpu setup\".\nallowed-tools: Read, Write, Edit, Bash(pip:*), Bash(vastai:*), Bash(curl:*), Grep\nversion: 1.0.0\nlicense: MIT\nauthor: Jeremy Longshore \u003Cjeremy@intentsolutions.io>\ncompatible-with: claude-code, codex, openclaw\ntags: [saas, vast-ai, api, authentication]\n---\n# Vast.ai Install & Auth\n\n## Overview\nSet up the Vast.ai CLI and REST API access for renting GPU compute instances. Vast.ai is a marketplace where individual hosts and data centers list GPU machines at prices significantly below hyperscaler providers.\n\n## Prerequisites\n- Python 3.8+\n- Vast.ai account at https:\u002F\u002Fcloud.vast.ai\n- Credit card or credits loaded for GPU rental\n\n## Instructions\n\n### Step 1: Install the CLI\n```bash\nset -euo pipefail\npip install vastai\nvastai --version\n```\n\n### Step 2: Get Your API Key\n1. Log in at https:\u002F\u002Fcloud.vast.ai\n2. Navigate to **Account** > **API Keys** (or visit https:\u002F\u002Fcloud.vast.ai\u002Fcli\u002F)\n3. Copy your API key (a long hexadecimal string)\n\n### Step 3: Configure Authentication\n```bash\n# Save API key to ~\u002F.vast_api_key\nvastai set api-key YOUR_API_KEY_HERE\n\n# Verify authentication\nvastai show user\n```\n\nFor programmatic use, set the environment variable:\n```bash\nexport VASTAI_API_KEY=\"your-api-key-here\"\necho 'VASTAI_API_KEY=your-api-key' >> .env\n```\n\n### Step 4: Verify with REST API\n```bash\n# Direct REST API call — base URL is cloud.vast.ai\u002Fapi\u002Fv0\ncurl -s -H \"Authorization: Bearer $VASTAI_API_KEY\" \\\n  \"https:\u002F\u002Fcloud.vast.ai\u002Fapi\u002Fv0\u002Fusers\u002Fcurrent\" | jq '{id, username, balance}'\n```\n\n### Step 5: Python Client Setup\n```python\n# vastai_client.py\nimport os\nimport requests\nfrom typing import Optional, Dict, Any, List\n\nclass VastClient:\n    BASE_URL = \"https:\u002F\u002Fcloud.vast.ai\u002Fapi\u002Fv0\"\n\n    def __init__(self, api_key: Optional[str] = None):\n        self.api_key = api_key or os.environ.get(\"VASTAI_API_KEY\")\n        if not self.api_key:\n            # Fall back to ~\u002F.vast_api_key\n            key_file = os.path.expanduser(\"~\u002F.vast_api_key\")\n            if os.path.exists(key_file):\n                self.api_key = open(key_file).read().strip()\n        if not self.api_key:\n            raise ValueError(\"No API key found. Run: vastai set api-key YOUR_KEY\")\n\n        self.session = requests.Session()\n        self.session.headers.update({\n            \"Authorization\": f\"Bearer {self.api_key}\",\n            \"Accept\": \"application\u002Fjson\",\n        })\n\n    def _request(self, method: str, endpoint: str, **kwargs) -> Dict[str, Any]:\n        url = f\"{self.BASE_URL}{endpoint}\"\n        resp = self.session.request(method, url, **kwargs)\n        resp.raise_for_status()\n        return resp.json()\n\n    def search_offers(self, query: Dict[str, Any]) -> List[Dict]:\n        return self._request(\"GET\", \"\u002Fbundles\u002F\", params={\"q\": str(query)})\n\n    def create_instance(self, offer_id: int, image: str, disk_gb: float = 20,\n                        onstart: str = \"\", env: Dict = None) -> Dict:\n        body = {\"client_id\": \"me\", \"image\": image, \"disk\": disk_gb,\n                \"onstart\": onstart, \"env\": env or {}}\n        return self._request(\"PUT\", f\"\u002Fasks\u002F{offer_id}\u002F\", json=body)\n\n    def show_instances(self) -> List[Dict]:\n        return self._request(\"GET\", \"\u002Finstances\u002F\")[\"instances\"]\n\n    def destroy_instance(self, instance_id: int) -> Dict:\n        return self._request(\"DELETE\", f\"\u002Finstances\u002F{instance_id}\u002F\")\n\n# Quick verification\nif __name__ == \"__main__\":\n    client = VastClient()\n    user = client._request(\"GET\", \"\u002Fusers\u002Fcurrent\")\n    print(f\"Authenticated as: {user['username']}\")\n    print(f\"Balance: ${user.get('balance', 0):.2f}\")\n```\n\n### Step 6: Verify Connection\n```bash\n# CLI verification\nvastai show user\nvastai search offers 'num_gpus=1 gpu_name=RTX_4090' --limit 3\n\n# Python verification\npython vastai_client.py\n```\n\n## Output\n- `vastai` CLI installed and authenticated\n- API key saved to `~\u002F.vast_api_key` and\u002For environment variable\n- Python client wrapper with search, create, show, destroy methods\n- Successful authentication verification\n\n## Error Handling\n| Error | Cause | Solution |\n|-------|-------|----------|\n| `Invalid API key` | Wrong or expired key | Regenerate at cloud.vast.ai\u002Fcli\u002F |\n| `403 Forbidden` | Insufficient balance | Add credits at cloud.vast.ai |\n| `Connection refused` | Firewall blocking HTTPS | Allow outbound 443 to cloud.vast.ai |\n| `Module not found: vastai` | pip install failed | Run `pip install --upgrade vastai` |\n| `~\u002F.vast_api_key not found` | CLI not configured | Run `vastai set api-key YOUR_KEY` |\n\n## Resources\n- [Vast.ai CLI Documentation](https:\u002F\u002Fdocs.vast.ai\u002Fcli\u002Fget-started)\n- [REST API Reference](https:\u002F\u002Fvast.ai\u002Fdevelopers\u002Fapi)\n- [API Introduction](https:\u002F\u002Fdocs.vast.ai\u002Fapi-reference\u002Fintroduction)\n- [GitHub: vast-cli](https:\u002F\u002Fgithub.com\u002Fvast-ai\u002Fvast-cli)\n\n## Next Steps\nAfter successful auth, proceed to `vastai-hello-world` for your first GPU instance rental.\n\n## Examples\n\n**Quick CLI test**: Run `vastai search offers 'reliability > 0.99 num_gpus=1' --order 'dph_total'` to find the cheapest reliable single-GPU offers. Verify your key works before writing any code.\n\n**REST API test**: Use curl with your Bearer token to hit `cloud.vast.ai\u002Fapi\u002Fv0\u002Fusers\u002Fcurrent` and confirm your username and balance are returned correctly.\n","# Vast.ai Install & Auth\n\n## Overview\nSet up the Vast.ai CLI and REST API access for renting GPU compute instances. Vast.ai is a marketplace where individual hosts and data centers list GPU machines at prices significantly below hyperscaler providers.\n\n## Prerequisites\n- Python 3.8+\n- Vast.ai account at https:\u002F\u002Fcloud.vast.ai\n- Credit card or credits loaded for GPU rental\n\n## Instructions\n\n### Step 1: Install the CLI\n```bash\nset -euo pipefail\npip install vastai\nvastai --version\n```\n\n### Step 2: Get Your API Key\n1. Log in at https:\u002F\u002Fcloud.vast.ai\n2. Navigate to **Account** > **API Keys** (or visit https:\u002F\u002Fcloud.vast.ai\u002Fcli\u002F)\n3. Copy your API key (a long hexadecimal string)\n\n### Step 3: Configure Authentication\n```bash\n# Save API key to ~\u002F.vast_api_key\nvastai set api-key YOUR_API_KEY_HERE\n\n# Verify authentication\nvastai show user\n```\n\nFor programmatic use, set the environment variable:\n```bash\nexport VASTAI_API_KEY=\"your-api-key-here\"\necho 'VASTAI_API_KEY=your-api-key' >> .env\n```\n\n### Step 4: Verify with REST API\n```bash\n# Direct REST API call — base URL is cloud.vast.ai\u002Fapi\u002Fv0\ncurl -s -H \"Authorization: Bearer $VASTAI_API_KEY\" \\\n  \"https:\u002F\u002Fcloud.vast.ai\u002Fapi\u002Fv0\u002Fusers\u002Fcurrent\" | jq '{id, username, balance}'\n```\n\n### Step 5: Python Client Setup\n```python\n# vastai_client.py\nimport os\nimport requests\nfrom typing import Optional, Dict, Any, List\n\nclass VastClient:\n    BASE_URL = \"https:\u002F\u002Fcloud.vast.ai\u002Fapi\u002Fv0\"\n\n    def __init__(self, api_key: Optional[str] = None):\n        self.api_key = api_key or os.environ.get(\"VASTAI_API_KEY\")\n        if not self.api_key:\n            # Fall back to ~\u002F.vast_api_key\n            key_file = os.path.expanduser(\"~\u002F.vast_api_key\")\n            if os.path.exists(key_file):\n                self.api_key = open(key_file).read().strip()\n        if not self.api_key:\n            raise ValueError(\"No API key found. Run: vastai set api-key YOUR_KEY\")\n\n        self.session = requests.Session()\n        self.session.headers.update({\n            \"Authorization\": f\"Bearer {self.api_key}\",\n            \"Accept\": \"application\u002Fjson\",\n        })\n\n    def _request(self, method: str, endpoint: str, **kwargs) -> Dict[str, Any]:\n        url = f\"{self.BASE_URL}{endpoint}\"\n        resp = self.session.request(method, url, **kwargs)\n        resp.raise_for_status()\n        return resp.json()\n\n    def search_offers(self, query: Dict[str, Any]) -> List[Dict]:\n        return self._request(\"GET\", \"\u002Fbundles\u002F\", params={\"q\": str(query)})\n\n    def create_instance(self, offer_id: int, image: str, disk_gb: float = 20,\n                        onstart: str = \"\", env: Dict = None) -> Dict:\n        body = {\"client_id\": \"me\", \"image\": image, \"disk\": disk_gb,\n                \"onstart\": onstart, \"env\": env or {}}\n        return self._request(\"PUT\", f\"\u002Fasks\u002F{offer_id}\u002F\", json=body)\n\n    def show_instances(self) -> List[Dict]:\n        return self._request(\"GET\", \"\u002Finstances\u002F\")[\"instances\"]\n\n    def destroy_instance(self, instance_id: int) -> Dict:\n        return self._request(\"DELETE\", f\"\u002Finstances\u002F{instance_id}\u002F\")\n\n# Quick verification\nif __name__ == \"__main__\":\n    client = VastClient()\n    user = client._request(\"GET\", \"\u002Fusers\u002Fcurrent\")\n    print(f\"Authenticated as: {user['username']}\")\n    print(f\"Balance: ${user.get('balance', 0):.2f}\")\n```\n\n### Step 6: Verify Connection\n```bash\n# CLI verification\nvastai show user\nvastai search offers 'num_gpus=1 gpu_name=RTX_4090' --limit 3\n\n# Python verification\npython vastai_client.py\n```\n\n## Output\n- `vastai` CLI installed and authenticated\n- API key saved to `~\u002F.vast_api_key` and\u002For environment variable\n- Python client wrapper with search, create, show, destroy methods\n- Successful authentication verification\n\n## Error Handling\n| Error | Cause | Solution |\n|-------|-------|----------|\n| `Invalid API key` | Wrong or expired key | Regenerate at cloud.vast.ai\u002Fcli\u002F |\n| `403 Forbidden` | Insufficient balance | Add credits at cloud.vast.ai |\n| `Connection refused` | Firewall blocking HTTPS | Allow outbound 443 to cloud.vast.ai |\n| `Module not found: vastai` | pip install failed | Run `pip install --upgrade vastai` |\n| `~\u002F.vast_api_key not found` | CLI not configured | Run `vastai set api-key YOUR_KEY` |\n\n## Resources\n- [Vast.ai CLI Documentation](https:\u002F\u002Fdocs.vast.ai\u002Fcli\u002Fget-started)\n- [REST API Reference](https:\u002F\u002Fvast.ai\u002Fdevelopers\u002Fapi)\n- [API Introduction](https:\u002F\u002Fdocs.vast.ai\u002Fapi-reference\u002Fintroduction)\n- [GitHub: vast-cli](https:\u002F\u002Fgithub.com\u002Fvast-ai\u002Fvast-cli)\n\n## Next Steps\nAfter successful auth, proceed to `vastai-hello-world` for your first GPU instance rental.\n\n## Examples\n\n**Quick CLI test**: Run `vastai search offers 'reliability > 0.99 num_gpus=1' --order 'dph_total'` to find the cheapest reliable single-GPU offers. Verify your key works before writing any code.\n\n**REST API test**: Use curl with your Bearer token to hit `cloud.vast.ai\u002Fapi\u002Fv0\u002Fusers\u002Fcurrent` and confirm your username and balance are returned correctly.\n",{"name":5,"tags":24,"author":29,"license":15,"version":30,"description":31,"allowed-tools":32,"compatible-with":33},[25,26,27,28],"saas","vast-ai","api","authentication","Jeremy Longshore \u003Cjeremy@intentsolutions.io>","1.0.0","Install and configure Vast.ai CLI and REST API authentication.\nUse when setting up a new Vast.ai integration, configuring API keys,\nor initializing Vast.ai GPU cloud access in your project.\nTrigger with phrases like \"install vastai\", \"setup vastai\",\n\"vastai auth\", \"configure vastai API key\", \"vastai gpu setup\".\n","Read, Write, Edit, Bash(pip:*), Bash(vastai:*), Bash(curl:*), Grep","claude-code, codex, openclaw","main","99825ad3f3bcc6597ddcc7294a14e6e922f2b67b","skills\u002Fsaas-packs--vastai-pack--vastai-install-auth",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 vastai-install-auth",{"tool":49,"command":50},"bunx","bunx skills add jukeyman\u002Fjukeyman-skills --skill vastai-install-auth",{"tool":52,"command":53},"pnpm","pnpm dlx skills add jukeyman\u002Fjukeyman-skills --skill vastai-install-auth","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsaas-packs--vastai-pack--vastai-install-auth\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",[],[]]