# balzac

Adopt this skill: https://proskills.md/skills/other/hirebalzac-cli

Page: https://proskills.md/skills/other/hirebalzac-cli
This document is the public skill bundle for that page. It contains SKILL.md and every helper file the catalog carries. No login is required.

## File: SKILL.md
size: 8004
upstream: https://github.com/hirebalzac/cli/blob/HEAD/SKILL.md

````text
---
name: balzac
description: Balzac is an AI content platform CLI. Create workspaces, manage SEO keywords, generate article suggestions, write articles, publish content across integrations, and monitor Google Search Console performance. Supports workspaces, keywords, suggestions, briefings, articles, competitors, links, integrations, search console, settings, and tones of voice.
homepage: https://developer.hirebalzac.ai
metadata: {"clawdbot":{"emoji":"✍️","requires":{"bins":["balzac"],"env":["BALZAC_API_KEY"]}}}
---

## Install Balzac CLI if it doesn't exist

```bash
npm install -g balzac-cli
```

npm release: https://www.npmjs.com/package/balzac-cli
balzac cli github: https://github.com/hirebalzac/cli
api docs: https://developer.hirebalzac.ai
official website: https://hirebalzac.ai

---

| Property | Value |
|----------|-------|
| **name** | balzac |
| **description** | AI content platform CLI for managing workspaces, keywords, suggestions, articles, and Google Search Console data |
| **allowed-tools** | Bash(balzac:*) |

---

## Core Workflow

The fundamental pattern for using the Balzac CLI:

1. **Authenticate**: Set your API key
2. **Create workspace**: From a domain, Balzac auto-analyzes the site
3. **Manage keywords**: Add, enable/disable keywords
4. **Generate content**: Generate suggestions, accept them, or create briefings directly
5. **Manage articles**: List, export, rewrite, regenerate pictures, publish
6. **Monitor performance**: View Google Search Console data (clicks, impressions, CTR, position)

```bash
# 1. Authenticate
export BALZAC_API_KEY=bz_your_key_here
# Or: balzac auth login bz_your_key_here

# 2. Create workspace and wait
balzac workspaces create --domain https://myblog.com --wait
WORKSPACE_ID=$(balzac --json workspaces list | jq -r '.[0].id')
balzac config set workspace "$WORKSPACE_ID"

# 3. Manage keywords
balzac keywords list
balzac keywords create --name "content marketing"

# 4. Generate content
balzac suggestions generate
# Wait for suggestions to appear
sleep 30
balzac suggestions list --status proposed
balzac suggestions accept <suggestion-id>

# 5. Manage articles
balzac articles list
balzac articles export <article-id> --format markdown
```

---

## Essential Commands

### Setup

```bash
# Required: set API key (one of these methods)
export BALZAC_API_KEY=bz_your_key_here
balzac auth login bz_your_key_here

# Check the key: account, available credits, key name, role and admin flag
balzac auth status

# Optional: set default workspace
balzac config set workspace <workspace-id>

# Optional: custom API URL
export BALZAC_API_URL=https://custom-api.example.com/v1
```

### Workspaces

```bash
# List workspaces
balzac workspaces list
balzac workspaces list --status ready

# Create workspace (auto-setup from domain)
balzac workspaces create --domain https://myblog.com
balzac workspaces create --domain https://myblog.com --wait
balzac workspaces create --domain https://myblog.com --auto-accept-suggestions --language fr

# Get workspace details
balzac workspaces get <workspace-id>

# Update workspace
balzac workspaces update <id> --name "My Blog" --language en

# Delete workspace
balzac workspaces delete <id>
```

### Keywords

```bash
# List keywords (use -w to specify workspace, or set default)
balzac keywords list
balzac keywords list --status enabled

# Create keyword
balzac keywords create --name "content marketing"

# Get keyword details
balzac keywords get <keyword-id>

# Enable / disable
balzac keywords enable <keyword-id>
balzac keywords disable <keyword-id>

# Generate new keywords with AI (async)
balzac keywords generate

# Delete keyword
balzac keywords delete <keyword-id>
```

