Skip to content
Agentmart
Submit a tool

chat-history

Internal skill to retrieve recent chat history.

Skill by aldorado

IndexedMIT
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/aldorado-chat-history

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Internal skill to retrieve recent chat history. Use when you need context from previous conversations - when the user references something you discussed before, or when "last time" or "earlier" is mentioned.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/chat-history

What's inside

Skill name
chat-history
Description
Internal skill to retrieve recent chat history. Use when you need context from previous conversations - when the user references something you discussed before, or when "last time" or "earlier" is mentioned.
License
MIT
Instructions
57 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Chat History Retrieval

Retrieve recent messages from our chat history across all sessions.

## Usage

Run this bash command to get the last N session files (most recent messages):

```bash
ls -t data/sessions/*.md 2>/dev/null | head -5 | while read f; do echo "=== $(basename "$f") ==="; cat "$f"; echo; done
```

Change `head -5` to get more or fewer session files.

For a quick look at just the most recent session:

```bash
ls -t data/sessions/*.md 2>/dev/null | head -1 | xargs cat
```

To search for a specific topic across all sessions:

```bash
grep -ril "search term" data/sessions/ | head -5 | while read f; do echo "=== $(basename "$f") ==="; cat "$f"; echo; done
```

## When to Use

- User says "remember when we talked about X" but you don't have it in context
- User references "last time" or "earlier today" or "yesterday"
- User asks "what did I say about X"
- You need to check what was discussed recently

## Output Format

Session files are markdown with timestamped messages:

```
[2026-01-31 00:57]
user: Hey you there
ubik: hey, what's up?

---

[2026-01-30 22:15]
user: ...
ubik: ...
```

## Notes

- All sessions are stored permanently in data/sessions/ as markdown files
- Files are named with timestamps, so `ls -t` gives newest first
- Messages include timestamps for context
- Search through the output for relevant keywords

From aldorado/visor, MIT.

More from aldorado/visor

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Feb 19, 2026 (8 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

Same skill elsewhere

Copies of this SKILL.md published by others; search shows only one of them.

More from aldorado

Cite this page

chat-history skill. Agent Mart. https://agentmart.dev/skills/aldorado-chat-history (last updated 2026-10-24)