Install
openclaw skills install @pontjs/pontx-hubopenclaw skills install @pontjs/pontx-hubUse pontx-hub as the authoritative interface to the curated API catalog. Keep
API metadata out of long-lived context by searching and loading only the
product, endpoint, or schema needed for the current task.
This universal Skill owns catalog-wide discovery and request safety. A
pontx-<apiSlug> product Skill adds only provider-specific integration flows,
best practices, and caveats; it does not replace the current PontxSpec.
Search before choosing an API. Natural-language capability, request, and response questions are supported:
pontx-hub search "<capability>" --json
pontx-hub search "创建任务的入参" --locale zh --json
pontx-hub search "返回 dueDate 的接口" --locale zh --json
Narrow the result type when useful:
pontx-hub search "<field-or-model>" --type schema --json
Inspect the selected stable resource ID:
pontx-hub show endpoint:<api>/<endpoint>
pontx-hub show schema:<api>/<schema>
When provider-specific guidance would help, check the available product Skills. Explain the benefit and install one only when the user requests or approves the installation:
pontx-hub skill list
pontx-hub skill install <apiSlug>
Use that product Skill for provider-specific sequencing and caveats, then
return to pontx-hub show for current Endpoint, Schema, and auth details.
For an Endpoint, build and review the exact request without sending it:
pontx-hub <api-collection> preview <api-name> --parameter value --body '<json>'
pontx-hub <api-collection> preview <controller> <api-name> --parameter value --body '<json>'
For GET or HEAD, call only when the user requested execution:
pontx-hub <api-collection> call <api-name> --parameter value
pontx-hub <api-collection> call <controller> <api-name> --parameter value
For POST, PUT, PATCH, or DELETE, show the dry-run result and obtain explicit
user confirmation. Then pass --yes without changing parameters:
pontx-hub <api-collection> call <controller> <api-name> --parameter value --body '<json>' --yes
Generate application code after the request shape is verified. Use the package and exports reported by the Hub instead of inventing a package or pinning a stale version:
pontx-hub sdk <api>
pnpm add @pontx/<apiSlug>
show.preview step for a mutation.Prefer --json when consuming CLI output programmatically. Preserve the CLI
exit code and machine-readable error code when reporting failures. Use the
result's match.mode and match.fields to explain whether product, parameter,
request, response, schema, or property metadata produced the match. Use the
Endpoint's published @pontx/<apiSlug> package when generating application
code.