### Suggestions

```bash
# List suggestions
balzac suggestions list
balzac suggestions list --status proposed

# Get suggestion details
balzac suggestions get <suggestion-id>

# Generate 10 new suggestions (costs 1 credit, async)
balzac suggestions generate

# Accept suggestion: starts article writing (costs 5 credits)
balzac suggestions accept <suggestion-id>

# Reject suggestion
balzac suggestions reject <suggestion-id>
```

### Briefings

```bash
# List briefings
balzac briefings list

# Create briefing: immediately starts writing (costs 5 credits)
balzac briefings create --topic "How to use AI for content marketing"
balzac briefings create --topic "SEO tips" --type listicle --length long

# Create briefing: queue for later writing (respects articles-per-week schedule)
balzac briefings create --topic "Content strategy guide" --queue

# Get briefing details
balzac briefings get <briefing-id>

# Delete briefing
balzac briefings delete <briefing-id>
```

### Articles

```bash
# List articles (Live URL column once published)
balzac articles list
balzac articles list --status done
balzac articles list --status done --published false

# Get article: details, live URL and publications (ID, status, URL, scheduled time)
# --json also includes the HTML content when done
balzac articles get <article-id>

# Update metadata
balzac articles update <id> --title "New Title" --slug "new-slug"

# Rewrite article (free, 2 per article). Poll articles get until Rewriting is false, and stop
# after a timeout: a rewrite that never finishes keeps the article blocked (409 on new rewrites);
# write to hello@hirebalzac.ai if that happens
balzac articles rewrite <id>
balzac articles rewrite <id> --length long --instructions "More technical depth"

# Regenerate picture (free, 2 per article; Picture URL changes when it is ready)
balzac articles regenerate-picture <id>
balzac articles regenerate-picture <id> --style watercolor
# No AI image: title on a brand color gradient, or stock photo with no AI fallback
# (422 no_stock_photo when none matches: retry with --instructions "search words")
balzac articles regenerate-picture <id> --mode stock --no-ai-images --instructions "laptop on a desk"

# Export content
balzac articles export <id> --format markdown
balzac articles export <id> --format html --output article.html

# Publish now: prints the new publication (-q prints only its ID). Already on
# that integration: no new publication; prints the API's message, and --json
# adds publish: {"result": "already_published", "publication_id", "message"}
balzac articles publish <id> --integration <integration-id>

# Schedule publication: prints the publication ID (-q prints only the ID)
balzac articles schedule <id> --integration <int-id> --at "2026-04-01T10:00:00Z"

# Cancel schedule (publication IDs are listed by articles get)
balzac articles cancel-schedule <id> --publication <publication-id>

# Delete article
balzac articles delete <id>
```

### Write (Shortcut)

```bash
# Create briefing + optionally wait for completion
balzac write "How to use AI for marketing"
balzac write "SEO tips for 2026" --wait
balzac write "AI comparison" --type listicle --length long --wait
```

### Competitors

```bash
balzac competitors list
balzac competitors add --name "Acme Corp" --domain https://acme.com
balzac competitors get <id>
balzac competitors remove <id>
```

### Links

```bash
balzac links list
balzac links add --url https://myblog.com/about
balzac links get <id>
balzac links remove <id>
```

### Integrations

