Skip to content
Back to skills

Chat History

ASecurity

Search the user's earlier chats, everything said, decided and done in them (commands and their output, tasks), and link the one you drew on. For when the user asks about something from before (what was picked, a command that worked, where they left off), even without naming a chat, or when what they ask for depends on details settled in another chat.

  • 6 stars
  • 0 votes
  • 1 copy
  • 3 views
  • Added November 9, 2026
tools

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 9, 2026

npx -y skills add instrument-org/instrument --skill chat-history --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Chat History?

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

Security grade badge for Chat History
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/instrument-org-chat-history/badge)](https://www.skillsdirectory.com/skills/instrument-org-chat-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: chat-history
description: Search the user's earlier chats, everything said, decided and done in them (commands and their output, tasks), and link the one you drew on. For when the user asks about something from before (what was picked, a command that worked, where they left off), even without naming a chat, or when what they ask for depends on details settled in another chat.
---

# Chat history

Every chat's records, this one's included, are in `$INSTRUMENT_CHATS`, read-only: a folder per chat, named by its id. `records.md` beside this file says what each file and record in them is.

- These records are only what was said in chats. What the user wrote down themselves is in their files, so a chat that leaves the question open is a reason to search the folders your context lists too.
- Search them with your own tools. `rg -il '<words>' "$INSTRUMENT_CHATS"` names the chats a word is in, and the folder each file is in is that chat's id.
- A record is one line, often a long one: `rg -o '.{0,120}<words>.{0,120}'` shows what is around a match, and `jq` reads a record whole.
- A message whose `role` is `session-context` is what the app told the agent at the start of every chat, so a match there says nothing about the conversation.
- A chat's title is in its `settings.<device>.jsonl`. The newest chats are first in `ls -t "$INSTRUMENT_CHATS"`.
- When an answer comes from another chat, link that chat in the reply, as `[the user's words for it](instrument://chat/<id>)`, so the user can open it.
- Another chat's work is that chat's to steer: read it, and change nothing of it.

Files in this skill

  • SKILL.md1.6 KB
  • records.md3.2 KB

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 tools →

Comments

Loading comments…

Newsletter

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