hyper-cli

$npx mdskill add hyperfx-ai/marketing-skills/hyper-cli

Use hyperai to run Hyper marketing tools from a terminal

  • Authenticate and connect required integrations for workspace access.
  • Find and execute Hyper tools by intent or raw MCP name using `hyperai search` command.
  • Translate tool names into friendly aliases with CLI commands like `gmail messages send`.
  • Run marketing tools outside an MCP-native agent host, leveraging Hyper CLI.

SKILL.md

.github/skills/hyper-cliView on GitHub ↗
---
name: hyper-cli
description: Use the Hyper CLI to run Hyper marketing skills from a terminal. Use when the user wants to use `hyperai`, inspect live tool schemas, translate MCP tool names from a skill into CLI commands, switch connected accounts, or run marketing tools outside an MCP-native agent host.
icon: hyper
short_description: Call any Hyper platform tool from the terminal with the hyper CLI.
---

# Hyper CLI

Use `hyperai` to run Hyper tools from a terminal. This skill is a bridge for using the marketing skills in this repo through the CLI.

Marketing skills usually name the MCP/raw tools, such as `gmail_messages_send` or `meta_ads_ad_accounts_list`. The CLI also exposes friendly aliases, such as `gmail messages send` or `meta-ads ad-accounts list`. Pick one surface per call.

## Requirements

