# Get Chat History

> Get current chat history including user messages, your replies, and system task notifications. When user says 'check previous messages' or 'what did I just send', use this tool.

- Skill: `gabrielmoreira/get-chat-history` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add gabrielmoreira/get-chat-history`
- Raw SKILL.md: https://api.skillmd.com/api/skills/gabrielmoreira/get-chat-history/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Productivity
- Author: gabrielmoreira (https://skillmd.com/u/gabrielmoreira)
- Updated: 2026-09-21
- Page: https://skillmd.com/skills/gabrielmoreira/get-chat-history

---


# Get Chat History

获取当前聊天的历史消息记录。

## Parameters

| 参数 | 类型 | 必填 | 说明 |
|-----|------|-----|------|
| limit | integer | 否 | 获取最近多少条消息，默认 20 |
| include_system | boolean | 否 | 是否包含系统消息（如任务通知），默认 True |

## Returns

- 用户发送的消息
- 你之前的回复
- 系统任务发送的通知

## When to Use

- 用户说"看看之前的消息"
- 用户说"刚才发的什么"
- 需要回顾对话上下文

## Related Skills

- `deliver-artifacts`: 发送附件给用户


