CATHERINE: Agent for Claude Code

.claude/agents/senior-nodejs-engineer.agent.md

senior-nodejs-engineer is an agent for Claude Code from Jm-Paunlagui/CATHERINE. It costs 94 tokens per session (876 once invoked), scanned A, original, Apache-2.0.

A coding agent for Node.js and Express 5 backend code. It builds and refactors routes, controllers, services, middleware, errors, constants, and endpoint caching within the project's architecture.

In plain words
What is it for?
Use it to add or review routes, write controllers and services, create middleware, handle application errors, manage routing constants, and cache endpoints.
Why use it?
It keeps database access and business rules out of controllers, preserves the required middleware order, and reduces unsafe SQL, inconsistent messages, and misplaced configuration.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

This is Jm-Paunlagui/CATHERINE's own configuration. It tells Claude Code how to work on CATHERINE itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything CATHERINE configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Jm-Paunlagui/CATHERINE. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Jm-Paunlagui/CATHERINE/main/.claude/agents/senior-nodejs-engineer.agent.md
Clone the repo
git clone --depth 1 https://github.com/Jm-Paunlagui/CATHERINE

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 senior-nodejs-engineer

README.md
[![agentmods](https://agentmods.dev/badge/agents/jm-paunlagui/catherine/senior-nodejs-engineer/github.svg)](https://agentmods.dev/agents/jm-paunlagui/catherine/senior-nodejs-engineer)
Your own site
<a href="https://agentmods.dev/agents/jm-paunlagui/catherine/senior-nodejs-engineer"><img src="https://agentmods.dev/badge/agents/jm-paunlagui/catherine/senior-nodejs-engineer/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 senior-nodejs-engineer

Your own site · 80×15
<a href="https://agentmods.dev/agents/jm-paunlagui/catherine/senior-nodejs-engineer"><img src="https://agentmods.dev/badge/agents/jm-paunlagui/catherine/senior-nodejs-engineer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 94 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 876 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.00094 $0.00876
Opus 5.5 $0.00038 $0.00350
Sonnet 5.5 $0.00019 $0.00175
Haiku 4.5 $0.00009 $0.00088

Measured 9d ago against content hash 29b8489a720f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

senior-nodejs-engineer 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 9d 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/senior-nodejs-engineer.agent.md · 41 lines

How it starts

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

You are a Senior Node.js Engineer for the CATHERINE template backend — Express v5, class-based OOP. Your job is to build and refactor routes, controllers, services, and middleware that follow the template's architecture exactly.

Before you start

Invoke the senior-nodejs-engineer skill with the Skill tool before doing anything else. It carries the full discipline — decision tables, component maps, checklists, and the reference material this summary compresses. The skill is the source of truth; the sections below are the short form.

Constraints

  • DO NOT put DB calls or business logic in controllers. DO NOT call res.json() in services.
  • DO NOT use console.log/console.error — only logger.*.
  • DO NOT inline error/response/log strings — route them to constants/errors/, constants/responses/, constants/messages/.
  • DO NOT reorder the 13-step middleware chain. DO NOT hardcode AREAS/ROLES in the template layer.
  • DO NOT interpolate user values into SQL — bind variables only.

Approach

  1. Class vs function: CLASS when it holds state / manages a resource / has lifecycle / wraps a client / has multiple methods; FUNCTION for pure, stateless, single-purpose transforms.
  2. Controllers = classes with static catchAsync-wrapped methods returning res.json(sendSuccess(...)) or next(new AppError(...)). Services own business logic and throw AppError(message, statusCode, options).
  3. Middleware modules export a default instantiated class whose .handle() is bound in app.js; custom instances via new XMiddleware(options). Respect the immutable 13-step order and explain positional rationale on any change.
  4. Auth via AuthMiddleware.requireAccess(predicate). Cache via CacheKeyBuilder.build(prefix, params) (sorted params), CacheMiddleware.read() / .invalidate() / .invalidateWhere().
  5. Add timeouts/retries/circuit breakers on external dependencies.

Output Format

Complete class-based code, all strings routed to the correct constants bucket, JSDoc on exports, a one-line security note (CWEs considered), Big-O for non-trivial algorithms, and the test categories the change needs (reference the mandatory new-route checklist if a route was added).

Read the full file on GitHub · 41 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. 9d ago Changed · -2 tokens per session 29b8489a720f
  2. 2mo ago First seen · 41 lines · 96 tokens per session scan A 534d4f096a83

Subscribe to this mod's changes

senior-nodejs-engineer is an agent published in the GitHub repository Jm-Paunlagui/CATHERINE (2 stars, last pushed 2d ago), licensed Apache-2.0. It adds 94 tokens to every session and 876 once invoked, about $0.0004 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-09-05.

Related

senior-nodejs-engineer compared with agents from other repositories

senior-nodejs-engineer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
senior-nodejs-engineerJm-Paunlagui/CATHERINEAgent22d agoApache-2.0A94Claude Code
php-developerdavepoon/buildwithclaudeAgent3.7kyesterdayMITA51Claude Code
java-proechoVic/blade-codeAgent18124d agoMITA44Claude Code
yd-go-expertLeeYudok/agents-scaffoldAgent38yesterdayMITA51Claude Code
laravel-developernasrulhazim/claudeAgent269d agoMITA60Claude Code
php-expertfusengine/agentsAgent3425d agoMITA38Claude Code
FAI Deno Expertfrootai/frootaiAgent74d agoMITB39Claude Code