```bash
# List integrations
balzac integrations list

# Get integration details
balzac integrations get <id>

# Create WordPress integration
balzac integrations create --service wordpress --name "My WP Blog" \
  --wordpress-url https://myblog.com --wordpress-username admin \
  --wordpress-password "app_pass_here"

# Create Webflow integration (discover resources first)
balzac integrations lookup webflow-sites --token "wf_token"
balzac integrations lookup webflow-collections --token "wf_token" --site-id "site_123"
balzac integrations lookup webflow-fields --token "wf_token" --collection-id "col_123"
balzac integrations create --service webflow --name "My Webflow Site" \
  --webflow-token "wf_token" --webflow-site-id "site_123" \
  --webflow-collection-id "col_123" --auto-publ
````

## File: README.md
upstream: https://github.com/hirebalzac/cli/blob/HEAD/README.md

````text
# Balzac CLI

[![npm version](https://img.shields.io/npm/v/balzac-cli.svg)](https://www.npmjs.com/package/balzac-cli)
[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)

**AI content platform CLI**: manage workspaces, keywords, suggestions, articles, and more from the command line.

Built for AI coding agents ([Claude Code](https://claude.com/product/claude-code), [Claude Cowork](https://claude.com/product/cowork), [Codex](https://openai.com/codex/), [Mistral Vibe](https://vibe.mistral.ai), [Cursor](https://cursor.com), [Windsurf](https://windsurf.com), [Cline](https://cline.bot), [Aider](https://aider.chat)) and developers alike, the Balzac CLI provides a complete interface to the [Balzac API](https://developer.hirebalzac.ai), enabling automated content creation, SEO keyword management, and article publishing across integrations.

No signup needed for the [free SEO tools](https://hirebalzac.ai/free-seo-tools/), such as the AI crawler checker.

---

## Installation

```bash
npm install -g balzac-cli
balzac --version
```

### For AI Agents

Install the Balzac skill for your AI agent (Cursor, Claude Code, OpenClaw, etc.):

```bash
npx skills add hirebalzac/cli
```

This installs the [SKILL.md](SKILL.md) which gives your agent full knowledge of the CLI commands, patterns, and workflows.

---

## Setup

**Required:** Set your Balzac API key. You can get your API key by signing up at [https://hirebalzac.ai/start/](https://app.hirebalzac.ai/start/).

```bash
# Interactive login (stores key locally)
balzac auth login

# Or set via environment variable
export BALZAC_API_KEY=bz_your_api_key_here
```

**Optional:** Set a default workspace so you don't need `--workspace` on every command

```bash
balzac config set workspace <workspace-id>
```

**Optional:** Custom API endpoint

```bash
export BALZAC_API_URL=https://custom-api.example.com/v1
```

---

## Commands

### Authentication

```bash
# Store your API key
balzac auth login
balzac auth login bz_abc123...

# Remove stored key
balzac auth logout

# Check authentication status: account, credits, key name, role and admin flag
balzac auth status
```

### Workspaces

```bash
# List all workspaces
balzac workspaces list
balzac workspaces list --status ready

# Create workspace from domain (auto-setup)
balzac workspaces create --domain https://myblog.com
balzac workspaces create --domain https://myblog.com --auto-accept-suggestions --language fr

# Create and wait for setup to complete
balzac workspaces create --domain https://myblog.com --wait

# Get workspace details
balzac workspaces get <workspace-id>

# Update workspace
balzac workspaces update <workspace-id> --name "My Blog" --language en
balzac workspaces update <workspace-id> --target-audience "Founders of small SaaS companies"

# Delete workspace
balzac workspaces delete <workspace-id>
```

### Keywords

```bash
# List keywords
balzac keywords list -w <workspace-id>
balzac keywords list --status enabled

# Create a keyword
balzac keywords create --name "content marketing" -w <workspace-id>

# Get keyword details
balzac keywords get <keyword-id>

# Enable / disable
balzac keywords enable <keyword-id>
balzac keywords disable <keyword-id>

# Generate new keywords with AI (async)
balzac keywords generate

# Delete keyword
balzac keywords delete <keyword-id>
```

### Suggestions

AI-generated content proposals. Accept to start writing, reject to dismiss.

```bash
# List suggestions
balzac suggestions list -w <workspace-id>
balzac suggestions list --status proposed

