weekly-update

weekly-update is a command for Claude Code from runnithan/claudex-setup. It costs 75 tokens per session (5,737 once invoked), scanned A, original, MIT.

An automated weekly maintenance routine for a knowledge hub. It runs several fixed checks, gathers approvals together, records the results, and commits approved changes.

In plain words
What is it for?
Use it to process transcripts and lessons, review discoveries and changelogs, check third-party skills, audit project areas, rank tips, and prepare approved updates.
Why use it?
It removes the need to run many separate commands in order and reduces the chance of forgetting a stage. It also keeps a record of what was fetched, reviewed, changed, and committed.

Command for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions subagents.

Part of the claudex-setup plugin — 3 skills, 26 commands, 6 agents, 1 hook shipped together

Good fit Use it to process transcripts and lessons, review discoveries and changelogs, check third-party skills, audit project areas, rank tips, and prepare approved updates.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/runnithan/claudex-setup/weekly-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/runnithan/claudex-setup

Made for: Claude Code.

Or install claudex-setup, the plugin that ships this one along with the rest of its 3 skills, 26 commands, 6 agents, 1 hook.

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 weekly-update

README.md
[![agentmods](https://agentmods.dev/badge/commands/runnithan/claudex-setup/weekly-update/github.svg)](https://agentmods.dev/commands/runnithan/claudex-setup/weekly-update)
Your own site
<a href="https://agentmods.dev/commands/runnithan/claudex-setup/weekly-update"><img src="https://agentmods.dev/badge/commands/runnithan/claudex-setup/weekly-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 weekly-update

Your own site · 80×15
<a href="https://agentmods.dev/commands/runnithan/claudex-setup/weekly-update"><img src="https://agentmods.dev/badge/commands/runnithan/claudex-setup/weekly-update.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 75 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 5,737 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.00075 $0.05737
Opus 5.5 $0.00030 $0.02295
Sonnet 5.5 $0.00015 $0.01147
Haiku 4.5 $0.00007 $0.00574

Measured today against content hash fc76fe2d6e22, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

weekly-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 today.

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.

.claude/commands/weekly-update.md · 373 lines

How it starts

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

/weekly-update: the whole weekly pass, one decision sheet

The hub's weekly routine is nine commands in a fixed order, each stopping for its own approval dialogs; by hand it took two days, and a forgotten stage leaves a gap. This command runs every stage in one session, holds every question back, and asks them all at once on one numbered sheet. Then it applies what the owner approved, ledgers every outcome, commits, and asks before anything is pushed. Each stage runs only when this checkout has what it needs (§0), so the same file works in the private hub and in the public mirror.

After any compaction, re-read this whole file (.claude/commands/weekly-update.md), the state file, and the command file of the stage you are in. Compaction keeps only the start of a long command.

What a finished run leaves behind

  • Every transcript the scheduled job fetched, and every course video missing from disk where the hub has a course source, committed under transcripts/ and ledgered in lessons/.processed.json.
  • New lessons from transcripts and from the social sources, verified, indexed, and consolidated until a pass changes nothing.
  • The week's discoveries (tools, repos and uses) in discoveries/INDEX.md, each verified or marked unconfirmed.
  • Both changelog ledgers advanced to the newest release, with every entry triaged.
  • Every vendored skill compared with its upstream, and any new upstream commit on the sheet with its diff already read.
  • Every tracked area's current.md refreshed (design and non-codebase snapshots carried forward and labelled as such), its window reconciled from one shared trace saved as projects/top-tips-trace-<date>.md, and its audit-log row and last_audit updated.
  • One decision sheet answered, with every outcome ledgered where its source command ledgers it. Nothing is applied without a yes, and nothing declined is offered again.
  • python3 scripts/validate-artifacts.py passing, the publish dry run clean on the final HEAD where the hub has scripts/publish.sh, the hub committed, and the push question asked.
  • A report with exact counts per stage.

Read the full file on GitHub · 373 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. today Changed · +2 lines fc76fe2d6e22
  2. yesterday First seen · 371 lines · 75 tokens per session scan A 7bfa2a01f7e9

Subscribe to this mod's changes

weekly-update is a command published in the GitHub repository runnithan/claudex-setup (1 stars, last pushed yesterday), licensed MIT. It adds 75 tokens to every session and 5,737 once invoked, about $0.0003 per session on Opus 5.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-10-20.