cli-reference
Reference and lightweight wrapper for the official Buttondown CLI (github.com/buttondown/cli).
Skill by danielrosehill
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.
About
Use cases: backend, marketing
Reviews
Write a reviewNo 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 subscribersFrom danielrosehill/Claude-Buttondown-Mgmt-Plugin, MIT.
More from danielrosehill/Claude-Buttondown-Mgmt-Plugin
- 0.371score
docs-lookup
danielrosehill
Look up Buttondown documentation in the local cache before answering API questions or making API calls.
SkillCFreshness: CClaude Code +9 - 0.371score
onboard
danielrosehill
First-run setup for buttondown-mgmt.
SkillCFreshness: CClaude Code +9 - 0.371score
update-template
danielrosehill
Update an existing template in the local template store — edit body, change subject, scope, audience, or tags.
SkillCFreshness: CClaude Code +9 - 0.371score
refresh-docs
danielrosehill
Clone or pull the official Buttondown documentation repository (github.com/buttondown/docs) into the plugin's local cache.
SkillCFreshness: CClaude Code +9 - 0.371score
add-template
danielrosehill
Add a reusable email template to the local template store.
SkillCFreshness: CClaude Code +9 - 0.369score
list-newsletters
danielrosehill
List all Buttondown newsletters registered with the plugin — slug, display name, user directory, and which one is the default.
SkillCFreshness: CClaude Code +9 - 0.369score
add-newsletter
danielrosehill
Register an additional Buttondown newsletter alongside any already configured.
SkillCFreshness: CClaude Code +9 - 0.367score
list-templates
danielrosehill
List all email templates in the local template store — name, subject, scope (global or newsletter slug), tags, last updated.
SkillCFreshness: CClaude Code +9 - 0.367score
send-email
danielrosehill
Create a draft or send a Buttondown email for a specific newsletter, optionally starting from a local template.
SkillCFreshness: CClaude Code +9 - 0.367score
list-emails
danielrosehill
List recent Buttondown emails (drafts, scheduled, sent) for a specific newsletter via the Buttondown API.
SkillCFreshness: CClaude Code +9
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
- Source
- GitHubgithub-graphql
More from danielrosehill
- 0.470score
plugin-data-storage
danielrosehill
Canonical reference for where Claude Code plugins should persist user data.
SkillAFreshness: A★ 2Claude Code +9 - 0.470score
save-plan
danielrosehill
Save a Claude Code plan (from ExitPlanMode, design discussion, or multi-step task) to persistent storage.
SkillAFreshness: A★ 2Claude Code +9 - 0.470score
onboard
danielrosehill
First-run onboarding for the adb-ops plugin.
SkillAFreshness: A★ 2Claude Code +9 - 0.470score
context-gate
danielrosehill
One-shot context-checkpoint workflow — when the current session is getting cluttered, write a structured handover plan capturing what's done and what's…
SkillAFreshness: A★ 2Claude Code +9 - 0.470score
context-workflow-reference
danielrosehill
Reference and worked example for the CONTEXT.md / CLAUDE.md two-file workflow.
SkillAFreshness: A★ 2Claude Code +9 - 0.470score
scaffold-planning
danielrosehill
Create a lightweight `planning/` folder in the current repo with leftover-tasks.md, blockers.md, session-logs/, and handovers/.
SkillAFreshness: A★ 2Claude Code +9
Cite this page
cli-reference skill. Agent Mart. https://agentmart.dev/skills/danielrosehill-cli-reference (last updated 2026-10-24)