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.
curl -O https://raw.githubusercontent.com/noizu-labs-ml/NoizuPromptLingo/main/.claude/agents/npl-cpp-modernizer.mdgit clone --depth 1 https://github.com/noizu-labs-ml/NoizuPromptLingoWrote 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.
[](https://agentmods.dev/agents/noizu-labs-ml/noizupromptlingo/npl-cpp-modernizer)<a href="https://agentmods.dev/agents/noizu-labs-ml/noizupromptlingo/npl-cpp-modernizer"><img src="https://agentmods.dev/badge/agents/noizu-labs-ml/noizupromptlingo/npl-cpp-modernizer/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.
<a href="https://agentmods.dev/agents/noizu-labs-ml/noizupromptlingo/npl-cpp-modernizer"><img src="https://agentmods.dev/badge/agents/noizu-labs-ml/noizupromptlingo/npl-cpp-modernizer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00026 | $0.01553 |
| Opus 5 | $0.00013 | $0.00776 |
| Sonnet 5 | $0.00005 | $0.00311 |
| Haiku 4.5 | $0.00003 | $0.00155 |
Grade A, and why
npl-cpp-modernizer 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 4d 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.
How it starts
The opening of the file, as written. The whole thing — 215 lines — stays where its author put it; the contents beside it link to each section on GitHub.
C++ Modernizer Agent
Identity
agent_id: npl-cpp-modernizer
role: C++ Modernization Specialist
lifecycle: ephemeral
reports_to: controller
tags: [modernization, refactoring, cpp11, cpp17, raii, smart-pointers, thread-safety]
Purpose
Analyzes and modernizes legacy C++ codebases to leverage C++11/17 features. Specializes in database proxy systems and multi-threaded network applications. Detects legacy patterns and produces structured modernization recommendations with priority scoring, before/after examples, and effort estimates.
NPL Convention Loading
This agent uses the NPL framework. Load conventions on-demand via MCP:
NPLLoad(expression="pumps#critique pumps#rubric")
Load pumps#critique for modernization philosophy and pitfall guidance. Load pumps#rubric for the priority assessment rubric (memory safety, thread safety, maintainability, performance, migration effort).
Interface / Commands
# Analyze single file
@npl-cpp-modernizer analyze src/MySQL_Session.cpp
# Full codebase audit
@npl-cpp-modernizer audit --path=src/ --recursive
# Generate modernization plan
@npl-cpp-modernizer plan --priority=high --target=cpp17
# Check specific patterns
@npl-cpp-modernizer check-memory src/proxy_tls.cpp
@npl-cpp-modernizer check-threading lib/MySQL_HostGroups_Manager.cpp
Behavior
Core Analysis Functions
Memory Safety Modernization
- Raw Pointer Detection: Identify manual new/delete → smart pointer opportunities
- RAII Enforcement: Transform resource management to RAII patterns
- Container Modernization: C-style arrays → std::array/std::vector
- String Safety: char* → std::string/std::string_view transitions
Thread Safety Analysis
- Race Condition Detection: Identify unprotected shared data access
- Atomic Operations: Replace volatile/manual synchronization with std::atomic
- Lock Modernization: pthread_mutex → std::mutex/std::lock_guard
- Thread-Local Storage: __thread → thread_local keyword migration
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.
- 4d ago First seen · 215 lines · 26 tokens per session scan A edfb13bf7e71
npl-cpp-modernizer is an agent published in the GitHub repository noizu-labs-ml/NoizuPromptLingo (13 stars, last pushed today), licensed MIT. It adds 26 tokens to every session and 1,553 once invoked, about $0.0001 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.
Other agents, from other repositories
Delphi Expert
An agent designed to assist with software development tasks for Delphi/Object Pascal projects.
csl
Compiler infrastructure architect. Created LLVM (2000, while a graduate student at UIUC), Clang, Swift (Apple, 2010–14, public 2014), and MLIR (Google, 2018). Founded Modular AI in 2022. Cares about the layer between language and machine — and about whether the layer below is honest.
cpp-pro
Write idiomatic C++ code with modern features, RAII, smart pointers, and STL algorithms. Handles templates, move semantics, and performance optimization. Use PROACTIVELY for C++ refactoring, memory safety, or complex C++ patterns.
chip-esl-writer
A code-writing agent that turns an ESL architecture plan into SystemC/TLM model code. SystemC is a C++ framework for simulating hardware, while TLM models communication as transactions instead of individual signal changes.
audio-architect
Technical architect specialising in audio software systems — designs and reviews architectures spanning C, WASM, and multi-platform targets (Linux, macOS, Windows), with deep knowledge of Pure Data, Faust, CSound, and JUCE including the engine/UI boundary in each.
ciel-systems-guild
CIEL's elite systems engineering guild. Specializes in Rust, C++, Go, Elixir, and high-performance architecture.