Git Notes Memory
sundial-org/awesome-openclaw-skills
Git-Notes-Based knowledge graph memory system. An agent skill from sundial-org/awesome-openclaw-skills.
Traces a file, function or line back to the agent session behind its current commit, using git blame and a memory lookup, and reports only what the records show.
$ npx skills add rohitg00/agentmemory --skill commit-context -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install rohitg00/agentmemory commit-context --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/rohitg00/agentmemory.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugin/skills/commit-context .claude/skills/commit-context && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "commit-context" agent skill from https://github.com/rohitg00/agentmemory/tree/main/plugin/skills/commit-context into .claude/skills/commit-context/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "commit-context", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/rohitg00/agentmemory/tree/main/plugin/skills/commit-contextType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add rohitg00/agentmemory --skill commit-context -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install rohitg00/agentmemory commit-context --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/rohitg00/agentmemory.git skills-src && mkdir -p .agents/skills && cp -r skills-src/plugin/skills/commit-context .agents/skills/commit-context && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "commit-context" agent skill from https://github.com/rohitg00/agentmemory/tree/main/plugin/skills/commit-context into .agents/skills/commit-context/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "commit-context", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add rohitg00/agentmemory --skill commit-context -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install rohitg00/agentmemory commit-context --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/rohitg00/agentmemory.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/plugin/skills/commit-context .cursor/skills/commit-context && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "commit-context" agent skill from https://github.com/rohitg00/agentmemory/tree/main/plugin/skills/commit-context into .cursor/skills/commit-context/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "commit-context", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/rohitg00/agentmemory.git --path plugin/skills/commit-context--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add rohitg00/agentmemory --skill commit-context -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install rohitg00/agentmemory commit-context --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/rohitg00/agentmemory.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/plugin/skills/commit-context .gemini/skills/commit-context && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "commit-context" agent skill from https://github.com/rohitg00/agentmemory/tree/main/plugin/skills/commit-context into .gemini/skills/commit-context/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "commit-context", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install rohitg00/agentmemory commit-contextInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add rohitg00/agentmemory --skill commit-context -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/rohitg00/agentmemory.git skills-src && mkdir -p .github/skills && cp -r skills-src/plugin/skills/commit-context .github/skills/commit-context && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "commit-context" agent skill from https://github.com/rohitg00/agentmemory/tree/main/plugin/skills/commit-context into .github/skills/commit-context/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "commit-context", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add rohitg00/agentmemory --skill commit-context -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install rohitg00/agentmemory commit-context --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/rohitg00/agentmemory.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/plugin/skills/commit-context .opencode/skills/commit-context && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "commit-context" agent skill from https://github.com/rohitg00/agentmemory/tree/main/plugin/skills/commit-context into .opencode/skills/commit-context/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "commit-context", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
commit-contextTraces a file, function or line back to the agent session behind its current commit, using git blame and a memory lookup, and reports only what the records show.
The agent first finds the commit SHA: `git blame -L` for a line range, `git log -L` for a function, or `git log -n 1` for a bare file path. It then calls `memory_commit_lookup` with the full SHA and presents the commit (sha, short sha, branch, author, message), any linked sessions (id, project, start and end, observation count, summary) and the high-importance observations from `memory_recall` when that tool is available.
The skill is strict about not inventing intent. When the lookup returns `commit: null`, the commit predates session linking, and the agent says so and describes only what `git show` reveals. Its checklist requires the SHA to come from git, session details to quote the lookup verbatim and no intent to be claimed beyond the recorded observations. An examples file is included, and `commit-history` and `recall` are named as follow-ups.
3 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 007a1a7. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
gitFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Commit Context Lookup loads about 522 tokens when it runs. Until then it costs about 69 tokens; SKILL.md has 196 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from rohitg00/agentmemory at commit 007a1a7, republished under its Apache-2.0 licence (© rohitg00). 196 words, ~522 tokens.
.claude/skills/commit-context/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.The user wants commit context for: $ARGUMENTS
git blame -L 40,52 src/auth/refresh.ts # -> SHA 9a1b2c3dmemory_commit_lookup { "sha": "9a1b2c3d4e5f60718293a4b5c6d7e8f901234567" }Expected output:
9a1b2c3 on main by dev: "rotate refresh tokens"
Linked session 7f3a9c2 "Auth refresh rework", 14 obs.Report only what git and the lookup return. When the lookup gives commit: null,
the commit predates session linking; do not invent intent.
git blame -L <start>,<end> <file> for a line range;
git log -L :<function>:<file> for a function; git log -n 1 -- <file> for a
bare path.memory_commit_lookup { "sha": "<full-sha>" }.memory_recall when available.WRONG: lookup returns { "commit": null }, you narrate "the agent was
refactoring auth" from the diff alone.
RIGHT: "This commit predates session linking, so there is no recorded agent
session. From git show: it changed token rotation in refresh.ts."
commit: null reported as "predates linking", no fabricated session.commit-history: list many agent-linked commits at once.recall: dig deeper into the linked session's observations.See ../_shared/TROUBLESHOOTING.md if memory_commit_lookup is not available.
© rohitg00, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file in plugin/skills/commit-context of rohitg00/agentmemory.
Open the folder on GitHubat commit 007a1a7
Commit Context Lookup next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Commit Context Lookup this skillrohitg00/agentmemory | 29k | — | ~522 | Automated safety check: Pass | Apache-2.0 | |
| Git Notes Memorysundial-org/awesome-openclaw-skills | 663 | — | ~2.7k | Automated safety check: Pass | None | |
| Gccdavila7/claude-code-templates | 32k | — | ~1.6k | Automated safety check: Pass | MIT | |
| Triple Memorysundial-org/awesome-openclaw-skills | 663 | — | ~972 | Automated safety check: Pass | None | |
| Elite Longterm MemoryaAAaqwq/AGI-Super-Team | 105 | 2 repos | ~2.9k | Automated safety check: Pass | MIT | |
| Git Worktree IsolationjnMetaCode/superpowers-zh | 8.3k | 1 repos | ~982 | Automated safety check: Pass | MIT |
sundial-org/awesome-openclaw-skills
Git-Notes-Based knowledge graph memory system. An agent skill from sundial-org/awesome-openclaw-skills.
davila7/claude-code-templates
Git Context Controller (GCC) - Manages agent memory as a versioned file system under .GCC/.
sundial-org/awesome-openclaw-skills
Complete memory system combining LanceDB auto-recall, Git-Notes structured memory, and file-based workspace search.
aAAaqwq/AGI-Super-Team
Ultimate AI agent memory system for Cursor, Claude, ChatGPT & Copilot.
jnMetaCode/superpowers-zh
Sets up an isolated workspace before feature work or plan execution, preferring native worktree tools and falling back to git worktree, with instructions in Chinese.
swarmclawai/swarmclaw
GitHub operations via gh CLI: issues, PRs, CI runs, code review, API queries.
rohitg00/agentmemory
Sets up and troubleshoots a local agentmemory install, covering the MCP connection, environment variables, ports, authentication and optional feature flags.
rohitg00/agentmemory
Lists recent git commits linked to agent sessions, filterable by branch, repository or a result limit, showing the session id and observation count behind each one.
rohitg00/agentmemory
Deletes chosen memories from agentmemory only after showing the matches and getting an explicit yes, for privacy requests and cleanup of outdated notes.
rohitg00/agentmemory
Resumes the most recent agent session for the current directory, leading with any question left unanswered and ending with a concrete next step.
rohitg00/agentmemory
Distills a user correction or hard-won rule into a confidence-weighted lesson that resurfaces automatically before similar future work.
rohitg00/agentmemory
Makes persistent agent memory pay off by searching before work starts and saving each decision the moment it settles, rather than batching a summary at the end.
Works with
Categories
Traces a file, function or line back to the agent session behind its current commit, using git blame and a memory lookup, and reports only what the records show. The agent first finds the commit SHA: `git blame -L` for a line range, `git log -L` for a function, or `git log -n 1` for a bare file path. It then calls `memory_commit_lookup` with the full SHA and presents the commit (sha, short sha, branch, author, message), any linked sessions (id, project, start and end, observation count, summary) and the high-importance observations from `memory_recall` when that tool is available.
Commit Context Lookup fits situations like: asking why a block of code exists and what the agent was doing when it changed; finding which agent session produced a specific commit; getting background on a function before you change it.
Run `npx skills add rohitg00/agentmemory --skill commit-context -a claude-code`. Or copy the skill folder (plugin/skills/commit-context in rohitg00/agentmemory) into .claude/skills/commit-context in your project. Claude Code loads it when a task matches its description.
Run `npx skills add rohitg00/agentmemory --skill commit-context -a codex`. Or copy the skill folder (plugin/skills/commit-context in rohitg00/agentmemory) into .agents/skills/commit-context in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add rohitg00/agentmemory --skill commit-context -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/commit-context, .gemini/skills/commit-context, .github/skills/commit-context and .opencode/skills/commit-context in your project.
Going by SKILL.md and its folder, Commit Context Lookup needs the command-line tools its instructions call (git). Our summary lists: Git history for the repository; The `memory_commit_lookup` tool from the agentmemory plugin.
SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Commit Context Lookup is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 522 tokens (SKILL.md is roughly 2.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Commit Context Lookup: Git Notes Memory (sundial-org/awesome-openclaw-skills, 663 stars), Gcc (davila7/claude-code-templates, 32k stars), Triple Memory (sundial-org/awesome-openclaw-skills, 663 stars) and Elite Longterm Memory (aAAaqwq/AGI-Super-Team, 105 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
rohitg00 (a GitHub user) maintains it in rohitg00/agentmemory, which has 29,222 GitHub stars. The repository holds 17 skills in this directory. The repository was last updated on October 6, 2026.
Source: rohitg00/agentmemory on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.