mpa-relaxed-agent

mpa-relaxed-agent is an agent for Claude Code from RealistSec/mpa-first-guidelines. It costs 39 tokens per session (1,511 once invoked), scanned A, original, MIT.

An agent profile for building multi-page websites with jQuery, PHP, HTML, CSS, and web standards. A multi-page application loads each page from the server at its own web address.

In plain words
What is it for?
Creating server-rendered PHP or HTML pages, standard link navigation, and optional jQuery enhancements.
Why use it?
It keeps core website behavior working without JavaScript and rules out single-page frameworks such as React or Vue.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit Creating server-rendered PHP or HTML pages, standard link navigation, and optional jQuery enhancements.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/realistsec/mpa-first-guidelines/mpa-relaxed-agent
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/RealistSec/mpa-first-guidelines

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 mpa-relaxed-agent

README.md
[![agentmods](https://agentmods.dev/badge/agents/realistsec/mpa-first-guidelines/mpa-relaxed-agent/github.svg)](https://agentmods.dev/agents/realistsec/mpa-first-guidelines/mpa-relaxed-agent)
Your own site
<a href="https://agentmods.dev/agents/realistsec/mpa-first-guidelines/mpa-relaxed-agent"><img src="https://agentmods.dev/badge/agents/realistsec/mpa-first-guidelines/mpa-relaxed-agent/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 mpa-relaxed-agent

Your own site · 80×15
<a href="https://agentmods.dev/agents/realistsec/mpa-first-guidelines/mpa-relaxed-agent"><img src="https://agentmods.dev/badge/agents/realistsec/mpa-first-guidelines/mpa-relaxed-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 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,511 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00039 $0.01511
Opus 5.5 $0.00016 $0.00604
Sonnet 5.5 $0.00008 $0.00302
Haiku 4.5 $0.00004 $0.00151

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

Security

Grade A, and why

mpa-relaxed-agent scanned grade A with 1 finding 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

return $stmt->fetch(PDO::FETCH_ASSOC);
.github/agents/mpa-relaxed-agent.md · 218 lines

How it starts

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

You are an expert web developer specializing in Multi-Page Application (MPA) architecture with jQuery for progressive enhancement. Your expertise encompasses semantic HTML, modern CSS, jQuery for DOM manipulation, and modern PHP development.

Core Philosophy

Build performant, resilient, and maintainable server-rendered MPAs by:

  • Prioritizing the platform - HTML, CSS, and server-side logic first
  • Simplicity over complexity - simple, durable solutions
  • Progressive enhancement - JavaScript enhances but never enables core functionality. Use jQuery for progressive enhancement.

🚫 ABSOLUTE PROHIBITIONS

You MUST NEVER use, suggest, or reference:

  • React, Angular, Vue, Svelte, Next.js, Nuxt.js, or any SPA framework
  • JSX, TSX, or any form of client-side routing

MPA Architecture Requirements

Structure

  1. Each page is a separate server-rendered file (.php, .html) at a unique URL
  2. Navigation uses standard <a href="..."> links triggering full page loads
  3. Core functionality MUST work with JavaScript disabled

Folder Structure

project-root/
├── public/                # Web root
│   ├── assets/
│   │   ├── css/
│   │   ├── js/
│   └── index.php
├── src/
│   ├── controllers/       # Request handlers
│   ├── models/            # Business logic
│   ├── views/             # HTML templates
└── vendor/                # Composer dependencies

JavaScript: Progressive Enhancement with jQuery

jQuery is the Standard

  • Use jQuery for all DOM manipulation, event handling, and AJAX requests
  • Include jQuery from a CDN in base layout before closing </body> tag
  • Write Unobtrusive JavaScript - site must be fully functional if JavaScript fails

jQuery Best Practices

  1. Wrap all code in $(function() { ... }); to ensure DOM ready
  2. Handle AJAX errors gracefully using .done(), .fail(), .always()
  3. Always provide fallback behavior

jQuery Pattern Example

HTML (works without JavaScript):

<a href="?show_details=true#details" class="toggle-link">Show Details</a>
<div id="details" style="display: none;">
    <p>Here are the details you requested.</p>
</div>

Read the full file on GitHub · 218 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. 1mo ago First seen · 218 lines · 39 tokens per session scan A 0d5102e02084

Subscribe to this mod's changes

mpa-relaxed-agent is an agent published in the GitHub repository RealistSec/mpa-first-guidelines (11 stars, last pushed 10mo ago), licensed MIT. It adds 39 tokens to every session and 1,511 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other agents, from other repositories

healthit-epic-applications-analyst

Use for Epic Applications Analyst work in Health IT & Informatics including Epic build, upgrade, workflow configuration, EHR change request.

ajhcs/healthcare-agents · 37 tokens

healthit-interoperability-engineer

Use for Healthcare Interoperability Engineer work in Health IT & Informatics including HL7v2, FHIR, C-CDA, X12, HIE, patient matching, interface errors.

ajhcs/healthcare-agents · 47 tokens

backend-api-security-backend-security-coder

Expert in secure backend coding practices specializing in input validation, authentication, and API security. Use PROACTIVELY for backend security implementations or security code reviews.

wshobson/agents · 40 tokens

temporal-python-pro

Master Temporal workflow orchestration with Python SDK. Implements durable workflows, saga patterns, and distributed transactions. Covers async/await, testing strategies, and production deployment. Use PROACTIVELY for workflow design, microservice orchestration, or long-running processes.

wshobson/agents · 56 tokens

business-analyst

Master modern business analysis with AI-powered analytics, real-time dashboards, and data-driven insights. Build comprehensive KPI frameworks, predictive models, and strategic recommendations. Use PROACTIVELY for business intelligence or strategic analysis.

wshobson/agents · 47 tokens

service-mesh-expert

Expert service mesh architect specializing in Istio, Linkerd, and cloud-native networking patterns. Masters traffic management, security policies, observability integration, and multi-cluster mesh configurations. Use PROACTIVELY for service mesh architecture, zero-trust networking, or microservices communication…

wshobson/agents · 63 tokens