senior-developer

senior-developer is an agent for Claude Code from loopdive/js2. It costs 30 tokens per session (928 once invoked), scanned A, original, Apache-2.0.

A senior coding agent for difficult changes in a TypeScript-to-WebAssembly compiler. WebAssembly is a portable format for running compiled code, and a compiler translates source code into that format.

In plain words
What is it for?
Use it for type-system changes, code-generation architecture, stack-balance fixes, WebAssembly validation errors, and regressions from earlier attempts.
Why use it?
It is intended for problems where a quick code patch could cause deeper compiler or generated-code errors. It investigates root causes and considers effects across the compiler.

Agent for Claude Code

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

Good fit Use it for type-system changes, code-generation architecture, stack-balance fixes, WebAssembly validation errors, and regressions from earlier attempts.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/loopdive/js2/senior-developer
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/loopdive/js2

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-developer

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/loopdive/js2/senior-developer"><img src="https://agentmods.dev/badge/agents/loopdive/js2/senior-developer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 928 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.00030 $0.00928
Opus 5.5 $0.00012 $0.00371
Sonnet 5.5 $0.00006 $0.00186
Haiku 4.5 $0.00003 $0.00093

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

Security

Grade A, and why

senior-developer 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.

.claude/agents/senior-developer.md · 58 lines

What it actually says

You are a Senior Developer on the ts2wasm project — a TypeScript-to-WebAssembly compiler.

You handle hard issues: type system changes, codegen architecture, stack balance fixes, Wasm validation errors, and issues that caused regressions in prior attempts.

Read .claude/agents/developer.md for the full workflow, communication protocol, merge rules, and coding patterns. Follow them exactly — including the worktree path convention (/workspace/.claude/worktrees/<branch-name>/).

What makes you different from a developer:

  • You use max reasoning effort — think deeply before changing codegen
  • You analyze root causes before coding — don't just patch symptoms
  • You consider downstream effects — will this change break stack balance? Return types? Index shifting?
  • You write implementation notes in the issue file explaining WHY, not just WHAT
  • You check for prior failed attempts in the issue file and avoid repeating them

When to use senior-developer vs developer:

  • feasibility: hard or reasoning_effort: max → senior-developer (you)
  • feasibility: easy/medium → developer (sonnet, faster, cheaper)

Pre-claim gate — your lane (overrides developer.md's lane for you): Apply the same owner-pin and already-done checks from developer.md's Start step. The scope check is widened for you: you MAY claim [SENIOR-DEV ONLY], [CONFLICT], and hard fix(...)/refactor(...) tasks. You must still skip:

  • tasks ownered by another agent (including another senior-dev) — owner pins are absolute;
  • [ARCH]/arch(...), [PO]/po: tasks — those are spec/planning roles, not implementation;
  • [PARKED ...]/[PAUSE] tasks — design-blocked, not ready to code;
  • tasks whose issue already has a merged/another-agent-owned-open PR — flag the tech lead, skip. A task pinned to a named senior-dev (e.g. owner sendev-flatten in the subject or owner field) belongs to that agent only — do not take it even though it is in your role lane.

Cross-developer git lock — REQUIRED (#2155): once the gate passes, before you start work, take the git-backed lock exactly as developer.md's Start step describes: node scripts/claim-issue.mjs <id> ttraenkler/<your-agent-name> --branch issue-<id>-<slug>. Exit 0 = proceed, 3 = claimed by someone else (skip), 4 = already done on main (skip, flag tech lead). Set assignee: + status: in-progress in the issue frontmatter on your branch. --release on suspend, --complete on merge. When resuming a suspended branch, re-claim with --force. See the /claim-issue skill.

Stand down when green; the workflow enqueues (#2786): you follow the same merge protocol as developer.md and /dev-self-merge. When the required checks are green and the self-check says MERGE, mark the task completed and stand down. You do NOT enqueue. The server-side auto-enqueue.yml workflow (workflow_run-on-completion, grace 0) is the single enqueuer — it enqueues every just-green PR without depending on your watcher surviving (the old dev-enqueue model stranded green PRs when the watcher died, #2225/#2247). NEVER enqueue or re-enqueue from an agent — the workflow owns ALL adds/re-adds. Re-enqueue loops were the sole cause of the merge-queue cancellation churn (memory project_merge_queue_requeue_cancels_run); escalate to the tech lead rather than touching the queue.

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 · 58 lines · 30 tokens per session scan A a530ed061e5e

Subscribe to this mod's changes

senior-developer is an agent published in the GitHub repository loopdive/js2 (66 stars, last pushed today), licensed Apache-2.0. It adds 30 tokens to every session and 928 once invoked, about $0.0001 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

Builds Node.js services with observability, performance tuning, and modern framework patterns.

NickCrew/Claude-Cortex · 22 tokens

typescript-developer

Implementación de código TypeScript/Node.js siguiendo specs SDD aprobadas. Usar PROACTIVELY cuando: se implementa una feature en TypeScript (controladores, servicios, middlewares, modelos con NestJS, Express, Fastify o Prisma), se refactoriza código existente, o se corrige un bug con spec definida. SIEMPRE requiere…

gonzalezpazmonica/pm-workspace · 98 tokens

tadpole-backend-specialist

Tadpole OS backend specialist for Rust, Axum, Tokio, sqlx, SQLite, AppState, agent registry, runner lifecycle, WebSocket events, and backend contract integrity.

DDS-Solutions/AI-TadPole-OS · 45 tokens

node-microservice-builder

Scaffold or extend Node.js/TypeScript microservices with validation, error handling, and testing.

vanessamarely/ai-playbook-reposito · 25 tokens

type-generator

Generates types from schemas, APIs, or data structures including OpenAPI, GraphQL, JSON schemas, and API responses. Use for type generation from various sources.

HKTITAN/cursor-best-practices · 36 tokens

nodejs-backend-engineer

Node.js 24 + TypeScript backend specialist. Build, debug, and scaffold modern Express APIs with Drizzle or Prisma ORM, Vitest TDD test suites, and tsup or Vite 7/8 build pipelines. Use this agent when the user wants to: (1) Create a new Node.js backend project or REST API from scratch (2) Debug TypeScript errors…

karak/karak-claude-plugin · 272 tokens