/marketing-cli:company-researchfrom marketing-cli
Researches companies, competitors, funding, news, leadership, and market context using Exa Agent and advanced search. Writes structured findings for brand files.
Ships in marketing-cli. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
brand/positioning.md, brand/competitors.md, and brand/audience.md if present. Ground queries in the brand's category and known competitors. All optional.EXA_API_KEY. If missing, stop with the install hint from Prerequisites / mktg doctor./cmo or a research agent owns the brand write, return structured findings + sources - do not silently overwrite brand/competitors.md unless the user asked to update brand memory.Prefer Exa MCP when available (tools: web_search_exa, web_search_advanced_exa, web_fetch_exa, agent_run).
If MCP Agent tools use the older create/wait/get names (agent_create_run, agent_wait_for_run, agent_get_run_output), use those equivalently.
Without MCP, call the HTTP API with x-api-key: $EXA_API_KEY (POST https://api.exa.ai/search, /contents, /agent).
Firecrawl remains the path for deep scrape of a known URL after Exa discovery.
Two Exa surfaces, two jobs:
agent_run, or legacy agent_create_run / agent_wait_for_run / agent_get_run_output) - the default for company research. Use it for deep dives, competitor analysis, multi-angle research (product + funding + news + people), and building company lists. One Agent run handles query decomposition, multi-step searching, and synthesis internally - do not orchestrate many manual searches for work an Agent run covers.web_search_advanced_exa - quick, low-latency lookups: a fast category: "company" discovery pass, a single news check, or finding a homepage.Do NOT use other Exa tools.
Agent runs are async: create the run, wait for it, then read the output.
agent_create_run with a natural-language query and, when you want repeatable structure, an outputSchema (bound arrays with maxItems). Returns an agent_run_... ID.agent_wait_for_run until the run is completed (call again if still running).agent_get_run_output - read output.text or output.structured, plus output.grounding citations.Useful inputs: systemPrompt (source preferences, dedup rules), input.exclusion (companies to avoid), previousRunId (follow-up runs), effort ("auto" default; "high" for hard research).
agent_create_run {
"query": "Research Anthropic: product lines, funding history and valuation, key executives, main competitors, and notable news from the last 6 months.",
"effort": "auto",
"outputSchema": {
"type": "object",
"properties": {
"overview": { "type": "string" },
"funding": { "type": "array", "maxItems": 10, "items": { "type": "object", "properties": { "round": { "type": "string" }, "amount": { "type": "string" }, "date": { "type": "string" } }, "required": ["round"] } },
"competitors": { "type": "array", "maxItems": 10, "items": { "type": "string" } },
"key_people": { "type": "array", "maxItems": 10, "items": { "type": "object", "properties": { "name": { "type": "string" }, "title": { "type": "string" } }, "required": ["name", "title"] } }
},
"required": ["overview", "competitors"]
}
}
agent_create_run {
"query": "Find 25 AI infrastructure startups headquartered in San Francisco. For each, include what they build and their latest funding stage.",
"effort": "auto",
"outputSchema": {
"type": "object",
"properties": {
"companies": {
"type": "array",
"maxItems": 25,
"items": {
"type": "object",
"properties": {
"name": { "type": "string" },
"website": { "type": "string", "format": "uri" },
"description": { "type": "string", "description": "in 12 words or less" },
"funding_stage": { "type": "string" }
},
"required": ["name", "website", "description"]
}
}
},
"required": ["companies"]
}
}
Use web_search_advanced_exa when a single fast search answers the question. Tune numResults to intent (a few → 10-20; comprehensive → 50-100; specified → match it).
company → homepages, rich metadata (headcount, location, funding, revenue)news → press coverage, announcementspeople → public professional profilestype: "auto") → general web results, broader contextDefault to type: "auto". Prefer highlights for content extraction; do not stack text + highlights + summary in one call.
Unsupported category/filter combinations return 400 errors:
category: "company" does not support published-date or crawl-date filters, excludeDomains, or exact-text filters; express constraints like "founded after 2020" in the query insteadcategory: "people" does not support published-date, crawl-date, domain, or exact-text filters; put all filtering in the natural-language querynews), domain and date filters work fineDiscovery pass:
web_search_advanced_exa {
"query": "AI infrastructure startups San Francisco",
"category": "company",
"numResults": 20,
"type": "auto"
}
News check:
web_search_advanced_exa {
"query": "Anthropic AI safety",
"category": "news",
"numResults": 15,
"startPublishedDate": "2025-01-01"
}
Key people:
web_search_advanced_exa {
"query": "VP Engineering AI infrastructure",
"category": "people",
"numResults": 20
}
Never dump raw search results into main context. Spawn Task agents for Advanced Search calls; for Agent runs, go straight from output.structured to the final answer.
Fall back to Claude in Chrome only when content is auth-gated or requires JavaScript rendering.
Return:
output.grounding from Agent runs)| Anti-pattern | Why it fails | Instead |
|---|---|---|
| Using Claude native WebSearch instead of Exa | Misses niche competitors, companies, and cited sources Exa ranks highly. | Use this skill (or Exa MCP) for all open-ended web research. |
Calling Exa without EXA_API_KEY / MCP auth | Requests 401 and the agent invents results. | Set EXA_API_KEY (dashboard.exa.ai) or configure .mcp.json; surface the fix via mktg doctor. |
| Dumping raw result JSON into the user chat | Burns context and hides the answer. | Synthesize; cite URLs from grounding / result lists. |
Ported from exa-labs/agent-skills - adapted for mktg's drop-in contract on 2026-07-18.
Upstream commit: 390ffee2d7e1d0dce2ed8efe4994c2b3c1c0173b
Drift detection: if the upstream skill changes, re-run mktg-steal https://github.com/exa-labs/agent-skills to evaluate the diff.
What SKILL.md sets; muted values are Claude Code's defaults
76 skills in this plugin
/agent-email-inboxUse when setting up a secure email inbox for any AI agent — configuring inbound email via Resend, webhooks, tunneling for local development, and implementing security measures to prevent prompt injection attacks. Also use when someone mentions 'agent email', 'bot inbox', 'receive emails for agent', 'agent webhook', 'email security for AI', 'prompt injection via email', 'inbound email for bot', or wants their AI agent to receive and respond to emails securely.
/ai-seoBuilds, measures, and improves an Answer Engine Optimization program across ChatGPT, Perplexity, Claude, Gemini, Google AI Overviews, and Copilot. Use for AEO, GEO, LLMO, AI search visibility, AI citations, brand mentions, answer-engine monitoring, llms.txt, AI crawler audits, or questions like 'what does AI say about us?' and 'why are competitors cited instead of us?'. Produces a durable evidence report and prioritized gameplan, not a one-shot content checklist./app-store-screenshotsnpx claudepluginhub moizibnyousaf/marketing-cli --plugin marketing-cliOther plugins' skills for the same job