update_rule

update_rule is a command for Claude Code, Cursor from iamironz/ai-config-bundle. It costs 0 tokens per session (67 once invoked), scanned A, a copy of commit, MIT.

A command rule that uses the words typed after its name as the request, then follows instructions in a shared document.

In plain words
What is it for?
It helps run an update command whose request comes from the user's text and whose instructions are maintained in ai-kb/commands/update_rule.md.
Why use it?
It keeps the command's behavior in one canonical document, so updates do not need to be copied into the command itself.

Command for Claude CodeCursor

Written for Cursor and Claude Code: installed under .cursor/, but also a Claude Code command (commands/*.md).

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/iamironz/ai-config-bundle/update_rule
Clone the repo
git clone --depth 1 https://github.com/iamironz/ai-config-bundle

Made for: Claude Code, Cursor.

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_rule

README.md
[![agentmods](https://agentmods.dev/badge/commands/iamironz/ai-config-bundle/update_rule.svg)](https://agentmods.dev/commands/iamironz/ai-config-bundle/update_rule)
Your own site
<a href="https://agentmods.dev/commands/iamironz/ai-config-bundle/update_rule"><img src="https://agentmods.dev/badge/commands/iamironz/ai-config-bundle/update_rule.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 67 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 91% copy Near-identical to another mod 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.00067
Opus 5 $0.00000 $0.00034
Sonnet 5 $0.00000 $0.00013
Haiku 4.5 $0.00000 $0.00007

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

Security

Grade A, and why

update_rule 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 5d 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.

Origin

This is a copy

91% identical to commit — 4 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.cursor/commands/update_rule.md · 12 lines

What it actually says

Update Rule

Input

Use the text the user typed after the command name as the request for this command.

  • Treat it as the command input for the shared command doc.

Instructions

Read and follow ai-kb/commands/update_rule.md (canonical). If there is a conflict, prefer the shared doc.

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. 5d ago First seen · 12 lines · 0 tokens per session scan A 4de1355ada25

Subscribe to this mod's changes

update_rule is a command published in the GitHub repository iamironz/ai-config-bundle (2 stars, last pushed 5mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 67 tokens. A static security scan graded it A with 0 findings. It is 91% identical to commit, differing in 4 lines, and is treated as a copy.