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.
git clone --depth 1 https://github.com/hiromaily/go-crypto-walletWrote 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/rules/hiromaily/go-crypto-wallet/bun)<a href="https://agentmods.dev/rules/hiromaily/go-crypto-wallet/bun"><img src="https://agentmods.dev/badge/rules/hiromaily/go-crypto-wallet/bun/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/rules/hiromaily/go-crypto-wallet/bun"><img src="https://agentmods.dev/badge/rules/hiromaily/go-crypto-wallet/bun.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.00000 | $0.00565 |
| Opus 5 | $0.00000 | $0.00282 |
| Sonnet 5 | $0.00000 | $0.00113 |
| Haiku 4.5 | $0.00000 | $0.00056 |
Grade A, and why
bun 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 7d 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.
What it actually says
Bun Runtime Rules
Overview
Rules for projects using Bun runtime instead of Node.js.
Critical Rule: Use Bun Commands Only
DO NOT use npm/npx commands in Bun projects.
| Wrong (npm/npx) | Correct (bun/bunx) |
|---|---|
npm install |
bun install |
npm run <script> |
bun run <script> |
npm test |
bun test |
npm ci |
bun install --frozen-lockfile |
npx <package> |
bunx <package> |
npm init |
bun init |
npm add <pkg> |
bun add <pkg> |
npm remove <pkg> |
bun remove <pkg> |
Why This Matters
- Lock file mismatch: npm creates
package-lock.json, Bun usesbun.lock - Dependency resolution: Different algorithms may cause inconsistencies
- Performance: Bun is significantly faster
- Project consistency: Keep tooling consistent across the team
Command Reference
Package Management
# Install all dependencies
bun install
# Add a dependency
bun add <package>
bun add <package> -D # dev dependency
# Remove a dependency
bun remove <package>
# Update dependencies
bun update
Running Scripts
# Run a script from package.json
bun run <script>
# Run TypeScript directly
bun run src/index.ts
# Run with watch mode
bun --watch src/index.ts
Executing Packages
# Execute a package binary (like npx)
bunx <package>
# Examples
bunx tsc --noEmit
bunx biome check .
Applicable Directories
This rule applies to:
apps/xrpl-grpc-server/- Uses Bun runtime
Verification
Check if a project uses Bun:
-
Look for
bun.lockfile (notpackage-lock.json) -
Check
enginesfield inpackage.json:"engines": { "bun": ">=1.3.6" }
Common Mistakes to Avoid
# WRONG - Do not use these
npm install
npm run dev
npx biome check .
# CORRECT - Use these instead
bun install
bun run dev
bunx biome check .
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.
- 7d ago First seen · 111 lines · 0 tokens per session scan A 06b0aca2b95c
bun is a cursor rule published in the GitHub repository hiromaily/go-crypto-wallet (127 stars, last pushed 4mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 565 tokens. 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-09-01.