{
  "schemaVersion": "1.0",
  "item": {
    "slug": "claude-max-proxy-setup",
    "name": "Claude Max Proxy Setup",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/ERROR403agent/claude-max-proxy-setup",
    "canonicalUrl": "https://clawhub.ai/ERROR403agent/claude-max-proxy-setup",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/claude-max-proxy-setup",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=claude-max-proxy-setup",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "slug": "claude-max-proxy-setup",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-01T13:11:05.843Z",
      "expiresAt": "2026-05-08T13:11:05.843Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=claude-max-proxy-setup",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=claude-max-proxy-setup",
        "contentDisposition": "attachment; filename=\"claude-max-proxy-setup-1.1.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "claude-max-proxy-setup"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/claude-max-proxy-setup"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/claude-max-proxy-setup",
    "agentPageUrl": "https://openagent3.xyz/skills/claude-max-proxy-setup/agent",
    "manifestUrl": "https://openagent3.xyz/skills/claude-max-proxy-setup/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/claude-max-proxy-setup/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Overview",
        "body": "Replace per-token Claude API billing ($15-75/M tokens) with a flat-rate proxy through your Claude Max ($200/mo) or Pro ($20/mo) subscription. The claude-max-api-proxy package exposes your authenticated Claude Code CLI session as an OpenAI-compatible HTTP endpoint on localhost:3456.\n\nHow it works: The proxy uses your already-authenticated claude CLI session to forward requests. No API keys are stored or transmitted by the proxy — it relies on your local CLI login. Any OpenAI-compatible client (OpenClaw, LangChain, custom scripts) connects to localhost:3456.\n\nSource code: github.com/atalovesyou/claude-max-api-proxy — review the source before installing."
      },
      {
        "title": "When to Use",
        "body": "Agent API costs exceed $20/month and you have a Claude Max or Pro subscription\nYou want to run Claude Opus 4.6, Sonnet 4.6, or Haiku 4.5 without per-token charges\nYou're configuring OpenClaw, LangChain, or any OpenAI-compatible client to use Claude\n\nDo not use when:\n\nYou don't have a Claude Max or Pro subscription (get one first at claude.ai)\nYou need concurrent request throughput >5 (Max plan has rate limits)\nYou're on a shared server where others could access port 3456"
      },
      {
        "title": "Security Notes",
        "body": "The proxy binds to localhost only by default — it is not accessible from other machines\nIt uses your authenticated claude CLI session, meaning anyone with access to port 3456 on your machine can make requests against your subscription\nNever expose port 3456 to the public internet — use firewall rules to restrict access\nReview the package source before installing"
      },
      {
        "title": "1. Prerequisites Check",
        "body": "# Verify Node.js 20+\nnode --version\n\n# Verify Claude Code CLI is installed and authenticated\nclaude --version\nclaude --print \"test\"   # Should return a response without errors\n\nIf claude is not authenticated, run claude login and complete the browser flow."
      },
      {
        "title": "2. Install and Start",
        "body": "# Review the package source first: https://github.com/atalovesyou/claude-max-api-proxy\nnpm install -g claude-max-api-proxy\nclaude-max-api   # Starts on localhost:3456 by default\n\n# Verify:\ncurl http://localhost:3456/health\n# => {\"status\":\"ok\",\"provider\":\"claude-code-cli\",...}"
      },
      {
        "title": "3. Configure Your Client",
        "body": "For OpenClaw (~/.openclaw/openclaw.json):\n\n{\n  \"env\": {\n    \"OPENAI_API_KEY\": \"not-needed\",\n    \"OPENAI_BASE_URL\": \"http://localhost:3456/v1\"\n  },\n  \"models\": {\n    \"providers\": {\n      \"openai\": {\n        \"baseUrl\": \"http://localhost:3456/v1\",\n        \"apiKey\": \"not-needed\",\n        \"models\": [\n          { \"id\": \"claude-opus-4\", \"name\": \"Claude Opus 4.6 (Max)\", \"contextWindow\": 200000, \"maxTokens\": 16384 },\n          { \"id\": \"claude-sonnet-4\", \"name\": \"Claude Sonnet 4.6 (Max)\", \"contextWindow\": 200000, \"maxTokens\": 16384 },\n          { \"id\": \"claude-haiku-4\", \"name\": \"Claude Haiku 4.5 (Max)\", \"contextWindow\": 200000, \"maxTokens\": 8192 }\n        ]\n      }\n    }\n  }\n}\n\nFor any OpenAI-compatible client:\n\nBase URL: http://localhost:3456/v1\nAPI key: any non-empty string (proxy ignores it)\nModel IDs: claude-opus-4, claude-sonnet-4, claude-haiku-4"
      },
      {
        "title": "4. Run as Persistent Service (Optional)",
        "body": "# Create systemd user service\n# Adjust paths below to match your system — find yours with:\n#   which claude-max-api\n#   echo $HOME\nmkdir -p ~/.config/systemd/user\ncat > ~/.config/systemd/user/claude-max-api-proxy.service << EOF\n[Unit]\nDescription=Claude Max API Proxy\nAfter=network.target\n\n[Service]\nType=simple\nExecStart=$(which claude-max-api)\nEnvironment=HOME=$HOME\nEnvironment=PATH=$HOME/.npm-global/bin:/usr/local/bin:/usr/bin:/bin\nRestart=on-failure\nRestartSec=5\n\n[Install]\nWantedBy=default.target\nEOF\n\nsystemctl --user daemon-reload\nsystemctl --user enable claude-max-api-proxy\nsystemctl --user start claude-max-api-proxy"
      },
      {
        "title": "5. Verify",
        "body": "curl http://localhost:3456/v1/chat/completions \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"model\":\"claude-opus-4\",\"messages\":[{\"role\":\"user\",\"content\":\"Say: proxy working\"}]}'"
      },
      {
        "title": "Model ID Reference",
        "body": "Proxy Model IDCLI AliasBest Forclaude-opus-4opusComplex reasoning, research, long-formclaude-sonnet-4sonnetFast + capable, most tasksclaude-haiku-4haikuSimple tasks, high speed"
      },
      {
        "title": "Common Mistakes",
        "body": "MistakeFixclaude: command not foundnpm install -g @anthropic-ai/claude-codeProxy returns auth errorsRun claude login and complete browser authRate limit errors with Max planAdd \"maxConcurrency\": 1 to agent config; Max has limitsConfig not taking effectRestart your agent/client after changing configProxy dies on rebootSet up systemd service (Step 4 above)"
      },
      {
        "title": "Cost Comparison",
        "body": "SetupMonthly CostClaude Opus 4.6 API (active agent)$200-500+Claude Max + this proxy$200 flatClaude Pro + this proxy$20 flat (lower rate limits)"
      },
      {
        "title": "Need Help?",
        "body": "Source & issues: github.com/atalovesyou/claude-max-api-proxy\nHire Mr. Clawford — 0.008 ETH via Moltlaunch (mltl hire --agent 18890)\nDM @mr_clawford on MoltX\nWebsite: deepbluebase.xyz"
      }
    ],
    "body": "Claude Max API Proxy Setup\nOverview\n\nReplace per-token Claude API billing ($15-75/M tokens) with a flat-rate proxy through your Claude Max ($200/mo) or Pro ($20/mo) subscription. The claude-max-api-proxy package exposes your authenticated Claude Code CLI session as an OpenAI-compatible HTTP endpoint on localhost:3456.\n\nHow it works: The proxy uses your already-authenticated claude CLI session to forward requests. No API keys are stored or transmitted by the proxy — it relies on your local CLI login. Any OpenAI-compatible client (OpenClaw, LangChain, custom scripts) connects to localhost:3456.\n\nSource code: github.com/atalovesyou/claude-max-api-proxy — review the source before installing.\n\nWhen to Use\nAgent API costs exceed $20/month and you have a Claude Max or Pro subscription\nYou want to run Claude Opus 4.6, Sonnet 4.6, or Haiku 4.5 without per-token charges\nYou're configuring OpenClaw, LangChain, or any OpenAI-compatible client to use Claude\n\nDo not use when:\n\nYou don't have a Claude Max or Pro subscription (get one first at claude.ai)\nYou need concurrent request throughput >5 (Max plan has rate limits)\nYou're on a shared server where others could access port 3456\nSecurity Notes\nThe proxy binds to localhost only by default — it is not accessible from other machines\nIt uses your authenticated claude CLI session, meaning anyone with access to port 3456 on your machine can make requests against your subscription\nNever expose port 3456 to the public internet — use firewall rules to restrict access\nReview the package source before installing\nSetup Process\n1. Prerequisites Check\n# Verify Node.js 20+\nnode --version\n\n# Verify Claude Code CLI is installed and authenticated\nclaude --version\nclaude --print \"test\"   # Should return a response without errors\n\n\nIf claude is not authenticated, run claude login and complete the browser flow.\n\n2. Install and Start\n# Review the package source first: https://github.com/atalovesyou/claude-max-api-proxy\nnpm install -g claude-max-api-proxy\nclaude-max-api   # Starts on localhost:3456 by default\n\n# Verify:\ncurl http://localhost:3456/health\n# => {\"status\":\"ok\",\"provider\":\"claude-code-cli\",...}\n\n3. Configure Your Client\n\nFor OpenClaw (~/.openclaw/openclaw.json):\n\n{\n  \"env\": {\n    \"OPENAI_API_KEY\": \"not-needed\",\n    \"OPENAI_BASE_URL\": \"http://localhost:3456/v1\"\n  },\n  \"models\": {\n    \"providers\": {\n      \"openai\": {\n        \"baseUrl\": \"http://localhost:3456/v1\",\n        \"apiKey\": \"not-needed\",\n        \"models\": [\n          { \"id\": \"claude-opus-4\", \"name\": \"Claude Opus 4.6 (Max)\", \"contextWindow\": 200000, \"maxTokens\": 16384 },\n          { \"id\": \"claude-sonnet-4\", \"name\": \"Claude Sonnet 4.6 (Max)\", \"contextWindow\": 200000, \"maxTokens\": 16384 },\n          { \"id\": \"claude-haiku-4\", \"name\": \"Claude Haiku 4.5 (Max)\", \"contextWindow\": 200000, \"maxTokens\": 8192 }\n        ]\n      }\n    }\n  }\n}\n\n\nFor any OpenAI-compatible client:\n\nBase URL: http://localhost:3456/v1\nAPI key: any non-empty string (proxy ignores it)\nModel IDs: claude-opus-4, claude-sonnet-4, claude-haiku-4\n4. Run as Persistent Service (Optional)\n# Create systemd user service\n# Adjust paths below to match your system — find yours with:\n#   which claude-max-api\n#   echo $HOME\nmkdir -p ~/.config/systemd/user\ncat > ~/.config/systemd/user/claude-max-api-proxy.service << EOF\n[Unit]\nDescription=Claude Max API Proxy\nAfter=network.target\n\n[Service]\nType=simple\nExecStart=$(which claude-max-api)\nEnvironment=HOME=$HOME\nEnvironment=PATH=$HOME/.npm-global/bin:/usr/local/bin:/usr/bin:/bin\nRestart=on-failure\nRestartSec=5\n\n[Install]\nWantedBy=default.target\nEOF\n\nsystemctl --user daemon-reload\nsystemctl --user enable claude-max-api-proxy\nsystemctl --user start claude-max-api-proxy\n\n5. Verify\ncurl http://localhost:3456/v1/chat/completions \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"model\":\"claude-opus-4\",\"messages\":[{\"role\":\"user\",\"content\":\"Say: proxy working\"}]}'\n\nModel ID Reference\nProxy Model ID\tCLI Alias\tBest For\nclaude-opus-4\topus\tComplex reasoning, research, long-form\nclaude-sonnet-4\tsonnet\tFast + capable, most tasks\nclaude-haiku-4\thaiku\tSimple tasks, high speed\nCommon Mistakes\nMistake\tFix\nclaude: command not found\tnpm install -g @anthropic-ai/claude-code\nProxy returns auth errors\tRun claude login and complete browser auth\nRate limit errors with Max plan\tAdd \"maxConcurrency\": 1 to agent config; Max has limits\nConfig not taking effect\tRestart your agent/client after changing config\nProxy dies on reboot\tSet up systemd service (Step 4 above)\nCost Comparison\nSetup\tMonthly Cost\nClaude Opus 4.6 API (active agent)\t$200-500+\nClaude Max + this proxy\t$200 flat\nClaude Pro + this proxy\t$20 flat (lower rate limits)\nNeed Help?\nSource & issues: github.com/atalovesyou/claude-max-api-proxy\nHire Mr. Clawford — 0.008 ETH via Moltlaunch (mltl hire --agent 18890)\nDM @mr_clawford on MoltX\nWebsite: deepbluebase.xyz"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/ERROR403agent/claude-max-proxy-setup",
    "publisherUrl": "https://clawhub.ai/ERROR403agent/claude-max-proxy-setup",
    "owner": "ERROR403agent",
    "version": "1.1.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/claude-max-proxy-setup",
    "downloadUrl": "https://openagent3.xyz/downloads/claude-max-proxy-setup",
    "agentUrl": "https://openagent3.xyz/skills/claude-max-proxy-setup/agent",
    "manifestUrl": "https://openagent3.xyz/skills/claude-max-proxy-setup/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/claude-max-proxy-setup/agent.md"
  }
}