php-form-mailer

php-form-mailer is a skill for Codex from jqaisystems/jqai-ai-skills. It costs 86 tokens per session (2,345 once invoked), scanned A, original, MIT.

A PHP form handler that sends two emails when someone submits an HTML form: a notification to the site owner and a branded HTML confirmation to the person who submitted it. It uses PHP's built-in mail function on the site's own hosting.

In plain words
What is it for?
Use it to connect an existing HTML form to owner notifications and submitter confirmations. It supports an optional backup recipient, sender details, branding text, and a mailto fallback.
Why use it?
It removes the need for a form-submission service or manual email handling. It also updates the form and JavaScript connection and tests the live endpoint with curl, a command-line HTTP testing tool.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to connect an existing HTML form to owner notifications and submitter confirmations. It supports an optional backup recipient, sender details, branding text, and a mailto fallback.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jqaisystems/jqai-ai-skills/php-form-mailer
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.

Any agent
npx skills add jqaisystems/jqai-ai-skills --skill php-form-mailer
Clone the repo
git clone --depth 1 https://github.com/jqaisystems/jqai-ai-skills

Made for: Codex.

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 php-form-mailer

README.md
[![agentmods](https://agentmods.dev/badge/skills/jqaisystems/jqai-ai-skills/php-form-mailer/github.svg)](https://agentmods.dev/skills/jqaisystems/jqai-ai-skills/php-form-mailer)
Your own site
<a href="https://agentmods.dev/skills/jqaisystems/jqai-ai-skills/php-form-mailer"><img src="https://agentmods.dev/badge/skills/jqaisystems/jqai-ai-skills/php-form-mailer/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 php-form-mailer

Your own site · 80×15
<a href="https://agentmods.dev/skills/jqaisystems/jqai-ai-skills/php-form-mailer"><img src="https://agentmods.dev/badge/skills/jqaisystems/jqai-ai-skills/php-form-mailer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 86 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,345 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.00086 $0.02345
Opus 5 $0.00043 $0.01172
Sonnet 5 $0.00017 $0.00469
Haiku 4.5 $0.00009 $0.00234

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

Security

Grade A, and why

php-form-mailer 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 11d 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.

description: Wire any HTML form to a two-email PHP system. Generates a complete PHP handler that sends a structured notification email to the site owner and a branded HTML confirmation to the person who submitted, update
skills/php-form-mailer/SKILL.md · 213 lines

How it starts

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

PHP Form Mailer: Two-Email System

You are a senior full-stack developer and email designer. Your job is to wire up a form so that one click of Submit fires two well-designed HTML emails automatically, with zero further action from anyone. No form SaaS, no monthly fee, no tracking pixel: plain PHP mail() on the user's own hosting.

Step 0: Collect the configuration (never guess these)

Before writing any code, you need five values. Look for a form-mailer.config.md file in the project root first. If it does not exist, ask the user once for all five, then offer to save them to form-mailer.config.md for next time.

NOTIFY_EMAIL   The inbox that receives submission notifications (site owner)
BCC_EMAIL      Optional backup inbox copied on every email (leave empty to skip)
FROM_EMAIL     The sending address. MUST be a real mailbox on the hosting server,
               otherwise mail() fails silently on most shared hosts
SENDER_NAME    Human name shown in the From header of the confirmation email
BRAND_FOOTER   One footer line for both emails, e.g. "Studio Name, City" plus website URL

Never invent email addresses. Never reuse addresses from examples or other projects.

If the project is a public repository, warn the user that these addresses will be visible in the committed PHP file, and suggest keeping the handler out of the public repo or loading the values from a server-side config file excluded by .gitignore.

Step 1: Read the HTML file

Before writing anything, read the target HTML file in full.

Extract exactly:

  • The <form> element: its id, current action, and method
  • Every <input>, <textarea>, <select>: their name, id, type
  • Every radio/checkbox group: field name plus all value attributes plus the visible label text beside each one
  • The existing JS form submission handler (the full <script> block)
  • The project name (infer from the page <title> or hero heading)

Do not guess field names. Read them from the file.

Read the full file on GitHub · 213 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 11d ago First seen · 213 lines · 86 tokens per session scan A 859fdbdacb02

Subscribe to this mod's changes

php-form-mailer is a skill published in the GitHub repository jqaisystems/jqai-ai-skills (3 stars, last pushed 1mo ago), licensed MIT. It adds 86 tokens to every session and 2,345 once invoked, about $0.0004 per session on Opus 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 skills, from other repositories

laravel-patterns

Laravel architecture patterns, routing/controllers, Eloquent ORM, service layers, queues, events, caching, and API resources for production apps. Use when building or reviewing Laravel apps — controllers, Eloquent, service layers, queues, or API resources.

userInner/SKILLS · 54 tokens

laravel-specialist

Build and configure Laravel 10+ applications, including creating Eloquent models and relationships, implementing Sanctum authentication, configuring Horizon queues, designing RESTful APIs with API resources, and building reactive interfaces with Livewire. Use when creating Laravel models, setting up queue workers…

Jeffallan/claude-skills · 86 tokens

php-pro

Use when building PHP applications with modern PHP 8.3+ features, Laravel, or Symfony frameworks. Invokes strict typing, PHPStan level 9, async patterns with Swoole, and PSR standards. Creates controllers, configures middleware, generates migrations, writes PHPUnit/Pest tests, defines typed DTOs and value objects…

Jeffallan/claude-skills · 107 tokens

craftcms

Craft CMS 5 plugin and module development — extending Craft with PHP. Covers elements, element queries, services, models, records, controllers, migrations, queue jobs, console commands, field types, native fields, events, behaviors, Twig extensions, widgets, filesystems, permissions, project config, GraphQL, testing…

michtio/craftcms-claude-skills · 327 tokens

mvc-expert

Expert guidelines to refactor legacy PHP codebases into clean, modern, and scalable MVC-structured projects / Pedoman ahli untuk merefaktor codebase PHP lama menjadi proyek terstruktur MVC yang bersih, modern, dan skalabel.

roedyrustam/vibes-plug · 51 tokens

creating-springboot-projects

Use when starting a new Spring Boot 4 project — scaffolding a service, REST API, or modular backend; picking an architecture (layered, package-by-module, modular-monolith, tomato, DDD-hexagonal); selecting Spring Boot 4 features; or applying the bundled templates and references in this skill. Not for migrating…

a-pavithraa/springboot-skills-marketplace · 91 tokens