AI AGENT ADDONS

Commit Context

rohitg00/agentmemory
Git & Pull Requests
4,805installs

You can trace any piece of code back to the agent session that created it. The commit-context skill uses git blame and a memory lookup to find the commit and the linked session. It answers questions like why a certain line exists or what the agent was doing when that code changed.

When you point to a file, function, or line number, the skill first finds the commit SHA using git commands. Then it looks up that commit in your agent's memory. The result shows the commit details and any linked agent session with observations.

If no session exists for a commit, the skill reports this honestly. It never invents intent or makes up information. This helps you understand the true history behind your codebase.

Add Commit Context skill to your workflow

Global

mkdir -p ~/.claude/skills/commit-context

Project

mkdir -p .claude/skills/commit-context

Source Repository

Stars
24,204
Forks
1,988
Watchers
24,204
License
Apache-2.0
Last Push
24 days ago
Created
4 months ago