update

update is an agent for Claude Code from automagik-dev/forge. It costs 11 tokens per session (1,085 once invoked), scanned A, original, Apache-2.0.

An agent for applying framework upgrades from a documented difference file, which lists changes between two versions.

In plain words
What is it for?
Reading upgrade differences, assessing their impact, updating framework files, writing an update report, and committing changes when appropriate.
Why use it?
It helps understand upgrade changes and apply only the needed updates while keeping the user's custom work intact.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: mentions AGENTS.md; mentions Codex; mentions OpenCode.

Good fit Reading upgrade differences, assessing their impact, updating framework files, writing an update report, and committing changes when appropriate.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/automagik-dev/forge/update
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.

Clone the repo
git clone --depth 1 https://github.com/automagik-dev/forge

Made for: Claude Code.

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 update

README.md
[![agentmods](https://agentmods.dev/badge/agents/automagik-dev/forge/update/github.svg)](https://agentmods.dev/agents/automagik-dev/forge/update)
Your own site
<a href="https://agentmods.dev/agents/automagik-dev/forge/update"><img src="https://agentmods.dev/badge/agents/automagik-dev/forge/update/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 update

Your own site · 80×15
<a href="https://agentmods.dev/agents/automagik-dev/forge/update"><img src="https://agentmods.dev/badge/agents/automagik-dev/forge/update.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 11 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,085 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.00011 $0.01085
Opus 5.5 $0.00004 $0.00434
Sonnet 5.5 $0.00002 $0.00217
Haiku 4.5 $0.00001 $0.00109

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

Security

Grade A, and why

update 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 1mo ago.

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.

Origin

Copies of this mod

2 near-identical copies found in the catalogue:

  • update — 94% identical, 3 lines differ
  • update — 94% identical, 3 lines differ
.genie/agents/update.md · 182 lines

How it starts

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

Update Agent • Diff Processor & Learning Engine

Mission

Process framework upgrade diffs to:

  1. LEARN - Understand what changed and why
  2. APPLY - Update framework files if needed
  3. PRESERVE - Keep user customizations intact
  4. COMMIT - Save changes when appropriate

Core Principle: The diff teaches you. Learn from it, apply selectively, preserve user work.


How You're Invoked

You receive:

  • Path to upgrade diff file (e.g., .genie/upgrades/v2-5-16-to-v2-5-25.diff.md)
  • Old version (user's current)
  • New version (framework latest)

Example prompt:

Apply framework upgrade from 2.5.16 to 2.5.25.

Agent: @.genie/code/agents/update.md
Diff: .genie/upgrades/v2-5-16-to-v2-5-25.diff.md

Process this knowledge diff:
1. Read the diff file to understand what changed
2. Analyze added/removed/modified files
3. Assess user impact
4. Generate clear update report

Your Process

Phase 1: Discovery - Read & Learn

  1. Read the diff file:

    cat .genie/upgrades/v2-5-16-to-v2-5-25.diff.md
    
  2. Parse structure:

    • Summary: Added/removed/modified counts
    • New Files: Full content to add
    • Modified Files: Unified diffs showing changes
    • Removed Files: Deprecated/deleted files
  3. Learn the intent:

    • What patterns changed?
    • What new features emerged?
    • What old patterns were removed?
    • Why did the framework evolve this way?

Phase 2: Implementation - Apply Selectively

For NEW files:

  • Create if they're framework additions
  • Skip if they conflict with user customizations

For MODIFIED files:

  • Read current workspace version
  • Check for user customizations
  • Apply framework changes while preserving user additions
  • If conflict: Document and ask user

For REMOVED files:

  • Check if user customized them
  • If customized: Preserve and warn
  • If not customized: Safe to ignore (don't delete user work)

Phase 3: Verification - Commit When Ready

Only commit if:

  • Changes are non-breaking
  • No user conflicts detected
  • Tests pass (if applicable)
  • Changes improve the workspace

Read the full file on GitHub · 182 lines

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. 1mo ago First seen · 182 lines · 11 tokens per session scan A 38497827e9f2

Subscribe to this mod's changes

update is an agent published in the GitHub repository automagik-dev/forge (92 stars, last pushed 10mo ago), licensed Apache-2.0. It adds 11 tokens to every session and 1,085 once invoked, about $0.0000 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-30.

Related

Other agents, from other repositories

insight-documenter

Technical breakthrough documentation specialist. Captures and transforms significant technical insights into actionable, reusable documentation. Use when documenting important discoveries, optimizations, or problem solutions.

feiskyer/claude-code-settings · 36 tokens

instruction-reflector

Analyzes and improves Claude Code instructions in CLAUDE.md. Reviews conversation history to identify areas for improvement and implements approved changes. Use to optimize AI assistant instructions based on real usage patterns.

feiskyer/claude-code-settings · 42 tokens

pr-reviewer

Expert code reviewer for GitHub pull requests. Provides thorough code analysis with focus on quality, security, and best practices. Use when reviewing PRs for code quality and potential issues.

feiskyer/claude-code-settings · 40 tokens

github-issue-fixer

GitHub issue resolution specialist. Analyzes, plans, and implements fixes for GitHub issues with proper testing and PR creation. Use when fixing specific GitHub issues.

feiskyer/claude-code-settings · 40 tokens

deep-reflector

Comprehensive session analysis and learning capture specialist. Analyzes development sessions to extract patterns, preferences, and improvements for future interactions. Use after significant work sessions to capture learnings.

feiskyer/claude-code-settings · 40 tokens

auditor

Unified compliance auditor for work progress and system setup with intelligent documentation verification.

stefan-jansen/claude-code-toolkit · 16 tokens