{
  "schemaVersion": "1.0",
  "item": {
    "slug": "hostex",
    "name": "Hostex",
    "source": "tencent",
    "type": "skill",
    "category": "效率提升",
    "sourceUrl": "https://clawhub.ai/AnsonFreeman/hostex",
    "canonicalUrl": "https://clawhub.ai/AnsonFreeman/hostex",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/hostex",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=hostex",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "references/openapi.json",
      "scripts/hostex-write.mjs",
      "scripts/hostex-read.mjs",
      "scripts/hostex-client.mjs",
      "scripts/openapi-sync.mjs",
      "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",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/hostex"
    },
    "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/hostex",
    "agentPageUrl": "https://openagent3.xyz/skills/hostex/agent",
    "manifestUrl": "https://openagent3.xyz/skills/hostex/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/hostex/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": "Auth (PAT)",
        "body": "Set env var: HOSTEX_ACCESS_TOKEN\nRequests use header: Hostex-Access-Token: <PAT>\nOpenAPI security scheme name: HostexAccessToken\n\nDefault recommendation: use a read-only PAT."
      },
      {
        "title": "Dates / timezone",
        "body": "All date params are YYYY-MM-DD\nInterpret dates in property timezone (no UTC timestamps)"
      },
      {
        "title": "OpenAPI source of truth",
        "body": "Stable OpenAPI JSON:\n\nhttps://hostex.io/open_api/v3/config.json\n\nUse scripts/openapi-sync.mjs to cache a local copy into references/openapi.json."
      },
      {
        "title": "Quick commands (scripts)",
        "body": "All scripts expect HOSTEX_ACCESS_TOKEN."
      },
      {
        "title": "Read-only (safe)",
        "body": "List properties:\n\nnode skills/hostex/scripts/hostex-read.mjs list-properties --limit 20\n\nList reservations (by check-in range):\n\nnode skills/hostex/scripts/hostex-read.mjs list-reservations --start-check-in-date 2026-02-01 --end-check-in-date 2026-02-28 --limit 20\n\nList reservations (by reservation code):\n\nnode skills/hostex/scripts/hostex-read.mjs list-reservations --reservation-code 0-1234567-abcdef\n\nGet availability:\n\nnode skills/hostex/scripts/hostex-read.mjs get-availabilities --start 2026-02-10 --end 2026-02-20 --property-id 123"
      },
      {
        "title": "Writes (guarded)",
        "body": "Writes are disabled unless:\n\nHOSTEX_ALLOW_WRITES=true\n\nand you pass --confirm.\n\nSend message:\n\nHOSTEX_ALLOW_WRITES=true node skills/hostex/scripts/hostex-write.mjs send-message --conversation-id 123 --text \"Hello!\" --confirm\n\nUpdate listing prices (single range example):\n\nHOSTEX_ALLOW_WRITES=true node skills/hostex/scripts/hostex-write.mjs update-listing-prices \\\n  --channel-type airbnb \\\n  --listing-id 456 \\\n  --start 2026-02-10 \\\n  --end 2026-02-15 \\\n  --price 199 \\\n  --confirm\n\nUpdate listing prices (multi-range in one request):\n\nHOSTEX_ALLOW_WRITES=true node skills/hostex/scripts/hostex-write.mjs update-listing-prices \\\n  --channel-type booking_site \\\n  --listing-id 100541-10072 \\\n  --prices \"2026-02-03..2026-02-05:599,2026-02-06..2026-02-07:699,2026-02-08..2026-02-09:599\" \\\n  --confirm\n\nCreate reservation (Direct Booking) (example):\n\nHOSTEX_ALLOW_WRITES=true node skills/hostex/scripts/hostex-write.mjs create-reservation \\\n  --property-id 123 \\\n  --custom-channel-id 77 \\\n  --check-in-date 2026-02-10 \\\n  --check-out-date 2026-02-12 \\\n  --guest-name \"Alice\" \\\n  --currency USD \\\n  --rate-amount 200 \\\n  --commission-amount 0 \\\n  --received-amount 200 \\\n  --income-method-id 3 \\\n  --confirm\n\nUpdate property availabilities (close/open) (example):\n\n# Close a property for a date range\nHOSTEX_ALLOW_WRITES=true node skills/hostex/scripts/hostex-write.mjs update-availabilities \\\n  --property-ids \"11322075\" \\\n  --available false \\\n  --start-date 2026-02-03 \\\n  --end-date 2027-02-02 \\\n  --confirm"
      },
      {
        "title": "Operational guardrails (mandatory)",
        "body": "When doing any write operation:\n\nSummarize the change (who/what/when/how much).\nRequire the user to explicitly confirm (e.g. CONFIRM).\nPrefer --dry-run first if available."
      },
      {
        "title": "Notes",
        "body": "Pagination: endpoints commonly accept offset + limit (limit max 100).\nNever print tokens in logs; scripts redact secrets automatically."
      }
    ],
    "body": "Hostex API Skill (Node)\nAuth (PAT)\nSet env var: HOSTEX_ACCESS_TOKEN\nRequests use header: Hostex-Access-Token: <PAT>\nOpenAPI security scheme name: HostexAccessToken\n\nDefault recommendation: use a read-only PAT.\n\nDates / timezone\nAll date params are YYYY-MM-DD\nInterpret dates in property timezone (no UTC timestamps)\nOpenAPI source of truth\n\nStable OpenAPI JSON:\n\nhttps://hostex.io/open_api/v3/config.json\n\nUse scripts/openapi-sync.mjs to cache a local copy into references/openapi.json.\n\nQuick commands (scripts)\n\nAll scripts expect HOSTEX_ACCESS_TOKEN.\n\nRead-only (safe)\n\nList properties:\n\nnode skills/hostex/scripts/hostex-read.mjs list-properties --limit 20\n\n\nList reservations (by check-in range):\n\nnode skills/hostex/scripts/hostex-read.mjs list-reservations --start-check-in-date 2026-02-01 --end-check-in-date 2026-02-28 --limit 20\n\n\nList reservations (by reservation code):\n\nnode skills/hostex/scripts/hostex-read.mjs list-reservations --reservation-code 0-1234567-abcdef\n\n\nGet availability:\n\nnode skills/hostex/scripts/hostex-read.mjs get-availabilities --start 2026-02-10 --end 2026-02-20 --property-id 123\n\nWrites (guarded)\n\nWrites are disabled unless:\n\nHOSTEX_ALLOW_WRITES=true\n\nand you pass --confirm.\n\nSend message:\n\nHOSTEX_ALLOW_WRITES=true node skills/hostex/scripts/hostex-write.mjs send-message --conversation-id 123 --text \"Hello!\" --confirm\n\n\nUpdate listing prices (single range example):\n\nHOSTEX_ALLOW_WRITES=true node skills/hostex/scripts/hostex-write.mjs update-listing-prices \\\n  --channel-type airbnb \\\n  --listing-id 456 \\\n  --start 2026-02-10 \\\n  --end 2026-02-15 \\\n  --price 199 \\\n  --confirm\n\n\nUpdate listing prices (multi-range in one request):\n\nHOSTEX_ALLOW_WRITES=true node skills/hostex/scripts/hostex-write.mjs update-listing-prices \\\n  --channel-type booking_site \\\n  --listing-id 100541-10072 \\\n  --prices \"2026-02-03..2026-02-05:599,2026-02-06..2026-02-07:699,2026-02-08..2026-02-09:599\" \\\n  --confirm\n\n\nCreate reservation (Direct Booking) (example):\n\nHOSTEX_ALLOW_WRITES=true node skills/hostex/scripts/hostex-write.mjs create-reservation \\\n  --property-id 123 \\\n  --custom-channel-id 77 \\\n  --check-in-date 2026-02-10 \\\n  --check-out-date 2026-02-12 \\\n  --guest-name \"Alice\" \\\n  --currency USD \\\n  --rate-amount 200 \\\n  --commission-amount 0 \\\n  --received-amount 200 \\\n  --income-method-id 3 \\\n  --confirm\n\n\nUpdate property availabilities (close/open) (example):\n\n# Close a property for a date range\nHOSTEX_ALLOW_WRITES=true node skills/hostex/scripts/hostex-write.mjs update-availabilities \\\n  --property-ids \"11322075\" \\\n  --available false \\\n  --start-date 2026-02-03 \\\n  --end-date 2027-02-02 \\\n  --confirm\n\nOperational guardrails (mandatory)\n\nWhen doing any write operation:\n\nSummarize the change (who/what/when/how much).\nRequire the user to explicitly confirm (e.g. CONFIRM).\nPrefer --dry-run first if available.\nNotes\nPagination: endpoints commonly accept offset + limit (limit max 100).\nNever print tokens in logs; scripts redact secrets automatically."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/AnsonFreeman/hostex",
    "publisherUrl": "https://clawhub.ai/AnsonFreeman/hostex",
    "owner": "AnsonFreeman",
    "version": "0.1.1",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/hostex",
    "downloadUrl": "https://openagent3.xyz/downloads/hostex",
    "agentUrl": "https://openagent3.xyz/skills/hostex/agent",
    "manifestUrl": "https://openagent3.xyz/skills/hostex/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/hostex/agent.md"
  }
}