update-agents

update-agents is a skill for Claude Code, Codex from kimgoetzke/coding-agent-configs. It costs 50 tokens per session (739 once invoked), scanned A, original, MIT.

A skill that checks locally installed coding-agent configurations against the latest files in a specified GitHub repository and applies available updates.

In plain words
What is it for?
Use it to check for or install updates for Claude Code, Copilot, or Pi agents from the kimgoetzke/coding-agent-configs repository.
Why use it?
It removes the need to manually compare remote agent files with local copies and helps keep the correct tool-specific agent directory current.

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

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-agents

README.md
[![agentmods](https://agentmods.dev/badge/skills/kimgoetzke/coding-agent-configs/update-agents.svg)](https://agentmods.dev/skills/kimgoetzke/coding-agent-configs/update-agents)
Your own site
<a href="https://agentmods.dev/skills/kimgoetzke/coding-agent-configs/update-agents"><img src="https://agentmods.dev/badge/skills/kimgoetzke/coding-agent-configs/update-agents.svg" alt="Measured on agentmods" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 739 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.00050 $0.00739
Opus 5 $0.00025 $0.00369
Sonnet 5 $0.00010 $0.00148
Haiku 4.5 $0.00005 $0.00074

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

Security

Grade A, and why

update-agents 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 4d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/apply-update.sh, scripts/check-updates.sh), 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.

skills/update-agents/SKILL.md · 92 lines

How it starts

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

Update Agents

Check for updates to locally installed agents by fetching the latest from kimgoetzke/coding-agent-configs on GitHub and comparing against the local agents directory for the current coding agent product.

Configuration

  • Remote repo: https://github.com/kimgoetzke/coding-agent-configs.git
  • Scripts location: Bundled in this skill's scripts/ directory

Target directory by tool

Tool Default target directory
Claude Code ~/.claude/agents
Copilot ~/.copilot/agents
Pi ~/.pi/agent/agents

If you cannot determine which tool you are, ask the user.

Workflow

1. Determine the current tool and target directory

First determine which tool is currently running this skill:

  • If you are Claude Code, set:
    • TARGET_DIR=~/.claude/agents
    • SKILL_DIR=~/.claude/skills/update-agents
  • If you are Copilot, set:
    • TARGET_DIR=~/.copilot/agents
    • SKILL_DIR=~/.copilot/skills/update-agents
  • If you are Pi, set:
    • TARGET_DIR=~/.pi/agent/agents
    • SKILL_DIR=~/.pi/agent/skills/update-agents

If you cannot determine which tool you are, ask the user before proceeding.

Only use the directory for the currently running tool. Do not check or update the other tool's agents directory.

2. Check for updates

Run the check script using the current tool's skill directory:

bash "$SKILL_DIR/scripts/check-updates.sh" "$TARGET_DIR"

3. Parse the output

The script outputs one line per agent file with a status prefix:

Prefix Meaning
UP_TO_DATE:<name> No changes
CHANGED:<name> Files differ - diff follows until END_DIFF line
MISSING_LOCALLY:<name> Exists in repo but missing locally
ALL_UP_TO_DATE No updates available at all

Read the full file on GitHub · 92 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. 4d ago First seen · 92 lines · 50 tokens per session scan A 04593b7cf248

Subscribe to this mod's changes

update-agents is a skill published in the GitHub repository kimgoetzke/coding-agent-configs (2 stars, last pushed 15d ago), licensed MIT. It adds 50 tokens to every session and 739 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

codebase-memory

Use the codebase knowledge graph for structural code queries. Triggers on: explore the codebase, understand the architecture, what functions exist, show me the structure, who calls this function, what does X call, trace the call chain, find callers of, show dependencies, impact analysis, dead code, unused functions…

narumiruna/pi-extensions · 98 tokens

using-pi-subagents

Operate pi-subagents jobs safely, including direct-work decisions, least-privilege tool selection, thinking-level selection, delegation, bidirectional messaging, parallel starts, timeout selection, waiting, cancellation, result handling, verification, and writer isolation.

narumiruna/pi-extensions · 54 tokens

skill-creator

Create or update Agent Skills (SKILL.md plus optional scripts, references, or assets). Use when someone asks to design a new Agent Skill, refine an existing one, or structure skills for Pi discovery, packaging, or other Agent Skills-compatible clients.

tmustier/pi-extensions · 54 tokens

pi-ralph-wiggum

Long-running iterative development loops with pacing control and verifiable progress. Use when tasks require multiple iterations, many discrete steps, or periodic reflection with clear checkpoints; avoid for simple one-shot tasks or quick fixes.

tmustier/pi-extensions · 49 tokens

accordion-context-folding

Read this skill if you see {# FOLDED} markers in your context (e.g. {#3f9a2c FOLDED}), or if earlier parts of your context look summarized. Accordion is a desktop tool that may compact older context blocks to keep you under a token budget. The unfold tool restores a folded block (open from your next turn); the recall…

a-Fig/Accordion · 102 tokens

accordion-context-recall

Read this skill when you need to read the full content of a folded context block RIGHT NOW as a tool result — without opening it in your standing context. Use recall(codes) when you only need a value once and do not want to permanently restore the block. Accordion may fold older parts of your context to keep token…

a-Fig/Accordion · 89 tokens