Agent Skill · Nexad

soku

Use when calling Soku CLI capabilities from a shell: auth, workspace selection, ads/GA4/PostHog data reads, typed ads writes, SEO Hosting, automations, Context Hub files, migrating context or project files from Claude, temporary file publishing, brand skills, third-party egress, review-gated writes, skill installation, or CLI updates.

Provider: Nexad Path in repo: SKILL.md

Skill body

Soku CLI

The soku CLI is the shell-native way for an AI agent to use Soku from Claude Code, Codex, Cursor, or any terminal. It talks to Soku over /api/cli/*; no MCP host is required. Treat this file as the router. Load the relevant reference file before acting on a detailed workflow.

Reference Router

Read only the reference files needed for the user’s task:

Task Read
First-time setup, expired token, workspace selection, org/brand ambiguity references/auth-workspace.md
Ads, GA4, or PostHog reads; raw soku call; command discovery references/data-capabilities.md and references/capability-flow.md
Meta/Google/ChatGPT Ads writes, uploads, bulk create, review-gated approval references/ads-write.md
SEO Hosting, automations, Context Hub files, temporary public file URLs references/seo-automation-files.md
Third-party APIs through server-side credential injection; security rules references/egress-security.md
Installing, updating, or removing Soku-managed local skills references/skills-updates.md
Migrate context, project files, or workspaces from Claude into Soku Run soku skill install migrate-from-claude, then read the installed soku-migrate-from-claude skill.

For an installed business skill such as soku-ads-report, read that skill too. Business skills carry their own “Running this skill with the Soku CLI” section.

Default Flow

  1. Check auth/workspace state:
soku auth status
soku workspace status
  1. If auth is missing or expired, use the agent split-flow from references/auth-workspace.md.

  2. If the workspace is not ready, resolve and select the remote Soku brand:

soku workspace resolve <brand>
soku workspace use-brand <brand>
  1. Pick the reference for the task. Do not infer Soku org/brand from the current local repo directory.

  2. Inspect command help before unfamiliar calls:

soku --help
soku <namespace> --help
soku <namespace> <action> --help
  1. Run the command and parse JSON output. In non-TTY contexts, success is {"ok":true,"data":...} and errors are {"ok":false,"error":...}.

Non-Negotiable Rules

Exit Codes

Exit Meaning What to do
0 Success Parse data.
1 Usage or no workspace Fix args, or run soku workspace status / use-brand.
2 Auth missing, expired, or revoked Run soku auth login --no-wait.
4 Not found or unknown capability Re-check soku --help / soku <ns> --help.
5 Runtime or network failure Retry if transient; if behind a proxy set ALL_PROXY.

Capability Discovery

Typed command names are kebab-case:

soku ads query-single-dimension --help

Raw soku call action names use registry snake_case:

soku call ads query_single_dimension --payload '{"account_id":"123","dimension":"campaign"}'

Prefer typed commands when they exist. Use soku call only as a forward-compatible escape hatch for a newer action or an action not yet exposed ergonomically.

Installed Skill Names

The bundled CLI meta skill is named soku. Business skills are installed with a Soku prefix, for example soku-ads-report and soku-google-ads.

soku skill list
soku skill install ads-report google-ads
soku skill status

When asking an AI client to invoke a business skill, write use @soku-ads-report skill, not @ads-report.

Updating This Skill

soku update skills refreshes the bundled soku meta skill and every installed Soku-managed business skill recorded in .soku-skills.json. It also refreshes legacy meta-only installs that have soku/SKILL.md but no manifest, so older installations receive this references/ directory.

soku update cli also silently refreshes an already-installed global soku meta skill as an npm postinstall side effect. Its JSON result carries mustRereadMetaSkill: true plus metaSkillRefreshed: [<paths>] when that happened. After running soku update cli, check that field: if true, re-read this file (and references/) from the listed path before continuing — do not keep acting on this session’s previously loaded copy of this skill.

Skill frontmatter

license: MIT metadata: {"author" => "About Intelligence", "version" => "0.4"}

Work with this as data

Every skill here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for agent skills

4 MCP tools reach this
  • find_skillsBrowse and filter every skill in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This skill
curl "https://apis.io/api/v1/skills/soku"
All agent skills
curl "https://apis.io/api/v1/skills?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.