# Send Hostex to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- 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.
## Suggested prompts
### New install

```text
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.
```
### Upgrade existing

```text
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.
```
## Machine-readable fields
```json
{
  "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": {
    "downloadUrl": "/downloads/hostex",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=hostex",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "references/openapi.json",
      "scripts/hostex-write.mjs",
      "scripts/hostex-read.mjs",
      "scripts/hostex-client.mjs",
      "scripts/openapi-sync.mjs",
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "hostex",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T04:41:40.423Z",
      "expiresAt": "2026-05-07T04:41:40.423Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=hostex",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=hostex",
        "contentDisposition": "attachment; filename=\"hostex-0.1.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "hostex"
      },
      "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/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."
      ]
    }
  },
  "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"
  }
}
```
## Documentation

### Auth (PAT)

Set env var: HOSTEX_ACCESS_TOKEN
Requests use header: Hostex-Access-Token: <PAT>
OpenAPI security scheme name: HostexAccessToken

Default recommendation: use a read-only PAT.

### Dates / timezone

All date params are YYYY-MM-DD
Interpret dates in property timezone (no UTC timestamps)

### OpenAPI source of truth

Stable OpenAPI JSON:

https://hostex.io/open_api/v3/config.json

Use scripts/openapi-sync.mjs to cache a local copy into references/openapi.json.

### Quick commands (scripts)

All scripts expect HOSTEX_ACCESS_TOKEN.

### Read-only (safe)

List properties:

node skills/hostex/scripts/hostex-read.mjs list-properties --limit 20

List reservations (by check-in range):

node skills/hostex/scripts/hostex-read.mjs list-reservations --start-check-in-date 2026-02-01 --end-check-in-date 2026-02-28 --limit 20

List reservations (by reservation code):

node skills/hostex/scripts/hostex-read.mjs list-reservations --reservation-code 0-1234567-abcdef

Get availability:

node skills/hostex/scripts/hostex-read.mjs get-availabilities --start 2026-02-10 --end 2026-02-20 --property-id 123

### Writes (guarded)

Writes are disabled unless:

HOSTEX_ALLOW_WRITES=true

and you pass --confirm.

Send message:

HOSTEX_ALLOW_WRITES=true node skills/hostex/scripts/hostex-write.mjs send-message --conversation-id 123 --text "Hello!" --confirm

Update listing prices (single range example):

HOSTEX_ALLOW_WRITES=true node skills/hostex/scripts/hostex-write.mjs update-listing-prices \\
  --channel-type airbnb \\
  --listing-id 456 \\
  --start 2026-02-10 \\
  --end 2026-02-15 \\
  --price 199 \\
  --confirm

Update listing prices (multi-range in one request):

HOSTEX_ALLOW_WRITES=true node skills/hostex/scripts/hostex-write.mjs update-listing-prices \\
  --channel-type booking_site \\
  --listing-id 100541-10072 \\
  --prices "2026-02-03..2026-02-05:599,2026-02-06..2026-02-07:699,2026-02-08..2026-02-09:599" \\
  --confirm

Create reservation (Direct Booking) (example):

HOSTEX_ALLOW_WRITES=true node skills/hostex/scripts/hostex-write.mjs create-reservation \\
  --property-id 123 \\
  --custom-channel-id 77 \\
  --check-in-date 2026-02-10 \\
  --check-out-date 2026-02-12 \\
  --guest-name "Alice" \\
  --currency USD \\
  --rate-amount 200 \\
  --commission-amount 0 \\
  --received-amount 200 \\
  --income-method-id 3 \\
  --confirm

Update property availabilities (close/open) (example):

# Close a property for a date range
HOSTEX_ALLOW_WRITES=true node skills/hostex/scripts/hostex-write.mjs update-availabilities \\
  --property-ids "11322075" \\
  --available false \\
  --start-date 2026-02-03 \\
  --end-date 2027-02-02 \\
  --confirm

### Operational guardrails (mandatory)

When doing any write operation:

Summarize the change (who/what/when/how much).
Require the user to explicitly confirm (e.g. CONFIRM).
Prefer --dry-run first if available.

### Notes

Pagination: endpoints commonly accept offset + limit (limit max 100).
Never print tokens in logs; scripts redact secrets automatically.
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: AnsonFreeman
- Version: 0.1.1
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-04-30T04:41:40.423Z
- Expires at: 2026-05-07T04:41:40.423Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/hostex)
- [Send to Agent page](https://openagent3.xyz/skills/hostex/agent)
- [JSON manifest](https://openagent3.xyz/skills/hostex/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/hostex/agent.md)
- [Download page](https://openagent3.xyz/downloads/hostex)