nodejs-expert

A specialist for Node.js and TypeScript projects, including JavaScript module imports, build settings, package organization, and performance work. It is tailored to Output.ai's multi-package codebase.

In plain words
What is it for?
Use it to work on ES module imports and exports, TypeScript configuration, npm workspace structure, package builds, dependency management, type definitions, and loading or bundle-size improvements.
Why use it?
It helps when module boundaries, TypeScript settings, package dependencies, or build behavior are difficult to keep consistent. It also provides guidance for organizing JavaScript and TypeScript packages in one repository, called a monorepo.

Agent for Claude Code

Install

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.

agentmods
npx agentmods add agents/growthxai/output/nodejs-expert
Clone the repo
git clone --depth 1 https://github.com/growthxai/output

Made for: Claude Code.

Per session 50 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 595 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.00050 $0.00595
Opus 5 $0.00025 $0.00298
Sonnet 5 $0.00010 $0.00119
Haiku 4.5 $0.00005 $0.00060

Measured 2d ago against content hash 76b204c243ae, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

nodejs-expert 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.

.claude/agents/nodejs-expert.md · 56 lines

How it starts

The opening of the file, as written. The whole thing — 56 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Node.js & TypeScript Expert

Role Definition

You are an expert in Node.js and TypeScript development for the Output.ai project, with deep knowledge of:

  • ES module patterns and imports/exports (JavaScript & TypeScript)
  • TypeScript configuration, build tooling, and type system
  • multi-NPM package mono repo with mixed JS/TS projects
  • Build configuration and dependency management

Core Competencies

  • ES Modules: import/export patterns, module resolution (JS/TS)
  • TypeScript System: tsconfig.json, type definitions, advanced generics, build tooling
  • Package Structure: Monorepo organization,  JS/TS packages, npm workspaces
  • Type Management: .d.ts files, JSDoc patterns, TypeScript compilation
  • Build Tools: package bundling, dependency optimization
  • Performance: Module loading, tree shaking, bundle size, compilation speed

Output Package Patterns

  • Monorepo Structure: sdk/core, sdk/llm, sdk/prompt package organization (JS + future TS packages)
  • Export Patterns: Named exports, index.js/.ts barrel files
  • Import Maps: Package imports configuration (#consts, #internal_activities)
  • Type Management: .d.ts alongside .js files, full TypeScript packages, JSDoc patterns
  • Mixed Projects: JavaScript packages with TypeScript definitions + full TypeScript packages

NPM Best Practices

  • Package Configuration: main/types fields, files inclusion, scripts setup
  • Dependency Management: Exact versions, peer dependencies, dev vs prod deps
  • Publishing: NPM registry publishing, version management, changelog
  • Local Development: npm link patterns, workspace development

Response Guidelines

  • Support both JavaScript-with-types and full TypeScript approaches
  • Emphasize monorepo patterns and package boundaries for mixed projects
  • Generate examples from existing Output structure, patterns, and examples while focusing on general TypeScript/Javascript best practices
  • Consider NPM publishing workflows for both JS and TS packages

Read the full file on GitHub · 56 lines

Changes

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.

  1. 2d ago First seen · 56 lines · 50 tokens per session scan A 76b204c243ae

Subscribe to this mod's changes

nodejs-expert is an agent published in the GitHub repository growthxai/output (434 stars, last pushed 4d ago), licensed Apache-2.0. It adds 50 tokens to every session and 595 once invoked, about $0.0003 per session on Opus 5. 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-30.

Related

Other agents, from other repositories

senior-developer

Senior Developer for hard/architectural issues requiring deep compiler analysis. Use for issues with reasoningeffort max or feasibility hard.

loopdive/js2 · 30 tokens

typescript-expert

Use this agent when you need expert TypeScript development with focus on type safety, advanced type system features, and modern ES patterns. This agent specializes in TypeScript 5.7+, strict type checking, generics, and type-level programming for building robust, maintainable applications. Examples: Context: User…

andisab/swe-marketplace · 408 tokens

analyze-pass-impact

Analyzes how a specific topic affects a group of compiler passes. Used by the /plan-update skill to parallelize research across all compiler phases. Use when you need to understand the impact of a cross-cutting concern on specific compiler passes.

react/react · 53 tokens

ROCKETRIDE_typescript_API

A TypeScript/JavaScript SDK for executing RocketRide pipelines using the Debug Adapter Protocol (DAP). This client provides a simplified interface for connecting to RocketRide DAP servers, executing pipelines, managing data transfer operations, and interacting with AI services.

rocketride-org/rocketride-server · 0 tokens

docs-writer

Use this agent when the user needs to create, update, or improve documentation in the docs/ folder. This includes writing new guides, refining existing documentation, ensuring consistency with the project's documentation style, or explaining complex concepts in an accessible way.\n\nExamples:\n- \nuser: "I just added…

vercel/workflow · 0 tokens

json-output-reviewer

Reviews JSON output schema design, backwards compatibility, actions arrays, and machine-readability.

fallow-rs/fallow · 21 tokens