update-agent

update-agent is a skill for Claude Code, Codex from desirecore/market. It costs 62 tokens per session (2,839 once invoked), scanned A, original, MIT.

A guided process for changing an agent's settings, behaviour, rules, skills, and stored information. It shows the proposed changes for review before applying them.

In plain words
What is it for?
Use it to rename an agent, revise its instructions, install or remove skills, change its personality, or roll back configuration changes.
Why use it?
It reduces the risk of changing an agent incorrectly or losing track of what changed. Version history also makes earlier configurations recoverable.

Skill for Claude CodeCodex

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 skills/desirecore/market/update-agent
Any agent
npx skills add desirecore/market --skill update-agent
Clone the repo
git clone --depth 1 https://github.com/desirecore/market

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 update-agent

README.md
[![agentmods](https://agentmods.dev/badge/skills/desirecore/market/update-agent.svg)](https://agentmods.dev/skills/desirecore/market/update-agent)
Your own site
<a href="https://agentmods.dev/skills/desirecore/market/update-agent"><img src="https://agentmods.dev/badge/skills/desirecore/market/update-agent.svg" alt="Measured on agentmods" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,839 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00062 $0.02839
Opus 5 $0.00031 $0.01419
Sonnet 5 $0.00012 $0.00568
Haiku 4.5 $0.00006 $0.00284

Measured 3d ago against content hash 00b7b69c579f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

update-agent 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 3d 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.

skills/update-agent/SKILL.md · 170 lines

How it starts

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

update-agent skill

L0: One-Sentence Summary

Safely modify an Agent's configuration, persona, rules, and skills through natural-language conversation.

L1: Overview

Meta-skill: recognize the edit intent → generate a reviewable diff → user confirmation → apply (structured fields via ManageAgent, free-form files via Read/Write) → receipt. Use it to adjust communication style, add/change behavior rules, install/uninstall skills, or batch-upgrade config. The agent directory is version-managed by git with a traceable history, so rollback is supported. Its value is what the tool can't give: diff preview confirmation, two-path orchestration, version rollback; structured fields go through ManageAgent's whitelist + schema validation so invalid config never lands.

L2: Detailed Spec

Update Types and the Two Paths

Structured fields always go through ManageAgent(action='update') (whitelist + validation + merge semantics); free-form files (memory/skills/tools) are edited directly with Read/Write:

User intent Means Target (risk)
Rename (display name) ManageAgent(update, name=...) agent.json (med)
Change description ManageAgent(update, description=...) agent.json (low)
Default reasoning/retry config ManageAgent(update, config={llm:{...}}) agent.json (med)
Declarative avatar ManageAgent(update, config={avatar:{...}}) agent.json (low)
Image avatar ManageAgent(update, avatarImage={...}) avatar (med)
Personality/style ManageAgent(update, persona=... or markdown) persona.md (med)
Behavior rules ManageAgent(update, principles=... or markdown) principles.md (high)
Install/uninstall skill Read/Write skills/ (low/med)
Add memory Read/Write memory/ (low)
Change tool config Read/Write tools/ (high, watch protected paths)

Flow: intent recognition → change analysis → diff generation → user confirmation → apply → receipt.

Stage 1: Intent Recognition

Read the full file on GitHub · 170 lines

Files

What ships with it

2 files 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. 3d ago First seen · 170 lines · 62 tokens per session scan A 00b7b69c579f

Subscribe to this mod's changes

update-agent is a skill published in the GitHub repository desirecore/market (2 stars, last pushed 4d ago), licensed MIT. It adds 62 tokens to every session and 2,839 once invoked, about $0.0003 per session on Opus 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

Other skills, from other repositories

skill-authoring

Author SKILL.md skills: frontmatter, validator limits, structure.

mateaix/mateclaw · 18 tokens

a0-plugin-router

Main entry point for all Agent Zero plugin tasks. Routes to specialist skills for creating, reviewing, contributing, managing, or debugging plugins. Use when the user mentions plugins, asks how the plugin system works, wants to build/install/uninstall/publish/debug a plugin, or asks about the Plugin Hub.

agent0ai/agent-zero · 65 tokens

a0-manage-plugin

Manage Agent Zero plugins lifecycle: browse the Plugin Hub, scan for security, install from Git/ZIP/Plugin Hub, update, uninstall, enable, disable, debug, and troubleshoot. Use when asked to install, update, uninstall, remove, scan, find, search, enable, disable, debug, or troubleshoot a plugin.

agent0ai/agent-zero · 72 tokens

a0-plugin-router

Main entry point for all Agent Zero plugin tasks. Routes to specialist skills for creating, reviewing, contributing, managing, or debugging plugins. Use when the user mentions plugins, asks how the plugin system works, wants to build/install/uninstall/publish/debug a plugin, or asks about the Plugin Hub.

Gen-Verse/PAST-Bench · 65 tokens

create-skill

Wizard for creating new Agent Zero skills. Guides users through creating well-structured SKILL.md files. Use when users want to create custom skills.

Gen-Verse/PAST-Bench · 33 tokens

agentskills-usage

Teaches AI agents how to use the AgentSkills Registry CLI to search, pull, and push skill bundles.

kai98k/agent-skills-registry · 26 tokens