analyze-email-headers

analyze-email-headers is a skill for Claude Code from bdmorin/the-no-shop. It costs 14 tokens per session (879 once invoked), scanned A, original, MIT.

A guide for checking email authentication headers. It examines SPF, DKIM, DMARC, and ARC, which are standards used to verify senders and protect against forged email.

In plain words
What is it for?
Use it to analyze email headers, report pass or fail results, compare sender domains, check alignment, and recommend fixes for authentication problems.
Why use it?
It makes authentication results and domain mismatches easier to interpret. It also highlights security concerns suggested by the headers.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Part of the fabric-analysis plugin — 34 skills shipped together

Good fit Use it to analyze email headers, report pass or fail results, compare sender domains, check alignment, and recommend fixes for authentication problems.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bdmorin/the-no-shop/analyze-email-headers
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 bdmorin/the-no-shop --skill analyze-email-headers
Clone the repo
git clone --depth 1 https://github.com/bdmorin/the-no-shop

Made for: Claude Code.

Or install fabric-analysis, the plugin that ships this one along with the rest of its 34 skills.

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 analyze-email-headers

README.md
[![agentmods](https://agentmods.dev/badge/skills/bdmorin/the-no-shop/analyze-email-headers/github.svg)](https://agentmods.dev/skills/bdmorin/the-no-shop/analyze-email-headers)
Your own site
<a href="https://agentmods.dev/skills/bdmorin/the-no-shop/analyze-email-headers"><img src="https://agentmods.dev/badge/skills/bdmorin/the-no-shop/analyze-email-headers/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 analyze-email-headers

Your own site · 80×15
<a href="https://agentmods.dev/skills/bdmorin/the-no-shop/analyze-email-headers"><img src="https://agentmods.dev/badge/skills/bdmorin/the-no-shop/analyze-email-headers.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 879 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.00014 $0.00879
Opus 5 $0.00007 $0.00439
Sonnet 5 $0.00003 $0.00176
Haiku 4.5 $0.00001 $0.00088

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

Security

Grade A, and why

analyze-email-headers 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 10d 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.

plugins/fabric-analysis/skills/analyze-email-headers/SKILL.md · 99 lines

How it starts

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

IDENTITY and PURPOSE

You are a cybersecurity and email expert.

Provide a detailed analysis of the SPF, DKIM, DMARC, and ARC results from the provided email headers. Analyze domain alignment for SPF and DKIM. Focus on validating each protocol's status based on the headers, discussing any potential security concerns and actionable recommendations.

OUTPUT

  • Always start with a summary showing only pass/fail status for SPF, DKIM, DMARC, and ARC.
  • Follow this with the header from address, envelope from, and domain alignment.
  • Follow this with detailed findings.

OUTPUT EXAMPLE

Email Header Analysis - (RFC 5322 From: address, NOT display name)

SUMMARY

Header Disposition
SPF Pass/Fail
DKIM Pass/Fail
DMARC Pass/Fail
ARC Pass/Fail/Not Present

Header From: RFC 5322 address, NOT display name, NOT just the word address Envelope From: RFC 5321 address, NOT display name, NOT just the word address Domains Align: Pass/Fail

DETAILS

SPF (Sender Policy Framework)

DKIM (DomainKeys Identified Mail)

DMARC (Domain-based Message Authentication, Reporting, and Conformance)

ARC (Authenticated Received Chain)

Security Concerns and Recommendations

Dig Commands

  • Here is a bash script I use to check mx, spf, dkim (M365, Google, other common defaults), and dmarc records. Output only the appropriate dig commands and URL open commands for user to copy and paste in to a terminal. Set DOMAIN environment variable to email from domain first. Use the exact DKIM checks provided, do not abstract to just "default."

check-dmarc.sh

#!/bin/bash

checks mx, spf, dkim (M365, Google, other common defaults), and dmarc records

DOMAIN="${1}"

echo -e "\nMX record:\n" dig +short mx $DOMAIN

echo -e "\nSPF record:\n" dig +short txt $DOMAIN | grep -i "spf"

echo -e "\nDKIM keys (M365 default selectors):\n" dig +short txt selector1._domainkey.$DOMAIN # m365 default selector dig +short txt selector2._domainkey.$DOMAIN # m365 default selector

Read the full file on GitHub · 99 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. 10d ago First seen · 99 lines · 14 tokens per session scan A ff50335950e5

Subscribe to this mod's changes

analyze-email-headers is a skill published in the GitHub repository bdmorin/the-no-shop (10 stars, last pushed 5mo ago), licensed MIT. It adds 14 tokens to every session and 879 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-08-31.

Related

Other skills, from other repositories

vast-ai-gpu-cloud

Safely inspect and operate Vast.ai marketplace instances with the vastai CLI, live offer data, and explicit approval before paid or destructive actions.

synthetic-sciences/openscience · 34 tokens

claude-code-migration

A guided tool for copying Claude Code settings and project configuration into sid-code. It checks what can be moved, asks before writing, and records what was transferred.

rushengzhou/sid-code · 100 tokens

code-review

A review process for a pull request, which is a proposed set of code changes. It examines the changed code and its surrounding files for bugs, security problems, design issues, and lint errors.

rushengzhou/sid-code · 49 tokens

security-audit

A security review skill for examining code changes in a pull request, which is a proposed set of changes awaiting approval. It reports issues such as injection, exposed secrets, unsafe authentication, weak cryptography, vulnerable dependencies, and infrastructure mistakes.

rushengzhou/sid-code · 85 tokens

ci-self-heal

A diagnostic guide for analysing failed continuous-integration checks. Continuous integration, or CI, automatically tests and builds code changes; this guide classifies failures and suggests fixes without editing the code.

rushengzhou/sid-code · 73 tokens

incident-rca

A diagnostic process for producing a structured root-cause analysis of a serious production incident, such as a P0 or P1 outage. It compares logs, measurements, request traces, code changes, and architecture decisions, and gives ranked explanations and actions.

rushengzhou/sid-code · 82 tokens