contacts

contacts is a command for coding agents from punt-labs/beadle. It costs 4 tokens per session (488 once invoked), scanned A, original, MIT.

A command for managing an address book used by the email system.

In plain words
What is it for?
Use it to list, add, remove, or search contacts, including their email addresses, aliases, permissions, and optional GPG key IDs.
Why use it?
It lets you use saved names or aliases instead of repeatedly looking up and typing email addresses.

Command

Part of the beadle-dev plugin — 5 commands, 2 hooks shipped together

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.

agentmods
npx agentmods add commands/punt-labs/beadle/contacts
Clone the repo
git clone --depth 1 https://github.com/punt-labs/beadle

Or install beadle-dev, the plugin that ships this one along with the rest of its 5 commands, 2 hooks.

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 contacts

README.md
[![agentmods](https://agentmods.dev/badge/commands/punt-labs/beadle/contacts.svg)](https://agentmods.dev/commands/punt-labs/beadle/contacts)
Your own site
<a href="https://agentmods.dev/commands/punt-labs/beadle/contacts"><img src="https://agentmods.dev/badge/commands/punt-labs/beadle/contacts.svg" alt="Measured on agentmods" height="20"></a>
Per session 4 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 488 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00004 $0.00488
Opus 5 $0.00002 $0.00244
Sonnet 5 $0.00001 $0.00098
Haiku 4.5 $0.00000 $0.00049

Measured 4d ago against content hash cc577b834739, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

contacts 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 4d 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.

plugin/commands/contacts.md · 53 lines

What it actually says

Input

Arguments: $ARGUMENTS

Task

Manage the beadle address book. Contacts enable name-based addressing — /mail alice resolves to the stored email without an extra lookup.

Argument routing

  • list or no argument — list all contacts
  • add — add a new contact (prompt for name and email)
  • remove <name> — remove a contact by name
  • find <query> — search by name, alias, or email

List (default)

Call list_contacts. Display results as a compact table: name, email, aliases. If empty, say "No contacts. Use /contacts add to add one."

Add

If arguments include name, email, and optionally permissions after add (e.g., /contacts add Alice [email protected] rw-), use them directly. Otherwise prompt for:

  1. Name (required, unique)
  2. Email (required — may be a glob pattern like *@github.com for domain-wide r-- or --- only)
  3. Permissions (optional, default ---; format: rwx, rw-, r--, ---)
  4. Aliases (optional, comma-separated)
  5. GPG key ID (optional)

Call add_contact with the collected fields.

Remove

Extract the name from arguments after remove. Call remove_contact with the name. Confirm removal.

Find

Extract the query from arguments after find. Call find_contact with the query. Display matches as a compact table. If no matches, say "No contacts matching <query>."

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. 4d ago First seen · 53 lines · 4 tokens per session scan A cc577b834739

Subscribe to this mod's changes

contacts is a command published in the GitHub repository punt-labs/beadle (3 stars, last pushed 4d ago), licensed MIT. It adds 4 tokens to every session and 488 once invoked, about $0.0000 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.