Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Add Webex channel integration via Chat SDK.
.claude/skills/nanocoai-add-webex/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-02 | ✗→✓ | ▲ Improved | -8% | 0% |
| case-07 | ✗→✓ | ▲ Improved | 36% | 0% |
| case-08 | ✗→✓ | ▲ Improved | 70% | 0% |
| case-09 | ✗→✓ | ▲ Improved | 145% | 0% |
| case-10 | ✗→✓ | ▲ Improved | 3% | 0% |
Adds Cisco Webex support via the Chat SDK bridge. NanoClaw doesn't ship channels in trunk — this skill copies the Webex adapter in from the channels branch.
The mechanical steps under Apply carry nc: directive fences: an agent reads the prose and applies them, and a parser can apply them deterministically from the same document. Every directive is idempotent, so the whole skill is safe to re-run; anything a parser can't apply falls back to the prose beside it.
Fetch the channels branch and copy the Webex adapter and its registration test into src/channels/ (overwrite — the branch is canonical):
nc:copy from-branch:channelssrc/channels/webex.ts src/channels/webex-registration.test.ts
Append the self-registration import to the channel barrel (skipped if the line is already present). This one line is the skill's only reach-in into core:
nc:append to:src/channels/index.tsimport './webex.js';
Pinned to an exact version — the supply-chain policy rejects ranges and latest. The Webex adapter ships under the third-party @bitbasti/* namespace, not @chat-adapter/*, so it carries its own version line (0.1.0) rather than tracking the chat core version:
nc:dep@bitbasti/chat-adapter-webex@0.1.0
Build first: it guards the typed createChatSdkBridge(...) core call and proves the dependency is installed. Then run the one integration test.
nc:run effect:buildpnpm run build
nc:run effect:testpnpm exec vitest run src/channels/webex-registration.test.ts
webex-registration.test.ts imports the real channel barrel and asserts the registry contains webex. It goes red if the import line is deleted or drifts, if the barrel fails to evaluate, or if @bitbasti/chat-adapter-webex isn't installed (the import throws) — so it also covers the dependency from step 3. End-to-end delivery against a real Webex space is verified manually once the service runs — see the webhook setup below.
Webex bot setup is human and interactive — these steps are prose, not directives (no parser can click through the Webex Developer Portal). A recipe rebuild produces a compiling, registered adapter that cannot receive a message until they're done.
https://your-domain/webhook/webex.Capture the two values, then write them. prompt only asks and binds the answer to a name; a separate directive consumes it — so the same prompts could feed ncl or the OneCLI vault instead of .env by swapping only the consumer. Here they go to .env (set-if-absent — a value you've already filled in is never overwritten):
nc:prompt bot_token secretPaste the Bot Access Token — from the Webex bot you created.
nc:prompt webhook_secret secretPaste the webhook secret you set for signature verification.
nc:env-setWEBEX_BOT_TOKEN={{bot_token}} WEBEX_WEBHOOK_SECRET={{webhook_secret}}
The Chat SDK bridge automatically starts a shared webhook server on port 3000 (WEBHOOK_PORT to change it), handling /webhook/webex. This port must be publicly reachable for Webex to deliver events. Running locally, expose it with ngrok (ngrok http 3000), a Cloudflare Tunnel, or a reverse proxy on a VPS — the resulting public URL is the base for the webhook URL above.
If you're in the middle of /setup, return to the setup flow now. Otherwise run /manage-channels to wire this channel to an agent group.
webexGET /rooms) to list spaces and their IDs.Sends fail with 401. The Bot Access Token is shown once, on the bot's page under developer.webex.com → My Apps — it is not the 12-hour personal access token from the API docs pages, which is the classic mix-up (that one works briefly, then everything 401s). Regenerate the token on the bot page if needed; regenerating invalidates the old value, so update WEBEX_BOT_TOKEN right away.
Messages in the space never reach the agent. Webex delivers only to the webhook you created: it must target your public host at /webhook/webex (shared webhook server, port 3000) with resource messages. List your webhooks with GET https://webexapis.com/v1/webhooks using the bot token — Webex flips a webhook to inactive after repeated delivery failures, and it stays off until you re-enable or recreate it.
Events arrive but are rejected. Signature mismatch: the secret set at webhook creation must equal WEBEX_WEBHOOK_SECRET exactly. Recreate the webhook with a known secret and update .env to match.
Adapter installed but silent. Run pnpm exec vitest run src/channels/webex-registration.test.ts — red means the barrel import or the @bitbasti/chat-adapter-webex install drifted, so re-run the Apply steps. If green, restart the service so it loads the adapter and the tokens, then watch logs/nanoclaw.log for the webhook hit.
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-01 | fail→fail | 5,576 | 5,659 | +1% | 1 | 1 | 0% | 345 | 1,959 | +468% | 0 | 0 | — |
case-02 | fail→pass | 21,544 | 6,562 | -70% | 1 | 1 | 0% | 3,100 | 2,848 | -8% | 0 | 0 | — |
case-20 | pass→pass | 12,522 | 4,868 | -61% | 1 | 1 | 0% | 2,143 | 2,385 | +11% | 0 | 0 | — |
case-03 | fail→fail | 4,297 | 6,163 | +43% | 1 | 1 | 0% | 271 | 1,982 | +631% | 0 | 0 | — |
case-04 | pass→pass | 12,126 | 5,278 | -56% | 1 | 1 | 0% | 2,580 | 2,410 | -7% | 0 | 0 | — |
case-05 | pass→pass | 12,901 | 14,404 | +12% | 1 | 1 | 0% | 2,554 | 4,554 | +78% | 0 | 0 | — |
case-06 | pass→pass | 68,602 | 8,543 | -88% | 1 | 1 | 0% | 1,612 | 3,183 | +97% | 0 | 0 | — |
case-07 | fail→pass | 7,023 | 1,651 | -76% | 1 | 1 | 0% | 1,375 | 1,876 | +36% | 0 | 0 | — |
case-08 | fail→pass | 5,949 | 1,915 | -68% | 1 | 1 | 0% | 1,117 | 1,904 | +70% | 0 | 0 | — |
case-09 | fail→pass | 50,133 | 2,354 | -95% | 1 | 1 | 0% | 799 | 1,961 | +145% | 0 | 0 | — |
case-10 | fail→pass | 10,176 | 1,858 | -82% | 1 | 1 | 0% | 1,750 | 1,797 | +3% | 0 | 0 | — |
case-11 | fail→pass | 8,213 | 1,523 | -81% | 1 | 1 | 0% | 1,324 | 1,731 | +31% | 0 | 0 | — |
case-12 | fail→pass | 5,210 | 1,627 | -69% | 1 | 1 | 0% | 864 | 1,759 | +104% | 0 | 0 | — |
case-13 | pass→pass | 4,807 | 2,853 | -41% | 1 | 1 | 0% | 858 | 1,695 | +98% | 0 | 0 | — |
case-14 | pass→pass | 5,207 | 1,920 | -63% | 1 | 1 | 0% | 815 | 1,708 | +110% | 0 | 0 | — |
case-15 | fail→pass | 8,275 | 61,763 | +646% | 1 | 1 | 0% | 1,244 | 1,771 | +42% | 0 | 0 | — |
case-21 | pass→pass | 3,367 | 34,694 | +930% | 1 | 1 | 0% | 511 | 1,717 | +236% | 0 | 0 | — |
case-16 | pass→pass | 16,340 | 1,828 | -89% | 1 | 1 | 0% | 2,663 | 1,700 | -36% | 0 | 0 | — |
case-17 | pass→pass | 9,293 | 2,923 | -69% | 1 | 1 | 0% | 1,532 | 1,984 | +30% | 0 | 0 | — |
case-18 | fail→pass | 12,734 | 52,820 | +315% | 1 | 1 | 0% | 1,964 | 1,928 | -2% | 0 | 0 | — |
case-19 | pass→pass | 4,763 | 1,987 | -58% | 1 | 1 | 0% | 796 | 1,783 | +124% | 0 | 0 | — |
case-22 | pass→pass | 12,333 | 3,319 | -73% | 1 | 1 | 0% | 2,134 | 2,057 | -4% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted, and 20 counted toward the lift figure. The other 2 produced results that are not comparable between the two arms, so they are excluded from the headline rather than averaged into it. The headline lift of +41 percentage points is the difference between those two pass rates over the 20 comparable cases.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.