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.
npx skills add saajunaid/caddis-plugin --skill graph-emailgit clone --depth 1 https://github.com/saajunaid/caddis-pluginWrote 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.
[](https://agentmods.dev/skills/saajunaid/caddis-plugin/graph-email)<a href="https://agentmods.dev/skills/saajunaid/caddis-plugin/graph-email"><img src="https://agentmods.dev/badge/skills/saajunaid/caddis-plugin/graph-email/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.
<a href="https://agentmods.dev/skills/saajunaid/caddis-plugin/graph-email"><img src="https://agentmods.dev/badge/skills/saajunaid/caddis-plugin/graph-email.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00021 | $0.00885 |
| Opus 5.5 | $0.00008 | $0.00354 |
| Sonnet 5.5 | $0.00004 | $0.00177 |
| Haiku 4.5 | $0.00002 | $0.00089 |
Grade A, and why
graph-email 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 26d 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.
Copies of this mod
1 near-identical copy found in the catalogue:
- send-email — 89% identical, 35 lines differ
How it starts
The opening of the file, as written. The whole thing — 54 lines — stays where its author put it; the contents beside it link to each section on GitHub.
graph-email
Sends one email. The provider is graph (Microsoft Graph sendMail, client credentials) or smtp.
The body is a Markdown file. The script turns it into simple HTML. It never prints a secret or a token.
One-time setup (per machine)
- Copy
email.toml.examplefrom this skill folder to~/.caddis/email.toml. - Set
provider,senderandenv_file. For SMTP also set the[smtp]table. - Put the secrets in the env file, not in the config file:
- graph: three keys. The default names are
ALERT_GRAPH_TENANT_ID,ALERT_GRAPH_CLIENT_ID,ALERT_GRAPH_CLIENT_SECRET. Change the names in the[graph]table if your file uses other names. - smtp: one key. The default name is
EMAIL_SMTP_PASSWORD. Change it withpassword_key.
- graph: three keys. The default names are
- Check the setup. This sends nothing and prints no secret:
python -I scripts/send_email.py --check
Every setting can be overridden. The order is: command-line flag, then environment variable, then the config file.
The variables are CADDIS_EMAIL_PROVIDER, CADDIS_EMAIL_SENDER, CADDIS_EMAIL_ENV_FILE, CADDIS_EMAIL_CONFIG
and CADDIS_EMAIL_SMTP_HOST, _PORT, _SECURITY, _USERNAME, _TIMEOUT. The flags are --provider, --sender,
--env-file, --config, --smtp-host, --smtp-port, --smtp-security (starttls, ssl or none),
--smtp-username, --smtp-timeout. The old names GRAPH_EMAIL_ENV_FILE and GRAPH_EMAIL_SENDER still work.
Secrets can also be set as process environment variables. They win over the env file.
With smtp security none, the script refuses a username or password and exits with code 2. Use starttls or ssl.
For a local test relay only, set allow_insecure_auth = true (a boolean) in the [smtp] table.
Steps
- Write the email as a Markdown file in the project's
comms/folder (a copy stays in the repo).- Put
<!-- email-start -->before the greeting and<!-- email-end -->after the sign-off. Only that part is sent. - Write plain, short sentences. No em dashes, no arrows, no emoji, no check marks.
- Put
- Subject line:
caddis-<app-name> <short subject>, for examplecaddis-myapp Data request for the weekly report. - Dry run. It sends nothing, needs no credentials and writes
<file>.preview.html:python -I scripts/send_email.py --dry-run --to [email protected] --subject t --body-file <file.md>Read the preview, then delete it. - Send:
python -I scripts/send_email.py --to <address> --subject '<subject>' --body-file <file.md> [--attach <file> ...]--tocan repeat. Graph HTTP 202 means Graph accepted the mail. An SMTP "accepted" means the server took it. Neither proves the inbox received it. - Tell the owner what was sent, to whom, and the subject.
What ships with it
2 files 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.
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.
- 26d ago First seen · 54 lines · 21 tokens per session scan A 3e5604d94a57
graph-email is a skill published in the GitHub repository saajunaid/caddis-plugin (0 stars, last pushed 3d ago), licensed MIT. It adds 21 tokens to every session and 885 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-11-04.
graph-email compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| graph-emailsaajunaid/caddis-plugin | Skill | 0 | 3d ago | MIT | A | 21 | Claude Code, Codex |
| workflow-helpervixues/LeAgent | Skill | 248 | 3mo ago | Apache-2.0 | A | 41 | Claude Code |
| agent-user-toolsruvnet/ruflo | Skill | 83k | today | MIT | A | 16 | Claude Code |
| kb-setupBlackBeltTechnology/pi-agent-dashboard | Skill | 357 | yesterday | MIT | A | 89 | Claude Code, Codex |
| goga-review-planqarium/goga | Skill | 46 | 8d ago | BSD-3-Clause | A | 11 | Claude Code, Codex |
| goga-define-challengeqarium/goga | Skill | 46 | 8d ago | BSD-3-Clause | A | 6 | Claude Code, Codex |
| skill-creatoreigent-ai/eigent | Skill | 16k | yesterday | Apache-2.0 | A | 35 | Claude Code, Codex |