A powerful universal userscript that provides intelligent Prompt template management across 10 mainstream AI platforms. Features one-click template application, smart content reading from chat input, and advanced template management with site-specific defaults.
- ChatGPT (chat.openai.com / chatgpt.com)
- Google Gemini (gemini.google.com)
- Claude (claude.ai)
- Kimi (kimi.com / kimi.moonshot.cn)
- DeepSeek (chat.deepseek.com)
- Tongyi Qianwen (tongyi.com)
- Tencent Yuanbao (yuanbao.tencent.com)
- Google AI Studio (aistudio.google.com)
- Grok (grok.com)
- Doubao (doubao.com)
- Intelligent Content Reading: Automatically reads questions from chat input boxes
- Built-in Advanced Template: Premium interactive template for enhanced AI responses
- One-Click Application: "Apply Default Template" button for instant template usage
- Multi-Template Management: Create, edit, and organize unlimited custom templates
- Site-Specific Defaults: Set different default templates for different AI platforms
- Smart Template Rules: Support wildcards and priority-based template selection
- Import/Export: Backup and share your template collections
- Bilingual Interface: Seamless Chinese/English language switching
- Customizable UI: Adjustable button position, size, and appearance
- Smart Input Detection: Advanced input element recognition across all platforms
- Claude Linebreak Preservation: Perfect formatting retention for Claude's ProseMirror editor
- Kimi Optimization: Specialized handling for Kimi's Lexical editor
- Shadow DOM Compatibility: Seamless integration with modern web architectures
- Template Variable System: Dynamic
{User Question}placeholder replacement - Concurrent Operation Safety: Prevents data conflicts during simultaneous operations
Ensure your browser has the Tampermonkey extension installed.
- Visit the script page: https://greasyfork.org/zh-CN/scripts/545456-prompthelper
- Click "Install this script"
- Visit any supported AI platform to start using
After installation, you'll see a blue "Helper" button on supported AI platforms:
The easiest way to use PromptHelper - simply type your question in the chat input, then click "Apply Default Template":
Click the "Helper" button to access the full control panel with template management:
Choose from multiple templates or create your own custom templates:
Access comprehensive settings for customization and template management:
Features in settings:
- Set default templates for specific websites
- Customize Helper button position and size
- Import/export template collections
- Configure template rules and priorities
Create sophisticated template rules with wildcard support:
Step-by-step guidance for creating custom template rules:
Interactive Research Template: A sophisticated template that combines systematic thinking with web research capabilities. Features audit-grade research methodology, multi-perspective analysis, and citation-backed reasoning chains. Perfect for complex inquiries requiring thorough investigation and evidence-based responses.
- Type your question in the AI platform's chat input
- Click "Apply Default Template" for instant template application
- Send the enhanced prompt to get better AI responses
- Set site-specific defaults in settings for different AI platforms
- Create custom templates for specialized use cases
- Use template rules with wildcards for automatic template selection
- Import/export templates to share with team members
Use {User Question} as a placeholder in template content, which will be automatically replaced with the content from the chat input box.
Example Template:
Please provide a comprehensive analysis of the following question with evidence-based reasoning:
Question: {User Question}
Please structure your response with:
1. Key insights
2. Supporting evidence
3. Practical implications
- Minimalist Sidebar: Clean blue button that doesn't interfere with original websites
- Smart Positioning: Customizable button placement and sizing
- Responsive Design: Adapts to different screen sizes and layouts
- Theme Compatibility: Works well with light and dark themes
- Style Isolation: Completely isolated CSS prevents conflicts
- Pure JavaScript ES6+: No external dependencies
- Tampermonkey API: Local storage and style injection
- Advanced DOM Manipulation: Cross-platform input detection
- Modern Event Handling: Optimized for different frameworks
- Cross-Platform Compatibility: Universal input element detection
- Framework Support: React, Angular, Vue, and vanilla JS compatibility
- Smart Content Processing: Intelligent text extraction and injection
- Concurrent Operation Safety: Thread-safe template operations
π― Major Architecture Upgrade
- One-Click Template Application: New "Apply Default Template" button for instant usage
- Smart Content Reading: Automatically reads from chat input instead of separate text box
- Site-Specific Defaults: Set different default templates for different AI platforms
- Template Rules System: Advanced wildcard support and priority-based selection
- Enhanced UI: Redesigned interface with improved usability
- Import/Export: Complete template backup and sharing functionality
- Claude Optimization: Perfect linebreak preservation for Claude interactions
- Expanded Platform Support: Added Grok and Doubao compatibility
- Local Storage Only: All data stays in your browser, never uploaded anywhere
- Open Source: Complete transparency with GitHub repository
- Minimal Permissions: Only uses necessary Tampermonkey privileges
- No External Dependencies: Self-contained script with no third-party calls
For support or bug reports, please provide:
- Browser and version
- Tampermonkey version
- AI platform and URL
- Detailed error description
- Console error messages (F12 β Console)
This project is open source under the MIT License.
Contributions welcome! You can:
- Report bugs or suggest features
- Submit code improvements
- Improve documentation
- Share usage examples and best practices
- Author: Sauterne
- Project URL: https://github.com/dongshuyan/PromptHelper
- Script URL: https://greasyfork.org/zh-CN/scripts/545456-prompthelper
- License: MIT
- Latest Version: v1.7.0
π‘ Tip: PromptHelper makes AI interactions more efficient and effective. Try the one-click template application for immediate improvements to your AI conversations!






