commit-history
できること
このスキルは、エージェントのセッションが生んだコミットを一覧にします。ブランチやリポジトリで絞り込めます。各コミットには、それが生まれたセッションが示されます。
使う場面
- ✓エージェントが最近出荷したコミットを見たいとき。
- ✓1つのブランチやリポジトリに絞って、リンクされたコミットの一覧がほしいとき。
- ✓各コミットをセッションの詳細とともに表示したいとき。
スキルのリンク
https://github.com/rohitg00/agentmemory/blob/main/plugin/skills/commit-history/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“エージェントがmainブランチで行った最新の20件のコミットを、そのセッションとともに見せてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、あなたのブランチと件数を指定してコミット一覧のツールを呼び出し、結果を新しいものから順に表示します。各項目には、短いSHA、メッセージ、リンクされたセッション、観測の件数が含まれます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
The user wants a list of agent-linked commits. Filter args: $ARGUMENTS
Quick start
memory_commits { "branch": "main", "limit": 20 }
Expected output:
9a1b2c3 main 2026-06-07 "rotate refresh tokens" · session 7f3a9c2 (14 obs)
b21d004 main 2026-06-05 "rate limiter audit" · session b21d004 (9 obs)
Why
Render only the commits the tool returned, newest first. An empty result means the filter matched nothing, not that work is missing.
Workflow
- Parse
$ARGUMENTSforbranch=<name>,repo=<url-or-fragment>,limit=<n>. A bare numeric token is the limit. Defaults: no branch, no repo, limit 100, max 500. - Call
memory_commitswith the parsed filters. - Render reverse-chronologically: short sha, branch, authored timestamp, first
line of the message, linked session id(s) (first 8) with observation counts,
and file count when
filesis present. - Empty result: tell the user the filter matched nothing and suggest dropping the branch or repo filter.
Anti-patterns
WRONG (REST fallback): concatenate ?branch= + raw branch name, so a name with
?, &, or # corrupts the query string.
RIGHT: URL-encode every value with URLSearchParams/encodeURIComponent before
appending to GET /agentmemory/commits.
Checklist
- Filters parsed; bare number treated as limit; limit capped at 500.
- Output is reverse-chronological.
- Session ids and observation counts come straight from the response.
- REST fallback URL-encodes branch, repo, and limit.
See also
commit-context: drill into one commit's session.recall: search the observations behind a linked session.
Troubleshooting
See TROUBLESHOOTING.md if memory_commits is not available.
よくある質問
一覧が空の場合はどうなりますか?
絞り込みに一致するものがなかったという意味です。ブランチやリポジトリの絞り込みを外してみてください。
一度にいくつのコミットを表示できますか?
初期値は100件で、最大は500件です。
変更されたファイルも表示されますか?
はい。コミットのファイル情報が利用できる場合は表示されます。
詳細
作者による元の説明
List recent git commits linked to agent sessions, optionally filtered by branch or repo. Use when the user asks "show agent commits", "what has the agent shipped", "list linked commits", or wants commits with their session context.
repo: rohitg00/agentmemory
人気
- GitHubのスター
- 30k
- ランキング
- #9346
- ライセンス
- 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エージェントが、保存を一つずつ手作業で行わなくても、コーディングセッションの有用なメモを自動で取り込めるよう支援します。
似ているスキル
diffs
394k編集内容の実際の共有可能な差分を、手書きの要約ではなく、ビューアーのリンクや画像ファイルとして作成するようエージェントを支援します。
coding-agent
394kCodex、Claude Code、OpenCodeに大きめのコーディング作業をバックグラウンドのワーカーとして渡し、その進捗を確認するようエージェントを支援します。
gh-issues
394kGitHubのイシューを探し、取り組むものを選び、修正を含むプルリクエストを開くようエージェントを支援します。レビューコメントへの対応も含みます。