Claude Code Switchboard

AdvisoryAudited by Static analysis on Apr 30, 2026.

Overview

No suspicious patterns detected.

Findings (0)

Artifact-based informational review of SKILL.md, metadata, install specs, static scan signals, and capability signals. ClawScan does not execute the skill or run runtime probes.

What this means

An unexpected or mistaken invocation could change which backend processes Telegram messages or disrupt the gateway during restart.

Why it was flagged

The skill directs the agent to edit a central OpenClaw configuration file and restart the gateway. That matches the stated routing purpose, but it is a high-impact operation and the artifact does not specify confirmation, diff review, backup, validation, or precise containment before applying the change.

Skill content
Steps:
1. Read `~/.openclaw/openclaw.json`
2. Update `agents.defaults.model.primary` to the resolved model reference
3. Write the updated config
4. Restart the gateway service
5. Verify via gateway logs
Recommendation

Require explicit user approval before writes and restarts, show the exact config diff, back up `openclaw.json`, validate with `openclaw doctor`, and restrict changes to allowlisted routing fields.

What this means

Telegram-originated requests could be handled by a local agent with tool access if the gateway is configured to use CLI providers.

Why it was flagged

Switching from API providers to local Claude Code providers changes the privilege boundary from no-tool API calls to a local tool-enabled Claude Code backend for Telegram-routed messages.

Skill content
- **CLI providers** (`claude-cli/opus`, `claude-cli/sonnet`): Use local Claude Code with full tool access
- **API providers** (`anthropic/claude-haiku-4-5`, `openai/gpt-4.1-mini`): Direct API calls, faster but no tools
Recommendation

Only enable CLI providers for trusted Telegram users or chats, document who can trigger the gateway, and consider sandboxing or using API-only mode for untrusted channels.

ConcernMedium Confidence
ASI08: Cascading Failures
What this means

A bad model reference or unsuitable fallback chain could affect many future Telegram messages, not just the current command.

Why it was flagged

The routing change is stored in shared default agent settings and fallback chains, so one configuration change can affect future message processing until it is reverted.

Skill content
All settings live in `~/.openclaw/openclaw.json` under `agents.defaults`.

- `model.primary` — The primary model/provider reference
- `model.fallbacks` — Ordered fallback chain when primary is unavailable
Recommendation

Treat routing changes as persistent operational changes: validate them, monitor logs after restart, and keep a known-good backup for quick rollback.

What this means

The platform may not warn users that the skill depends on OpenClaw, Claude Code CLI, and local OpenClaw configuration access.

Why it was flagged

The README discloses runtime requirements, but the registry metadata declares no required binaries, config paths, or install spec. This is an under-declaration rather than evidence of hidden code.

Skill content
## Requirements

- [OpenClaw](https://openclaw.ai) with Telegram channel enabled
- Claude Code CLI
Recommendation

Update metadata to declare the required CLI/runtime and the `~/.openclaw/openclaw.json` config path.

What this means

Running the logs command may reveal message contents, user identifiers, errors, or backend details in the agent session.

Why it was flagged

The logs command reads recent gateway logs, which may contain Telegram message details or operational context. This is purpose-aligned for troubleshooting, but users should treat logs as potentially sensitive.

Skill content
/telegram-routing logs         # Show recent message processing logs
...
| Gateway issues | Check `~/.openclaw/logs/gateway.log` for details |
Recommendation

Redact sensitive log content before sharing it and avoid treating log text as trusted instructions.