Install
openclaw skills install @super21-bat/trek-agent-control配套 Trek 微信旅行小程序的自动化 Skill。通过认证的远程 MCP,让 Codex、Claude、OpenClaw、Hermes、WorkBuddy 等 Agent 研究国内外目的地、读取或修改行程,并把日程、地点、预订、住宿、费用、清单、待办、附件和协作提案安全同步回小程序。Use when an agent needs to plan domestic or overseas travel, inspect existing Trek data, synchronize structured itinerary fields, upload tickets, or run safe diagnostics with a user-provided Trek Agent Key.
openclaw skills install @super21-bat/trek-agent-controlControl the user's real Trek data through MCP. Treat web research and Trek synchronization as separate phases: research first, then show a concrete change preview, then write and read back.
Trek 微信旅行小程序是用户查看、编辑、导航、分享和协作的行程工作区;本 Skill 是它的 Agent 自动化层。用户先在小程序创建行程和独立 Agent Key, Agent 再研究资料并把结构化结果同步回同一行程。不要创建与小程序脱离的第二份 行程数据,也不要把聊天回答误报成已同步。

当前二维码为测试阶段入口,是否可直接进入以微信侧体验权限为准。
trek_ key into files, prompts, logs, screenshots, commits, or shell history intended for sharing.https://api.superd.fun/mcpAuthorization: Bearer <user-key>npm install -g github:super21-bat/trek-agent-control
trek config init --api-key 'trek_...' --url 'https://api.superd.fun/mcp'
trek skill sync --global
trek doctor
The mini program copies these commands, the endpoint, and the one-time key as one Agent access bundle. Treat the whole bundle as a secret. If native remote MCP is unavailable or unreliable, execute all operations through trek; it calls the same MCP endpoint. Read references/configuration.md when installing this skill in WorkBuddy, OpenClaw, Hermes, Claude, Codex, or another agent runtime.
doctor or native tools/list. Stop on authentication, network, or missing-tool failure.list_trips and get_trip_summary. Never assume a trip ID.expectedAssignmentsByDate checklist containing every POI/activity that must appear in the mini program. Use exact local dates and times. Do not invent reservations, confirmation numbers, phone numbers, opening hours, prices, or addresses.create_and_assign_place for a new POI and assign_place_to_day for an existing one. Day notes are supporting prose and must never replace assignments.create_place_accommodation/create_accommodation create a lodging date range but no visible day assignment. If a hotel or check-in is in the daily plan, also assign its place to that day.get_trip_summary plus the relevant list_* tool. Compare expectedAssignmentsByDate to actual days[].assignments by date and normalized place name/ID, not only counts. A planned day must not have zero assignments; explicitly document intentional rest/location-free travel days.Read references/workflows.md for detailed planning and synchronization recipes. Read references/field-guide.md before a large or unfamiliar write.
trek doctor
trek update --check
trek tools place
trek call list_trips '{"include_archived":false}'
trek summary 3
trek audit-plan 3 /absolute/path/expected-assignments.json
trek upload-file 3 /absolute/path/ticket.pdf --assignment 42 --description '景区电子票'
trek rename-file 3 19 '金门大桥门票.pdf'
trek batch /absolute/path/actions.json
trek batch /absolute/path/actions.json --apply
trek smoke --allow-write-smoke
doctor reports local configuration, endpoint, credential presence, Skill integrity, authentication, live tool count, and trip readback. Failures include a category, hint, and next command; retain that structured output when diagnosing. update --check compares CLI versions; update upgrades the CLI and resynchronizes the Skill. audit-plan compares an expected JSON date-to-place mapping with live days[].assignments and exits non-zero on missing items. upload-file reads a local attachment without printing its base64 and supports files up to 10 MB. rename-file changes only the display name and keeps the extension. batch is dry-run unless --apply is present. It refuses high-risk tool names unless --confirm-high-risk is also present. smoke creates temporary data, exercises the proposal lifecycle, deletes it, and closes the MCP session.
pending or a todo for unresolved bookings.search_place with market: "china" plus region in Mainland China, or market: "global" plus an ISO countryCode for overseas trips. Preserve the returned provider IDs and coordinates.trek_ keys currently grant broad user access. Create one per Agent, revoke unused keys, and prefer scoped OAuth when the target agent supports it.401: key missing, revoked, malformed, or sent without Bearer.403: user lacks trip permission or scope; do not retry as another user.404: wrong trip/entity ID or inaccessible resource; refresh state.429: wait and retry sequentially; reduce batch size.isError: true: treat as failed even if HTTP succeeded. Preserve the error text and stop dependent writes.tools/list; never guess a schema from an older document.When native MCP and the bundled client disagree, trust a fresh tools/list response and production readback.