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.00204 | $0.12297 |
| Opus 5.5 | $0.00082 | $0.04919 |
| Sonnet 5.5 | $0.00041 | $0.02459 |
| Haiku 4.5 | $0.00020 | $0.01230 |
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 9d 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 — 828 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, and (v1.4.3+) type checker. Bun runs TypeScript natively — bun file.ts directly, no compile step, no tsc, no ts-node — and bun check replaces tsc --noEmit. Always use bun instead of node, npm, npx, yarn, or pnpm in Bun projects.
Verified against Bun v1.4.3 (2026-10-10). Features are tagged with the version that
introduced them (v1.4+, v1.4.1+, v1.4.2+, v1.4.3+). 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.
Check the Version, Then Check Bun's Docs
bun <command> --help is authoritative for flags and always matches the installed binary --
prefer it over any table here when the two disagree.
For everything beyond flags, Bun ships its full docs inside bun-types, version-matched to
the runtime, in any project that has bun-types or @types/bun installed:
node_modules/bun-types/docs/pm/**/*.mdx # install, lockfile, workspaces, catalogs, linkers
node_modules/bun-types/docs/test/**/*.mdx # test runner
node_modules/bun-types/docs/bundler/**/*.mdx # bun build, executables, loaders, plugins
node_modules/bun-types/docs/runtime/bunfig.mdx
node_modules/bun-types/CLAUDE.md # Bun's own agent rules
-
Depend on
bun-types, not@types/bun.bun-typesships with every Bun release and carries both the docs and the types.@types/bunlags every release, often by a day or more, yetbun initadds it aslatest-- sobun checkrejects the newest APIs (TS2339,TS2353). Addingbun-typesbeside@types/bunfixes only the docs path: type checking keeps@types/bun's nested, pinned copy. Switch both:bun remove @types/bun bun add -d bun-types@$(bun --version) # then "types": ["bun-types"] in tsconfig.jsonCompare
bun --versionwithnode_modules/bun-types/package.jsonbefore trusting either. -
Open by explicit path. With the global virtual store enabled,
node_modules/bun-typesis a symlink, sofind node_modules -name '*.mdx'andrg <pattern> node_modulesreturn nothing.find node_modules/bun-types/docs -name '*.mdx'works. -
Never edit under
node_modules/. Under the global store every project on the machine shares the same inode. Usebun patch. -
Not installed? The same path works online:
docs/pm/lockfile.mdxishttps://bun.com/docs/pm/lockfile.
What ships with it
8 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.
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.
- 9d ago Changed · +104 lines · +25 tokens per session 42cc5e84693d
- 1mo ago Changed · +1 lines 1ce45b7ade9a
- 1mo ago Changed · +44 lines · +20 tokens per session ff56d637b37d
- 1mo 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 10d ago), licensed MIT. It adds 204 tokens to every session and 12,297 once invoked, about $0.0008 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.
Other skills, from other repositories
typescript-guardian
Focuses specifically on TypeScript type safety - any usage, unsound generics, interface design, and type narrowing. Use for a deep type-system review, not general code quality.
typescript
TypeScript strict mode with eslint and jest.
nestjs
Use when building or structuring a NestJS backend — feature modules, providers and DI wiring, provider scopes and request-lifecycle order, where to bind guards/pipes/interceptors/filters, and testing with Test.createTestingModule. NOT a bare Express/Fastify service with no DI (that is nodejs), NOT framework-agnostic…
jest
Jest testing best practices for JavaScript and TypeScript applications, covering test structure, mocking, and assertion patterns.
edge-case-hunter
Focuses specifically on unusual inputs, boundary conditions, empty states, and unexpected user behavior that implementations commonly miss. Use to find what a normal test pass would skip over.
flaky-test-diagnoser
Diagnoses why a test passes sometimes and fails others - timing, shared state, ordering dependence, or external dependencies - and proposes a fix. Use when a test fails intermittently.