Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/dmythro/agent-skillsnpx agentmods add skills/dmythro/agent-skills/bun-cliWrote 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/dmythro/agent-skills/bun-cli)<a href="https://agentmods.dev/skills/dmythro/agent-skills/bun-cli"><img src="https://agentmods.dev/badge/skills/dmythro/agent-skills/bun-cli/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/dmythro/agent-skills/bun-cli"><img src="https://agentmods.dev/badge/skills/dmythro/agent-skills/bun-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 12 findings, up to high
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- high Privilege Escalation · line 330 Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
- high Privilege Escalation · line 331 Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
- high Privilege Escalation · line 332 Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
- high Privilege Escalation · line 622 Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
- high Privilege Escalation · line 623 Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
- high Privilege Escalation · line 331 Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
- high Privilege Escalation · line 623 Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
- medium MCP Rug Pull · line 77 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
- medium MCP Rug Pull · line 79 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
- medium MCP Rug Pull · line 119 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
- medium MCP Rug Pull · line 342 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
- medium Rogue Agent · line 501 Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
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.00235 | $0.16679 |
| Opus 5.5 | $0.00094 | $0.06672 |
| Sonnet 5.5 | $0.00047 | $0.03336 |
| Haiku 4.5 | $0.00023 | $0.01668 |
Grade A, and why
bun-cli scanned grade A with 1 finding 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 1mo 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.
Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
`child_process`, `fs`, `net`, or `vm` -- then the diff, with minified files expanded and How it starts
The opening of the file, as written. The whole thing — 1,008 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Bun CLI
Bun is an all-in-one JavaScript/TypeScript runtime, package manager, bundler, test runner, type checker (v1.4.3+), and formatter (v1.4.4+). Bun runs TypeScript natively — bun file.ts directly, no compile step, no tsc, no ts-node — bun check replaces tsc --noEmit, and bun fmt replaces prettier --write. Always use bun instead of node, npm, npx, yarn, or pnpm in Bun projects.
Verified against Bun v1.4.4 (2026-10-22). Features are tagged with the version that
introduced them (v1.4+, v1.4.1+, v1.4.2+, v1.4.3+, v1.4.4+). Where a release changed
existing behavior, both behaviors are stated so this skill stays correct on older projects --
run bun --version before relying on a version-tagged item.
Version Guide: What Each 1.4.x Release Changes
| Release | Adds | Changes under existing projects | Upgrade to it when |
|---|---|---|---|
| 1.4.0 (2026-08-20) | bun audit fix, bun dedupe, bun prune, bun why, bun pm licenses / diff, --filter on add / remove / update, --catalog, bun test --timings, --react-compiler, --asset |
bun.lock v2 / v3 (Bun 1.3 cannot read v3), strict-TOML bunfig.toml, bun update moves transitive dependencies, resetAllMocks() drops implementations |
You want the 1.4 tooling -- check every CI Bun pin and bunfig.toml first |
| 1.4.1 (2026-09-04) | --offline / --prefer-offline, self-contained workspaces, --min-chunk-size, --bytecode-depth, --env-file from pipes, --no-ffi-cc |
Fewer, smaller split chunks plus modulepreload links (build snapshots change) |
Never as a target: its bundler can rename a nested var onto a let, so Elysia bundles fail to load -- go to 1.4.2 or later |
| 1.4.2 (2026-09-05) | Nothing (bugfix release) | -- | You are on 1.4.1, or bun install panics with range end index out of range |
| 1.4.3 (2026-10-10) | bun check / --check, --bytecode-order, --compile-jit-policy, [hash9]-[hash13] |
Installs cache only what they place (an --offline cache needs a full warm-up install), --disallow-code-generation-from-strings enforced, Bun.build({ tsconfig }) honored, --coverage-reporter implies --coverage |
You want type checking without tsc, or large --splitting builds fail with Multiple files share the same output path |
| 1.4.4 (2026-10-22) | bun fmt, bun pm fetch, bun pm cache pack / unpack / prune, bun publish --recursive, packageExtensions, link:./path, --libc, bun check --no-script, Yarn Berry lockfile migration |
Unknown package-manager flags exit 1 and npm/Yarn/pnpm flags are translated, pnpm-style peer resolution, stricter coverage counts, the hoisted linker removes dependencies dropped from package.json |
You want a built-in formatter, a Berry migration, bun install retries that survive registry blips, or the fixes for 133 closed bun install issues -- run CI once to catch flag errors and coverageThreshold drops |
What ships with it
9 files 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.
- references/allowlist.md 5.0 KB
- references/bundling-and-compilation.md 18 KB
- references/configuration.md 8.0 KB
- references/formatting.md 8.0 KB
- references/migration-1.4.md 33 KB
- references/package-management.md 33 KB
- references/running-and-execution.md 14 KB
- references/testing.md 17 KB
- references/type-checking.md 11 KB
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.
- 1mo ago Changed · +180 lines · +31 tokens per session 83ccbbc80b1f
- 1mo ago Changed · +104 lines · +25 tokens per session 42cc5e84693d
- 2mo ago Changed · +1 lines 1ce45b7ade9a
- 3mo ago Changed · +44 lines · +20 tokens per session ff56d637b37d
- 3mo ago First seen · 679 lines · 159 tokens per session scan A fc4aa6021292
bun-cli is a skill published in the GitHub repository dmythro/agent-skills (7 stars, last pushed 22d ago), licensed MIT. It adds 235 tokens to every session and 16,679 once invoked, about $0.0009 per session on Opus 5.5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
bun-cli compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| bun-clidmythro/agent-skills | Skill | 7 | 22d ago | MIT | A | 235 | Claude Code, Codex |
| typescript-guardiancodebygarv/Ai-skills | Skill | 28 | 3mo ago | MIT | A | 41 | Claude Code, Codex |
| coding-standardshashgraph-online/awesome-codex-plugins | Skill | 1.6k | yesterday | Apache-2.0 | A | 28 | Claude Code, Codex |
| claude-apihashgraph-online/awesome-codex-plugins | Skill | 1.6k | yesterday | Apache-2.0 | A | 53 | Claude Code, Codex |
| prisma-ormericrisco/rsc-harness | Skill | 707 | 2d ago | MIT | A | 101 | Claude Code, Codex |
| drizzle-ormericrisco/rsc-harness | Skill | 707 | 2d ago | MIT | A | 96 | Claude Code, Codex |
| nestjsericrisco/rsc-harness | Skill | 707 | 2d ago | MIT | A | 81 | Claude Code, Codex |