NoizuPromptLingo: Agent for Claude Code

.claude/agents/npl-perf-profiler.md

npl-perf-profiler is an agent for Claude Code from noizu-labs-ml/NoizuPromptLingo. It costs 34 tokens per session (1,598 once invoked), scanned A, original, MIT.

An agent that examines C++ source code without running it to find likely performance problems. It focuses on memory use, thread coordination, database proxy code, and frequently executed code paths.

In plain words
What is it for?
Use it to scan C++ database-proxy code, assess bottlenecks, rank optimization opportunities, and produce a report.
Why use it?
It helps locate slow or inefficient code before making changes, without needing runtime profiling.

Agent for Claude Code

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

This is noizu-labs-ml/NoizuPromptLingo's own configuration. It tells Claude Code how to work on NoizuPromptLingo 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 NoizuPromptLingo configures →

Reuse

Borrowing it

Nothing to install: this file belongs to noizu-labs-ml/NoizuPromptLingo. 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/noizu-labs-ml/NoizuPromptLingo/main/.claude/agents/npl-perf-profiler.md
Clone the repo
git clone --depth 1 https://github.com/noizu-labs-ml/NoizuPromptLingo

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 npl-perf-profiler

README.md
[![agentmods](https://agentmods.dev/badge/agents/noizu-labs-ml/noizupromptlingo/npl-perf-profiler/github.svg)](https://agentmods.dev/agents/noizu-labs-ml/noizupromptlingo/npl-perf-profiler)
Your own site
<a href="https://agentmods.dev/agents/noizu-labs-ml/noizupromptlingo/npl-perf-profiler"><img src="https://agentmods.dev/badge/agents/noizu-labs-ml/noizupromptlingo/npl-perf-profiler/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 npl-perf-profiler

Your own site · 80×15
<a href="https://agentmods.dev/agents/noizu-labs-ml/noizupromptlingo/npl-perf-profiler"><img src="https://agentmods.dev/badge/agents/noizu-labs-ml/noizupromptlingo/npl-perf-profiler.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 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,598 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.00034 $0.01598
Opus 5 $0.00017 $0.00799
Sonnet 5 $0.00007 $0.00320
Haiku 4.5 $0.00003 $0.00160

Measured 6d ago against content hash 4081d9cb0ce0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

npl-perf-profiler 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 6d 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/npl-perf-profiler.md · 244 lines

How it starts

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

Performance Profiler Agent

Identity

agent_id: npl-perf-profiler
role: Static C++ Performance Analysis Specialist
lifecycle: ephemeral
reports_to: controller
tags: [performance, c++, profiling, memory, threading, hotpath, static-analysis, database-proxy]

Purpose

Performs static analysis of C++ codebases to identify performance bottlenecks and optimization opportunities. Specializes in high-performance database proxy systems, targeting memory inefficiencies, threading bottlenecks, and critical path optimizations through source code pattern recognition without runtime overhead.

Workflow: scan → analyze → classify → prioritize → report

Focus areas: database wire protocol handlers, connection pooling efficiency, query processing pipelines, multi-threaded synchronization.

NPL Convention Loading

This agent uses the NPL framework. Load conventions on-demand via MCP:

NPLLoad(expression="pumps#critique pumps#reflection")

Load pumps#critique for analysis strengths/considerations/improvements framing. Load pumps#reflection for effectiveness, scope limitations, and best practices documentation in reports.

Interface / Commands

# Scan source files
@npl-perf-profiler scan --path=src/ --pattern="*.cpp,*.h"
@npl-perf-profiler scan --focus="MySQL_Session,Query_Processor"

# Analyze patterns
@npl-perf-profiler analyze --type=memory --threshold=high
@npl-perf-profiler analyze --type=threading --detect=deadlocks
@npl-perf-profiler analyze --type=hotpath --protocol=mysql

# Focused component analysis
@npl-perf-profiler analyze --component="MySQL_Session" --depth=deep

# Specific detections
@npl-perf-profiler detect-leaks --path=lib/ --include="*Manager.cpp"
@npl-perf-profiler threading-analysis --detect=deadlock,contention

# Reports
@npl-perf-profiler report --format=detailed --severity=critical
@npl-perf-profiler report --component="connection_pool"
@npl-perf-profiler report --severity=critical --format=markdown > perf-report.md

Read the full file on GitHub · 244 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. 6d ago First seen · 244 lines · 34 tokens per session scan A 4081d9cb0ce0

Subscribe to this mod's changes

npl-perf-profiler is an agent published in the GitHub repository noizu-labs-ml/NoizuPromptLingo (13 stars, last pushed yesterday), licensed MIT. It adds 34 tokens to every session and 1,598 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-09-04.

Related

Other agents, from other repositories

database-optimizer

Optimize SQL queries, design efficient indexes, and handle database migrations. Solves N+1 problems, slow queries, and implements caching. Use PROACTIVELY for database performance issues or schema optimization.

davepoon/buildwithclaude · 44 tokens

performance-optimizer

Identifies performance bottlenecks and optimization opportunities. Use when investigating slow code, optimizing queries, or improving load times.

travisjneuman/.claude · 28 tokens

doctrine-performance-optimizer

Read-only performance audit of Doctrine usage: N+1 queries, fetch modes, batch processing, missing indexes, and caching opportunities. Use proactively after adding entities, relations, repository queries, or when a page/endpoint is reported slow.

dev-toolings/superpowers-symfony · 53 tokens

sqlscript-analyzer

Use this agent when the user asks to "analyze my SQLScript", "review HANA procedure", "check procedure performance", "find SQLScript issues", "audit SQLScript code", "review stored procedure", or needs performance analysis of SAP HANA database procedures. Examples: Context: User has written a SQLScript procedure and…

secondsky/sap-skills · 329 tokens

db-performance-auditor

Audits a .NET data-access layer end to end for performance — EF Core query patterns (N+1, projections, tracking), indexing gaps, DbContext configuration, connection resiliency, and bulk-operation opportunities — and produces a ranked report with fixes. Use when the user wants a database/EF performance review of a…

StefanTheCode/dotnet-ai-toolkit · 88 tokens

liquibase-lock-resolver

Resolves Liquibase lock errors during Maven builds by cleaning up H2 test databases. Invoke when you see 'Could not acquire change log lock' or 'Currently locked by' in test failures.

motlin/claude-code-plugins · 46 tokens