superagent: Skill for Claude Code

.agents/skills/cli-bridge/SKILL.md

CLI Bridge is a skill for Claude Code, Codex from RudyCity/superagent. It costs 36 tokens per session (1,751 once invoked), scanned A, original, MIT.

A bridge for sending coding tasks to other AI command-line assistants, either as one-off jobs or ongoing conversations.

In plain words
What is it for?
It helps with code changes, file inspection, code analysis, bug fixes, test runs, builds, and script generation.
Why use it?
It lets an agent use different installed AI assistants without manually switching between command-line tools or copying context between them.

Skill for Claude CodeCodex

Written for Claude Code: when-to-use in frontmatter. Also seen: mentions Claude Code; installed under .agents/ (shared by several agents); mentions Codex.

This is RudyCity/superagent's own configuration. It tells Claude Code and Codex how to work on superagent itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything superagent configures →

Reuse

Borrowing it

Nothing to install: this file belongs to RudyCity/superagent. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/RudyCity/superagent/main/.agents/skills/cli-bridge/SKILL.md
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 CLI Bridge

README.md
[![agentmods](https://agentmods.dev/badge/skills/rudycity/superagent/cli-bridge.svg)](https://agentmods.dev/skills/rudycity/superagent/cli-bridge)
Your own site
<a href="https://agentmods.dev/skills/rudycity/superagent/cli-bridge"><img src="https://agentmods.dev/badge/skills/rudycity/superagent/cli-bridge.svg" alt="Measured on agentmods" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,751 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00036 $0.01751
Opus 5 $0.00018 $0.00875
Sonnet 5 $0.00007 $0.00350
Haiku 4.5 $0.00004 $0.00175

Measured 4d ago against content hash 9511b7c1b0cf, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

CLI 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 4d 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.

.agents/skills/cli-bridge/SKILL.md · 178 lines

How it starts

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

CLI Bridge

Overview

The cli_bridge tool enables Superagent to offload tasks to external AI CLI assistants (such as Antigravity/AGY, Claude Code, OpenAI Codex, or any custom executable) in two execution modes:

  1. One-Shot Task Delegation (action: "delegate") [RECOMMENDED]:

    • Executes the external CLI in print mode (-p / --print), passes the prompt, sends EOF on stdin, auto-handles --dangerously-skip-permissions, streams output in real-time, waits for execution to complete, and returns the full output.
    • Best for: Autonomous coding, file reading/editing, code analysis, bug fixing, test running, building, and script generation.
  2. Interactive Subprocess Sessions (action: "session.*"):

    • Spawns the CLI as a long-lived subprocess with stdio streaming, event buffering, automatic prompt detection, and multi-turn message exchange.
    • Best for: Interactive human-in-the-loop dialogs, step-by-step interactive sessions, or when responding to TUI choice menus via session.respond.

Quick Action Reference

Action Purpose Key Parameters
list Discover installed CLI binaries on system PATH None
profile.list List built-in and user-configured CLI profiles None
delegate Execute a one-shot prompt against a CLI tool (auto-skips permissions, streams real-time output) cli, prompt, cwd, skills, timeoutMs, system, args
session.create Start an interactive subprocess session cli, sessionId, message / initialMessage, skills, autoDetect, cwd, idleTimeoutMs, maxBufferLines
session.send Send a new prompt to an existing session sessionId, prompt / message, timeoutMs
session.respond Answer an interactive prompt (yes/no, choices) sessionId, answer
session.tail Read recent live events or extend session idle TTL sessionId, since, tailLimit, setIdleTimeoutMs
session.get Retrieve session status and recent stdout/stderr sessionId
session.list List all active and detached sessions None
session.export Export session history and output log as markdown sessionId
session.config Read or modify session configuration parameters sessionId
session.resume Resume session using profile-specific resume flags cli, sessionId, conversationId
session.detach Detach session from active management sessionId
session.kill Terminate session subprocess and free resources sessionId

Read the full file on GitHub · 178 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. 4d ago Changed · +37 lines 9511b7c1b0cf
  2. 4d ago First seen · 141 lines · 36 tokens per session scan A 9265ee76f940

Subscribe to this mod's changes

CLI Bridge is a skill published in the GitHub repository RudyCity/superagent (21 stars, last pushed today), licensed MIT. It adds 36 tokens to every session and 1,751 once invoked, about $0.0002 per session on Opus 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-09-03.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

next-partial-prefetching-adoption

Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…

vercel/next.js · 103 tokens

chronicle

Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…

microsoft/vscode · 72 tokens

babysit-pr

Babysit a GitHub pull request after creation by continuously polling review comments, CI checks/workflow runs, and mergeability state until the PR is merged/closed or user help is required. Diagnose failures, retry likely flaky failures up to 3 times, auto-fix/push branch-related issues when appropriate, and keep…

openai/codex · 114 tokens