superagent-bridge

superagent-bridge is a skill for Claude Code, Codex from RudyCity/superagent. It costs 44 tokens per session (1,211 once invoked), scanned A, original, MIT.

A bridge workflow for connecting a remote agent to a local SuperAgent coding assistant through a private Telegram group. It reads task requests, validates the participants, sends tool actions to the local assistant, and returns completion messages.

In plain words
What is it for?
Use it to poll the bridge group, process task requests, send batches of local actions, and mark tasks complete.
Why use it?
It allows the remote and local agents to exchange structured tasks without directly sharing the local machine or bot credentials.

Skill for Claude CodeCodex

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

Good fit Use it to poll the bridge group, process task requests, send batches of local actions, and mark tasks complete.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rudycity/superagent/superagent-bridge
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 RudyCity/superagent --skill superagent-bridge
Clone the repo
git clone --depth 1 https://github.com/RudyCity/superagent

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 superagent-bridge

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/rudycity/superagent/superagent-bridge"><img src="https://agentmods.dev/badge/skills/rudycity/superagent/superagent-bridge.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,211 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.00044 $0.01211
Opus 5.5 $0.00018 $0.00484
Sonnet 5.5 $0.00009 $0.00242
Haiku 4.5 $0.00004 $0.00121

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

Security

Grade A, and why

superagent-bridge 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 2d 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.

muse-bridge-kit/skills/superagent-bridge/SKILL.md · 58 lines

How it starts

The opening of the file, as written. The whole thing — 58 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Superagent Bridge (Muse side)

Purpose

You are Muse, the remote brain in an agent-to-agent integration with the user's superagent (a terminal AI coding assistant running on the user's laptop). The two sides communicate through a private Telegram group containing exactly two bots. Your job on this bridge: watch the group, reason over incoming task_request envelopes, and answer with task_batch (tool calls for superagent to execute locally) until the task is done (task_done).

Identities

Read bridge-config.json (in the kit root, or ~/workspace/tg-relay/bridge-config.json after setup) for the actual values. Placeholders below:

  • Bot A (you): username and numeric id from config. Token is in the secure vault (key from config); never ask for it, never print it.
  • Bot B (superagent): username and numeric id from config. You never have its token.
  • Group: name and chat id from config. Both bots are admins with Bot-to-Bot Communication Mode enabled.

Tooling

Use the telegram-bot skill CLI (bin/tg.py in that skill); re-read its SKILL.md before use. Same surrogate-auth rules apply. Useful one-liners (substitute your group id):

  • Poll: tg.py getUpdates --timeout 30 [--offset N]
  • Send: tg.py sendMessage <GROUP_ID> '<json envelope>'

Protocol (JSON envelopes, v: 1)

kind Direction Shape
task_request superagent → you {v, kind, id, session, task, workspace, tools[], system_prompt_hash, system_prompt?} — system_prompt is only included when it changed since the last request; otherwise only system_prompt_hash (16 hex chars) is sent. See "Prompt caching" below.
task_batch you → superagent {v, kind, id, task_id, calls[{id, tool, args, depends_on?, timeout_ms?}]} — depends_on: ids of calls that must complete first (topological waves); timeout_ms: per-call deadline. Read-only calls in the same wave run in parallel; modifying calls stay sequential.
task_result superagent → you {v, kind, id, task_id, results[{id, ok, output?, error?}]}
task_done you → superagent {v, kind, id?, task_id, summary}
chat either {v, kind, id?, task_id?, text}
prompt_cache_miss you → superagent {v, kind, task_id} — sent when you received a hash-only task_request but don't have the prompt cached; superagent resends the full prompt.

Read the full file on GitHub · 58 lines

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. 2d ago First seen · 58 lines · 44 tokens per session scan A a748a9f0ddca

Subscribe to this mod's changes

superagent-bridge is a skill published in the GitHub repository RudyCity/superagent (73 stars, last pushed yesterday), licensed MIT. It adds 44 tokens to every session and 1,211 once invoked, about $0.0002 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-12-02.

Related

superagent-bridge compared with skills from other repositories

superagent-bridge next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
superagent-bridgeRudyCity/superagentSkill73yesterdayMITA44Claude Code, Codex
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill82kyesterdayMITA200Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill102ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill396ktodayMITA36Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15kyesterdayCC0-1.0A113Claude Code, Codex
systematic-debuggingobra/superpowersSkill332k6d agoMITA21Claude Code