Skip to content

keyonzeng/prompt_ark

Repository files navigation

Prompt Ark

Stop losing your best AI prompts. Save, organize, and launch them in one click — right inside ChatGPT, Claude, Gemini, and 20+ other AI platforms.

📖 Docs · 📖 中文文档 · 🚀 Quick Start


😫 The Problem

You've spent hours crafting the perfect prompt. It works beautifully. But then...

  • 📋 It's buried in a note app you'll never find again
  • 🔄 You rewrite it from scratch every single time
  • 🤦 You paste it, then realize you forgot to change the [topic] placeholder
  • 🚫 You can't share that killer prompt with your team without copy-pasting

Prompt Ark fixes all of this.

✨ What It Does (in 10 seconds)

You want to... Prompt Ark does...
Reuse a prompt ✨ Click → Pick → Auto-inject into any AI chat box
Customize each time {{topic}} variables become fill-in forms; enum dropdowns with {{lang:EN|ZH|JP}}
Smart-convert any text 🪄 Select text → Right-click → AI rewrites it into a reusable prompt instantly
Quick-transform text ⚡ One-click Rewrite / Summarize / Translate / Expand
Translate a prompt 🌐 Click translate on any card → Pick language → Auto-translated & saved
Grab page context Ctrl+Shift+G captures page title, URL & selection for use inside prompts
Find that prompt you saved 🔍 Search, filter by category, favorites, recent
Share with others 📦 Publish as Prompt Pack or one-click share to Twitter/Reddit/Zhihu/WeChat/XHS
Use across devices ☁️ WebDAV or Obsidian Vault sync

🔌 Works Everywhere You Chat with AI

20+ platforms · Custom injection for each · Chrome & Edge

ChatGPT · Claude · Gemini · NotebookLM · AI Studio · DeepSeek · Kimi · Doubao · Qwen · Grok · ChatGLM · Hailuo · Hunyuan · and more

🚀 Quick Start

Step 1: Install & Pin

  1. Download or clone this repo → Open chrome://extensions/ (or edge://extensions/) → Enable Developer mode → Click Load unpacked → Select the project folder
  2. Click the 🧩 Puzzle icon in your toolbar → Click 📌 Pin next to Prompt Ark

💡 Prompt Ark also supports Side Panel mode — click the extension icon to dock it as a persistent sidebar.

Step 2: Zero Config — It Just Works

Prompt Ark ships with Gemini Web as the default AI backend. As long as you're logged into gemini.google.com, all AI features work immediately:

Feature Status What you do
✨ Prompt Picker ✅ Always works Just click
⚡ Quick Actions (Rewrite, Translate...) ✅ Always works Just click — uses the platform's own AI
🔮 AI Prompt Optimization ✅ Works by default Be logged into Gemini
🏷️ Auto-extract title/category/tags ✅ Works by default Save a prompt without filling in a title

💡 No API key. No setup wizard. Just install and use.

Want faster responses or a specific model? Go to Settings → Models → + to add your own provider (Gemini API / OpenAI Compatible). See Model Configuration.

Step 3: Create Your First Prompt

  1. Click the Prompt Ark icon to open the Dashboard
  2. Click the blue + New button
  3. Write your prompt content — use {{topic}} or {{language}} to create dynamic variables
  4. Click Save. Leave the title blank to let AI auto-generate a title, category, and tags!
  5. Click Preview to check the Markdown rendering

Step 4: Use It on AI Platforms

Open ChatGPT, Claude, Gemini or any supported platform. You'll see two new buttons next to the chat input:

Button / Shortcut What it does
✨ Picker Browse your prompt library → Select → Auto-inject into chat box
⚡ Quick Actions One-click Rewrite / Summarize / Translate / Expand / Explain
/slash Type /keyword in the chat box for instant prompt expansion
Ctrl+Shift+P Summon the Picker overlay from anywhere
Ctrl+Shift+G Grab Context — snapshot the current page (title, URL, selected text) for use inside prompts
Right-click any text "Add to Prompt Ark" to save it · "Smart Convert" to turn it into a reusable prompt

Step 5: Sync Across Devices (Optional)

Go to Settings → Sync and choose your sync engine:

Method Best for
Local only (default) Zero config, everything stays on this device
WebDAV Self-hosted, privacy-first (e.g., Jianguoyun)
Obsidian Vault (WebDAV) Markdown-first workflows and Obsidian users