# Get suggestion details
balzac suggestions get <suggestion-id>

# Generate new suggestions (costs 1 credit)
balzac suggestions generate

# Accept a suggestion (starts article writing, costs 5 credits)
balzac suggestions accept <suggestion-id>

# Reject a suggestion
balzac suggestions reject <suggestion-id>
```

### Briefings

Direct write instructions. Creating a briefing immediately starts the article writing pipeline.

```bash
# List briefings
balzac briefings list

# Create a briefing (starts writing, costs 5 credits)
balzac briefings create --topic "How to use AI for content marketing in 2026"
balzac briefings create --topic "SEO tips" --type listicle --length long

# Get briefing details
balzac briefings get <briefing-id>

# Delete briefing
balzac briefings delete <briefing-id>
```

### Articles

```bash
# List articles (with their live URL once published)
balzac articles list
balzac articles list --status done --published false

# Get article: details, live URL and publications (--json includes the HTML content when done)
balzac articles get <article-id>

# Update article metadata
balzac articles update <article-id> --title "New Title" --slug "new-slug"

# Rewrite article (free, 2 per article)
balzac articles rewrite <article-id>
balzac articles rewrite <article-id> --length long --instructions "More technical depth"

# Regenerate article picture (free, 2 per article; articles get shows New Covers Left)
balzac articles regenerate-picture <article-id>
balzac articles regenerate-picture <article-id> --style watercolor --instructions "Dark background"
# No AI image: the title on a brand color gradient, or a stock photo with no AI fallback
# (422 no_stock_photo when none matches: try other search words with --instructions)
balzac articles regenerate-picture <article-id> --mode title --no-ai-images
balzac articles regenerate-picture <article-id> --mode stock --no-ai-images --instructions "laptop on a desk"

# Publish now: prints the new publication (-q prints only its ID). An article
# already on that integration gets no new publication: the command prints the
# API's message instead, which says when nothing was sent, and --json adds it
# as publish ({"result": "already_published", "publication_id", "message"})
balzac articles publish <article-id> --integration <integration-id>

# Schedule publication: prints the publication ID that cancel-schedule needs
balzac articles schedule <article-id> --integration <id> --at "2026-04-01T10:00:00Z"

# Cancel scheduled publication (articles get lists the publication IDs)
balzac articles cancel-schedule <article-id> --publication <publication-id>

# Export content
balzac articles export <article-id> --format markdown
balzac articles export <article-id> --format html --output article.html
```

Publishing runs in the background. `articles get` shows `Published: true` once the platform accepts the post, and the live URL once the platform reports where it went live. Drafts (Webflow or GoHighLevel set to draft) and webhooks that don't answer with a URL never report one. A send that failed isn't reported, so stop checking after a while: if nothing changes, check the integration's status with `balzac integrations get <integration-id>`.

### Write (Shortcut)

A convenience command that creates a briefing and optionally waits for the article to complete.

```bash
# Start writing an article
balzac write "How to use AI for marketing"

# Start writing and wait until done
balzac write "SEO tips for 2026" --wait

# With options
balzac write "AI tools comparison" --type listicle --length long --wait
```

### Competitors

```bash
# List competitors
balzac competitors list

# Add a competitor
balzac competitors add --name "Acme Corp" --domain https://acme.com

# Get competitor details
balzac competitors get <competitor-id>

# Remove competitor
balzac competitors remove <competitor-id>
```

### Links

```bash
# List reference links
balzac links list

# Add a link
balzac links add --url https://myblog.com/about

# Get link details
balzac links get <link-id>

# Remove link
balzac links remove <link-id>
```

### Integrations

```bash
# List integrations
balzac integrations list

# Create a WordPress integration
balzac integrations create --service wordpress --name "My Blog" \
  --wordpress-url https://myblog.com --wordpress-username admin \
  --wordpress-password "app_pass_here" --auto-publish

# Discover Webflow resources 
````
