update

update is an agent for Claude Code from namastexlabs/automagik-tools. It costs 11 tokens per session (1,092 once invoked), scanned A, a copy of update, Apache-2.0.

An upgrade-diff processor that reads a framework update, explains what changed, and applies the relevant changes while preserving custom work.

In plain words
What is it for?
Use it to review an upgrade file, understand its impact, update framework files selectively, preserve customizations, and commit the result when appropriate.
Why use it?
It helps update a project without blindly replacing files or losing changes made by the user.

Agent for Claude Code

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

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.

agentmods
npx agentmods add agents/namastexlabs/automagik-tools/update
Clone the repo
git clone --depth 1 https://github.com/namastexlabs/automagik-tools

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/namastexlabs/automagik-tools/update.svg)](https://agentmods.dev/agents/namastexlabs/automagik-tools/update)
Your own site
<a href="https://agentmods.dev/agents/namastexlabs/automagik-tools/update"><img src="https://agentmods.dev/badge/agents/namastexlabs/automagik-tools/update.svg" alt="Measured on agentmods" 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,092 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 94% copy Near-identical to another mod 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.01092
Opus 5 $0.00005 $0.00546
Sonnet 5 $0.00002 $0.00218
Haiku 4.5 $0.00001 $0.00109

Measured 6d ago against content hash 71c4a919e2a4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, 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 6d 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

This is a copy

94% identical to update — 3 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.genie/agents/update.md · 183 lines

How it starts

The opening of the file, as written. The whole thing — 183 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 · 183 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. 6d ago First seen · 183 lines · 11 tokens per session scan A 71c4a919e2a4

Subscribe to this mod's changes

update is an agent published in the GitHub repository namastexlabs/automagik-tools (15 stars, last pushed 9mo ago), licensed Apache-2.0. It adds 11 tokens to every session and 1,092 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 94% identical to update, differing in 3 lines, and is treated as a copy.

Related

Other agents, from other repositories

kingdee-qa-engineer

QA & Test Engineer for the kingdee-mcp project. Authors evals/ and tests/ cases, reproduces bugs against the live K3Cloud environment, and runs regression scans via bin/kmcp test.

WaHaiLong/KingdeeMCP · 49 tokens

security-reviewer

Use after changes to auth.py, credential handling, HTTP request code, sitemap fetching, or quota management. Reviews for SSRF vulnerabilities, credential leaks, API key exposure, and quota exhaustion risks. Read-only: reports issues without fixing them.

FlorianBruniaux/google-search-console-mcp · 0 tokens

gsc-sitemap-auditor

Audits all submitted sitemaps for a property. Use when asked about sitemap health, submitted vs. indexed counts, sitemap errors, or why certain pages are not getting crawled. Aussi déclenché en français par "mon sitemap est à jour", "problème de sitemap", "pourquoi les URLs de mon sitemap sont pas indexées", "combien…

FlorianBruniaux/google-search-console-mcp · 98 tokens

regen

Re-runs the Wiswa generator, applies post-processing, verifies the result is safe, and commits. Use when .wiswa.jsonnet or managed templates change.

Tatsh/wiswa-mcp · 36 tokens

badge-sync

Synchronises the badge list in docs/badges.rst with README.md. Use after editing the README badge block or when docs and README drift.

Tatsh/wiswa-mcp · 33 tokens

operations-analyst

Operations and process analysis agent. Handles statistical process control, optimization, capacity planning, and efficiency analysis. Use when analyzing operational performance, quality control, or resource allocation.

ChrisGVE/localdata-mcp · 38 tokens