Xpersona
H

Hong Kong Urbix Events

CLAWHUB · Unverified

Fetches and returns detailed Hong Kong URBTIX event performances by parsing natural language questions with date, venue, and event filters.

62
Rank
84
Safety
983
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 983 downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17bfk0ef12w09pdqpw6wghae183eqa8:hk-urbtix-events
  1. Install using `clawhub skill install s17bfk0ef12w09pdqpw6wghae183eqa8:hk-urbtix-events` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/stevenho1394/hk-urbtix-events before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-stevenho1394-hk-urbtix-events/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

39,059 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

# HK URBTIX Events Skill

Fetches upcoming event data from URBTIX (Hong Kong) and detects changes, filtering out noise.

## Tools

### `queryEvents`

Answers natural language questions about URBTIX events by parsing the query, fetching the appropriate batch XML, and returning matching performances. Handles date parsing (HK time), venue/name extraction, and validation.

**Parameters:**
- `question` (required): Natural language question about events, e.g., "When is Medea showing?", "Where is 美狄亞 on April 8?", "What performances are on 2026-04-10?"
- `force_refresh` (optional): If true, ignore cached XML and re-download. Default: false.
- `language` (optional): Response language - "en" for English, "zh" for Traditional Chinese. Default: "en".

**Returns:** A dictionary with:
- `answer`: Human-readable answer in **markdown table format** (Time | Event | Venue | Ticket Link) or clarification message in the requested language
- `matches`: List of matching events (each with event_name_en, event_name_tc, venue, venue_tc, date, time, reference_link)
- `clarification_needed`: If unable to match, what additional info is needed

See README.md for full details.

## Installation

Place the skill directory under your OpenClaw workspace `skills/` and add `"hk-urbtix-events"` to the desired agent's `skills` array.

## Notes

- Fetches from the official URBTIX cloud distribution endpoint (Tencent COS). The XML includes a `<SYSTEM>URBTIX</SYSTEM>` marker that is verified upon download to ensure authenticity.
- Respectful polling: Do not call more than once per hour without `force_refresh`.
- Caches daily batches in `$OPENCLAW_WORKSPACE/urbtix_cache/` to reduce load.
- No external dependencies (Python standard library only).
- **Security**: Downloads are validated with XML structure verification, source authenticity checks (SYSTEM tag), SEND_DATE matching, and TOTAL count verification. Rate limiting enforced per HK day. Temporary files used for atomic writes. Cache purging with optional verbose notification.

## Version

1.0.4 — Security hardening: fixed dead code in download validation, corrected rate-limit logic, added language parameter (en/zh), cache purge notifications, timezone-aware datetime handling, atomic file writes.

README.md

# URBTIX Events Skill

Fetches upcoming event data from URBTIX (Hong Kong) and detects changes, filtering out noise.

## Prerequisites

Ensure the agent's workspace directory is writable; the skill creates a `urbtix_cache` subfolder for caching.

## Data Source

Official URBTIX batch XML distribution via Tencent COS CDN:
`https://fs-open-1304240968.cos.ap-hongkong.myqcloud.com/prod/gprd/URBTIX_eventBatch_YYYYMMDD.xml`

The XML includes a `<SYSTEM>URBTIX</SYSTEM>` marker that is verified upon download.

## Tools

### `queryEvents`

Answers natural language questions about URBTIX events by parsing the query, fetching the appropriate batch XML, and returning matching performances. Handles date parsing (HK time), venue/name extraction, and validation.

**Parameters:**
- `question` (required): Natural language question about events, e.g., "When is Medea showing?", "Where is 美狄亞 on April 8?", "What performances are on 2026-04-10?"
- `force_refresh` (optional): If true, ignore cached XML and re-download. Default: false.
- `language` (optional): Response language - "en" for English, "zh" for Traditional Chinese. Default: "en".

**Returns:** A dictionary with:
- `answer`: Human-readable answer in **markdown table format** with columns: Time | Event | Venue | Ticket Link (English) or 時間 | 節目 | 場地 | 購票連結 (Traditional Chinese). Includes ticket links where available.
- `matches`: List of matching events, each containing:
  - `event_name_en`: English event title
  - `event_name_tc`: Traditional Chinese event title
  - `venue`: Venue name (English)
  - `venue_tc`: Venue name (Traditional Chinese)
  - `date`: Performance date (YYYY-MM-DD)
  - `time`: Performance time (HH:MM)
  - `reference_link`: URL to official booking page
- `clarification_needed`: If unable to match, what additional info is needed

## Caching & Performance

- Caches raw XML batches per day to reduce load on URBTIX servers
- Cache location: `$OPENCLAW_WORKSPACE/urbtix_cache/URBTIX_eventBatch_YYYYMMDD.xml`
- Cache TTL: 1 day by default
- Network fetch timeout: 10s

