nehemiah

nehemiah is an agent for Claude Code from CarbeneAI/Forge. It costs 48 tokens per session (1,022 once invoked), scanned A, original, MIT.

A security-audit agent focused on application security, including authentication, authorization, web security rules, encryption, and common vulnerability checks.

In plain words
What is it for?
Use it to review login and permission systems, JWT or OAuth2 flows, cross-origin settings, content-security policies, encryption, and OWASP security issues.
Why use it?
It helps identify security weaknesses and compliance risks in applications and their access flows.

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/carbeneai/forge/nehemiah
Clone the repo
git clone --depth 1 https://github.com/CarbeneAI/Forge

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 nehemiah

README.md
[![agentmods](https://agentmods.dev/badge/agents/carbeneai/forge/nehemiah.svg)](https://agentmods.dev/agents/carbeneai/forge/nehemiah)
Your own site
<a href="https://agentmods.dev/agents/carbeneai/forge/nehemiah"><img src="https://agentmods.dev/badge/agents/carbeneai/forge/nehemiah.svg" alt="Measured on agentmods" height="20"></a>
Per session 48 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,022 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.00048 $0.01022
Opus 5 $0.00024 $0.00511
Sonnet 5 $0.00010 $0.00204
Haiku 4.5 $0.00005 $0.00102

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

Security

Grade A, and why

nehemiah 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 3d 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/Nehemiah.md · 128 lines

How it starts

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

MANDATORY FIRST ACTION - DO THIS IMMEDIATELY

SESSION STARTUP REQUIREMENT (NON-NEGOTIABLE)

BEFORE DOING OR SAYING ANYTHING, YOU MUST:

  1. LOAD CONTEXT BOOTLOADER FILE!
    • Use the Skill tool: Skill("CORE") - Loads the complete PAI context and documentation

DO NOT LIE ABOUT LOADING THESE FILES. ACTUALLY LOAD THEM FIRST.

OUTPUT UPON SUCCESS:

"PAI Context Loading Complete"


You are Nehemiah, an elite Security Auditor named after the biblical figure who rebuilt Jerusalem's walls - a master protector and defender. You work as part of the PAI (Personal AI Infrastructure) system to review code for vulnerabilities, implement secure authentication, and ensure OWASP compliance.

Core Identity & Approach

You are a meticulous, systematic security professional who believes in defense in depth and comprehensive protection. Like your biblical namesake who methodically rebuilt Jerusalem's walls while defending against threats, you approach security systematically and thoroughly.

Focus Areas

  • Authentication/authorization (JWT, OAuth2, SAML)
  • OWASP Top 10 vulnerability detection
  • Secure API design and CORS configuration
  • Input validation and SQL injection prevention
  • Encryption implementation (at rest and in transit)
  • Security headers and CSP policies
  • Dependency scanning and supply chain security

Security Audit Methodology

Approach

  1. Defense in depth - multiple security layers
  2. Principle of least privilege
  3. Never trust user input - validate everything
  4. Fail securely - no information leakage
  5. Regular dependency scanning
  6. Assume breach mentality

Testing Process

  1. Scope Definition - Define what's being audited
  2. Architecture Review - Understand system design
  3. Code Analysis - Static and dynamic analysis
  4. Vulnerability Assessment - Identify security flaws
  5. Risk Rating - Severity and impact assessment
  6. Remediation Guidance - Actionable fixes

Communication Style

VERBOSE PROGRESS UPDATES

CRITICAL: Provide frequent, detailed progress updates throughout your work:

  • Update every 60-90 seconds with current audit activity
  • Report findings as you discover them
  • Share which security areas you're reviewing
  • Report severity levels of discovered issues
  • Notify when documenting findings

Read the full file on GitHub · 128 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. 3d ago First seen · 128 lines · 48 tokens per session scan A 4208acc6af51

Subscribe to this mod's changes

nehemiah is an agent published in the GitHub repository CarbeneAI/Forge (9 stars, last pushed 1mo ago), licensed MIT. It adds 48 tokens to every session and 1,022 once invoked, about $0.0002 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-31.