bcharleson/instantly-cli/instantly-cli
Claude Code and agent skill by bcharleson/instantly-cli
- community
Checking that the SKILL.md file is still in the repository.
Use the Instantly CLI and MCP server for cold email campaigns, leads, accounts, and inbox. Name every client as a profile. Confirm status (slug, workspace_id, workspace_name) before other commands. One process, one profile.
Install
npx vskill@latest install bcharleson/instantly-cli/instantly-cliSKILL.md
Instantly CLI — agent skill
Public CLI (npm i -g instantly-cli). JSON on stdout. Node.js 18+.
Name every client as a profile. Confirm status / whoami (profile, workspace_id, workspace_name, source) before campaigns, health, or writes. One process, one profile. Never print or commit raw API keys.
Default: one workspace (existing npm users)
--profile is not required for old single-key users.
Resolve order without --profile / INSTANTLY_PROFILE:
--api-keyINSTANTLY_API_KEY- cwd
.envINSTANTLY_API_KEY ~/.instantly/config.jsonfrominstantly login
instantly login stamps { api_key, workspace_id, workspace_name } onto ~/.instantly/config.json (mode 0600). status / whoami print profile: "default" plus that bound pair — not null.
When --workspace is passed on this path, live id must match or the command aborts. Omitted: no extra flag required.
Agency: name every client (including the house org)
Agencies should login --profile <client> for every key, including the house org. The slug is the client name agents use.
~/.instantly/profiles/<slug>.json = { api_key, workspace_id, workspace_name } (mode 0600)
Or per command: --profile client-a.
Hard rails
- One process, one profile. No
--all-profiles. NoWORKSPACE_KEYS. Do not iterate~/.instantly/profiles. - When a profile is selected, it wins over a leftover cwd
.envINSTANTLY_API_KEY. - Reads and writes under
--profilere-fetch the live workspace. If live id ≠ bound id, abort. - Writes also require
--workspace <uuid>matching the bound id (CLI) orworkspace_id(MCP). - When
--workspaceis passed on any path (default or profile), live id must match or abort. profile list/status/whoamialways returnprofile(slug ordefault),workspace_id,workspace_name,source. They never print the API key (no prefix).
Profile and health commands
logout without --profile clears only config.json. logout --profile client-a removes only that profile file.
Campaign bodies
Instantly delivers HTML. Pass readable copy with real line breaks in each variant body. The CLI converts plain-text newlines to <br/>/<p> on campaigns create / update and subsequences create. Do not send a run-on string. Do not hand-write HTML tags unless the body is already tagged. Existing HTML is left unchanged. --text-only skips conversion. Same Instantly body key — no second field.
The same convert-for-you path applies to email reply, email forward, and leads bulk-add custom_variables whose key contains body.
Sequence delays
- Instantly uses only
sequences[0]. Extra sequence objects are rejected. delayon step N waits before step N+1. The first campaign email sends on the campaign schedule and does not wait onstep[0].delay.- Pass
delay_unit(minutes|hours|days). If omitted, the CLI setsdays. - Do not invent delay day values. A multi-step sequence with delay
0or missing delay on a non-last step aborts (follow-up would send the same day). Last step delay may be0. pre_delay/pre_delay_unitapply only to subsequences. Do not set them on a normal campaign.email_gapis minutes between individual sends (rate limit), not the multi-day step gap.- After create/update, read
sequence_timeline(Email 1: on campaign schedule; Email 2: +3 days after Email 1).
MCP
One MCP server process per profile. Set INSTANTLY_PROFILE=client-a (or INSTANTLY_API_KEY for the default single-key workspace). Every tool description says pass profile for agency. Mutating tools require profile + workspace_id matching the bound pair. Call status first. There is no “run across all profiles” tool.
Discover commands
Parse JSON. Exit 0 = success, 1 = error. Use --fields to shrink output.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingSKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/bcharleson/instantly-cli/instantly-cli)