skill-update-memory

skill-update-memory is a skill for Claude Code, Codex from MatrixFounder/Agentic-development. It costs 16 tokens per session (560 once invoked), scanned A, original, Apache-2.0.

A tool that detects code changes and suggests updates to .AGENTS.md files, which store instructions and context for coding agents in a project.

In plain words
What is it for?
Use it before committing or during review to find changed files, identify their nearest context files, generate update templates, and optionally create missing files under selected source directories.
Why use it?
It keeps agent guidance aligned with the source code so future sessions are less likely to rely on outdated project knowledge.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions AGENTS.md.

Good fit Use it before committing or during review to find changed files, identify their nearest context files, generate update templates, and optionally create missing files under selected source directories.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/matrixfounder/agentic-development/skill-update-memory
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add MatrixFounder/Agentic-development --skill skill-update-memory
Clone the repo
git clone --depth 1 https://github.com/MatrixFounder/Agentic-development

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for skill-update-memory

README.md
[![agentmods](https://agentmods.dev/badge/skills/matrixfounder/agentic-development/skill-update-memory/github.svg)](https://agentmods.dev/skills/matrixfounder/agentic-development/skill-update-memory)
Your own site
<a href="https://agentmods.dev/skills/matrixfounder/agentic-development/skill-update-memory"><img src="https://agentmods.dev/badge/skills/matrixfounder/agentic-development/skill-update-memory/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for skill-update-memory

Your own site · 80×15
<a href="https://agentmods.dev/skills/matrixfounder/agentic-development/skill-update-memory"><img src="https://agentmods.dev/badge/skills/matrixfounder/agentic-development/skill-update-memory.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 560 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00016 $0.00560
Opus 5.5 $0.00006 $0.00224
Sonnet 5.5 $0.00003 $0.00112
Haiku 4.5 $0.00002 $0.00056

Measured 3mo ago against content hash 160ae0e4c490, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

skill-update-memory scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/suggest_updates.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agent/skills/skill-update-memory/SKILL.md · 75 lines

How it starts

The opening of the file, as written. The whole thing — 75 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Update Memory Skill

Purpose

Prevent "Agent Amnesia" by keeping .AGENTS.md context files synchronized with code changes.

When to Use

  • Before committing code (Developer).
  • During Code Review (Reviewer).
  • In 04-update-docs workflow.

Strategy: Automated Detection + Manual Description

Phase 1: Detect Changes

Tool: scripts/suggest_updates.py

Usage:

python3 .agent/skills/skill-update-memory/scripts/suggest_updates.py

Bootstrap Migration Mode (optional):

python3 .agent/skills/skill-update-memory/scripts/suggest_updates.py --mode bootstrap --create-missing --development-root src

Output:

  • Identifies modified source files (ignoring build artifacts).
  • Groups them by the closest .AGENTS.md (or suggested per-directory target in source folders).
  • Generates a template for the update.
  • In bootstrap mode, can create missing .AGENTS.md files without overwriting existing ones.
  • Creation/suggestions are limited to explicit development roots (--development-root, default: src).
  • /.agent/skills/* and /.cursor/skills/* are always excluded from memory target creation.

[!NOTE] .AGENTS.md remains optional. If it does not exist, the helper must not fail.

Phase 2: Generate Description (.AGENTS.md Update)

For each file listed by the script:

  1. Identify Change Type:
    • New File -> Create entry.
    • Modified Logic -> Update description/functions.
    • Deleted -> Mark as (Deleted).
  2. Write Description:
    • Focus on Purpose (Why does it exist?).
    • List public Classes/Functions.

Phase 3: Preservation

[!IMPORTANT] NEVER delete sections marked [Human Knowledge] or <!-- PRESERVE -->.

Append new information below manual annotations.

Example Update

### [new_service.py]
**Purpose:** Handles user authentication.
**Classes:**
- `AuthService` — Main entry point.
  - `login()` — Validates credentials.

Integration

  • Code Review: Reviewer runs script to check if docs match code changes.
  • Pre-Commit: Developer runs script to ensure no "Undocumented Code" is committed.
  • Migration/Onboarding: Run bootstrap mode for external projects to create initial .AGENTS.md skeletons in source folders.

Read the full file on GitHub · 75 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 75 lines · 16 tokens per session scan A 160ae0e4c490

Subscribe to this mod's changes

skill-update-memory is a skill published in the GitHub repository MatrixFounder/Agentic-development (9 stars, last pushed 23d ago), licensed Apache-2.0. It adds 16 tokens to every session and 560 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

skill-update-memory compared with skills from other repositories

skill-update-memory next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
skill-update-memoryMatrixFounder/Agentic-developmentSkill923d agoApache-2.0A16Claude Code, Codex
kb-buildertinyfish-io/tinyfish-cookbookSkill2.3k7d agoMITA158Claude Code, Codex
weknora-sharedTencent/WeKnoraSkill39kyesterdaynoneA68Claude Code, Codex
02-project-memoryai-driven-dev/frameworkSkill593todayMITA44Claude Code
distill-session-knowledgeBlackBeltTechnology/pi-agent-dashboardSkill357todayMITA78Claude Code, Codex
llm-wikisammcj/agentic-codingSkill174todayApache-2.0A82Claude Code
authoring-claude-mdsammcj/agentic-codingSkill174todayApache-2.0A33Claude Code, Codex