Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/OpenWonderLabs/switchbot-openapi-cliWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/plugins/openwonderlabs/switchbot-openapi-cli/gemini-extension)<a href="https://agentmods.dev/plugins/openwonderlabs/switchbot-openapi-cli/gemini-extension"><img src="https://agentmods.dev/badge/plugins/openwonderlabs/switchbot-openapi-cli/gemini-extension/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/plugins/openwonderlabs/switchbot-openapi-cli/gemini-extension"><img src="https://agentmods.dev/badge/plugins/openwonderlabs/switchbot-openapi-cli/gemini-extension.svg" alt="Reviewed on agentmods" width="80" height="20"></a>Grade A, and why
switchbot scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
{
"name": "switchbot",
"version": "0.2.0",
"description": "Control SwitchBot smart-home devices from Gemini CLI via MCP using the default tool profile and policy-based safety gates",
"contextFileName": "GEMINI.md",
"mcpServers": {
"switchbot": {
"command": "switchbot",
"args": [
"mcp",
"serve"
],
"env": {
"SWITCHBOT_TOKEN": "${SWITCHBOT_TOKEN}",
"SWITCHBOT_SECRET": "${SWITCHBOT_SECRET}"
}
}
},
"settings": [
{
"name": "SwitchBot Token",
"description": "Optional SwitchBot Open API token. Prefer switchbot auth login so the CLI can use its OS-keychain credentials. If you configure this value, it supplies SWITCHBOT_TOKEN for the extension.",
"envVar": "SWITCHBOT_TOKEN",
"sensitive": true
},
{
"name": "SwitchBot Secret",
"description": "Optional SwitchBot Open API secret. Prefer switchbot auth login so the CLI can use its OS-keychain credentials. If you configure this value, it supplies SWITCHBOT_SECRET for the extension.",
"envVar": "SWITCHBOT_SECRET",
"sensitive": true
}
]
}
What ships with it
28 files beside gemini-extension.json in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- commands/switchbot/audit.toml 651 B
- commands/switchbot/close.toml 755 B
- commands/switchbot/describe.toml 548 B
- commands/switchbot/doctor.toml 425 B
- commands/switchbot/history.toml 713 B
- commands/switchbot/list-devices.toml 412 B
- commands/switchbot/lock.toml 578 B
- commands/switchbot/open.toml 684 B
- commands/switchbot/overview.toml 463 B
- commands/switchbot/pause.toml 455 B
- commands/switchbot/plan.toml 669 B
- commands/switchbot/press.toml 436 B
- commands/switchbot/rule.toml 764 B
- commands/switchbot/run-scene.toml 455 B
- commands/switchbot/set-brightness.toml 593 B
- commands/switchbot/set-color-temp.toml 686 B
- commands/switchbot/set-color.toml 767 B
- commands/switchbot/set-position.toml 862 B
- commands/switchbot/status.toml 422 B
- commands/switchbot/toggle.toml 510 B
- commands/switchbot/turn-off.toml 455 B
- commands/switchbot/turn-on.toml 451 B
- commands/switchbot/unlock.toml 564 B
- GEMINI.md 5.9 KB
- package.json 1.1 KB
- README.md 3.0 KB
- tests/commands.test.js 1.8 KB runs code
- tests/manifest.test.js 2.9 KB runs code
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago First seen · 34 lines scan A dda5a8f32082
switchbot is a plugin published in the GitHub repository OpenWonderLabs/switchbot-openapi-cli (140 stars, last pushed 10d ago), licensed MIT. Its token cost is not measured: this kind of file is read by the harness, not the model. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-14.
switchbot compared with plugins from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| switchbotOpenWonderLabs/switchbot-openapi-cli | Plugin | 140 | 10d ago | MIT | A | — | Gemini CLI |
| drone-cv-expertcuriositech/some_claude_skills | Plugin | 278 | 3d ago | MIT | A | — | Claude Code |
| r2g-skillsShenShan123/r2g-skills | Plugin | 44 | 4d ago | MIT | B | — | Claude Code |
| unifi-fabricswkstudios/unifi-fabric-mcp-server | Plugin | 6 | 8d ago | MIT | A | — | Claude Code |
| roboticsbroomva/skills | Plugin | 7 | yesterday | MIT | A | — | Claude Code |
| orcaslicer-mcpMaxEllis/orcaslicer-mcp | Plugin | 131 | yesterday | AGPL-3.0 | A | — | Claude Code |
| vmware-privateaivmware-skills/VMware-PrivateAI | Plugin | 0 | 11d ago | MIT | A | — | Claude Code |