Add git-as-memory skill for Git-backed agent memory - #28636
Open
femto wants to merge 2 commits into
Open
Conversation
Adds a new memory category with the git-as-memory skill, which provides a durable, auditable memory layer for agents using Git refs. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
teknium1
reviewed
Jun 15, 2026
teknium1
left a comment
Contributor
There was a problem hiding this comment.
Thanks for the contribution. A git-ref-backed memory workflow is a plausible fit for the skill layer, and the PR avoids adding a new core tool.
Problems
skills/memory/git-as-memory/agents/openai.yaml:1appears inert in current main. I found the skill tooling only allow-lists supporting files underreferences/,templates/,scripts/, andassets/(tools/skill_manager_tool.py:171,tools/skill_manager_tool.py:427), and a repo-wide search foropenai.yaml/default_promptfound no skill loader path consuming this metadata.- The new
SKILL.mdhas onlynameanddescriptionfrontmatter. The in-repo authoring guide says bundled peer skills normally includeversion,author,license, andmetadata.hermes(skills/software-development/hermes-agent-skill-authoring/SKILL.md:40,skills/software-development/hermes-agent-skill-authoring/SKILL.md:56). - This creates a new top-level
skills/memory/category. The authoring guide says to pick the closest existing category and not invent new top-level categories casually (skills/software-development/hermes-agent-skill-authoring/SKILL.md:95,skills/software-development/hermes-agent-skill-authoring/SKILL.md:103).
Suggested changes
- Drop or relocate
agents/openai.yamlunless a real current-main consumer is added. - Add the standard bundled-skill metadata frontmatter.
- Reconsider the category placement or note why
memoryshould become a new top-level category.
Automated hermes-sweeper review.
| @@ -0,0 +1,4 @@ | |||
| interface: | |||
Contributor
There was a problem hiding this comment.
I couldn't find any current-main skill loader that consumes agents/openai.yaml or default_prompt for bundled skills; supporting files are normally under references/, templates/, scripts/, or assets/, so this file looks inert unless a consumer is added.
| @@ -0,0 +1,244 @@ | |||
| --- | |||
Contributor
There was a problem hiding this comment.
Bundled in-repo skills normally include version, author, license, and metadata.hermes frontmatter; adding those would match the repository's skill-authoring conventions.
Author
|
please check. |
femto
force-pushed
the
add-git-as-memory-skill
branch
from
June 16, 2026 05:08
8e07dec to
e492470
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
memorycategory under skillsgit-as-memoryskill which provides Git-backed durable memory for agentsWhat is git-as-memory?
A memory layer that stores agent memory directly in Git refs (not the working tree), providing:
Test plan
🤖 Generated with Claude Code