CLI to add the ContinueWith AI-native continuation layer to HTML, Next.js, and Astro sites.
Visitors continue any page in ChatGPT, Claude, Gemini, Grok, Perplexity, or Mistral — with URL and context attached.
npx continuewith@latest addNo global install required. Node.js 18+.
| Command | Description |
|---|---|
add |
Patch your layout or HTML with the widget snippet |
snippet |
Print the install snippet to stdout |
verify |
Check whether the widget is already in your entry file |
# Auto-detect framework and patch the project
npx continuewith add
# Explicit stack
npx continuewith add --framework nextjs
npx continuewith add --framework html
npx continuewith add --framework astro
# Print snippet only
npx continuewith snippet --framework html
# Verify install in detected entry file
npx continuewith verify
# Use your dashboard public key (recommended for production)
npx continuewith add --site-key cw_your_public_keynpx continuewith add \
--primary-color "#111827" \
--background "#ffffff" \
--text-color "#111827" \
--border-color "#e5e7eb"- Demo:
cw_demo_public_key— used by default so you can try the widget immediately. - Production: create a free account → dashboard → copy your public site key.
Public keys are meant to be embedded in HTML (like a Stripe publishable key). They identify your site for config and analytics — they are not admin credentials.
- Install guide
- Coding agents & MCP
- Prompt library
- Platform guides (Ghost, Webflow, WordPress, Shopify, Framer, …)
- Live test page
| Package | Purpose |
|---|---|
@continuewith/mcp |
MCP tools for Cursor / Claude Code |
@continuewith/sdk |
Snippet & prompt helpers |
What this CLI does locally:
- Reads your project files to detect framework and patch install targets
- Writes the widget
<script>tag (or Next.js<Script>) — nothing else verifyonly reads your entry file; no upload of source code
What it does not do:
- No hidden network exfiltration of your codebase
- No API keys or secrets stored in the CLI package
- No write access outside the detected entry file (unless you pass
--cwd)
Default demo key: cw_demo_public_key is public by design. Replace it before launch.
- Website: continuewith.ai
- X: @continuewithai
- Reddit: @continuewithai
MIT © ContinueWith