mb-cli

mb-cli is a skill for Claude Code, Codex from jthingelstad/mb. It costs 48 tokens per session (1,544 once invoked), scanned A, original, MIT.

A guide for using the mb command-line tool with Micro.blog, a blogging and social platform. It explains how to read feeds and inboxes, manage follows, discover users, and build pipelines while separating reading from social actions.

In plain words
What is it for?
Checking session status, reading timelines and inboxes, catching up, finding users or collections, enriching results, and managing Micro.blog workflows.
Why use it?
It helps choose appropriate mb commands, avoid expensive lookups, and handle public interactions deliberately.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Checking session status, reading timelines and inboxes, catching up, finding users or collections, enriching results, and managing Micro.blog workflows.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jthingelstad/mb/mb-cli
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.

Any agent
npx skills add jthingelstad/mb --skill mb-cli
Clone the repo
git clone --depth 1 https://github.com/jthingelstad/mb

Made for: Claude Code, Codex.

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-cli

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/jthingelstad/mb/mb-cli"><img src="https://agentmods.dev/badge/skills/jthingelstad/mb/mb-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,544 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.00048 $0.01544
Opus 5.5 $0.00019 $0.00618
Sonnet 5.5 $0.00010 $0.00309
Haiku 4.5 $0.00005 $0.00154

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

Security

Grade A, and why

mb-cli 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 12d 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.

skills/mb-cli/SKILL.md · 171 lines

How it starts

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

mb CLI

Use this skill whenever the task involves mb.

Core rules

  • Start most agent sessions with mb heartbeat.
  • Use mb inbox when deciding whether something deserves a reply.
  • Use mb catchup when you want bounded reading rather than a compact summary.
  • Default to agent output for exploration and pipelines.
  • Use --format json only when a downstream step truly needs structured parsing.
  • Prefer cheap list/read commands first.
  • Make expensive fan-out explicit with mb lookup ....
  • Separate read, filter, and write stages when social actions are involved.

Cheap first, expensive second

Cheap reads:

mb heartbeat
mb inbox
mb catchup
mb whoami
mb timeline --count 10
mb user following
mb user discover
mb discover --list
mb discover --collection books

Explicit enrichment:

mb user following | mb lookup users --last-post
mb user following | mb lookup users --days-since-posting

Heartbeat workflow

  • mb heartbeat is the default session-start check for agent use.
  • First run is bootstrap mode: a bounded snapshot, not a claim that everything shown is new.
  • Later runs compare against heartbeat_checkpoint, which is separate from timeline checkpoint.
  • Heartbeat advances by default; use mb heartbeat --no-advance to inspect without saving.
  • Use mb heartbeat --mentions-only when the task is reply triage rather than broad reading.
  • Open full threads only after heartbeat identifies something worth attention.

Inbox and catchup

  • mb inbox is the reply-triage surface.
  • mb catchup is the bounded read-what-is-new surface.
  • mb inbox, mb catchup, and mb heartbeat each use separate checkpoints.
  • Use mb checkpoint list when cursor state is unclear.
  • Use mb checkpoint clear <name> to reset a stuck workflow cursor.
  • Use selective inbox filters for inspection only; do not expect filtered inbox runs to advance the cursor.
  • Truncated inbox/catchup results cannot advance; increase the CLI count or use MCP paging plus explicit acknowledgement.
  • Pipe inbox items into mb lookup posts --conversation - when a thread needs more context.

Read the full file on GitHub · 171 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. 12d ago Changed 9b314cda54b4
  2. 13d ago Changed · +19 lines fadba4734c81
  3. 1mo ago First seen · 152 lines · 48 tokens per session scan A d05b79cadbe7

Subscribe to this mod's changes

mb-cli is a skill published in the GitHub repository jthingelstad/mb (5 stars, last pushed 13d ago), licensed MIT. It adds 48 tokens to every session and 1,544 once invoked, about $0.0002 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-08-31.

Related

Other skills, from other repositories

dd-code-generation

Use pup CLI for immediate Datadog operations or generate code for integration into applications.

DataDog/pup · 16 tokens

telegram

Telegram Bot skill for sending and editing Telegram messages via Bot API. Use when Bub needs to: (1) Send a message to a Telegram user/group/channel, (2) Reply to a specific Telegram message with replytomessageid, (3) Edit an existing Telegram message, or (4) Push proactive Telegram notifications. Prefer rich…

bubbuild/bub · 105 tokens

gh

GitHub CLI skill for interacting with GitHub via the gh command line tool. Use when Bub needs to (1) Create, view, or manage GitHub repositories, (2) Work with issues and pull requests, (3) Create and manage releases, (4) Run and monitor GitHub Actions workflows, (5) Create and manage gists, (6) Install and manage…

bubbuild/bub · 96 tokens

xhs-cli

A terminal tool for Xiaohongshu, also called RedNote, a Chinese social platform for user-posted notes, photos, and videos.

jackwener/xhs-cli · 47 tokens

tt-sidebar

Open a live Token Tracker sidebar for only the current Codex session in a right-side terminal split at one-third width. Use when the user explicitly invokes $tt-sidebar or asks to monitor the current Codex session beside its terminal pane.

stormzhang/token-tracker · 50 tokens

modern-python-toolchain

Modern Python project setup with uv, ruff, and pyright. Use when initializing a new Python project, configuring the Python environment, setting up linting/formatting, or when a project needs uv (the fast Python package manager). Trigger on: 'set up Python', 'new Python project', 'configure uv', 'install uv', 'ruff'…

XiaomiMiMo/MiMo-Code · 105 tokens