commit-history

List git commits linked to agent sessions filtered by branch or repository.

3|Updated Oct 25, 2025
One-click install
npx skills add https://github.com/Prismaibrowser/prismspace-web --skill commit-history-prismaibrowser
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: commit-history
Source: https://github.com/Prismaibrowser/prismspace-web/tree/main/.agents/skills/commit-history
Command: npx skills add https://github.com/Prismaibrowser/prismspace-web --skill commit-history-prismaibrowser

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? When an AI agent ships code across many sessions, it becomes hard to answer "what has the agent actually committed?" This Skill retrieves git commits that are linked to agent sessions, so you can audit agent work by branch, repository, or recency without digging through raw git logs. ## Core Features & Use Cases - Filtered Commit Listing: Query agent-linked commits by branch, repository, or a numeric limit (default 100, capped at 500). - Session Context: Each commit is rendered with its linked session id, observation count, and file count so you can trace work back to the agent run that produced it. - Safe REST Fallback: When the memory_commits tool is unavailable, the Skill builds a GET /agentmemory/commits request with URLSearchParams encoding so branch names containing ?, &, or # do not corrupt the query. - Use Case: Ask "show agent commits on main" to get a reverse-chronological list like 9a1b2c3 main 2026-06-07 "rotate refresh tokens" · session 7f3a9c2 (14 obs). ## Quick Start Ask the assistant to show the agent-linked commits on the main branch, optionally with a limit such as "commit-history 5".

Frequently Asked Questions about commit-history

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I list commits made by an AI agent?▼

Invoke the commit-history skill with an optional branch, repo, or limit argument, for example "show agent commits on main". It calls memory_commits and renders each commit with its short sha, branch, timestamp, message, and linked session id.

How do I filter git commits by branch in an agent session log?▼

Pass branch=<name> as an argument, such as "commit-history branch=main". The skill sends the branch filter to memory_commits and returns only commits on that branch, newest first.

What is the maximum number of commits I can retrieve at once?▼

The limit defaults to 100 and is capped at 500. A bare numeric token like "commit-history 5" is treated as the limit, and any value above 500 is clamped before the query runs.

Why does my branch filter return no agent commits?▼

An empty result means the filter matched nothing, not that work is missing. Drop the branch or repo filter to see all linked commits, or verify the branch name is spelled correctly.

How do I query the commits REST endpoint with special characters in branch names?▼

URL-encode every query value with URLSearchParams or encodeURIComponent before appending to GET /agentmemory/commits. A branch like feat/a&b must become feat%2Fa%26b so it does not break the query string.