javascript-pro

javascript-pro is an agent for Claude Code from bitflight-devops/hallucination-detector. It costs 84 tokens per session (1,698 once invoked), scanned A, original, MIT.

A JavaScript specialist for browser, Node.js, and full-stack work using modern JavaScript and asynchronous programming. Node.js is a runtime for running JavaScript outside a web browser.

In plain words
What is it for?
Use it for JavaScript implementation, refactoring, WebSocket servers, asynchronous code, performance-sensitive work, or memory-leak investigations.
Why use it?
It provides project-specific guidance for a CommonJS codebase, Node.js 20+, Biome formatting, built-in tests, and semantic-release versioning.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; mentions .claude-plugin; mentions Claude Code.

Part of the hallucination-detector plugin — 4 skills, 3 commands, 5 agents, 4 hooks, 1 MCP server shipped together

Good fit Use it for JavaScript implementation, refactoring, WebSocket servers, asynchronous code, performance-sensitive work, or memory-leak investigations.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/bitflight-devops/hallucination-detector/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/bitflight-devops/hallucination-detector

Made for: Claude Code.

Or install hallucination-detector, the plugin that ships this one along with the rest of its 4 skills, 3 commands, 5 agents, 4 hooks, 1 MCP server.

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/bitflight-devops/hallucination-detector/javascript-pro/github.svg)](https://agentmods.dev/agents/bitflight-devops/hallucination-detector/javascript-pro)
Your own site
<a href="https://agentmods.dev/agents/bitflight-devops/hallucination-detector/javascript-pro"><img src="https://agentmods.dev/badge/agents/bitflight-devops/hallucination-detector/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/bitflight-devops/hallucination-detector/javascript-pro"><img src="https://agentmods.dev/badge/agents/bitflight-devops/hallucination-detector/javascript-pro.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 84 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,698 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00084 $0.01698
Opus 5.5 $0.00034 $0.00679
Sonnet 5.5 $0.00017 $0.00340
Haiku 4.5 $0.00008 $0.00170

Measured 1mo ago against content hash 8f27a161c59d, 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 1 finding 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

const response = await fetch(url, { signal: controller.signal });
.claude/agents/javascript-pro.md · 197 lines

How it starts

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

You are a senior JavaScript developer with mastery of modern JavaScript ES2023+ and Node.js 20+, specializing in both frontend vanilla JavaScript and Node.js backend development. Your expertise spans asynchronous patterns, functional programming, performance optimization, and the entire JavaScript ecosystem with focus on writing clean, maintainable code.

Core Identity

You write production-grade JavaScript. Every decision you make prioritizes correctness, readability, performance, and maintainability — in that order. You use the latest stable language features but never at the expense of clarity.

Project Context

This is the hallucination-detector — a Claude Code stop-hook plugin that audits assistant output for speculation, ungrounded causality, pseudo-quantification, and completeness overclaims. The codebase is CommonJS (.cjs files), uses Biome for linting/formatting, Node.js built-in test runner (node:test + node:assert/strict), and semantic-release for versioning.

Key files:

  • scripts/hallucination-audit-stop.cjs — core detection logic
  • tests/hallucination-audit-stop.test.cjs — test suite
  • hooks/hooks.json — stop hook definition
  • .claude-plugin/plugin.json — Claude Code plugin manifest
  • biome.json — linter/formatter config

Operational Protocol

When invoked:

  1. Read package.json, biome.json, and module system setup to understand the project context
  2. Analyze existing code patterns, regex-based detection, and suppression logic
  3. Implement solutions following modern JavaScript best practices
  4. Verify your work — run linters, tests, and validate output before declaring completion

Quality Checklist (Mandatory Before Completion)

  • Biome passes with zero errors: npx biome check .
  • Tests written and passing: npm test
  • No var usage — const by default, let only when reassignment is required
  • Error handling covers all async boundaries
  • Bundle size considered (no unnecessary dependencies — this is a zero-dependency runtime)

Read the full file on GitHub · 197 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. 1mo ago First seen · 197 lines · 84 tokens per session scan A 8f27a161c59d

Subscribe to this mod's changes

javascript-pro is an agent published in the GitHub repository bitflight-devops/hallucination-detector (8 stars, last pushed 1mo ago), licensed MIT. It adds 84 tokens to every session and 1,698 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other agents, from other repositories

webapi-integration

Use this agent when the user needs to integrate Power Pages Web API for a specific Dataverse table into their frontend code. Trigger examples: "integrate web api for products table", "add api calls for orders", "connect my site to the blog posts table", "implement crud for categories", "set up web api client", "create…

microsoft/power-platform-skills · 182 tokens

call-tracer

Orchestrates parallel call tree tracing using subagents for each entry point category (Controllers, LiveViews, Workers, GenServers). Use proactively when debugging unexpected values, tracing request flow, or planning signature changes.

oliver-kriska/claude-elixir-phoenix · 46 tokens

otp-advisor

OTP patterns specialist - GenServer, Supervisor, Agent, Task, Registry, ETS. Use proactively when deciding if you need OTP abstractions or simpler solutions.

oliver-kriska/claude-elixir-phoenix · 35 tokens

do-setup-assistant

Autonomous Durable Objects project scaffolder. Analyzes user requirements and automatically sets up complete DO project with proper configuration, code, and tests.

secondsky/claude-skills · 35 tokens

upload-workflow-agent

This agent should be used when the user asks to "implement user uploads", "set up direct creator upload", "configure image uploads", "build upload form", "create upload endpoint", or needs complete frontend + backend upload workflow for Cloudflare Images.

secondsky/claude-skills · 55 tokens

integrations-engineer

Third-party integration specialist for SMB Product-Builder archetypes. Owns the integration contract — OAuth2/API-key flows, webhook signature verification, idempotency keys, retry/backoff with jitter, rate-limit handling, secret storage, and sandbox→prod promotion — for Stripe, Twilio, QuickBooks, Google/Microsoft…

avelikiy/great_cto · 106 tokens