Agentic Memory Maintain Adapter
Use this skill when refreshing, consolidating, or pruning existing knowledge in
docs/solutions/, including when agentic-memory-compound output suggests an
older learning may now be stale.
This is an Agentic Coding owned adapter. Do not edit imported skills:
agentic-memory-compoundagentic-memory-refreshagentic-memory-sessions
Workflow
- Invoke the imported
agentic-memory-refreshskill, passing through all arguments, includingmode:headlesswhen present. - Enforce the target project's solution path contract on every file the
refresh moves, merges, or rewrites. In this repository every output must
stay under
docs/solutions/{level}/{module}/{filename}.md; do not createdocs/solutions/<category>/paths. - After refresh writes complete, if the current directory is a Git-managed
repository, auto-commit knowledge outputs before the final report:
- Commit only repo-local knowledge files changed by this refresh, normally
files under
docs/solutions/. - Confirm each staged path is inside the current repository before staging.
- Use
git add -- <path...>and thengit commitwith a concise docs message such asdocs: refresh agentic memory knowledge. - Do not push. Do not merge. Do not stage unrelated files.
- If no repo-local knowledge files changed, the directory is not Git-managed, or the changed paths cannot be safely attributed to this refresh, skip the commit and include the reason in the report.
- Commit only repo-local knowledge files changed by this refresh, normally
files under
Output
End with:
- refreshed, consolidated, or deleted file path(s), or a statement that no changes were needed;
- whether the repo-local knowledge files were auto-committed or why the skill skipped the commit.