Quiver

Integrations & APIs

CLI

Quiver CLI

Read and change your Quiver workspace from a terminal or CI job, with stable JSON output, guarded actions, documented exit codes, and a GitHub Action.

quiver is the command-line client for Quiver. Use it from a terminal, a shell script, or a CI job to read your workspace and make changes. Its --json output and exit codes are stable, so scripts can depend on them. The source is in built-for-devs/quiver-cli under the MIT license.

Most commands call one Quiver MCP tool, so the CLI and the MCP server agree on what a change does. Four rules hold throughout:

  • One command, one tool. Most commands map to a single MCP tool. The content commands also read and write local markdown files. quiver tools call reaches any tool that has no dedicated command.
  • Guarded actions refuse to run unattended. Permanent deletes, immediate context changes, takedowns, and model-spending actions prompt on a terminal. Without a terminal, or with --json, they refuse unless you pass --yes.
  • Context changes are proposals. quiver context propose sends a complete new value for review in the Quiver UI. Nothing applies until a person approves it.
  • The CLI cannot publish. New content is created as a draft. Publishing happens in the Quiver UI.

Install#

From a release archive#

Each release publishes archives for macOS, Linux, and Windows, on amd64 and arm64, plus a checksums.txt file. The v0.1.1 archives are:

PlatformArchive
macOS, Intelquiver_darwin_amd64.tar.gz
macOS, Apple siliconquiver_darwin_arm64.tar.gz
Linux, x86-64quiver_linux_amd64.tar.gz
Linux, arm64quiver_linux_arm64.tar.gz
Windows, x86-64quiver_windows_amd64.zip
Windows, arm64quiver_windows_arm64.zip

The archive names contain no version number, so the releases/latest/download/ URLs always point at the newest release. This example installs on macOS with Apple silicon and checks the archive against checksums.txt before extracting it:

curl -fsSLO https://github.com/built-for-devs/quiver-cli/releases/latest/download/quiver_darwin_arm64.tar.gz
curl -fsSLO https://github.com/built-for-devs/quiver-cli/releases/latest/download/checksums.txt
grep ' quiver_darwin_arm64.tar.gz$' checksums.txt | shasum -a 256 --check --strict
tar -xzf quiver_darwin_arm64.tar.gz quiver
sudo mv quiver /usr/local/bin/quiver
quiver --version

On Windows, extract quiver.exe from the .zip archive and put it on your PATH.

Note

The binaries are not notarized. If macOS blocks a binary that you downloaded in a browser, remove the quarantine flag with xattr -d com.apple.quarantine /usr/local/bin/quiver.

With Go#

From a clone of the repository, make build writes ./quiver. With Go installed, you can also run:

go install github.com/built-for-devs/quiver-cli@latest

The module's last path element names the binary, so this installs a file called quiver-cli. Rename it to quiver to match the examples on this page. The Go build also has no release version stamp, so quiver --version prints dev. Go must be the version listed in the module's go.mod.

Connect to a hosted workspace#

  1. Create a token. A workspace admin opens Settings → API tokens, enters a name under Create a token, keeps MCP access checked (the mcp scope), and selects Create token. Copy the qvr_... token right away. It is shown once.

  2. Set the workspace. The slug is the subdomain of your workspace URL, https://<slug>.quivergtm.dev. For https://acme.quivergtm.dev, it is acme:

    quiver config set workspace acme
  3. Log in. Run the command, then paste the token at the prompt and press Enter:

    quiver auth login --token -

    The terminal echoes the paste. To keep the token off the screen, pipe it instead, from your secret manager or, on macOS after copying the token, with pbpaste | quiver auth login --token -.

    The token must start with qvr_. Unless you pass --no-verify, auth login contacts the server before saving, and it saves nothing if the server rejects the token. The token is written to the config file, ~/.quiver/config by default. Set QUIVER_CONFIG to use another path. That file holds your token, so keep it private and never commit it.

  4. Check the connection.

    quiver auth whoami
    quiver context show

    auth whoami verifies the token and shows the endpoint, the workspace, and where the token came from. context show is a read-only check of the workspace.

Connect in CI#

In CI, skip auth login and set the environment variables from your CI secret store:

export QUIVER_TOKEN=qvr_your_token_here
export QUIVER_WORKSPACE=acme

Commands that work offline, such as quiver content check, need no token at all.

Connect to a self-hosted Quiver#

For a self-hosted Quiver (see Deployment and billing for the open-source edition), point the CLI at the full MCP endpoint and give it the server's bearer secret. A workspace slug is not needed:

