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.
npx skills add movahedan/monobun --skill monorepo-script-commandsgit clone --depth 1 https://github.com/movahedan/monobunWrote 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/skills/movahedan/monobun/monorepo-script-commands)<a href="https://agentmods.dev/skills/movahedan/monobun/monorepo-script-commands"><img src="https://agentmods.dev/badge/skills/movahedan/monobun/monorepo-script-commands/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/skills/movahedan/monobun/monorepo-script-commands"><img src="https://agentmods.dev/badge/skills/movahedan/monobun/monorepo-script-commands.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00074 | $0.01014 |
| Opus 5.5 | $0.00030 | $0.00406 |
| Sonnet 5.5 | $0.00015 | $0.00203 |
| Haiku 4.5 | $0.00007 | $0.00101 |
Grade A, and why
monorepo-script-commands 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.
How it starts
The opening of the file, as written. The whole thing — 66 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Monorepo script commands (Bun + Ink)
When to use
- New multi-subcommand script (for example
bun tools/scripts/foo/index.tsxwired asbun run foofrom rootpackage.json). - Long-running flows that should show per-step progress without spamming logs.
- Mixing Ink UI with child process stdout (install, turbo, biome).
Layout
| Piece | Location |
|---|---|
| Entry + routing | tools/scripts/<area>/index.tsx (#!/usr/bin/env bun, thin main) |
| Help + subcommand guard | tools/scripts/<area>/help.tsx — validate subcommand, printHelpAndExit |
| Each subcommand | tools/scripts/<area>/<name>.tsx — exports run* entry used from index |
| Shared Ink + helpers | tools/scripts/shared/step-progress.tsx, tools/scripts/shared/render-and-exit.tsx, tools/scripts/shared/format-cli-error.ts |
Keep one canonical step list per flow; do not fork “quiet” vs “interactive” logic beyond wrapping.
Arg parsing
- Use
parseArgsfromnode:utilwithargs: [...rest],strict: true, and typedoptions. Bun.argv.slice(2)→sub = argv[0],rest = argv.slice(1)for flags after the subcommand.
Step progress (Ink)
-
Define
getXxxSteps(...): readonly StepProgressStep[]using a closure object (for examplestate) so each step’sruncan depend on prior results. -
Wrap UI in
StepProgressAppfromtools/scripts/shared/step-progress.tsxwith a child component that does:const resolveSteps = useCallback(() => getXxxSteps(deps), [deps]); -
Completed lines: Ink
<Static>so finished steps stay fixed; live row = spinner + dim current label (marginTopwhen there is at least one completed line). Do not use full-terminal height unless a footer must pin to the bottom of the screen. -
Subprocess output:
render(..., { stdout: process.stderr })so tool output stays on stdout and does not fight the Ink buffer. PreferrenderAndExitfromtools/scripts/shared/render-and-exit.tsx(defaults tostdout: process.stderr,waitUntilExit,unmount,printCliError+process.exit(1)on failure — message only, no Bun stack trace). -
Top-level failures: use
printCliErrorAndExitfromtools/scripts/shared/format-cli-error.tsinindex.tsx.catch()handlers; neverconsole.error(error)with anErrorinstance.
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.
- 2mo ago First seen · 66 lines · 74 tokens per session scan A 642702995b1a
monorepo-script-commands is a skill published in the GitHub repository movahedan/monobun (18 stars, last pushed today), licensed MIT. It adds 74 tokens to every session and 1,014 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-30.
monorepo-script-commands compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| monorepo-script-commandsmovahedan/monobun | Skill | 18 | today | MIT | A | 74 | Cursor |
| erlang-otp-behaviorsbenchflow-ai/skillsbench | Skill | 1.9k | 2d ago | Apache-2.0 | A | 52 | Claude Code, Codex |
| omh-rustrlaope/oh-my-hermes | Skill | 5.2k | today | MIT | A | 74 | Claude Code, Codex |
| axiom-concurrencyCharlesWiltgen/Axiom | Skill | 1.3k | yesterday | MIT | A | 49 | Claude Code |
| tddcodewithmukesh/dotnet-claude-kit | Skill | 805 | 2d ago | MIT | A | 81 | Claude Code |
| splitting-oversized-modulesPostHog/posthog | Skill | 41k | yesterday | none | A | 197 | Claude Code, Codex |
| precisemicroprediction/precise | Skill | 338 | 5d ago | MIT | A | 76 | Claude Code, Codex |