update

update is a command for Claude Code from Marcel-Bich/marcel-bich-claude-marketplace. It costs 5 tokens per session (1,153 once invoked), scanned A, original, MIT.

A command that fetches cached documentation again from its original website or file source.

In plain words
What is it for?
Use it to refresh one document, a group of documents, or all imported documentation.
Why use it?
It keeps local copies from becoming outdated while preserving their existing organization.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool.

Part of the import plugin — 3 commands shipped together

Good fit Use it to refresh one document, a group of documents, or all imported documentation.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/marcel-bich/marcel-bich-claude-marketplace/update
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/Marcel-Bich/marcel-bich-claude-marketplace

Made for: Claude Code.

Or install import, the plugin that ships this one along with the rest of its 3 commands.

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/commands/marcel-bich/marcel-bich-claude-marketplace/update/github.svg)](https://agentmods.dev/commands/marcel-bich/marcel-bich-claude-marketplace/update)
Your own site
<a href="https://agentmods.dev/commands/marcel-bich/marcel-bich-claude-marketplace/update"><img src="https://agentmods.dev/badge/commands/marcel-bich/marcel-bich-claude-marketplace/update/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

Your own site · 80×15
<a href="https://agentmods.dev/commands/marcel-bich/marcel-bich-claude-marketplace/update"><img src="https://agentmods.dev/badge/commands/marcel-bich/marcel-bich-claude-marketplace/update.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 5 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,153 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.00005 $0.01153
Opus 5 $0.00003 $0.00576
Sonnet 5 $0.00001 $0.00231
Haiku 4.5 $0.00001 $0.00115

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

plugins/import/commands/update.md · 152 lines

How it starts

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

Update Cached Documentation

You are executing the /import:update command. Re-fetch documentation from original sources.

Arguments

  • $ARGUMENTS - (Optional) Path pattern to update. If empty, lists all and asks which to update.

Examples:

  • /import:update - List all, choose interactively
  • /import:update pimcore - Update all pimcore docs
  • /import:update pimcore/v2025.4/data-importer.md - Update specific file

Process

1. Find Docs to Update

If $ARGUMENTS provided:

  • Find matching docs in mabi-import/ using pattern
  • Read frontmatter for source URL/path

If $ARGUMENTS empty:

  • List all docs grouped by category
  • Ask user which to update (single, pattern, or all)

2. Read Source from Frontmatter

Each cached doc has frontmatter:

---
source: https://original-url.com/...
imported: 2026-01-15
method: context7
version: v2025.4
---

Extract the source and method fields.

3. Re-fetch

Use priority chain (same as url-or-path):

  1. Context7 - If original method was context7, try this first
  2. WebFetch - If not in Context7, try direct fetch
  3. Playwright - If blocked, use headless browser

Inform user at each fallback step.

For local paths:

  • Check if path still exists
  • If yes, re-copy
  • If no, warn user and ask what to do

4. Handle Version Changes

CRITICAL: Version handling depends on whether online version has changed.

Case A: Version unchanged (or no version exists)

For website/ and local/ categories, or when library version is the same:

  • Update content in place
  • Update imported timestamp
  • Keep same file path
Case B: Version changed online (library docs only)

When the source has a new version (e.g., pimcore v2025.4 -> v2025.5):

  1. DO NOT modify the old file - it remains as historical record
  2. Create NEW file in new version folder:
    • Old: mabi-import/pimcore/v2025.4/datahub.md (unchanged)
    • New: mabi-import/pimcore/v2025.5/datahub.md (newly created)
  3. Inform user about the version change

Read the full file on GitHub · 152 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. 8d ago First seen · 152 lines · 5 tokens per session scan A c3efa5e39a55

Subscribe to this mod's changes

update is a command published in the GitHub repository Marcel-Bich/marcel-bich-claude-marketplace (13 stars, last pushed today), licensed MIT. It adds 5 tokens to every session and 1,153 once invoked, about $0.0000 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-09-03.