{
  "schemaVersion": "1.0",
  "item": {
    "slug": "azure-proxy",
    "name": "Azure OpenAI Proxy",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/BenediktSchackenberg/azure-proxy",
    "canonicalUrl": "https://clawhub.ai/BenediktSchackenberg/azure-proxy",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/azure-proxy",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=azure-proxy",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "scripts/server.js"
    ],
    "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. Then review README.md for any prerequisites, environment setup, or post-install checks. 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. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "slug": "azure-proxy",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T09:16:41.961Z",
      "expiresAt": "2026-05-07T09:16:41.961Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=azure-proxy",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=azure-proxy",
        "contentDisposition": "attachment; filename=\"azure-proxy-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "azure-proxy"
      },
      "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/azure-proxy"
    },
    "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/azure-proxy",
    "agentPageUrl": "https://openagent3.xyz/skills/azure-proxy/agent",
    "manifestUrl": "https://openagent3.xyz/skills/azure-proxy/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/azure-proxy/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. Then review README.md for any prerequisites, environment setup, or post-install checks. 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. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Azure OpenAI Proxy for OpenClaw",
        "body": "A lightweight Node.js proxy that bridges Azure OpenAI with OpenClaw."
      },
      {
        "title": "The Problem",
        "body": "OpenClaw constructs API URLs like this:\n\nconst endpoint = `${baseUrl}/chat/completions`;\n\nAzure OpenAI requires:\n\nhttps://{resource}.openai.azure.com/openai/deployments/{model}/chat/completions?api-version=2025-01-01-preview\n\nWhen api-version is in the baseUrl, OpenClaw's path append breaks it."
      },
      {
        "title": "1. Configure and Run the Proxy",
        "body": "# Set your Azure details\nexport AZURE_OPENAI_ENDPOINT=\"your-resource.openai.azure.com\"\nexport AZURE_OPENAI_DEPLOYMENT=\"gpt-4o\"\nexport AZURE_OPENAI_API_VERSION=\"2025-01-01-preview\"\n\n# Run the proxy\nnode scripts/server.js"
      },
      {
        "title": "2. Configure OpenClaw Provider",
        "body": "Add to ~/.openclaw/openclaw.json:\n\n{\n  \"models\": {\n    \"providers\": {\n      \"azure-gpt4o\": {\n        \"baseUrl\": \"http://127.0.0.1:18790\",\n        \"apiKey\": \"YOUR_AZURE_API_KEY\",\n        \"api\": \"openai-completions\",\n        \"authHeader\": false,\n        \"headers\": {\n          \"api-key\": \"YOUR_AZURE_API_KEY\"\n        },\n        \"models\": [\n          { \"id\": \"gpt-4o\", \"name\": \"GPT-4o (Azure)\" }\n        ]\n      }\n    }\n  },\n  \"agents\": {\n    \"defaults\": {\n      \"models\": {\n        \"azure-gpt4o/gpt-4o\": {}\n      }\n    }\n  }\n}\n\nImportant: Set authHeader: false — Azure uses api-key header, not Bearer tokens."
      },
      {
        "title": "3. (Optional) Use for Subagents",
        "body": "Save Azure credits by routing automated tasks through Azure:\n\n{\n  \"agents\": {\n    \"defaults\": {\n      \"subagents\": {\n        \"model\": \"azure-gpt4o/gpt-4o\"\n      }\n    }\n  }\n}"
      },
      {
        "title": "Run as systemd Service",
        "body": "Copy the template and configure:\n\nmkdir -p ~/.config/systemd/user\ncp scripts/azure-proxy.service ~/.config/systemd/user/\n\n# Edit the service file with your Azure details\nnano ~/.config/systemd/user/azure-proxy.service\n\n# Enable and start\nsystemctl --user daemon-reload\nsystemctl --user enable azure-proxy\nsystemctl --user start azure-proxy"
      },
      {
        "title": "Environment Variables",
        "body": "VariableDefaultDescriptionAZURE_PROXY_PORT18790Local proxy portAZURE_PROXY_BIND127.0.0.1Bind addressAZURE_OPENAI_ENDPOINT—Azure resource hostnameAZURE_OPENAI_DEPLOYMENTgpt-4oDeployment nameAZURE_OPENAI_API_VERSION2025-01-01-previewAPI version"
      },
      {
        "title": "Health Check",
        "body": "curl http://localhost:18790/health\n# {\"status\":\"ok\",\"deployment\":\"gpt-4o\"}"
      },
      {
        "title": "Troubleshooting",
        "body": "404 Resource not found: Check endpoint hostname and deployment name match Azure Portal.\n\n401 Unauthorized: API key is wrong or expired.\n\nContent Filter Errors: Azure has aggressive content filtering — some prompts that work on OpenAI may get blocked."
      }
    ],
    "body": "Azure OpenAI Proxy for OpenClaw\n\nA lightweight Node.js proxy that bridges Azure OpenAI with OpenClaw.\n\nThe Problem\n\nOpenClaw constructs API URLs like this:\n\nconst endpoint = `${baseUrl}/chat/completions`;\n\n\nAzure OpenAI requires:\n\nhttps://{resource}.openai.azure.com/openai/deployments/{model}/chat/completions?api-version=2025-01-01-preview\n\n\nWhen api-version is in the baseUrl, OpenClaw's path append breaks it.\n\nQuick Setup\n1. Configure and Run the Proxy\n# Set your Azure details\nexport AZURE_OPENAI_ENDPOINT=\"your-resource.openai.azure.com\"\nexport AZURE_OPENAI_DEPLOYMENT=\"gpt-4o\"\nexport AZURE_OPENAI_API_VERSION=\"2025-01-01-preview\"\n\n# Run the proxy\nnode scripts/server.js\n\n2. Configure OpenClaw Provider\n\nAdd to ~/.openclaw/openclaw.json:\n\n{\n  \"models\": {\n    \"providers\": {\n      \"azure-gpt4o\": {\n        \"baseUrl\": \"http://127.0.0.1:18790\",\n        \"apiKey\": \"YOUR_AZURE_API_KEY\",\n        \"api\": \"openai-completions\",\n        \"authHeader\": false,\n        \"headers\": {\n          \"api-key\": \"YOUR_AZURE_API_KEY\"\n        },\n        \"models\": [\n          { \"id\": \"gpt-4o\", \"name\": \"GPT-4o (Azure)\" }\n        ]\n      }\n    }\n  },\n  \"agents\": {\n    \"defaults\": {\n      \"models\": {\n        \"azure-gpt4o/gpt-4o\": {}\n      }\n    }\n  }\n}\n\n\nImportant: Set authHeader: false — Azure uses api-key header, not Bearer tokens.\n\n3. (Optional) Use for Subagents\n\nSave Azure credits by routing automated tasks through Azure:\n\n{\n  \"agents\": {\n    \"defaults\": {\n      \"subagents\": {\n        \"model\": \"azure-gpt4o/gpt-4o\"\n      }\n    }\n  }\n}\n\nRun as systemd Service\n\nCopy the template and configure:\n\nmkdir -p ~/.config/systemd/user\ncp scripts/azure-proxy.service ~/.config/systemd/user/\n\n# Edit the service file with your Azure details\nnano ~/.config/systemd/user/azure-proxy.service\n\n# Enable and start\nsystemctl --user daemon-reload\nsystemctl --user enable azure-proxy\nsystemctl --user start azure-proxy\n\nEnvironment Variables\nVariable\tDefault\tDescription\nAZURE_PROXY_PORT\t18790\tLocal proxy port\nAZURE_PROXY_BIND\t127.0.0.1\tBind address\nAZURE_OPENAI_ENDPOINT\t—\tAzure resource hostname\nAZURE_OPENAI_DEPLOYMENT\tgpt-4o\tDeployment name\nAZURE_OPENAI_API_VERSION\t2025-01-01-preview\tAPI version\nHealth Check\ncurl http://localhost:18790/health\n# {\"status\":\"ok\",\"deployment\":\"gpt-4o\"}\n\nTroubleshooting\n\n404 Resource not found: Check endpoint hostname and deployment name match Azure Portal.\n\n401 Unauthorized: API key is wrong or expired.\n\nContent Filter Errors: Azure has aggressive content filtering — some prompts that work on OpenAI may get blocked."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/BenediktSchackenberg/azure-proxy",
    "publisherUrl": "https://clawhub.ai/BenediktSchackenberg/azure-proxy",
    "owner": "BenediktSchackenberg",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/azure-proxy",
    "downloadUrl": "https://openagent3.xyz/downloads/azure-proxy",
    "agentUrl": "https://openagent3.xyz/skills/azure-proxy/agent",
    "manifestUrl": "https://openagent3.xyz/skills/azure-proxy/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/azure-proxy/agent.md"
  }
}