📚 Full Documentation → for more details on every feature.

⚡ Power Moves

One-click text transforms

The button appears next to every AI chat input. Click it to instantly:

✏️ Rewrite · 📋 Summarize · ➕ Expand · 🌐 Translate · 💡 Explain

No API key needed — these use the platform's own AI.

Dynamic variables — 3 types

Write variables in your prompt content and they become fill-in forms at use time:

Syntax Type Example
{{topic}} Free-text input Any text
{{lang:EN|ZH|JP}} Dropdown (enum) Pick one option
{{style:formal}} Pre-filled default Editable, pre-filled

Context variables ({{@...}})

Use {{@page_title}}, {{@page_url}}, {{@selection}}, {{@date}} to auto-fill live context from the current browser tab — no typing needed.

Grab Context (Ctrl+Shift+G) creates a Smart Convert prompt card with source context from the current page. {{@variable}} context variables still resolve from the current tab when the prompt runs.

Slash commands

Type /email in any chat box → Your "Professional Email Writer" prompt expands instantly. Like text shortcuts, but for AI.

AI Prompt Optimizer

Click ✨ Optimize on any prompt → Get 3 professional rewrites (Concise / Enhanced / Professional) with diff view. Accept with one click.

AI Prompt Translation

Translate any saved prompt into 7 languages with one click — directly from the prompt list or the edit modal.

  • Click the 🌐 button on any prompt card in the list
  • Choose: English · 中文 · 日本語 · Español · Français · Deutsch · 한국어
  • The title, category, tags, and content are all translated and auto-saved
  • If your Gemini session expires, the login page opens automatically

Uses your configured AI provider (Gemini Web by default — no API key needed).

🪄 Smart Convert

Select any text on any webpage → Right-click → "Smart Convert to Prompt". AI infers the intent, adds a role, structures it with variables, and saves it as a reusable prompt — no manual editing needed.

One-click Social Sharing

Share a prompt with an AI-generated post — tailored per platform: Twitter · Reddit · Zhihu (知乎) · WeChat (微信) · Xiaohongshu (小红书)

Right-click to save

See a great prompt on a webpage? Select text → Right-click → "Add to Prompt Ark". It's saved with AI-generated title, category, and tags.

Page-aware prompts

Use {{@page_title}}, {{@page_url}}, {{@selection}}, {{@page_text}} in your prompts — they auto-fill with live content from the current tab.

📚 100 Built-in Prompts, Ready to Go

Don't start from zero. Prompt Ark ships with 100 curated prompts (50 English + 50 Chinese):

Category Examples
💼 Productivity Meeting notes, email drafts, SWOT analysis
✍️ Writing Blog outlines, copywriting, proofreading
💻 Coding Code review, debugging, SQL generation
🎓 Education Concept explainer, quiz generator, study plans
🎨 Creative Storytelling, brainstorming, naming
📊 Analysis Data interpretation, market research

☁️ Your Data, Your Way

Method Best for
Local only (default) Zero config, data stays on the current device
WebDAV Self-hosted, privacy-first users (e.g., Jianguoyun)
Obsidian Vault (WebDAV) Keep prompts organized as Markdown files in your vault

Full JSON export/import. URL import from GitHub repos with AI quality scoring.

🛠 For Developers

  • Manifest V3storage, contextMenus, scripting, sidePanel, cookies
  • Deep DOM traversal — Shadow DOM, React fiber bypass, per-platform injection
  • Zero-config AI — Gemini Web session reverse-engineered as default backend; auto-redirects to login on session expiry; explicit cookie handling for Edge
  • Multi-provider AI — Gemini API · OpenAI protocol · Gemini Web (free) — unified dispatch, hot-swap at runtime
  • Prompt files — All LLM prompts live in prompts/*.md, editable without touching JS
  • Context GrabberCtrl+Shift+G turns the current page into a Smart Convert prompt card with traceable source context
  • Smart Convert — Meta-prompt that reverse-engineers selected text into a structured, variable-ized reusable prompt
  • Runtime i18n — Live Chinese/English switching
  • Auto-save — 600ms debounce across all settings

📄 License

MIT © 2026 Prompt Ark Team

About

Your prompts are your digital assets—don’t let them get lost in scattered notes.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors