PlugWiki

commit-history Skill (agentmemory): Agent-Linked Commits

Lists the git commits your agents made, with the session behind each one, for anyone asking what the agent has shipped.

Installs
14K
on skills.sh
Stars
30.1K
on GitHub
Files
2
besides SKILL.md
Updated
Oct 2026
last repo commit

/commit-history shows recent commits that agentmemory linked to agent sessions, newest first. Each line has the short SHA, branch, date, first line of the message, the session ID and its observation count.

You can filter with branch=, repo= and limit=, or give a bare number as the limit. The default limit is 100 and the maximum is 500. It needs the agentmemory server, and an empty result means the filter matched nothing, not that work is missing.

Good for

  • Developers reviewing what an agent committed this week
  • Team leads auditing agent work by branch or repo
  • Anyone using agentmemory who wants commits tied to sessions

Install commit-history

Claude Code

  1. 1

    Copy this prompt.

    Install the commit-history skill in Claude Code. Run this command:
    
    npx -y @agentmemory/agentmemory@latest
    
    Then check that it loaded and tell me how to use it.
  2. 2

    Paste it into Claude Code. It shows the change and asks before running it.

Requires Node.js 20 or newer.

This skill only works when the memory server is running and the agentmemory MCP tools are connected. The plugin route is the one the README recommends for Claude Code. The skills-only route installs all 17 skills but does not connect the MCP tools by itself. Pick one route, not both.

From the project README. Source.

What's in the skill

When it loads

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.

Sections in SKILL.md

  1. Quick start
  2. Why
  3. Workflow
  4. Anti-patterns
  5. Checklist
  6. See also
  7. Troubleshooting

Key facts

Author
rohitg00
Installs on skills.sh
13,979 as of 2026-11-02
Last repo commit
2026-10-29

What it includes

  • branch=, repo=, limit=, or a bare number

    A bare number is the limit. Defaults are no branch, no repo and a limit of 100, capped at 500.

    Try: “/commit-history branch=main limit=20”

    Parse filters

  • Fetches agent-linked commits with their filters

    Returns the commits agentmemory linked to sessions. If the MCP tool is missing, SKILL.md describes a REST fallback to GET /agentmemory/commits that URL-encodes every value.

    Network · memory_commits

  • Newest first, with session IDs and observation counts

    Short SHA, branch, authored time, first message line, linked session IDs (first 8 characters) with observation counts, and file count when present.

    Render the list

  • Says the filter matched nothing and suggests loosening it

    The skill suggests dropping the branch or repo filter.

    Empty result

From the official docs

Permissions

Medium risk

The skill only asks the memory server for a commit list, but the agentmemory plugin behind it records your sessions through hooks. Check what is stored in the viewer.

What it can do

  • Read your data
  • Create and change things
  • Delete things
  • Read-only mode

Watch out for

  • The plugin records your sessions through hooks

    The README lists captured data: user prompts (privacy-filtered), tool name, input and output, errors, and the assistant reply of each turn. Review what is stored in the viewer, and use the forget skill to remove entries. github.com

  • Installing starts a local server and runs npm code

    The setup command pulls the latest package with npx and starts a background server. On macOS and Linux it also needs curl, sh and tar for automatic runtime setup. github.com

  • Saved memories flow back into later sessions

    plugin.json says the plugin injects context into future sessions, and the README says automatic injection through the shared hooks is opt-in. Recalled text is read by the assistant, so avoid saving text you do not trust. github.com

Security advisories

No published security advisories as of Nov 2, 2026.

Technical details
Turning on read-onlyNo read-only switch is documented for these skills.
Talks toThe server and viewer bind to loopback (127.0.0.1) by default. Compression or embeddings with a provider you configure use that provider. Local semantic search downloads an embedding model on first use if you set EMBEDDING_PROVIDER=local
Sign-in and keysA local server creates a random secret at ~/.agentmemory/secret with mode 0600 and the bundled clients read it. A remote server needs AGENTMEMORY_SECRET in your environment.
Data retentionMemories are stored on your machine in the agentmemory data folder until you delete them. The README says API keys, bearer tokens and <private> tags are stripped before storage.
Scopes
  • Reads the list of agent-linked commits from the agentmemory server

  • The Claude Code plugin registers 12 hooks that run node scripts on events such as every prompt, every tool call and the end of each turn

  • The plugin ships a .mcp.json that starts a node bridge to the local memory server

  • Setup runs npx -y @agentmemory/agentmemory@latest, writes config to ~/.agentmemory and starts a server on localhost:3111

Questions

What does /commit-history do?

It lists recent git commits that agentmemory linked to agent sessions, with the session ID and observation count for each. You can filter by branch and repo.

How do I install it?

Use the install box above. You need the agentmemory server running and its MCP tools connected.

How many commits does it show?

100 by default and 500 at most. Pass limit=20 or just a number to ask for fewer.

Why is the list empty?

The filter matched no linked commits. SKILL.md says an empty result means that, not that work is missing. Try dropping branch= or repo=.

How is it different from commit-context?

commit-history lists many linked commits. commit-context takes one file, function or line and explains the session behind its commit.

Is it safe?

The skill bundles no scripts and asks the memory server for a list of commits. The agentmemory plugin around it installs hooks and runs a local server, which the permissions section covers.

Information

updated Nov 2, 2026

Folder
plugin/skills/commit-history

rohitg00/agentmemoryskills.sh

Sources

Docs, issue trackers and discussions this page is built from.

Show all 7
  1. rohitg00/agentmemory README · github.com
  2. skills CLI commands · github.com
  3. commit-history SKILL.md · github.com
  4. plugin hooks.json · github.com
  5. plugin .mcp.json · github.com
  6. plugin.json · github.com
  7. Shared TROUBLESHOOTING.md · github.com

Updated Nov 2, 2026.