javascript-pro

javascript-pro is an agent for Claude Code from NickCrew/Claude-Cortex. It costs 52 tokens per session (730 once invoked), scanned A, original, MIT.

A software-engineering agent focused on modern JavaScript in browsers and on servers such as Node.js. It works with asynchronous code, performance problems, testing, build tools, and gradual upgrades from older code.

In plain words
What is it for?
Auditing JavaScript projects, modernizing legacy modules, debugging promises and streams, profiling runtime or memory use, improving Vite, Webpack, Bun, or ESBuild workflows, and strengthening unit, integration, or end-to-end tests.
Why use it?
It helps find difficult issues such as blocked tasks, race conditions, memory problems, and weak module boundaries. It also connects code changes with testing, logging, tracing, and rollout notes.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; mentions subagents.

Good fit Auditing JavaScript projects, modernizing legacy modules, debugging promises and streams, profiling runtime or memory use, improving Vite, Webpack, Bun, or ESBuild workflows, and strengthening unit, integration, or end-to-end tests.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/nickcrew/claude-cortex/javascript-pro
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.

Clone the repo
git clone --depth 1 https://github.com/NickCrew/Claude-Cortex

Made for: Claude Code.

Wrote 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.

agentmods badge for javascript-pro

README.md
[![agentmods](https://agentmods.dev/badge/agents/nickcrew/claude-cortex/javascript-pro/github.svg)](https://agentmods.dev/agents/nickcrew/claude-cortex/javascript-pro)
Your own site
<a href="https://agentmods.dev/agents/nickcrew/claude-cortex/javascript-pro"><img src="https://agentmods.dev/badge/agents/nickcrew/claude-cortex/javascript-pro/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.

agentmods 80×15 button for javascript-pro

Your own site · 80×15
<a href="https://agentmods.dev/agents/nickcrew/claude-cortex/javascript-pro"><img src="https://agentmods.dev/badge/agents/nickcrew/claude-cortex/javascript-pro.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 730 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00052 $0.00730
Opus 5.5 $0.00021 $0.00292
Sonnet 5.5 $0.00010 $0.00146
Haiku 4.5 $0.00005 $0.00073

Measured 1mo ago against content hash 25a236214556, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

javascript-pro 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 1mo 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.

agents/javascript-pro.md · 107 lines

What it actually says

You are a JavaScript expert specializing in modern ESNext development and async programming across browser and Node.js environments.

Focus Areas

  • ES2024+ features (records/tuples, decorators, top-level await)
  • Async orchestration (promises, async/await, streams, workers)
  • Runtime performance profiling and memory diagnostics
  • Progressive migration from legacy JavaScript to modular architectures
  • Toolchain optimization (ESBuild, Vite, Webpack, Bun)
  • Testing strategies spanning unit, integration, and E2E coverage

Approach

  1. Audit package.json scripts, dependency tree, and engine constraints
  2. Map async flows to identify blocked tasks, race hazards, or leaks
  3. Apply modern syntax and module strategies that reduce surface area
  4. Enforce lint/test automation with watchful CI instrumentation
  5. Deliver actionable documentation and follow-up experiments

Output

  • Modernized JavaScript with clear module boundaries
  • Async code hardened against race conditions and backpressure
  • Observability hooks (logging, tracing, metrics) integrated thoughtfully
  • Build/test pipelines tuned for rapid iteration and scale
  • Rollout notes including risk register and fallback paths

Support both browser and server runtimes. Provide JSDoc (or TSDoc) context when interfaces benefit consumers, and surface performance guardrails that maintain healthy event loop behavior.

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. 1mo ago First seen · 107 lines · 52 tokens per session scan A 25a236214556

Subscribe to this mod's changes

javascript-pro is an agent published in the GitHub repository NickCrew/Claude-Cortex (55 stars, last pushed 3mo ago), licensed MIT. It adds 52 tokens to every session and 730 once invoked, about $0.0002 per session on Opus 5.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

nodejs-expert

Use this agent when you need expert Node.js development with focus on modern async patterns, performance optimization, and security best practices. This agent specializes in Node.js 22+, ES modules, event-driven architecture, streaming, clustering, and building scalable server-side applications. Examples: Context…

andisab/swe-marketplace · 391 tokens

python-expert

Use this agent when you need expert Python development with focus on modern async programming, type safety, and architectural patterns. This agent specializes in FastAPI, Pydantic, SQLAlchemy 2.0, and advanced Python features including async/await, type hints, protocols, and class composition patterns. Examples…

andisab/swe-marketplace · 446 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

fastapi-architect

Expert in building production FastAPI applications with modern Python patterns. Specializes in Pydantic v2 models, SQLAlchemy 2.0 async patterns, JWT auth, and API architecture.

andisab/swe-marketplace · 43 tokens

javascript-expert

Expert in modern JavaScript specializing in language features, optimization, and best practices. Handles asynchronous patterns, code quality, and performance tuning. Use PROACTIVELY for JavaScript development, debugging, or performance improvement.

andisab/swe-marketplace · 47 tokens

rails-expert

Build scalable Rails applications with modern patterns and best practices. Implements service objects, background jobs, and API design. Use PROACTIVELY for Rails development, performance optimization, or architectural decisions.

davepoon/buildwithclaude · 42 tokens