Skip to content
Skill

Email audit

Audits a live domain's DMARC, SPF, DKIM, BIMI and MX records and prioritizes fixes

Email audit is an open-source agent skill for security. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
10
Last commit
License
MIT
Listing updated

Similar skills

About Email audit

This skill runs a DNS-only audit of a domain's live email authentication records through the bird CLI or its MCP tool. The audit resolves DMARC, SPF, DKIM, BIMI and MX records, validates each one, and checks how they work together, then returns graded findings and a list of recommended fixes. The agent is asked to read those findings, explain them in plain terms and turn them into a prioritized plan rather than returning raw output.

The guidance covers how to sequence the work. It points out that DMARC enforcement is only safe once SPF or DKIM produces an aligned pass, and it flags SPF's ten-lookup limit as a common cause of failures. DKIM cannot be discovered from DNS, so it is only checked when a selector is supplied, and the skill tells the agent to treat an unchecked DKIM as unknown rather than missing.

The skill expects the bird CLI with its email tools, or the equivalent MCP server, and a domain name as input. It sends no mail and does not inspect message headers; for those tasks it points to separate bird commands. Published records can take time to propagate after changes.

When your agent uses it

Use when auditing a live domain's email authentication or spam-delivery problems involving DMARC, SPF, DKIM, BIMI, or MX; single-record drafts use bird validators.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (7 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the bird plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add messagebird/bird-ai
/plugin install bird@bird-ai

Or copy only this skill to ~/.claude/skills/email-audit:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/messagebird/bird-ai.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/email-audit &&
cp -R "$tmp/plugins/bird/skills/email-audit" ~/.claude/skills/email-audit &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/email-audit inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/email-audit to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/messagebird/bird-ai.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/email-audit &&
cp -R "$tmp/plugins/bird/skills/email-audit" ~/.agents/skills/email-audit &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/email-audit inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/email-audit to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/messagebird/bird-ai.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/email-audit &&
cp -R "$tmp/plugins/bird/skills/email-audit" ~/.cursor/skills/email-audit &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/email-audit inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/messagebird/bird-ai.git --path plugins/bird/skills/email-audit

Or copy the folder to ~/.gemini/skills/email-audit yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/email-audit:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/messagebird/bird-ai.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/email-audit &&
cp -R "$tmp/plugins/bird/skills/email-audit" ~/.copilot/skills/email-audit &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/email-audit inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/messagebird/bird-ai.git

Then copy bird-ai/plugins/bird/skills/email-audit into your agent's skills folder as email-audit. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Live DNS record audit
Resolves DMARC, SPF, DKIM, BIMI and MX records for a domain and validates each one.
Cross-record alignment check
Tests whether DMARC enforcement can produce aligned passes from SPF or DKIM.
SPF lookup limit detection
Counts recursive SPF includes and mechanisms to catch the ten-lookup permerror.
Severity-ranked findings
Sorts problems, warnings and passing checks so the most urgent issues come first.
Prioritized fix sequence
Orders remediation steps, moving DMARC from monitoring toward enforcement.
DKIM selector handling
Checks DKIM only when a selector is supplied and treats unknown selectors as unchecked.

Good for

  • Why is my email going to spam?
  • Check whether my domain can be spoofed
  • Audit SPF and DMARC for acme.com
  • Plan how to move DMARC from p=none to reject
  • Find out whether my SPF record is hitting the lookup limit
  • Check my DKIM setup using a known selector

Email audit FAQ

What does the skill need to run?

It needs the bird CLI with its email tools, or the email_tools_audit MCP tool, plus a domain name. The audit is DNS-only and needs no authentication.

Does Email audit send email or read messages?

No. It sends no mail and inspects no message. It only reads the records the domain publishes.

Why is DKIM sometimes reported as unknown?

DKIM selectors cannot be discovered from DNS, so DKIM is only checked when a selector is passed with --selector. An unchecked DKIM is not treated as missing.

When should Email audit be used instead of the record validators?

Use the audit for a live domain's overall setup. Use validate-dmarc or validate-bimi for a single record string before it is published.

How do I install Email audit in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/email-audit to use it in all your projects, or to .claude/skills/email-audit in one project. Or install the bird plugin, which includes it: /plugin marketplace add messagebird/bird-ai, then /plugin install bird@bird-ai.

Does Email audit run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Email audit?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Email audit?

The closest alternatives to Email audit are Implementing dmarc dkim spf email security, What an email reveals, Who owns this domain, Techstack security and Find hidden subdomains.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from messagebird/bird-ai

  1. Lets an agent operate the Bird platform through the bird CLI for messaging and account

    • Open source
    • 10 GitHub stars
    • Developer tools
  2. Lets an agent read and answer customer messages in Apple Messages for Business

    • Open source
    • 10 GitHub stars
    • Communication
  3. Lets an agent read an incoming Bird mailbox email and send a threaded reply

    • Open source
    • 10 GitHub stars
    • Communication