alchemy-openapi-skill
Operate Alchemy Prices API reads through UXC with a curated OpenAPI schema, path-templated API-key auth, and read-first…
Operate Slack Web API through UXC with a curated OpenAPI schema, bearer-token auth, and messaging-core guardrails.
$ npx -y skills add holon-run/uxc --skill slack-openapi-skill --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/slack-openapi-skillContext preview
The summary Claude sees to decide when to auto-load this skill.
Operate Slack Web API through UXC with a curated OpenAPI schema, bearer-token auth, and messaging-core guardrails.
name: slack-openapi-skill description: Operate Slack Web API through UXC with a curated OpenAPI schema, bearer-token auth, and messaging-core guardrails.
Use this skill to run Slack Web API operations through `uxc` + OpenAPI.
Reuse the `uxc` skill for shared execution, auth, and error-handling guidance.
This skill covers a Messaging Core surface:
This skill does **not** cover:
Slack inbound events can be delivered through Socket Mode. `uxc` now has a built-in Slack Socket Mode transport, but this skill still treats it as a limited event-ingest path rather than a fully packaged workflow surface.
Current `uxc subscribe` status:
What the current built-in transport already handles:
What is still not packaged:
Slack Socket Mode is now a validated IM subscribe provider at the transport/runtime level.
Slack Web API uses `Authorization: Bearer <token>`.
Token types used in practice:
To create an app-level `xapp-...` token for Socket Mode:
1. Open the target Slack app at `https://api.slack.com/apps` 2. Go to `Basic Information` 3. Find `App-Level Tokens` 4. Generate a token with the `connections:write` scope 5. Enable `Socket Mode` in the app configuration before relying on subscribe-based event intake
Use the Slack `Bot User OAuth Token` (`xoxb-...`) for the default binding and for most messaging operations:
uxc auth credential set slack-bot \ --auth-type bearer \ --secret-env SLACK_BOT_TOKEN uxc auth binding add \ --id slack-bot \ --host slack.com \ --path-prefix /api \ --scheme https \ --credential slack-bot \ --priority 100
Use a separate Slack `User OAuth Token` (`xoxp-...`) when the method requires user-token semantics, especially thread/history access outside bot-accessible conversations:
uxc auth credential set slack-user \ --auth-type bearer \ --secret-env SLACK_USER_TOKEN
Do **not** bind `slack-user` by default to the same host/path. Invoke it explicitly when needed:
uxc auth binding match https://slack.com/api slack-openapi-cli --auth slack-user get:/conversations.replies channel=C1234567890 ts=1717171717.000100
If you intentionally want writes to appear as the installing user rather than the bot, you can also invoke write methods with `--auth slack-user`, but treat that as an explicit override rather than the default path.
1. Use the fixed link command by default:
`uxc link slack-openapi-cli https://slack.com/api --schema-url https://raw.githubusercontent.com/holon-run/uxc/main/skills/slack-openapi-skill/references/slack-web.openapi.json`
2. Inspect operation schema first:
3. Prefer read validation before writes:
4. Execute with key/value or positional JSON:
`slack-openapi-cli get:/conversations.history channel=C1234567890 limit=20`
`slack-openapi-cli post:/chat.postMessage '{"channel":"C1234567890","text":"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…