Oppira CLI @oppira/cli

Your competitive intelligence, one command away

Competitor analysis, marketing playbook, battlecards and the Oppira AI agent, delivered as scriptable commands with JSON-friendly output. The whole platform, from your terminal.

npm install -g @oppira/cli
Requires Node.js 20+ · macOS, Linux & Windows
oppira — ask@oppira/cli
$
Reading Playbook + Intel for Competitor A ... ▸ Ad spend up ~40% MoM — 12 active Meta ads (from 7)▸ New angle: "onboarding in 20 minutes" in 6 of 9 posts▸ Cut entry pricing 15% on Tue; landing page updated▸ Engagement +23% over 30d, followers +2.1% They're buying attention and racing on speed.Battlecard is 8 days stale — run oppira battlecard regen.
What it does

The full platform, scriptable

Everything you do in the Oppira app is a command. Pipe it, schedule it, or hand it to an agent.

The AI agent, in your terminal

Ask Oppira anything about your market and watch the answer stream back, grounded in the data you track and your own playbook.

$ oppira ask "how did my main competitor move this month?"

Competitor intelligence

List and inspect every competitor you track, with followers, engagement, insights and alerts, without leaving the shell.

$ oppira comp list
$ oppira comp show Acme

Strategy on demand

Regenerate battlecards and read your living marketing playbook the moment the market shifts under you.

$ oppira battlecard regen Acme
$ oppira playbook show

Built to automate

Add --json to any command for clean, parseable output. Non-zero exit codes make it CI-friendly, and oppira ask reads from stdin.

$ oppira ask "summarize my playbook" --json | jq -r .text
How it works

From install to answer, in three commands

Step 1 · Install

Add the CLI

Install globally from npm. Requires Node.js 20 or newer.

npm install -g @oppira/cli
Step 2 · Connect

Point it and sign in

Set the API URL, then log in with your Oppira account.

$oppira config set-url https://api.oppira.com
$oppira auth login
Step 3 · Run

You're in

List what you track and start asking questions.

$oppira comp list

Sign in with your email and password, or generate a long-lived API key in the web app for automation and CI.

Copy & run

Real commands, nothing invented

Every one of these works today. Grab one and drop it into your shell.

$oppira ask "summarize my playbook" --json | jq -r .text
$oppira comp show Acme
$oppira comp add "Globex" --website globex.com --instagram https://instagram.com/globex
$oppira insights generate
$oppira battlecard regen Acme
$oppira artifact export <id> --format pdf
Cheat sheet

One tool, every workflow

Grouped commands for intel, strategy, content and automation.

ask
Ask the Oppira AI agent — streamed, reads stdin
comp
Track & inspect competitors
listshowaddtrackinsightsalerts
insights
Generate this week's insights
generate
alerts
Priority alerts, newest first
battlecard
Refresh competitor battlecards
regen
playbook
Read your living strategy
show
discover
Profile discovery & suggestions
studio
Plan & publish content · Pro
calendarpostspublish
artifact
Export reports & decks
export
auth · config
Sign in, API keys & profiles
loginset-url
Who it's for

Marketers and machines, same commands

For marketing & growth teams

Pull competitor moves, insights and battlecards into your morning routine, wire them into your reporting, and ask a strategic question without opening the app.

For power users & agents

Script anything with --json and exit codes, pipe oppira ask through your own tools, and let automated agents drive the whole intel-to-content workflow.

BasicAI agent, insights, battlecards and your playbook. ask · insights · battlecard · playbook
ProEverything in Basic, plus Studio — plan, draft and publish content. studio

The CLI is free. What you can run follows your Oppira subscription.

Questions

Good questions, straight answers

The Oppira CLI (@oppira/cli) is the official command-line tool for Oppira. It lets you run competitor intelligence, your marketing playbook, battlecards, content studio and the Oppira AI agent directly from your terminal, with scriptable, JSON-friendly output.

Run npm install -g @oppira/cli. You need Node.js 20 or newer. It works on macOS, Linux and Windows.

Yes. Point the CLI at the API with oppira config set-url https://api.oppira.com, then sign in with oppira auth login using your email and password. For automation and CI you can generate a long-lived API key in the web app instead.

The CLI is free, and what you can run follows your Oppira subscription. The AI agent, insights, battlecards and the marketing playbook are available from the Basic plan. Studio, for planning and publishing content, is available on Pro.

Yes. Add --json to any command for clean, parseable output, and the CLI returns non-zero exit codes on failure so it fits CI pipelines. oppira ask also reads from stdin, so you can pipe context into it.

Oppira CLI

The whole platform, one npm install away

Install the CLI, sign in, and put your competitive intelligence one command from your prompt.

npm install -g @oppira/cli