session-history
できること
このスキルは、現在のプロジェクトの最近の作業セッションを時系列で表示します。各セッションの状態、観測の件数、主要な決定を示します。
使う場面
- ✓前回何をしたかを尋ねたり、過去のセッションの一覧がほしいとき。
- ✓現在のプロジェクトの過去の作業の概要がほしいとき。
- ✓各過去のセッションの主要な決定を確認したいとき。
スキルのリンク
https://github.com/rohitg00/agentmemory/blob/main/plugin/skills/session-history/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“このプロジェクトで前回何をしましたか?セッションの履歴を見せてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、プロジェクトのセッションを新しい日付順に一覧にし、各セッションの短いID、開始時刻、状態、観測件数を示します。記録されていれば、ハイライトと主要な決定を追加します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
The user wants an overview of recent sessions on this project.
Quick start
memory_sessions { "project": "<current-project-id>", "limit": 20 }
Expected output:
7f3a9c2 · app · 2026-06-07 09:00 · completed · 14 obs
- decision: Rotate refresh tokens on every use
b21d004 · app · 2026-06-05 14:00 · completed · 9 obs
- code: limit.ts counts per-IP
Why
Only show sessions and observations the tool returned. An empty history is a real answer, never a cue to invent past work.
Workflow
- Use the exact project identifier recorded by the host and pass it to
memory_sessions, withagentIdwhen requested. If it is unknown, page through sessions usingnextCursorand match normalizedcwdby directory boundary before choosing the most recent 20. Never substitute another project. - Preserve scope filters on every page; stop at the requested count or a null
nextCursor. State when the displayed history is a partial page. Present in reverse chronological order: session id (first 8), project, start time, status. - For sessions with observations, show the key highlights (type plus title).
- Note the total observation count per session.
- When a session summary exists, surface its title and the key decisions.
Anti-patterns
WRONG: the tool returns two sessions, you describe "several sessions of steady progress" and add ones you remember from the conversation.
RIGHT: show exactly the two sessions returned, each with its real id, status, and observation count.
Checklist
- Every session shown came from the tool response.
- Project/directory scope was checked before selecting the displayed window.
- Order is reverse-chronological.
- Per-session observation counts match the response.
- No session or highlight was invented or merged.
See also
recap: same data grouped by date with highlights.handoff: jump straight into the most recent session.recall: search across all sessions by topic.
Troubleshooting
See TROUBLESHOOTING.md if memory_sessions is not available.
よくある質問
履歴がなければどうなりますか?
スキルはそのことを伝えます。過去のセッションを作り上げることはありません。
別のプロジェクトのセッションを表示することはありますか?
いいえ。作業中のプロジェクトに限り、別のプロジェクトで代用することはありません。
すべてのセッションを表示しますか?
たとえば直近の20件など、決まった数を表示し、一覧が一部であることを示します。
詳細
作者による元の説明
Show what happened in recent past sessions on this project as a clean timeline. Use when the user asks "what did we do last time", "session history", "past sessions", or wants an overview of previous work.
repo: rohitg00/agentmemory
人気
- GitHubのスター
- 30k
- ランキング
- #9354
- ライセンス
- Apache-2.0
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
agentmemory-agents
30kエージェントが、agentmemoryメモリサーバーをClaude Code、Cursor、Codexなどのコーディングツールに接続できるよう支援します。
agentmemory-architecture
30kエージェントが、agentmemoryが記憶を保存、検索、管理する仕組みを、記録から想起まで説明できるよう支援します。
agentmemory-config
30kエージェントが、ポート、設定、機能フラグを含め、agentmemoryメモリサーバーをセットアップし確認できるよう支援します。
agentmemory-hooks
30kエージェントが、保存を一つずつ手作業で行わなくても、コーディングセッションの有用なメモを自動で取り込めるよう支援します。
似ているスキル
add-model-provider
394k安全なセットアップコマンドで新しいAIモデルプロバイダーをOpenClawに接続し、APIキーを平文で残さず、ライブテストを行うようエージェントを支援します。
acp-router
394kClaude CodeやCursorなどのコーディングアシスタントに、OpenClaw経由でタスクを渡し、その作業がそのツール内で行われるようエージェントを支援します。
browser-automation
394kログイン、タブ、応答しなくなったページからの復旧を含め、Webページを段階的に操作するようエージェントに教えます。