conversation-historian

conversation-historian is an agent for Claude Code from MSApps-Mobile/claude-plugins. It costs 92 tokens per session (547 once invoked), scanned A, original, MIT.

A helper that finds and summarizes recent WhatsApp messages with a specific contact.

In plain words
What is it for?
Use it to review recent exchanges, identify the last message, and produce a short summary of the conversation.
Why use it?
It provides conversation context before writing a reply or follow-up, reducing the chance of missing what was previously discussed.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; names the NotebookEdit tool.

Part of the whatsapp-mcp plugin — 2 skills, 2 agents shipped together

Good fit Use it to review recent exchanges, identify the last message, and produce a short summary of the conversation.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/msapps-mobile/claude-plugins/conversation-historian
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.

Clone the repo
git clone --depth 1 https://github.com/MSApps-Mobile/claude-plugins

Made for: Claude Code.

Or install whatsapp-mcp, the plugin that ships this one along with the rest of its 2 skills, 2 agents.

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 conversation-historian

README.md
[![agentmods](https://agentmods.dev/badge/agents/msapps-mobile/claude-plugins/conversation-historian/github.svg)](https://agentmods.dev/agents/msapps-mobile/claude-plugins/conversation-historian)
Your own site
<a href="https://agentmods.dev/agents/msapps-mobile/claude-plugins/conversation-historian"><img src="https://agentmods.dev/badge/agents/msapps-mobile/claude-plugins/conversation-historian/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 conversation-historian

Your own site · 80×15
<a href="https://agentmods.dev/agents/msapps-mobile/claude-plugins/conversation-historian"><img src="https://agentmods.dev/badge/agents/msapps-mobile/claude-plugins/conversation-historian.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 92 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 547 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.00092 $0.00547
Opus 5.5 $0.00037 $0.00219
Sonnet 5.5 $0.00018 $0.00109
Haiku 4.5 $0.00009 $0.00055

Measured 1mo ago against content hash 53edab20b071, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

conversation-historian 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/whatsapp-mcp/agents/conversation-historian.md · 61 lines

What it actually says

You are a WhatsApp conversation historian. You read message history and return a brief summary.

Workflow

Step 1 — Resolve JID

If the input is a name (not a JID), query the whatsmeow DB first:

sqlite3 ~/whatsapp-mcp/whatsapp-bridge/store/whatsapp.db \
  "SELECT their_jid, full_name FROM whatsmeow_contacts WHERE full_name LIKE '%NAME%' LIMIT 3;"

Step 2 — Pull Message History

Query the native WhatsApp DB for the last 20 messages:

sqlite3 ~/Library/Group\ Containers/group.net.whatsapp.WhatsApp.shared/ChatStorage.sqlite \
  "SELECT ZFROMJID, ZTEXT, datetime(ZMESSAGEDATE + 978307200, 'unixepoch', 'localtime') as ts, ZISFROMME \
   FROM ZWAMESSAGE \
   WHERE ZCHATSESSION IN (SELECT Z_PK FROM ZWACHATSESSION WHERE ZCONTACTJID='JID') \
   AND ZTEXT IS NOT NULL \
   ORDER BY ZMESSAGEDATE DESC LIMIT 20;" 2>/dev/null

Step 3 — Return Summary

Output ONLY this structured summary:


Last conversation with [Name] ([JID]) Last message: [date]

Recent exchange (newest first):

  • [date] [Me/Them]: [message text — truncate at 100 chars]
  • [date] [Me/Them]: [message text] (up to 10 most recent messages)

Summary: [2-3 sentence summary of conversation context, tone, and any pending items] Status: [Cold / Warm / Active / Waiting for reply]


Rules

  • Never send messages — you are read-only.
  • Do not open WhatsApp Web or any browser.
  • If the DB is empty or inaccessible, say so clearly and suggest the user check manually.
  • Truncate long messages at 100 characters with "…"
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 · 61 lines · 92 tokens per session scan A 53edab20b071

Subscribe to this mod's changes

conversation-historian is an agent published in the GitHub repository MSApps-Mobile/claude-plugins (9 stars, last pushed today), licensed MIT. It adds 92 tokens to every session and 547 once invoked, about $0.0004 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-09-13.

Related

Other agents, from other repositories

video-cutter-agent

Cuts a video at sentence-aligned silence-midpoint boundaries using the pickcuts algorithm. Takes target cut points, word timings, and a banned-opener list. Returns the cut clips plus a QA report (head/tail re-transcription verification).

naveedharri/benai-skills · 55 tokens

unit-test-writer

Use this agent when you need to write comprehensive unit tests for Go code, particularly for functions, methods, or components that require thorough testing coverage. Examples: Context: User has just written a new function and wants unit tests for it. user: 'I just wrote this function to validate email addresses, can…

stacklok/toolhive-registry-server · 0 tokens

arckit-gov-landscape

Use this agent when the user wants to understand what UK government has built in a domain — mapping organisations, technology patterns, standards, and maturity levels. Examples: Context: User wants to understand the government landscape for a domain user: "/arckit:gov-landscape Map the government landscape for health…

tractorjuice/arc-kit · 320 tokens

hotspot-analyst

Analyzes hotspot data to identify high-risk files where complexity meets frequent changes.

panbanda/omen · 21 tokens

review-rails

Rails conventions and architecture reviewer for PR audits. Spawned by /rpi:review-pr as subagenttype rpi:review-rails with artifact paths. Ensures existing framework features are used, not reinvented — reads changed files in full and compares them against siblings and the framework-native form.

hoblin/claude-ruby-marketplace · 64 tokens

scout

INTERNAL evidence-gatherer dispatched by the decision-variance and context-creation skills. Scans an assigned code scope and reports evidence of architectural decisions — file paths and line numbers only. Never dispatch directly.

arbiterForge/codeArbiter · 45 tokens