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 ushibo/brigade --skill nodegit clone --depth 1 https://github.com/ushibo/brigadeWrote 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/ushibo/brigade/node)<a href="https://agentmods.dev/skills/ushibo/brigade/node"><img src="https://agentmods.dev/badge/skills/ushibo/brigade/node/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/ushibo/brigade/node"><img src="https://agentmods.dev/badge/skills/ushibo/brigade/node.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.00162 | $0.01408 |
| Opus 5.5 | $0.00065 | $0.00563 |
| Sonnet 5.5 | $0.00032 | $0.00282 |
| Haiku 4.5 | $0.00016 | $0.00141 |
Grade A, and why
node 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 3mo 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.
This is a copy
100% identical to node — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 95 lines — stays where its author put it; the contents beside it link to each section on GitHub.
When to use
Use this skill whenever you are dealing with Node.js code to obtain domain-specific knowledge for building robust, performant, and maintainable Node.js applications.
TypeScript with Type Stripping
When writing TypeScript for Node.js, use type stripping (Node.js 22.6+) instead of build tools like ts-node or tsx. Type stripping runs TypeScript directly by removing type annotations at runtime without transpilation.
Key requirements for type stripping compatibility:
- Use
import typefor type-only imports - Use const objects instead of enums
- Avoid namespaces and parameter properties
- Use
.tsextensions in imports
Minimal example — a valid type-stripped TypeScript file:
// greet.ts
import type { IncomingMessage } from 'node:http';
const greet = (name: string): string => `Hello, ${name}!`;
console.log(greet('world'));
Run directly with:
node greet.ts
See rules/typescript.md for complete configuration and examples.
Common Workflows
For multi-step processes, follow these high-level sequences before consulting the relevant rule file:
Graceful shutdown: Register signal handlers (SIGTERM/SIGINT) → stop accepting new work → drain in-flight requests → close external connections (DB, cache) → exit with appropriate code. See rules/graceful-shutdown.md.
Error handling: Define a shared error base class → classify errors (operational vs programmer) → add async boundary handlers (process.on('unhandledRejection')) → propagate typed errors through the call stack → log with context before responding or crashing. See rules/error-handling.md.
Diagnosing flaky tests: Isolate the test with --test-only → check for shared state or timer dependencies → inspect async teardown order → add retry logic as a temporary diagnostic step → fix root cause. See rules/flaky-tests.md.
Diagnosing stuck processes/tests (node --test hangs, "process did not exit", CI timeout, open handles): isolate file/test → run with explicit timeout/reporter → inspect handles via why-is-node-running (SIGUSR1) → patch deterministic teardown in resource-creation scope → rerun isolated + full suite until stable. See rules/stuck-processes-and-tests.md.
What ships with it
18 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.
- rules/assets/graceful-server.test.ts 2.6 KB runs code
- rules/assets/graceful-server.ts 2.2 KB runs code
- rules/async-patterns.md 3.1 KB
- rules/caching.md 4.8 KB
- rules/environment.md 6.0 KB
- rules/error-handling.md 3.8 KB
- rules/flaky-tests.md 10 KB
- rules/graceful-shutdown.md 4.6 KB
- rules/logging.md 4.4 KB
- rules/modules.md 2.0 KB
- rules/node-modules-exploration.md 3.6 KB
- rules/performance.md 2.8 KB
- rules/profiling.md 3.9 KB
- rules/streams.md 5.1 KB
- rules/stuck-processes-and-tests.md 3.9 KB
- rules/testing.md 4.4 KB
- rules/typescript.md 5.5 KB
- tile.json 1017 B
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.
- 3mo ago First seen · 95 lines · 162 tokens per session scan A fa2888f4a220
node is a skill published in the GitHub repository ushibo/brigade (1 stars, last pushed 5mo ago), licensed MIT. It adds 162 tokens to every session and 1,408 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to node, differing in 0 lines, and is treated as a copy.
node compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| nodeushibo/brigade | Skill | 1 | 5mo ago | MIT | A | 162 | Claude Code |
| dev-team-nodebiggora/dev-team | Skill | 5 | 23d ago | none | A | 49 | Claude Code, Codex |
| nest-best-practicesbiggora/dev-team | Skill | 5 | 23d ago | none | A | 49 | Claude Code |
| node-backendshahtuyakov/claude-setup | Skill | 13 | 11mo ago | MIT | A | 55 | Claude Code, Codex |
| better-authsecondsky/claude-skills | Skill | 257 | 3d ago | MIT | A | 53 | Claude Code |
| hono-routingsecondsky/claude-skills | Skill | 257 | 3d ago | MIT | A | 41 | Claude Code |
| api-contractzdanovichnick/dotnet-pilot | Skill | 5 | 2d ago | MIT | A | 48 | Claude Code |