Command Palette

Search for a command to run...

UnylyUnyly
Back to skills

pp-hostex

FreeNo executable scriptsNot checked

Every Hostex v3 operation, plus a local SQLite mirror that answers cross-property questions no single Hostex call can — occupancy gaps, revenue rollups, and…

mvanhornby mvanhorn★ 2,170 GitHub stars

About this skill

Hostex — Printing Press CLI

Prerequisites: Install the CLI

This skill drives the hostex-pp-cli binary. You must verify the CLI is installed before invoking any command from this skill. If it is missing, install it first:

  1. Install via the Printing Press installer. It defaults binaries to $HOME/.local/bin on macOS/Linux and %LOCALAPPDATA%\Programs\PrintingPress\bin on Windows:
    npx -y @mvanhorn/printing-press-library install hostex --cli-only
    
  2. Verify: hostex-pp-cli --version
  3. Ensure the reported install directory is on $PATH for the agent/runtime that will invoke this skill.

If the npx install fails (no Node, offline, etc.), fall back to a direct Go install (requires Go 1.26.6 or newer). This installs into $GOPATH/bin (default $HOME/go/bin), so add that directory to $PATH instead:

go install github.com/mvanhorn/printing-press-library/library/travel/hostex/cmd/hostex-pp-cli@latest

If --version reports "command not found" after install, the runtime cannot see the binary directory on $PATH. Do not proceed with skill commands until verification succeeds.

Hostex has a REST API and an official MCP server but no first-class CLI. This one mirrors all 86 endpoints as typed commands with --json/--select/--dry-run, then syncs reservations, properties, listings, conversations, reviews, tasks and transactions into local SQLite so you can run joins the API can't: which occupied stays have no cleaning task, revenue by property this month, threads unanswered past your SLA, and price-parity gaps across channels. It gets the tricky Hostex plumbing right once: every response is HTTP 200 with error_code in the body, and the multi-layer rate limits return Retry-After.

When to Use This CLI

Reach for this CLI when an agent or script needs to read or mutate a Hostex host's data: triaging the guest inbox, querying reservations by date/property/status, pushing price/inventory/restriction updates across channels, scheduling cleaning tasks, or rolling up revenue. It is the right tool when the question spans multiple entities (stays + tasks + transactions) because the local SQLite mirror answers those joins offline; a single REST call cannot.

Anti-triggers

Do not use this CLI for:

  • Do not use this CLI to build a multi-tenant SaaS that acts on behalf of many hosts — that needs the OAuth 2.0 partner flow, not a single access token.
  • Do not use it as a real-time webhook receiver; it manages webhook subscriptions but does not host an inbound endpoint.
  • Do not use it to bulk-message guests faster than the per-thread throttle allows; channel OTAs will suspend the account.

Unique Capabilities

These capabilities aren't available in any other tool for this API.

Operations: stop problems before guests do

  • ops-gaps — Find imminent or occupied stays with no cleaning task or missing check-in details.

    Reach for this to catch turnover and check-in problems before a guest complains, instead of eyeballing the calendar.

    hostex-pp-cli ops-gaps --within 7d --agent
    
  • stay-brief — One dossier for a single stay: reservation, guest, thread state, tasks, transactions, and review.

    Use when you need the full picture of one stay; to scan many stays for problems use ops-gaps.

    hostex-pp-cli stay-brief HMABC123 --agent
    

Inbox and automation SLA

  • inbox-sla — Rank open guest conversations by age since the last guest message and flag threads past your SLA.

    OTAs penalize slow replies; use this to triage which threads are about to breach SLA.

    hostex-pp-cli inbox-sla --breach 6h --agent
    
  • automation-preview — List pending automated messages and reviews and flag any whose thread a human has already handled.

    Use to vet queued bot actions before they fire on a human-handled thread; for slow human threads use inbox-sla.

    hostex-pp-cli automation-preview --day tomorrow --agent
    

Channel parity and revenue (portfolio)

  • price-parity — Flag property-dates where per-channel listing price or min-stay diverges across channels.

    Use to catch silent revenue loss from channel price drift; for availability mismatch use oversell-watch.

    hostex-pp-cli price-parity --property 12345 --days 30 --agent
    
  • oversell-watch — Flag dates a channel still shows bookable on a property that is blocked or booked on the master calendar.

    Use to catch double-sell risk; for price or min-stay drift use price-parity.

    hostex-pp-cli oversell-watch --days 30 --agent
    
  • **`revenue-

Full SKILL.md on GitHub

Install pp-hostex in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

Allowed tools

Tools this skill is permitted to call.

Read
Bash

FAQ

What does the pp-hostex skill do?

Every Hostex v3 operation, plus a local SQLite mirror that answers cross-property questions no single Hostex call can — occupancy gaps, revenue rollups, and guest-message SLA, offline. Trigger phrases: `check my Hostex reservations`, `which guests check in this week`, `update listing prices on Hostex`, `reply to a guest message`, `revenue by property this month`, `use hostex`, `run hostex`.

How do I install the pp-hostex skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the pp-hostex skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare pp-hostex with