- **Hyper MCP configured for the workspace.** [https://app.hyperfx.ai/mcp](https://app.hyperfx.ai/mcp)
- **Required integrations connected** at [https://app.hyperfx.ai/apps](https://app.hyperfx.ai/apps). Use the sibling marketing skill to know which integrations are required.
- **Hyper CLI installed and authenticated.** Verify with `hyperai info`.

If `hyperai info` fails, stop and tell the user to authenticate the CLI before calling tools.

## Tool surface

| Need | Command |
| --- | --- |
| Confirm auth/workspace | `hyperai info` |
| Find tools by intent or raw MCP name | `hyperai search "<intent or raw tool name>" --json --signature` |
| Browse friendly aliases in a namespace | `hyperai describe <namespace>` |
| Inspect a friendly alias schema | `hyperai describe <alias path> --parameters` |
| Call a friendly alias | `hyperai call <alias path> --json '{...}'` |
| Inspect a raw toolkit tool | `hyperai tools describe <toolkit> <tool_name> --parameters` |
| Call a raw toolkit tool | `hyperai tools call <toolkit> <tool_name> --json '{...}'` |
| List connected accounts | `hyperai tools list --connected` or `hyperai connections list` |
| Switch active account | `hyperai connections use <toolkit> <auth-id>` |

## Critical rule: aliases vs raw tools

Friendly alias path:

```bash
hyperai describe gmail messages send --parameters
hyperai call gmail messages send --json '{"to":"[email protected]","subject":"Hello","body":"Hi"}'
```

Raw toolkit path:

```bash
hyperai tools describe gmail gmail_messages_send --parameters
hyperai tools call gmail gmail_messages_send --json '{"to":"[email protected]","subject":"Hello","body":"Hi"}'
```

If a marketing skill says `gmail_messages_send`, that is a raw MCP/toolkit name. Either translate it with search:

```bash
hyperai search "gmail_messages_send" --json --signature
```

or call it through the raw toolkit surface:

```bash
hyperai tools call gmail gmail_messages_send --json '{...}'
```

Never assume `hyperai call gmail_messages_send` will work.

## Describe progression

Use `describe` progressively. Start broad, then narrow to the exact alias before calling:

```bash
hyperai describe gmail
hyperai describe gmail messages send --parameters
hyperai call gmail messages send --to [email protected] --subject "Hello" --body "Hi"
```

For friendly aliases, use `hyperai describe <namespace>` and `hyperai describe <alias path> --parameters`. Do not use `hyperai tools describe gmail` for namespace browsing; `tools describe` is the raw toolkit form and needs both toolkit and raw tool name.

## Structured arguments

Flags are safest for simple scalar fields:

```bash
hyperai call gmail messages send --to [email protected] --subject "cli test" --body "this is a test"
```

Use `--json` for arrays, objects, nested schemas, and model-specific tools. Do not pass arrays or objects as string flags unless the live schema explicitly says the field is a string.

```bash
hyperai describe images generate nano-banana --parameters
hyperai call images generate nano-banana \
  --json '{"requests":[{"prompt":"a cat wearing a propeller hat"}],"model":"pro"}'
```

If validation says an object field was received as a string, retry with `--json` after re-reading `describe --parameters`.

## Workflow

1. Read the relevant marketing skill first, for example `meta-ads`, `cold-email-outreach`, `email-lifecycle`, or `analytics-insights`.
2. Use that skill for strategy, sequencing, safety rules, and required integrations.
3. For each tool named in the skill, resolve the live CLI command:
   - Try `hyperai search "<tool name or intent>" --json --signature`.
   - Prefer the returned `call_command` when available.
   - If no good alias exists, use `hyperai tools describe <toolkit> <tool_name>`.
4. Before calling, inspect the live schema:
   - Friendly alias: `hyperai describe <alias path> --parameters`.
   - Raw toolkit: `hyperai tools describe <toolkit> <tool_name> --parameters`.
5. Call with `--json` for structured inputs.
6. If validation fails, re-run the relevant `describe --parameters` command before retrying.

## Connected accounts

List available connected accounts:

```bash
hyperai tools list --connected
hyperai connections list
hyperai connections list gmail
```

Set the active connection for future CLI calls:

```bash
hyperai connections use gmail <auth-id>
hyperai connections use meta_business <auth-id>
```

Use `--auth-id <auth-id>` only for a one-off override.

## Examples

Marketing skill names raw Gmail tool:

```text
gmail_messages_list
```

Resolve and call friendly alias:

```bash
hyperai search "gmail_messages_list" --json --signature
hyperai describe gmail messages list --parameters
hyperai call gmail messages list --json '{"max_results":10}'
```

Marketing skill names raw Meta tool:

```text
meta_business_list_ad_accounts
```

Resolve and call friendly alias:

```bash
hyperai search "meta_business_list_ad_accounts" --json --signature
hyperai describe meta-ads ad-accounts list --parameters
hyperai call meta-ads ad-accounts list --json '{"detail":"id_only"}'
```

Raw fallback:

```bash
hyperai tools describe meta_business meta_business_list_ad_accounts --parameters
hyperai tools call meta_business meta_business_list_ad_accounts --json '{"detail":"id_only"}'
```

Image generation:

```bash
# Default image generation alias accepts the prompt positionally.
hyperai call images generate "a cat wearing a propeller hat" --quality draft --output json

# Model-specific image tools often need JSON because their schema is nested.
hyperai describe images generate nano-banana --parameters
hyperai call images generate nano-banana \
  --json '{"requests":[{"prompt":"a cat wearing a propeller hat"}],"model":"pro"}' \
  --output json
```

Meta ads performance:

```bash
hyperai search "meta ads insights" --json --signature
hyperai call meta-ads ad-accounts list --output json
hyperai describe meta-ads insights get --parameters
hyperai call meta-ads insights get --json '{"object_id":"act_<ad_account_id>","object_type":"account","date_range":"last_month"}'
```

Always list ad accounts first when the user asks for account-level performance and did not provide an `act_...` account id.

## Rules

- The live CLI schema wins over examples in any skill.
- Marketing skills provide workflow judgment; `hyperai describe` provides executable arguments.
- Prefer friendly aliases for normal use because they are easier for agents and humans.
- Use raw `hyperai tools ...` when a skill gives an exact MCP tool name and no alias is obvious.
- Do not invent toolkit IDs, tool names, or parameter names.

More from hyperfx-ai/marketing-skills

SkillDescription
ad-creative-generationGenerate on-brand ad creatives — visuals + copy — for Google, Meta (Facebook / Instagram), and other paid platforms via the Hyper MCP. Extracts brand identity from a website, writes ad copy variants, and produces brand-consistent images using reference-based image generation. Use when the user asks for ad creative, ad copy variants, RSA headlines, Meta ad creative, display ads, carousel ads, or A/B test variants.
amazon-adsPlan and create Amazon Sponsored Products campaigns end-to-end via the Hyper MCP. Use when the user wants to launch Amazon Ads, set up Sponsored Products, manage keyword targeting and bids, configure ASIN or category product targeting, add negative keywords, automate budget rules, analyze ACoS / ROAS, or generate Sponsored Products reports. Also triggers on amazon ppc, amazon campaign, amazon keywords, or amazon report.
blog-generationGenerate one excellent, on-brand blog post per run for any business, built to rank on Google and get cited by AI search (ChatGPT, Claude, Perplexity, AI Overviews). A stateful engine: reads a brand strategy doc, picks a fresh topic (never repeats), researches, writes in the brand's voice, and logs the post back. Use when the user wants to write a blog post, run a daily or recurring blog task, or generate SEO / AEO / blog content. For keyword data and audits, defer to seo-research.
brand-contextCreate and maintain a single brand-context.md — positioning, audience, personas, pain points, customer language, voice, proof points — that every other marketing skill reads before asking the user to re-explain their business. Auto-drafts from the brand's site via Firecrawl, or builds the doc through a short interview. Use when the user wants to set up brand context, onboard a new brand, define positioning / brand voice / ICP, or complains about re-answering the same brand questions.
email-lifecyclePlan, build, and run lifecycle email programs through the Hyper MCP — welcome / onboarding, nurture, re-engagement, win-back, and abandoned-cart sequences across whichever provider fits (Klaviyo for ecommerce, Resend for SaaS / dev tools, Beehiiv for newsletters, Gmail for low-volume ops). Use when the user wants to build an email sequence, set up a welcome flow, recover lapsed users, send a broadcast, manage a list / audience / segment, or asks about lifecycle / drip / nurture campaigns.
instagramManage Instagram professional accounts via the Hyper MCP — publish photos, Reels, Stories, and carousels; moderate comments and mentions; send Direct Messages; pull account and media insights. Uses the Instagram API with Instagram Login (Business Login). Use when the user mentions Instagram posts, Reels, Stories, carousels, IG DMs, Instagram comments, mentions, profile, or analytics. For paid Instagram advertising, use `meta-ads`.
meta-ads-libraryResearch competitor Facebook and Instagram ads from the Meta Ads Library via the Hyper MCP — search by keyword, pull full ad creative and metadata, enrich with page contact info for lead generation, and surface structured ad-intelligence summaries in chat. Use when the user wants to scrape the Meta Ads Library, spy on competitor ads, monitor new ads in a category, build a lead list from advertisers, or surface creative trends across an industry.
openai-adsPlan and manage OpenAI Ads (ChatGPT ads) campaigns end-to-end via the Hyper MCP — API-key auth, account discovery, geo targeting, image upload, chat_card and product-feed creatives, custom audiences, conversion tracking, status flow, and insights, with integer-micros money values. Use when the user wants to launch OpenAI ads, ChatGPT ads, chat card ads, manage OpenAI ad groups or audiences, or pull OpenAI Ads insights.
pinterest-adsPlan and create Pinterest Ads campaigns through the Hyper MCP — Awareness, Consideration, Video View, Web Conversion, Catalog Sales, and Web Sessions objectives — with strict microcurrency budgeting, CBO rules, audience and customer-list management, conversion tag handling, keyword targeting, and campaign analytics. Use when the user mentions Pinterest ads, Pinterest campaign, Pinterest ad group, Pinterest audience, Pinterest conversion tracking, Pinterest tag, or Pinterest customer list.
seo-researchData-driven SEO research and analysis through the Hyper MCP — keyword research, competitor analysis, content planning, AI search visibility (ChatGPT, Claude, Perplexity, Google AI Overviews), backlink trends, search intent classification, page speed / Core Web Vitals, and full site audits. Use when the user asks for an SEO audit, keyword research, content strategy, competitor benchmarks, brand visibility in AI search, ranking history, or any organic search analysis.