update-agnostic

update-agnostic is a command for Claude Code from Cristhianzl/claude-skills-czl. It costs 29 tokens per session (629 once invoked), scanned B, original, MIT.

A command for updating a project's .claude configuration from the latest agnostic configuration in a GitHub repository while preserving local additions.

In plain words
What is it for?
Refreshing Claude Code settings, checking whether the configuration is a symlink or another variant, and safely preparing an update.
Why use it?
It keeps shared configuration current while guarding against accidental replacement of a configuration for a different project variant.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions CLAUDE.md.

Good fit Refreshing Claude Code settings, checking whether the configuration is a symlink or another variant, and safely preparing an update.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/cristhianzl/claude-skills-czl/update-agnostic
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/Cristhianzl/claude-skills-czl

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/cristhianzl/claude-skills-czl/update-agnostic/github.svg)](https://agentmods.dev/commands/cristhianzl/claude-skills-czl/update-agnostic)
Your own site
<a href="https://agentmods.dev/commands/cristhianzl/claude-skills-czl/update-agnostic"><img src="https://agentmods.dev/badge/commands/cristhianzl/claude-skills-czl/update-agnostic/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-agnostic

Your own site · 80×15
<a href="https://agentmods.dev/commands/cristhianzl/claude-skills-czl/update-agnostic"><img src="https://agentmods.dev/badge/commands/cristhianzl/claude-skills-czl/update-agnostic.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 629 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 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.00029 $0.00629
Opus 5 $0.00015 $0.00315
Sonnet 5 $0.00006 $0.00126
Haiku 4.5 $0.00003 $0.00063

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

Security

Grade B, and why

update-agnostic scanned grade B with 2 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 12d 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

- **Variant guard.** Read the installed variant: `installed=$(cat .claude/.variant 2>/dev/null)`. If it is non-empty and **not `agnostic`** (e.g. `langflow`), **STOP**: this project has the `$installed` config, and `/upd

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -fsSL https://github.com/Cristhianzl/claude-skills-czl/archive/refs/heads/main.tar.gz | tar -xz -C "$tmp"
configs/agnostic/commands/update-agnostic.md · 36 lines

What it actually says

Update the project's .claude/ to the latest agnostic config from https://github.com/Cristhianzl/claude-skills-czl, without losing local additions.

Run these steps carefully and report at the end. Stop and ask if anything is ambiguous.

  1. Pre-checks.

    • If .claude is a symlink (test -L .claude), it already tracks the kit — tell the user to git pull in the kit repo instead, then stop.
    • Variant guard. Read the installed variant: installed=$(cat .claude/.variant 2>/dev/null). If it is non-empty and not agnostic (e.g. langflow), STOP: this project has the $installed config, and /update-agnostic would switch variants — overwriting the $installed-specific rules, skills, and hooks. Tell the user to run /update-$installed to stay on their variant, or to re-run only after explicitly confirming they want to switch to agnostic.
    • Confirm with the user before overwriting .claude/.
  2. Download the latest config to a temp dir:

    tmp=$(mktemp -d)
    curl -fsSL https://github.com/Cristhianzl/claude-skills-czl/archive/refs/heads/main.tar.gz | tar -xz -C "$tmp"
    new="$tmp/claude-skills-czl-main/configs/agnostic"
    

    If curl/tar fail, report and stop.

  3. Back up the current config: cp -R .claude ".claude.bak-$(date +%Y%m%d-%H%M%S)".

  4. Preserve local additions (copy them aside, then restore after the sync):

    • every learnings/*.md that is not README.md (project-accumulated knowledge),
    • settings.local.json if present,
    • any rules/*.md or skills/* that exist locally but not in $new (project-specific).
  5. Apply the update: replace the tracked parts of .claude/ (CLAUDE.md, skills, commands, hooks, rules, settings.json) with the contents of $new, then restore everything from step 4 on top.

  6. Report: what was updated, what was preserved, and the backup path. If the project commits .claude/, remind the user to review the diff before committing. Clean up $tmp.

Never delete the user's learnings/ content. (Forks: change the repo URL above to your own.)

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. 12d ago First seen · 36 lines · 29 tokens per session scan B fa5d5068331a

Subscribe to this mod's changes

update-agnostic is a command published in the GitHub repository Cristhianzl/claude-skills-czl (5 stars, last pushed 2d ago), licensed MIT. It adds 29 tokens to every session and 629 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 2 findings (reads agent configuration directories, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.