export QUIVER_API_URL=https://quiver.example.com/api/mcp
export QUIVER_TOKEN=your-mcp-auth-secret
quiver tools ls

QUIVER_TOKEN must match the server's MCP_AUTH_SECRET. auth login only stores qvr_ tokens, so use environment variables for a self-hosted secret. Some dedicated commands need tools that only Quiver Hosted exposes. quiver tools ls lists the tools your server supports.

If a self-hosted connection returns 401 Unauthorized, do not run quiver auth login. Check that QUIVER_API_URL ends in /api/mcp and that QUIVER_TOKEN matches MCP_AUTH_SECRET.

Settings#

Each setting resolves from the first source that provides it, in this order: command-line flag, environment variable, config file.

SettingFlagEnvironment variableConfig keyPurpose
TokenQUIVER_TOKENHosted qvr_ token, or the self-hosted secret. Written by auth login.
Workspace-w, --workspaceQUIVER_WORKSPACEworkspaceThe workspace slug.
API URL--api-urlQUIVER_API_URLapi_urlEndpoint override, for example a local dev server. Without it, the URL comes from the workspace slug.
Config fileQUIVER_CONFIGConfig file path. Defaults to ~/.quiver/config.

--timeout sets the request timeout (default 30s). Use quiver config ls to see each effective setting, where it came from, and the masked token. quiver config get <key> prints one value, and quiver config path prints the config file path.

Commands#

Run quiver <command> --help for the flags and examples of any command.

CommandSubcommandsCovers
quiver dashboardWorkspace summary
quiver contextshow, history, propose, apply, restoreProduct marketing context. See Editing context.
quiver campaignls, get, create, update, status <id> <state>, deleteCampaigns
quiver artifactls, get, save, update, status <id> <state>, archive, deleteArtifacts
quiver contentls, calendar, get, metrics, log-metrics, distribute, archive, delete, pull, push, checkContent library. See Content as files.
quiver researchls, get, add, update, delete, quotes, linear, quote update, quote deleteResearch entries and quotes
quiver perflog, ls, queue, proposals, proposal <id>Performance log and close-the-loop proposals
quiver taskls, add, update, doneTasks, hosted workspaces only
quiver sessionls, get, deleteAgent sessions
quiver competitorls, get, intel, add, update, remove, scan, cadenceCompetitors and competitive intel
quiver toolsls, describe <tool>, call <tool>Raw MCP tools, and their argument schemas
quiver authlogin, logout, whoamiCredentials
quiver configls, get, set, pathCLI settings
quiver completionbash, fish, powershell, zshShell completion scripts

Arguments that name a record accept an ID or a name, and so do --campaign and --artifact:

quiver campaign get "Q3 launch"
quiver campaign create --name "Q3 launch" --goal "500 signups" --channel linkedin,newsletter --start 2026-10-01
quiver artifact save --title "Launch email" --type email_sequence --campaign "Q3 launch" -f email.md
quiver perf log --campaign "Q3 launch" -m signups=42 -m opens=1200 --worked "subject line B"

Enum flags such as --status, --type, and --channel are checked locally, before any request is sent. Run quiver completion --help to install shell completion, which also completes their values.

To call a tool that has no dedicated command, run quiver tools describe <tool> to see its input schema, then quiver tools call <tool> with -a key=value pairs or a --args JSON object:

quiver tools describe list_tasks
quiver tools call list_tasks -a status=todo

Editing context#

Context changes are made one field at a time, and each change replaces the whole field. Export the field, edit it, and propose the complete new value for review:

quiver context show --field messagingPillars > pillars.yaml   # lists and objects print as YAML
$EDITOR pillars.yaml
quiver context propose messagingPillars -f pillars.yaml -r "Acme call feedback"
  • Text fields, such as positioningStatement, print and propose as plain text. For a short text value, pass --value "..." instead of -f. Pass exactly one of the two.
  • --rationale (-r) is required because the reviewer reads it. --source records what prompted the change, for example --source "customer call with Acme 2026-04-11".
  • Use --json with context show --field to get the raw JSON value.

The editable fields are positioningStatement, productCategory, businessModel, icpDefinition, coreProblem, messagingPillars, keyDifferentiators, competitiveLandscape, whyAlternativesFallShort, customerLanguage, proofPoints, activeHypotheses, brandVoice, wordsToUse, and wordsToAvoid.

