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 | $0.00037 | $0.00507 |
| Sonnet 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 10d 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.
- 10d 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.0004 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-08-30.
Other skills, from other repositories
matlab
Build, review, migrate, and safely plan MATLAB or GNU Octave numerical workflows, including arrays, tabular/time data, tests, projects, graphics, MAT files, and explicit Python interoperability.
ast-grep
Guide for writing ast-grep rules to perform structural code search and analysis. Use when users need to search codebases using Abstract Syntax Tree (AST) patterns, find specific code structures, or perform complex code queries that go beyond simple text search. This skill should be used when users ask to search for…
platform-detection
Identify a .NET project's test platform, framework, command mode, and SDK-style vs classic project system. Use only for "which test platform/framework?", "VSTest or MTP?", or "what runner does this project use?", including bridge settings, UseVSTest opt-outs, and incompatible or conflicting VSTest/MTP configuration.…
unity-version-split
Split a C# file into Unity 6.5+ and pre-Unity 6.5 variants. Use when a file needs different implementations for different Unity versions due to API changes (e.g., EntityId vs int, GetEntityId vs GetInstanceID).
omh-rust
This is a Hermes-native rust workflow skill.
axiom-concurrency
Use when writing ANY async code, actors, threads, or seeing ANY concurrency error. Covers Swift 6 concurrency, @MainActor, Sendable, data races, async/await patterns.