Borrowing it
Nothing to install: this file belongs to noontide-co/mainbranch. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/noontide-co/mainbranch/main/.claude/skills/mb-update/SKILL.mdgit clone --depth 1 https://github.com/noontide-co/mainbranchWrote 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.
[](https://agentmods.dev/skills/noontide-co/mainbranch/mb-update)<a href="https://agentmods.dev/skills/noontide-co/mainbranch/mb-update"><img src="https://agentmods.dev/badge/skills/noontide-co/mainbranch/mb-update.svg" alt="Measured on agentmods" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00038 | $0.00770 |
| Opus 5 | $0.00019 | $0.00385 |
| Sonnet 5 | $0.00008 | $0.00154 |
| Haiku 4.5 | $0.00004 | $0.00077 |
Grade A, and why
mb-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.
How it starts
The opening of the file, as written. The whole thing — 102 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Update
Update the installed Main Branch CLI and skills, then refresh this business folder's Claude Code links.
Use this instead of asking the user to remember whether they installed with
pipx or an old clone. The CLI owns the mechanics. Do not suggest raw package
commands such as pipx upgrade mainbranch as the first update path; only use
that as the bootstrap fallback when mb update is unavailable or the installed
version is 0.1.x.
CLI facts first: Run mb update --repo . --json from the business folder
and use its result before giving install-mode advice.
Step 1: Update Main Branch
Run from the business folder:
mb update --repo . --json 2>&1
Handle the JSON result:
| Result | What to say |
|---|---|
"ok": true, old_version != new_version |
"Updated Main Branch and refreshed skill links." |
"ok": true, old_version == new_version |
"Main Branch is already up to date." |
"ok": false |
Show the first error and the repair copy below. |
| Invalid JSON | Run mb update --check --repo . yourself if possible; if not, ask the user for that output. |
If the result includes warnings, show them after the main status.
Step 2: If Update Fails
Tell the user:
"I wasn't able to update Main Branch. This can leave you on old skills or old migration behavior.
Try these from your business repo:
mb update --check --repo . mb doctorIf
mb --versionsays0.1.x, run this once first:pipx upgrade mainbranch ```"
Do not continue as if the update worked.
Step 3: Restart If Skill Links Changed
If skills_relinked_count is greater than zero after an actual update, tell
the user:
"Skill links were refreshed. If a slash command does not appear in Claude Code, restart Claude from this repo and run
/mb-start."
Claude Code loads slash commands at session start, so a restart can be required
after repairing links. In --check --json output, treat
planned_skills_relink_count as a dry-run preview, not proof that links already
changed.
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.
- 8d ago First seen · 102 lines · 38 tokens per session scan A 242141fd3d2c
mb-update is a skill published in the GitHub repository noontide-co/mainbranch (39 stars, last pushed 24d ago), licensed MIT. It adds 38 tokens to every session and 770 once invoked, about $0.0002 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-08-30.
Other skills, from other repositories
cn-check
Install and run the Continue CLI (cn) to execute AI agent checks on local code changes. Use when asked to "run checks", "lint with AI", "review my changes with cn", or set up Continue CI locally.
web-scraping
Fetches web pages and extracts structured data using mq's toolchain (mq-crawl for fetching/crawling/JS rendering, mq for HTML-to-Markdown selector-based extraction, http() for in-query requests). Use when the user wants to scrape a URL, pull structured data out of a webpage, crawl a site, or turn HTML into…
crit-story
Author a crit story and continue the interactive review loop only when the user explicitly invokes crit-story or directly asks you to generate a crit story. Do not infer this skill from generic review, PR, or diff-review requests.
larksnap-fetch
A bridge for downloading Feishu/Lark documents or ordinary webpages into local files, with options such as Markdown, HTML, or PDF. Feishu, also called Lark, is a workplace collaboration platform.
alive:demo
Generate a believable, lived-in ALIVE world from a free-text persona description (custom path) or a deterministic sandbox preset. Routes the create/list/activate/deactivate/delete/status surface and orchestrates the 5-stage subagent generation pipeline.
alive:system-upgrade
Upgrade ALIVE to the current version. Handles v1/v2/v3.x source states, multi-surface aware (alive-mcp / Hermes / Codex), retroactive version detection, partial-failure resume, dry-run previews, and rollback inspection.