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 agentmods add rules/takuya0206/bigquery-mcp-server/bun-utilsgit clone --depth 1 https://github.com/takuya0206/bigquery-mcp-serverWhat 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 | $0.00000 | $0.08075 |
| Opus 5 | $0.00000 | $0.04038 |
| Sonnet 5 | $0.00000 | $0.01615 |
| Haiku 4.5 | $0.00000 | $0.00808 |
Grade A, and why
bun-utils 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 2d 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.
Copies of this mod
1 near-identical copy found in the catalogue:
- bun-utils — 100% identical, 0 lines differ
How it starts
The opening of the file, as written. The whole thing — 803 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Bun.version
A string containing the version of the bun CLI that is currently running.
Bun.version;
// => "0.6.4"
Bun.revision
The git commit of Bun that was compiled to create the current bun CLI.
Bun.revision;
// => "f02561530fda1ee9396f51c8bc99b38716e38296"
Bun.env
An alias for process.env.
Bun.main
An absolute path to the entrypoint of the current program (the file that was executed with bun run).
Bun.main;
// /path/to/script.ts
This is particular useful for determining whether a script is being directly executed, as opposed to being imported by another script.
if (import.meta.path === Bun.main) {
// this script is being directly executed
} else {
// this file is being imported from another script
}
This is analogous to the require.main = module trick in Node.js.
Bun.sleep()
Bun.sleep(ms: number)
Returns a Promise that resolves after the given number of milliseconds.
console.log("hello");
await Bun.sleep(1000);
console.log("hello one second later!");
Alternatively, pass a Date object to receive a Promise that resolves at that point in time.
const oneSecondInFuture = new Date(Date.now() + 1000);
console.log("hello");
await Bun.sleep(oneSecondInFuture);
console.log("hello one second later!");
Bun.sleepSync()
Bun.sleepSync(ms: number)
A blocking synchronous version of Bun.sleep.
console.log("hello");
Bun.sleepSync(1000); // blocks thread for one second
console.log("hello one second later!");
Bun.which()
Bun.which(bin: string)
Returns the path to an executable, similar to typing which in your terminal.
const ls = Bun.which("ls");
console.log(ls); // "/usr/bin/ls"
By default Bun looks at the current PATH environment variable to determine the path. To configure PATH:
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.
- 2d ago First seen · 803 lines · 8,075 tokens per session scan A 457283f3bcdd
bun-utils is a cursor rule published in the GitHub repository takuya0206/bigquery-mcp-server (5 stars, last pushed 1y ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 8,075 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-08-31.
Other cursor rules, from other repositories
angular-20
This rule provides comprehensive best practices and coding standards for Angular development, focusing on modern TypeScript, standalone components, signals, and performance optimizations.
dev-standard
Apache Superset development standards and guidelines for Cursor IDE.
cli-error-handling
CLI command error handling patterns.
prefer-direct-imports-over-module-mocks
Prefer extracting a testable core over vi.mock / vi.resetModules when unit tests need to reach production logic entangled with config, env, or singletons.
control-plane-descriptors
Control plane descriptor and instance implementation patterns.
family-instance-domain-actions
Family instance domain action implementation patterns.