update-smart.template

update-smart.template is a command for Claude Code from evan043/claude-cli-advanced-starter-pack. It costs 0 tokens per session (1,411 once invoked), scanned A, original, MIT.

A command template for updating customised commands, skills, agents, and hooks while trying to preserve local changes. It detects customised or used files and provides suggestions for combining updates.

In plain words
What is it for?
Explore available updates, compare customised assets, review merge suggestions, and decide which changes to apply.
Why use it?
It helps you review package updates without blindly overwriting work you have changed. This is useful after updating the Claude CLI starter pack or seeing an update notice.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md). Also seen: names the AskUserQuestion tool; mentions Codex.

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 commands/evan043/claude-cli-advanced-starter-pack/update-smart.template
Clone the repo
git clone --depth 1 https://github.com/evan043/claude-cli-advanced-starter-pack

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-smart.template

README.md
[![agentmods](https://agentmods.dev/badge/commands/evan043/claude-cli-advanced-starter-pack/update-smart.template.svg)](https://agentmods.dev/commands/evan043/claude-cli-advanced-starter-pack/update-smart.template)
Your own site
<a href="https://agentmods.dev/commands/evan043/claude-cli-advanced-starter-pack/update-smart.template"><img src="https://agentmods.dev/badge/commands/evan043/claude-cli-advanced-starter-pack/update-smart.template.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 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,411 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.1 $0.00000 $0.01411
Opus 5 $0.00000 $0.00705
Sonnet 5 $0.00000 $0.00282
Haiku 4.5 $0.00000 $0.00141

Measured 2d ago against content hash cbd4373744d3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

update-smart.template 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 2d 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.

templates/commands/update-smart.template.md · 191 lines

How it starts

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

Codex Runtime Compatibility

This prompt was authored for Claude-style slash workflows. In Codex runtime, adapt tool calls as follows:

  • AskUserQuestion => ask the user directly in chat.
  • WebSearch/WebFetch => use available web tools (search_query, open, find) and cite links.
  • Read/Write => use shell/filesystem tools in this workspace.
  • Claude-only MCP calls (for example Playwright MCP names) => use available equivalents or clearly state fallback.
  • Keep intent and output format identical; only adapt execution mechanics.

description: Smart CCASP update manager model: sonnet

Smart Update Manager

Explore and manage updates for your customized CCASP assets with intelligent merge suggestions.

Overview

This command helps you safely update customized commands, skills, agents, and hooks while preserving your modifications. It detects which assets you've customized and used, then provides merge exploration with Claude's analysis.

When to Use

  • After running npm update -g claude-cli-advanced-starter-pack
  • When /menu shows an update is available with customized assets
  • To review what changes an update would bring before applying

Execution Flow

Step 1: Detect Customized Assets

Read .claude/config/usage-tracking.json to identify:

  • Assets you've used (commands, skills, agents, hooks)
  • Assets marked as customized (modified from template)
  • Usage frequency and last-used dates

Step 2: Compare with Templates

For each customized asset:

  1. Load your local version from .claude/
  2. Load the template version from the CCASP package
  3. Generate a diff comparison
  4. Analyze change significance (low/medium/high)

Step 3: Present Merge Options

For each asset with differences, offer:

Option Description
Explore Show detailed analysis with Claude's explanation of changes
Replace Use the new template version (backup created)
Skip Keep your customized version
Show Diff View raw line-by-line differences

Read the full file on GitHub · 191 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. 2d ago First seen · 191 lines · 0 tokens per session scan A cbd4373744d3

Subscribe to this mod's changes

update-smart.template is a command published in the GitHub repository evan043/claude-cli-advanced-starter-pack (61 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,411 tokens. 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-09-03.