aips-update

A command for updating the global AIPS plugin and synchronizing its managed files into the current project. It preserves user content and updates templates, scripts, links, and selected project files when safe.

In plain words
What is it for?
Use it to pull a newer plugin version, compare global templates with project-managed files, apply non-destructive updates, refresh toolkit scripts, update generated project instructions when eligible, and run a one-time memory sync when available.
Why use it?
It reduces the work of keeping a project aligned with a newer plugin release while warning when local edits make automatic merging unsafe.

Command

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/kernalix7/aips/aips-update
Clone the repo
git clone --depth 1 https://github.com/kernalix7/AIPS
Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 496 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00014 $0.00496
Opus 5 $0.00007 $0.00248
Sonnet 5 $0.00003 $0.00099
Haiku 4.5 $0.00001 $0.00050

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

Security

Grade B, and why

aips-update scanned grade B with 1 finding 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.

Reads agent configuration directoriesmediumAgent snooping

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

Capture the new version reported by `cat ~/.claude/plugins/AIPS/.claude-plugin/plugin.json | grep version`.
commands/aips-update.md · 37 lines

What it actually says

/aips:update

Pull the latest global plugin release and reconcile the current project's per-project files against the new templates. Non-destructive — preserves user content.

What it does

  1. Global plugin update — invoke the plugin update flow:

    claude --print "/plugin update AIPS@AIPS"
    

    Capture the new version reported by cat ~/.claude/plugins/AIPS/.claude-plugin/plugin.json | grep version.

  2. Per-project re-init (CASE C) — re-run /aips:init semantics in idempotent-sync mode:

    • Diff global templates/ against project .priv-storage/ managed files.
    • Apply non-destructive updates only (skeleton headers, toolkit scripts, symlinks, .gitignore block).
    • Re-render .priv-storage/CLAUDE.md from templates/CLAUDE.md.tmpl ONLY if the template version is newer AND the project CLAUDE.md has no local edits beyond Section 1-7 + 11 placeholders. Otherwise skip and emit a WARN telling the user to merge manually.
    • Refresh tmp-igbkp/*.sh toolkit scripts that match the shipped versions verbatim.
  3. Memory sync — if agentmemory plugin is installed and the service is reachable, run a one-shot sync pass so per-project .priv-storage/memory/*.md and the global agentmemory store stay aligned (dual-write reconciliation).

  4. Report — emit one line per change:

    • update: plugin AIPS v<old> → v<new>
    • update: templates synced — <N> files updated, <M> preserved
    • update: CLAUDE.md re-rendered OR update: CLAUDE.md skipped (local edits — merge manually)
    • update: memory synced — <N> entries reconciled (if agentmemory present)

Rules

  • Never overwrite WORK_STATUS.md, memory/*.md content, sessions/*.
  • Never touch project source code.
  • If global plugin update fails, abort and surface the error — do not run per-project sync against stale templates.
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 · 37 lines · 14 tokens per session scan B 720c01bf6b77

Subscribe to this mod's changes

aips-update is a command published in the GitHub repository kernalix7/AIPS (5 stars, last pushed 3mo ago), licensed MIT. It adds 14 tokens to every session and 496 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.