Skip to content
Back to skills

History

ASecurity

Research past messages and shared files in the current iMessage conversation.

  • 24 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 26, 2026
ai-agentsgoapi

Works with

  • api
  • mcp

Security analysis

A100/100

Scanned December 1, 2026

npx -y skills add Deibler/edmund-harness --skill history --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of History?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for History
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/deibler-history/badge)](https://www.skillsdirectory.com/skills/deibler-history)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: history
description: Research past messages and shared files in the current iMessage conversation.
when: looking up past messages or shared files in this conversation
---

# history

The edmund-harness MCP server exposes three read-only tools scoped to the current conversation (group chat, or DM contact including any aliased handles):

## When to use

- User references something "earlier," "yesterday," "that photo," "what I said about X"
- You need to ground a reply in concrete prior context (not just your working memory)
- A group question needs specific recall ("who suggested Friday?")
- User sends a follow-up about a file or image they shared previously

## Tools

### `search_history(query?, sender?, since?, until?, limit?)`
Substring search + metadata filters. Returns `msg_guid  ISO-time  Sender: text`. Use a tight `limit` (default 50) to keep results readable.

```
search_history(query="Friday plans")
search_history(sender="+15550100001", since="2026-04-15")
search_history(since="2026-04-18T00:00:00Z", limit=30)
```

### `get_message(msg_guid)`
Full text + attachment paths for a single message from the search results. Use when the preview was truncated or you need attachment paths.

### `list_attachments(mime_prefix?, since?, sender?, limit?)`
List images/audio/files shared in this chat. Returns absolute paths. Pair with the built-in `Read` tool to actually view an image.

```
list_attachments(mime_prefix="image/", limit=20)
list_attachments(since="2026-04-01")
```

## Patterns

**User: "pull up the photo riley sent last week"**
1. `list_attachments(mime_prefix="image/", sender="<riley's handle>", since="<7 days ago>")`
2. `Read` the file path
3. Reply based on what you saw

**User: "what did jordan say about the api?"**
1. `search_history(query="api", sender="+15550100001", limit=10)`
2. Summarize the hits in the reply

**Don't over-fetch.** If your working memory (from `--resume`) already has the answer, skip the tool. Only search when you're missing context.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.