cli-binary-size

cli-binary-size is a skill for Claude Code, Codex from ComposioHQ/composio. It costs 117 tokens per session (962 once invoked), scanned A, original, MIT.

A guide to measuring the size of the Composio command-line program and its release downloads. It separates the Bun runtime's fixed size from the size added by the program itself.

In plain words
What is it for?
It helps report sizes for different targets, test Bun build modes, compare releases, and assess archive or runtime choices.
Why use it?
A smaller program file does not always mean a smaller download, because companion files may ship with it. Comparing reports with the same build settings shows whether a change really reduced what users receive.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents); mentions AGENTS.md.

Good fit It helps report sizes for different targets, test Bun build modes, compare releases, and assess archive or runtime choices.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/composiohq/composio/cli-binary-size
About the project

Composio is a software toolkit that gives AI agents access to authenticated tools for interacting with apps and services. Developers use its SDKs, command-line interface, sessions, and sandbox to build agents that can carry out actions. The catalogue add-ons support workflows for using Composio with coding agents.

ComposioHQ/composio · 31,372 stars · on GitHub · docs.composio.dev

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 ComposioHQ/composio --skill cli-binary-size
Clone the repo
git clone --depth 1 https://github.com/ComposioHQ/composio

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-binary-size

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/composiohq/composio/cli-binary-size"><img src="https://agentmods.dev/badge/skills/composiohq/composio/cli-binary-size.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 117 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 962 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.00117 $0.00962
Opus 5.5 $0.00047 $0.00385
Sonnet 5.5 $0.00023 $0.00192
Haiku 4.5 $0.00012 $0.00096

Measured yesterday against content hash 46be1181b096, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cli-binary-size 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 yesterday.

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-binary-size/SKILL.md · 46 lines

How it starts

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

CLI Binary Size

The standalone composio executable is a Bun single-file executable, so most of it is the Bun runtime, not the CLI's code. Measure that floor before crediting any change with a size difference.

Read references/experiments.md before trying a build mode, Bun version, compiler, or runtime: it records what was already measured and what broke.

Measure first

  1. Run pnpm --filter @composio/cli size:report (scripts/size-report.ts; --all for every target, --json for data). It compiles a one-line program with the release flags (the floor, what Bun alone weighs) and the CLI, and reports the executable, the CLI's share of it (executable minus floor), companion modules, installed footprint, zip, .tar.xz, and the latest stable release's zip.
  2. Measure what users get: the download per target and the installed footprint, against the last release. An unchanged executable does not mean an unchanged download: companions ship next to it.
  3. Credit a change with a size difference only after running the report on its base and its branch with the same Bun version and flags. A build mode that removes a fixed amount (plain --trim) gives the same saving on any code.
  4. If the goal is below the floor, say so before trimming code, and look at distribution options (below) and the Bun version instead.

Build the way the release does

Every executable is compiled by compileExecutable in scripts/_shared.ts (executableBuildArgs holds the flags). Experiment through it, or with the same flags; a hand-written bun build --compile measures a different build. test/src/scripts/executable-build-paths.test.ts fails on a --compile flag in any other tracked file except documentation and vendored code.

Diagnostics that stop at the first failure

Bun's --explain=trim (with --aot --trim) names only the first site its analysis cannot follow; fixing it moves the report to the next one. Before rewriting a dependency to clear blockers:

  • Patch every reachable blocker with a throwaway Bun.build plugin (onLoad rewrites), rebuild until the report is clean or the remaining sites are inside Bun itself, and measure the size then.
  • Tie each blocker to the build mode and the number it changes. A blocker that only matters under --aot does not explain the shipped size.

Read the full file on GitHub · 46 lines

Files

What ships with it

1 file beside SKILL.md 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.

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. yesterday Changed 46be1181b096
  2. 2d ago First seen · 46 lines · 117 tokens per session scan A 152f4b1bd455

Subscribe to this mod's changes

cli-binary-size is a skill published in the GitHub repository ComposioHQ/composio (31,372 stars, last pushed today), licensed MIT. It adds 117 tokens to every session and 962 once invoked, about $0.0005 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-11-28.

Related

cli-binary-size compared with skills from other repositories

cli-binary-size next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cli-binary-sizeComposioHQ/composioSkill31ktodayMITA117Claude Code, Codex
first-readerShubhamsaboo/awesome-llm-appsSkill146ktodayApache-2.0A174Claude Code, Codex
playwrightopenai/openai-agents-pythonSkill31ktodayMITA19Claude Code, Codex
ai-agent-tool-routingsickn33/agentic-awesome-skillsSkill51kyesterdayMITA36Claude Code
thinking-out-loudShubhamsaboo/awesome-llm-appsSkill146ktodayApache-2.0A206Claude Code, Codex
python-package-managementmicrosoft/agent-frameworkSkill15k13d agoMITA43Claude Code, Codex
prior-auth-packet-builderopenai/openai-agents-pythonSkill31ktodayMITA21Claude Code, Codex