## Installation

1. Ensure skill directory exists: `$OPENCLAW_WORKSPACE/skills/hk-urbtix-events/`
2. No dependencies required (uses Python standard library)
3. Add `"hk-urbtix-events"` to the desired agent's `skills` array (Jax recommended)

## Version

1.0.4 — Security hardening: fixed dead code in download validation, corrected rate-limit logic, added language parameter (en/zh), cache purge notifications, timezone-aware datetime handling, atomic file writes.

## Security & Authenticity

- The skill downloads batch XML files from the official URBTIX cloud distribution endpoint.
- Upon download, it verifies the XML contains `<SYSTEM>URBTIX</SYSTEM>` to ensure the data is authentic.
- Additional validation: SEND_DATE matching, TOTAL count verification, XML structure parsing.
- Rate limiting: At most one download attempt per batch date per HK day (enforced via lock files with actual attempt date tracking).
- Atomic writes: Downloads us

_meta.json

{
  "ownerId": "kn7440a45t98tzq87bk5f06ge582vpkm",
  "slug": "hk-urbtix-events",
  "version": "1.0.4",
  "publishedAt": 1789578201002
}

skill-card.md

## Description:

Fetches Hong Kong URBTIX event listings, parses natural language event questions, and returns matching performances by date, venue, and event filters.

This skill is ready for commercial/non-commercial use.

## Publisher:

[stevenho1394](https://clawhub.ai/user/stevenho1394)

### License/Terms of Use:

MIT-0

## Use Case:

External users and agents use this skill to answer questions about Hong Kong URBTIX event performances, including show dates, venues, and ticket links. It is suited for public event lookup workflows that need English or Traditional Chinese responses.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The skill contacts a public URBTIX XML distribution endpoint and stores event-feed cache files locally.

Mitigation: Install it only where outbound public web requests and local workspace cache writes are acceptable; no credentials are required.

Risk: Public event listings can change, become unavailable, or be delayed relative to ticketing status.

Mitigation: Verify final event details and ticket availability through the official booking link before making purchase or attendance decisions.

## Reference(s):

- [ClawHub release page](https://clawhub.ai/stevenho1394/skills/hk-urbtix-events)
- [URBTIX public XML distribution endpoint](https://fs-open-1304240968.cos.ap-hongkong.myqcloud.com/prod/gprd/URBTIX_eventBatch_YYYYMMDD.xml)

## Skill Output:

**Output Type(s):** [text, markdown, JSON]

**Output Format:** [JSON object containing a human-readable markdown answer, structured event matches, and an optional clarification message]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Supports English and Traditional Chinese responses; results may include official booking links when available.]

## Skill Version(s):

1.0.4 (source: evidence.release.version and artifact metadata)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

plugin.json

{
  "runtime": "python",
  "main": "urbtix_events.py",
  "name": "HK URBTIX Events",
  "description": "Intelligent query of URBTIX event batch data. Accepts natural language questions about events, parses date/name/venue, downloads and validates the appropriate batch XML, and returns matching performances with date, time, venue, and event name. Handles caching, retries, and progressive clarification.",
  "version": "1.0.4",
  "author": "Steven Ho",
  "repository": "https://github.com/StevenHo1394/openclaw/tree/main/skills/hk-urbtix-events",
  "tools": [
    {
      "name": "queryEvents",
      "description": "Answer questions about URBTIX events by parsing the query, fetching the appropriate batch XML, and returning matching performances. Handles date parsing (HK time), venue/name extraction, and validation.",
      "input": {
        "type": "object",
        "properties": {
          "question": {
            "type": "string",
            "description": "Natural language question about events, e.g., 'When is Medea showing?', 'Where is 美狄亞 on April 8?', 'What performances are on 2026-04-10?'"
          },
          "force_refresh": {
            "type": "boolean",
            "description": "If true, ignore cached XML and re-download. Default: false."
          }
        },
        "required": ["question"]
      },
      "output": {
        "type": "object",
        "properties": {
          "answer": {
            "type": "string",
            "description": "Human-readable answer in markdown table format (Time | Event | Venue | Ticket Link) or clarification message"
          },
          "matches": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "event_name_en": {"type": "string"},
                "event_name_tc": {"type": "string"},
                "venue": {"type": "string"},
                "venue_tc": {"type": "string"},
                "date": {"type": "string"},
                "time": {"type": "string"},
                "reference_link": {"type": "string"}
              }
            }
          },
          "clarification_needed": {
            "type": "string",
            "description": "If unable to match, what additional info is needed"
          }
        }
      }
    }
  ]
}

Sponsored

Ads related to Hong Kong Urbix Events and adjacent AI workflows.