Smithery Logo
MCPsSkillsDocsPricing
Login
Smithery Logo

Accelerating the Agent Economy

Resources

DocumentationPrivacy PolicySystem Status

Company

PricingAboutBlog

Connect

© 2026 Smithery. All rights reserved.

    jameskraus

    nab-cli-basics

    jameskraus/nab-cli-basics
    Productivity
    1
    1 installs

    About

    SKILL.md

    Install

    Install via Skills CLI

    or add to your agent
    • Claude Code
      Claude Code
    • Codex
      Codex
    • OpenClaw
      OpenClaw
    • Cursor
      Cursor
    • Amp
      Amp
    • GitHub Copilot
      GitHub Copilot
    • Gemini CLI
      Gemini CLI
    • Kilo Code
      Kilo Code
    • Junie
      Junie
    • Replit
      Replit
    • Windsurf
      Windsurf
    • Cline
      Cline
    • Continue
      Continue
    • OpenCode
      OpenCode
    • OpenHands
      OpenHands
    • Roo Code
      Roo Code
    • Augment
      Augment
    • Goose
      Goose
    • Trae
      Trae
    • Zencoder
      Zencoder
    • Antigravity
      Antigravity
    ├─
    ├─
    └─

    About

    Basics for using the nab CLI (YNAB tool).

    SKILL.md

    Nab CLI Basics

    Overview

    Use this guide to explain the minimal setup (auth token + budget id) and common commands for the nab CLI.

    Quick start

    • Requires Bun (https://bun.sh).
    • Run bunx @jameskraus/nab --help to list commands and global options.
    • Follow the pattern bunx @jameskraus/nab <resource> <action> [options].
    • Use --format table|json|tsv|ids to change output format.
    • Run common read commands:
      • bunx @jameskraus/nab budget list
      • bunx @jameskraus/nab account list
      • bunx @jameskraus/nab category list
      • bunx @jameskraus/nab payee list
      • bunx @jameskraus/nab tx list
      • bunx @jameskraus/nab tx get --id <TRANSACTION_ID>

    Set auth token (required)

    • Use YNAB Personal Access Tokens only (no OAuth).
    • Get a PAT from https://app.ynab.com/settings/developer.
    • Store tokens with bunx @jameskraus/nab auth token add <PAT>.

    Set budget id (required for most commands)

    • Run bunx @jameskraus/nab budget list --format json and copy the id field.
    • Store a default budget id with bunx @jameskraus/nab budget set-default --id <BUDGET_ID>.
    • Override per command with --budget-id <BUDGET_ID>.
    • Show the effective budget id with bunx @jameskraus/nab budget current.

    Notes

    • Use date-only strings (YYYY-MM-DD).
    • Use --dry-run to preview mutations and --yes to apply them.
    Repository
    jameskraus/nab
    Files