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.5 $0.00006 $0.00352
Sonnet 5.5 $0.00003 $0.00176
Haiku 4.5 $0.00001 $0.00088

Measured 1mo ago against content hash ff50335950e5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 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.

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. 1mo 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 7mo ago), licensed MIT. It adds 14 tokens to every session and 879 once invoked, about $0.0001 per session on Opus 5.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

imaging-data-commons

Query and download public cancer imaging data from NCI Imaging Data Commons using idc-index. Use for accessing large-scale radiology (CT, MR, PET) and pathology datasets for AI training or research. No authentication required. Query by metadata, visualize in browser, check licenses.

synthetic-sciences/openscience · 62 tokens

flow-cytometry-analysis

Complete flow cytometry analysis pipeline. FCS file handling, compensation, manual/automated gating, immunophenotyping, CFSE proliferation analysis, cell cycle analysis (Dean-Jett-Fox), and apoptosis assays. Extends flowio with analytical workflows. For raw FCS parsing only use flowio.

synthetic-sciences/openscience · 67 tokens

molecular-cloning

Molecular cloning simulation and design. PCR amplicon prediction, restriction enzyme digestion, Golden Gate and Gibson assembly simulation, primer design, CRISPR sgRNA design, and plasmid annotation. For protein-level sequence analysis use biopython or esm; for database lookups use gene-database or ensembl-database.

synthetic-sciences/openscience · 70 tokens

datamol

Pythonic wrapper around RDKit with simplified interface and sensible defaults. Preferred for standard drug discovery including SMILES parsing, standardization, descriptors, fingerprints, clustering, 3D conformers, parallel processing. Returns native rdkit.Chem.Mol objects. For advanced control or custom parameters…

synthetic-sciences/openscience · 67 tokens

shap

Model interpretability and explainability using SHAP (SHapley Additive exPlanations). Use this skill when explaining machine learning model predictions, computing feature importance, generating SHAP plots (waterfall, beeswarm, bar, scatter, force, heatmap), debugging models, analyzing model bias or fairness, comparing…

synthetic-sciences/openscience · 109 tokens