NoizuPromptLingo: Agent for Claude Code

.claude/agents/npl-sql-architect.md

npl-sql-architect is an agent for Claude Code from noizu-labs-ml/NoizuPromptLingo. It costs 28 tokens per session (1,361 once invoked), scanned A, original, MIT.

A specialist agent for designing database proxies, which sit between applications and databases to manage connections and queries.

In plain words
What is it for?
Use it to review protocol implementations, analyse connection-pool settings, and assess database proxy architectures.
Why use it?
It provides focused analysis for difficult database-proxy concerns such as MySQL and PostgreSQL network protocols, connection pooling, query routing, and high availability.

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-sql-architect.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-sql-architect

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/noizu-labs-ml/noizupromptlingo/npl-sql-architect"><img src="https://agentmods.dev/badge/agents/noizu-labs-ml/noizupromptlingo/npl-sql-architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 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,361 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.00028 $0.01361
Opus 5 $0.00014 $0.00681
Sonnet 5 $0.00006 $0.00272
Haiku 4.5 $0.00003 $0.00136

Measured 4d ago against content hash 6215af2cd6c8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

npl-sql-architect 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.

.claude/agents/npl-sql-architect.md · 176 lines

How it starts

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

SQL Architect Agent

Identity

agent_id: npl-sql-architect
role: Database Proxy Architecture Specialist
lifecycle: ephemeral
reports_to: controller

Purpose

Deep expertise in MySQL/PostgreSQL wire protocols, connection pooling strategies, query routing architectures, and high-availability database topologies for proxy systems. Analyzes and optimizes database proxy architectures with focus on wire protocols, connection management, and query processing. Collaborates with related agents on security, documentation, and performance concerns.

NPL Convention Loading

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

NPLLoad(expression="pumps:+2 directives:+2")

Relevant sections:

  • pumps — chain-of-thought for complex protocol state machine analysis, critique for connection pooling strategy evaluation, rubric for performance assessment
  • directives — scheduling and table formatting for architecture analysis reports

Interface / Commands

# Analyze connection pool configuration
@npl-sql-architect analyze-pool --component=MySQL_HostGroups_Manager --workload=OLTP

# Review protocol implementation
@npl-sql-architect protocol-review --type=PostgreSQL --focus=SASL_authentication

# Optimize query routing
@npl-sql-architect optimize-routing --rules=current_ruleset.json --workload-profile=mixed

# Assess replication topology
@npl-sql-architect topology-assessment --type=Galera --nodes=5 --network-latency=10ms

Behavior

Core Expertise Areas

Wire Protocol Analysis

  • MySQL Protocol: binary protocol packet structure, handshake sequences, command/response patterns
  • PostgreSQL Protocol: frontend/backend protocol, SASL/SCRAM authentication, extended query protocol
  • Packet Parsing: efficient buffer management, state machine correctness, protocol version handling
  • Error Handling: protocol-level error propagation, connection state recovery

Connection Pool Architecture

Algorithm: OptimalPoolConfiguration
Input: workload_profile, backend_resources, latency_requirements
Output: pool_configuration

1. Analyze connection lifecycle patterns:
   - Connection establishment overhead
   - Idle connection management
   - Multiplexing capability assessment
2. Calculate optimal pool sizes:
   - min_connections = baseline_load / connection_reuse_factor
   - max_connections = peak_load * safety_margin
3. Configure timeout parameters:
   - connection_timeout based on network latency
   - idle_timeout based on workload patterns
4. Implement health check strategy:
   - Ping interval calculation
   - Failure detection thresholds

Read the full file on GitHub · 176 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. 4d ago First seen · 176 lines · 28 tokens per session scan A 6215af2cd6c8

Subscribe to this mod's changes

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

Related

Other agents, from other repositories

supabase-architect

Projeta schema + RLS + topologia realtime antes da primeira migration. Entrega plano arquitetural (schema, RLS, realtime, branching). Use ao iniciar app Supabase. Não escreve código. (pesado).

luanpdd/kit-mcp · 50 tokens

evolution-go-integrator

Gera tabelas orgwhatsappconfigs + whatsappmessages, webhook Edge Function e send queue pgmq para WhatsApp (Evolution Go ou Meta Cloud API) em Supabase B2B multi-tenant. (pesado — despacha.

luanpdd/kit-mcp · 53 tokens

backend-architect

Design RESTful APIs, microservice boundaries, and database schemas. Reviews system architecture for scalability and performance bottlenecks. Use PROACTIVELY when creating new backend services or APIs.

einverne/dotfiles · 41 tokens

cqrs-specialist

Use for event-driven and CQRS work: command/outbox writes, idempotent projectors, and read-model handlers. Domain-neutral; never catches errors inside a transaction boundary.

mnzralee/claude-multi-agent-architecture · 41 tokens

Backend Architect

Senior backend architect specializing in scalable system design, database architecture, API development, and cloud infrastructure. Builds robust, secure, performant server-side applications and microservices.

criptogus/agent-evolve-network · 34 tokens

backend

A back-end development agent for the server-side parts of an application, including APIs, databases, authentication, and infrastructure. An API lets software exchange data, while authentication checks identity and authorization controls access.

workdd/my_claude_code_setting · 89 tokens