Trace a file, function, or line back to the agent session that produced its current commit. Use when the user asks "why is this code here", "what was the agent doing when this changed", "who wrote this", or wants context on a specific location in the codebase.
安装
npx skills add rohitg00/agentmemory --skill commit-contextnpx skills add rohitg00/agentmemory --skill commit-context -a claude-code -gnpx skills add rohitg00/agentmemory --skill commit-context -a codex -ggemini skills install https://github.com/rohitg00/agentmemory.git --path plugin/skills/commit-contextgh skill install rohitg00/agentmemory commit-contextgit clone --depth 1 https://github.com/rohitg00/agentmemory /tmp/rohitg00__agentmemory
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/rohitg00__agentmemory/plugin/skills/commit-context ~/.claude/skills/commit-context # Claude Code
cp -R /tmp/rohitg00__agentmemory/plugin/skills/commit-context ~/.agents/skills/commit-context # Codex, Cursor, Gemini CLI, Copilot, OpenCode