alchemy-openapi-skill
Operate Alchemy Prices API reads through UXC with a curated OpenAPI schema, path-templated API-key auth, and read-first…
Operate DingTalk messaging APIs through UXC with a curated OpenAPI schema, app-token bearer auth, and robot/service-group guardrails.
$ npx -y skills add holon-run/uxc --skill dingtalk-openapi-skill --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/dingtalk-openapi-skillContext preview
The summary Claude sees to decide when to auto-load this skill.
Operate DingTalk messaging APIs through UXC with a curated OpenAPI schema, app-token bearer auth, and robot/service-group guardrails.
name: dingtalk-openapi-skill description: Operate DingTalk messaging APIs through UXC with a curated OpenAPI schema, app-token bearer auth, and robot/service-group guardrails.
Use this skill to run DingTalk messaging operations through `uxc` + OpenAPI.
Reuse the `uxc` skill for shared execution, auth, and error-handling guidance.
This skill covers a narrow IM-focused request/response surface:
This skill does **not** cover:
DingTalk has event-delivery flows such as Stream Mode, but those flows are outside the current scope of this skill.
Current `uxc subscribe` status:
Treat DingTalk as a possible future subscribe target via Stream Mode rather than a currently supported IM subscribe provider.
This skill is intentionally pinned to the newer DingTalk Open Platform host:
The older `oapi.dingtalk.com` surface is intentionally excluded from v1 to keep auth and schema shape consistent.
DingTalk v1 APIs use app `accessToken` credentials.
Preferred setup is to store `appKey` + `appSecret` as credential fields and let `uxc auth bootstrap` fetch and refresh the short-lived access token automatically.
Bootstrap-managed setup:
uxc auth credential set dingtalk-app \
--auth-type bearer \
--field app_key=env:DINGTALK_APP_KEY \
--field app_secret=env:DINGTALK_APP_SECRET
uxc auth bootstrap set dingtalk-app \
--token-endpoint https://api.dingtalk.com/v1.0/oauth2/accessToken \
--header 'Content-Type=application/json' \
--request-json '{"appKey":"{{field:app_key}}","appSecret":"{{field:app_secret}}"}' \
--access-token-pointer /accessToken \
--expires-in-pointer /expireIn
uxc auth binding add \
--id dingtalk-app \
--host api.dingtalk.com \
--path-prefix /v1.0 \
--scheme https \
--credential dingtalk-app \
--priority 100Manual fallback if you already have an app access token:
curl -sS https://api.dingtalk.com/v1.0/oauth2/accessToken \
-H 'Content-Type: application/json' \
-d '{"appKey":"dingxxxx","appSecret":"xxxx"}'Configure one bearer credential and bind it to the DingTalk API host:
uxc auth credential set dingtalk-app \ --auth-type bearer \ --secret-env DINGTALK_ACCESS_TOKEN uxc auth binding add \ --id dingtalk-app \ --host api.dingtalk.com \ --path-prefix /v1.0 \ --scheme https \ --credential dingtalk-app \ --priority 100
Validate the active mapping when auth looks wrong:
uxc auth binding match https://api.dingtalk.com/v1.0
1. Use the fixed link command by default:
`uxc link dingtalk-openapi-cli https://api.dingtalk.com/v1.0 --schema-url https://raw.githubusercontent.com/holon-run/uxc/main/skills/dingtalk-openapi-skill/references/dingtalk-messaging.openapi.json`
2. Inspect operation schema first:
3. Prefer read/setup validation before writes:
4. Execute with key/value or positional JSON:
`dingtalk-openapi-cli get:/contact/users/{unionId} unionId=$DINGTALK_UNION_ID language=zh_CN`
`dingtalk-openapi-cli post:/robot/groupMessages/send '{"openConversationId":"cidxxxx","robotCode":"dingxxxx","msgKey":"sampleText","msgParam":"{\"content\":\"Hello from UXC\"}"}'`
One CLI for tools across protocols UXC helps agents and automation discover and invoke APIs and tools across OpenAPI, MCP, GraphQL, gRPC, and JSON-RPC through one consistent workflow.
Operate Alchemy Prices API reads through UXC with a curated OpenAPI schema, path-templated API-key auth, and read-first…
Operate Binance Spot market, account, and order APIs through UXC with a curated OpenAPI schema, Binance query signing, and…
Subscribe to Binance Spot public market streams through UXC raw WebSocket support for trades, book ticker, depth, and ticker…
Operate Binance Web3 public market and research APIs through UXC with a curated OpenAPI schema. Use when tasks need token search,…
Use Birdeye MCP through UXC for token market data, trending and discovery workflows, price monitoring, and DEX-related reads with…
Operate Bitget public exchange market APIs through UXC with a curated OpenAPI schema, market-first discovery, and explicit…