mainbranch: Skill for Claude Code

.claude/skills/mb-wiki/SKILL.md

mb-wiki is a skill for Claude Code from noontide-co/mainbranch. It costs 147 tokens per session (3,163 once invoked), scanned A, original, MIT.

A system for creating and maintaining a personal wiki: a collection of linked notes, research pages, and updates. A wiki is a set of pages that can be connected to one another and published as a website.

In plain words
What is it for?
Setting up and personalizing a wiki, adding linked notes and research, managing site details, and publishing changes so the wiki can update automatically.
Why use it?
It keeps personal notes and research organized in small, reusable pages instead of one large document. It also separates the wiki files from the Main Branch engine.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths.

This is noontide-co/mainbranch's own configuration. It tells Claude Code how to work on mainbranch itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything mainbranch configures →

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /Users/you/mb-wiki.

Part of the mainbranch plugin — 21 skills shipped together

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/noontide-co/mainbranch/main/.claude/skills/mb-wiki/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/noontide-co/mainbranch

Made for: Claude Code.

Or install mainbranch, the plugin that ships this one along with the rest of its 21 skills.

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 mb-wiki

README.md
[![agentmods](https://agentmods.dev/badge/skills/noontide-co/mainbranch/mb-wiki/github.svg)](https://agentmods.dev/skills/noontide-co/mainbranch/mb-wiki)
Your own site
<a href="https://agentmods.dev/skills/noontide-co/mainbranch/mb-wiki"><img src="https://agentmods.dev/badge/skills/noontide-co/mainbranch/mb-wiki/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 mb-wiki

Your own site · 80×15
<a href="https://agentmods.dev/skills/noontide-co/mainbranch/mb-wiki"><img src="https://agentmods.dev/badge/skills/noontide-co/mainbranch/mb-wiki.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 147 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,163 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.00147 $0.03163
Opus 5 $0.00073 $0.01581
Sonnet 5 $0.00029 $0.00633
Haiku 4.5 $0.00015 $0.00316

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

Security

Grade A, and why

mb-wiki 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 10d 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.

.claude/skills/mb-wiki/SKILL.md · 377 lines

How it starts

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

Wiki Skill

Create and maintain personal wikis with atomic notes, WikiLinks, and auto-deploy.

Need help? Type /mb-help + your question anytime. If conversation compacts, /mb-help reloads fresh context.

Pull Latest Updates (Always)

See references/pull-engine-updates.md for the standard Main Branch update check. Run it at the start of every /mb-wiki invocation.


Where Files Go

Wiki files go to YOUR WIKI REPO, not your business repo or the Main Branch engine.

your-wiki-repo/              <- Files saved here
├── src/content/notes/       <- Atomic notes (/mb-wiki add)
├── src/content/research/    <- Full research docs (/mb-wiki research)
└── src/content/updates/     <- Auto-generated updates (/mb-wiki recent)

~/.mainbranch/mb-wiki.json      <- Config pointing to wiki repo

mainbranch/ (engine)         <- Never modified by /mb-wiki
└── .claude/skills/mb-wiki/     <- This skill lives here

The skill reads ~/.mainbranch/mb-wiki.json to find your wiki repo location.


Prerequisites

Before using this skill:

  1. GitHub CLI (gh) installed and authenticated
  2. pnpm installed (npm install -g pnpm)
  3. Cloudflare account (free tier works) — can create during setup

Check for existing config:

cat ~/.mainbranch/mb-wiki.json 2>/dev/null || echo "No wiki configured yet"

Modes

Mode What It Does When to Use
setup Clone template, deploy to CF Pages First time (quick)
configure Personalize wiki (name, social, domain, etc.) After setup
add Create atomic note with frontmatter Daily note-taking
publish Git commit + push (auto-deploy) After any changes
research Convert Gemini/GPT research to wiki After deep research
update Pull upstream template changes When fixes released
recent Generate "Recent Updates" from Git Weekly or on threshold

Mode: setup

Read the full file on GitHub · 377 lines

Files

What ships with it

8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 10d ago First seen · 377 lines · 147 tokens per session scan A c34e0170b3c0

Subscribe to this mod's changes

mb-wiki is a skill published in the GitHub repository noontide-co/mainbranch (39 stars, last pushed 26d ago), licensed MIT. It adds 147 tokens to every session and 3,163 once invoked, about $0.0007 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.

Related

Other skills, from other repositories

theme-builder

Create or customize a site theme interactively. Walks through site purpose, audience, visual direction, and design specifics before generating a complete base.html template with all SEO, accessibility, search, pagination, and i18n requirements.

seite-sh/seite · 49 tokens

UI Design

Skill "UI Design" from OpenLabor/openlabor, covering ui design, objective and guidelines.

OpenLabor/openlabor · 6 tokens

popup-cro

When the user wants to create or optimize popups, modals, overlays, slide-ins, or banners for conversion purposes. Also use when the user mentions "exit intent," "popup conversions," "modal optimization," "lead capture popup," "email popup," "announcement banner," or "overlay." For forms outside of popups, see…

seite-sh/seite · 87 tokens

a2ui-renderer

Render A2UI (Agent-to-UI declarative surfaces) in CopilotKit v2. Enable the runtime via CopilotRuntime({ a2ui: {...} }), then enable the provider via . Auto-activates via /info — do NOT manually pass renderActivityMessages. createA2UIMessageRenderer ships from @copilotkit/react-core/v2; low-level primitives…

CopilotKit/CopilotKit · 175 tokens

copilotkit-develop

Use when building AI-powered features with CopilotKit v2 -- adding chat interfaces, registering frontend tools, sharing application context with agents, handling agent interrupts, and working with the CopilotKit runtime.

CopilotKit/CopilotKit · 46 tokens

copilotkit-upgrade

Use when migrating a CopilotKit v1 application to v2 -- updating package imports, replacing deprecated hooks and components, switching from GraphQL runtime to AG-UI protocol runtime, and resolving breaking API changes.

CopilotKit/CopilotKit · 48 tokens