Skip to content
Agentmart
Submit a tool

cli-reference

Reference and lightweight wrapper for the official Buttondown CLI (github.com/buttondown/cli).

Skill by danielrosehill

IndexedMIT
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/danielrosehill-cli-reference

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Reference and lightweight wrapper for the official Buttondown CLI (github.com/buttondown/cli). Use when the user prefers CLI operations over raw API calls — sending drafts, listing subscribers, managing emails from the terminal. Resolves the API key for the active newsletter.

Use cases: backend, marketing

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/cli-reference

What's inside

Skill name
cli-reference
Description
Reference and lightweight wrapper for the official Buttondown CLI (github.com/buttondown/cli). Use when the user prefers CLI operations over raw API calls — sending drafts, listing subscribers, managing emails from the terminal. Resolves the API key for the active newsletter.
License
MIT
Instructions
36 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# CLI Reference

Upstream: https://github.com/buttondown/cli

## Detect

```bash
command -v buttondown >/dev/null && buttondown --version
```

If not installed, point the user at the upstream README for install instructions (it changes — don't hardcode here).

## Auth (multi-newsletter)

The CLI reads the API key from the env var documented upstream. Pick the right newsletter, resolve its `api_key_ref`, then export:

```bash
DATA_ROOT="${CLAUDE_USER_DATA:-${XDG_DATA_HOME:-$HOME/.local/share}/claude-plugins}/buttondown-mgmt"
SLUG="<newsletter-slug>"   # or .default==true entry
REF=$(jq -r ".newsletters.\"$SLUG\".api_key_ref" "$DATA_ROOT/config.json")
export BUTTONDOWN_API_KEY="$(op read "$REF")"
```

Always print which newsletter the env was set for before running CLI commands so the user can catch a wrong-newsletter mistake.

## Usage

Before constructing any CLI invocation, consult the cached docs (`docs-lookup` skill) for current command syntax — the CLI evolves.

Common operations:
- List recent emails / drafts
- Create a draft from a local markdown file in the newsletter's `user_dir`
- Send a draft (confirm first)
- List or export subscribers

From danielrosehill/Claude-Buttondown-Mgmt-Plugin, MIT.

More from danielrosehill/Claude-Buttondown-Mgmt-Plugin

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Apr 29, 2026 (6 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from danielrosehill

Cite this page

cli-reference skill. Agent Mart. https://agentmart.dev/skills/danielrosehill-cli-reference (last updated 2026-10-24)