quiver context apply <field> replaces a field immediately, with no review step. It requires -m/--message, which is recorded in the version history, and it is guarded. Prefer propose unless you are certain of the change. quiver context history lists versions, and quiver context restore <version> restores one by its number or its ID. Restore is also guarded.

Content as files#

content pull writes content as markdown, with SEO and Open Graph metadata in YAML frontmatter. content push syncs edits back. Quiver stays the source of truth.

quiver content pull --all --dir posts
$EDITOR posts/launch-post.md
quiver content check posts/          # offline validation, for CI
quiver content push posts/ --dry-run
quiver content push posts/
  • With one slug and no --dir or -o, pull writes to stdout. -o writes one file. --all lists every item and needs --dir, which writes each item to <dir>/<slug>.md.
  • Keys are written in a fixed order, so repeated pulls produce identical files.
  • The quiver: block records the server state at pull time. Do not edit it.
  • push validates the frontmatter, fetches the server copy, and sends only the fields that changed. Files that match the server are left alone, so push is safe to run on every merge.
  • Removing a field from a file clears it on the server.
  • If an item changed on the server after you pulled it, push stops with exit code 7. Pull again to merge, or pass --force to overwrite the server copy.
  • A file remembers the piece it came from (quiver.id), so push always updates that piece. Slugs cannot be renamed from the CLI.
  • New slugs are created as drafts.

content check validates files without contacting the server. It exits with 5 if any file has errors. With --strict, warnings also fail the check.

Guardrails#

These commands prompt for confirmation on a terminal. Without a terminal, or with --json, they refuse to run unless you pass --yes (-y). A refusal exits with code 2.

  • Changing context immediately: context apply, context restore, and perf proposal --approve.
  • Permanent deletes: campaign delete, artifact delete, content delete, research delete, research quote delete, and session delete.
  • Removing a competitor from tracking: competitor remove.
  • Taking content off the public site: content archive. A published piece is taken down.
  • Spending model tokens: competitor scan, and competitor cadence with any value other than off.

context propose is not guarded. It only proposes a change, and nothing applies until someone approves it in the Quiver UI.

Output and exit codes#

--json output is the stable contract for scripts. Human-readable output can change between versions.

With --json, errors go to stderr as a JSON object, and stdout stays empty for commands that fail before they produce a result:

{"error": {"code": 4, "kind": "not_found", "message": "..."}}

The exception is content check and content push. They print one result per file on stdout, including the failed ones, and then exit with the code of the first failure.

CodeKindMeaning
0okSuccess
1errorUnexpected failure
2usageBad flags or arguments, missing configuration, or a refused guarded action
3authMissing, invalid, or under-scoped token
4not_foundThe resource does not exist
5validationThe server rejected the input, or content check found problems
6unavailableNetwork error, timeout, or server 5xx
7conflictThe item changed on the server after it was pulled

GitHub Action#

This repository is also a GitHub Action. It installs a checksum-verified release binary, runs any quiver command, writes the results to the job summary, and annotates errors on the affected files. It runs on Linux and macOS runners only. On a Windows runner it fails with an error.

- uses: built-for-devs/quiver-cli@v0
  with:
    args: content push posts
    workspace: acme
    token: ${{ secrets.QUIVER_TOKEN }}
    commit-state: "true"
InputDefaultDescription
argsrequiredArguments for quiver, for example content check posts/. --json is added automatically. The value is split on whitespace, so paths cannot contain spaces.
workspaceWorkspace slug.
tokenAPI token with the mcp scope. Pass it from a secret. Not needed for offline commands such as content check.
api-urlEndpoint override.
versionlatestRelease tag, latest, or source. source builds the action's own checkout and needs Go, for testing unreleased changes.
fail-on-errortrueFail the step on a non-zero exit. Set "false" to branch on exit-code instead.
commit-statefalseCommit files that the command modified back to the current branch.
commit-messageSync Quiver state [skip ci]Message for that commit.

The outputs are exit-code, json (the path to the --json output file), and committed. The exit code is also exported as QUIVER_EXIT_CODE for later steps. To act on a specific code, such as 7 for a conflict, without failing the job, set fail-on-error: "false" and branch on exit-code.

For a content repository, pull requests can run content check and a content push --dry-run preview, and merges to main can run content push. The complete workflow is in examples/quiver-content.yml.

On the push job, set commit-state: "true". push records each post's new server version in its file. Without committing that change back, the next merge of the same post fails with a false conflict. The job needs permissions: contents: write, and branch protection must allow github-actions[bot] to push.