clickbus

clickbus is a skill for Claude Code, Codex from davidmosiah/clickbus-mcp. It costs 63 tokens per session (516 once invoked), scanned A, original, MIT.

A tool for searching ClickBus, a Brazilian bus-ticket service, for places and trips, checking prices, and viewing booking history. It can be used through MCP or a command-line program, and booking is guarded by explicit safety checks.

In plain words
What is it for?
Finding destinations, comparing bus trips and prices, checking past bookings, and booking a selected trip when the safety gates and user instruction allow it.
Why use it?
It lets an agent handle bus-ticket research without opening the ClickBus app, while keeping purchases blocked unless the required approval conditions are met.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Finding destinations, comparing bus trips and prices, checking past bookings, and booking a selected trip when the safety gates and user instruction allow it.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/davidmosiah/clickbus-mcp/skill
Install

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.

Any agent
npx skills add davidmosiah/clickbus-mcp --skill skill
Clone the repo
git clone --depth 1 https://github.com/davidmosiah/clickbus-mcp

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for clickbus

README.md
[![agentmods](https://agentmods.dev/badge/skills/davidmosiah/clickbus-mcp/skill/github.svg)](https://agentmods.dev/skills/davidmosiah/clickbus-mcp/skill)
Your own site
<a href="https://agentmods.dev/skills/davidmosiah/clickbus-mcp/skill"><img src="https://agentmods.dev/badge/skills/davidmosiah/clickbus-mcp/skill/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.

agentmods 80×15 button for clickbus

Your own site · 80×15
<a href="https://agentmods.dev/skills/davidmosiah/clickbus-mcp/skill"><img src="https://agentmods.dev/badge/skills/davidmosiah/clickbus-mcp/skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 516 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00063 $0.00516
Opus 5.5 $0.00025 $0.00206
Sonnet 5.5 $0.00013 $0.00103
Haiku 4.5 $0.00006 $0.00052

Measured 2mo ago against content hash fb842304a7a7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

clickbus 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 2mo 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.

skill/SKILL.md · 56 lines

What it actually says

ClickBus — skill or MCP

Unofficial. Partner /api/v3/trips 403 HTML is not shipped.

Same binary either way. Mutation gates live in the server, not in this file.

Choose a surface

MCP — tools appear natively:

{ "mcpServers": { "clickbus": { "command": "npx", "args": ["-y", "clickbus-mcp-unofficial"] } } }

Do not put mutation flags in that snippet.

Skill / CLI — no MCP client required:

npx -y clickbus-mcp-unofficial doctor --json
npx -y clickbus-mcp-unofficial call clickbus_capabilities --json '{}'
npx -y clickbus-mcp-unofficial call clickbus_search_places --json '{"query":"fortaleza"}'

If MCP tools named clickbus_* are already available, use them. Do not also shell out.

Setup (once)

npx -y clickbus-mcp-unofficial setup
npx -y clickbus-mcp-unofficial auth --from-header "Bearer …"

Token is a captured Authorization from api.clickbus.com, stored at ~/.clickbus-mcp/tokens.json (0600). Place/trip search work without a token; book stays blocked.

Loop

  1. clickbus_connection_status (or doctor --json). Expect unofficial and never_pays_by_default.
  2. clickbus_search_places then clickbus_search_trips / clickbus_price_preview. Fortaleza → destination: same loop, then stop.
  3. Stop. Do not call clickbus_book or clickbus_cancel unless the user clearly asked to book/cancel this trip. If the tool returns USER_ACTION_REQUIRED, report that and stop. Do not invent env flags.

Never

  • Enable mutations from this skill
  • Paste tokens into git, chat logs, or the prompt
  • Treat guest as able to pay
Changes

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.

  1. 2mo ago Changed fb842304a7a7
  2. 3mo ago First seen · 56 lines · 63 tokens per session scan A b77cd326f5d6

Subscribe to this mod's changes

clickbus is a skill published in the GitHub repository davidmosiah/clickbus-mcp (0 stars, last pushed 28d ago), licensed MIT. It adds 63 tokens to every session and 516 once invoked, about $0.0003 per session on Opus 5.5. 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-08-31.

Related

clickbus compared with skills from other repositories

clickbus next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
clickbusdavidmosiah/clickbus-mcpSkill028d agoMITA63Claude Code, Codex
run-wenlan-appwenlan-app/wenlanSkill502todayApache-2.0A71Claude Code
curatewenlan-app/wenlanSkill502todayApache-2.0A122Claude Code
wenlan-handoffwenlan-app/wenlanSkill502todayApache-2.0A46Claude Code, Codex
wenlan-recallwenlan-app/wenlanSkill502todayApache-2.0A54Claude Code, Codex
themewenlan-app/wenlanSkill502todayApache-2.0A93Claude Code
pageswenlan-app/wenlanSkill502todayApache-2.0A105Claude Code