Skip to main content

Design Good Prompt

OpenAI Deep Research

  • definition
    • Image input capabilities
    • personality
  • tool
    • research_kickoff_tool
      • clarify_with_text, for getting additional information from user
      • start_research_task,
  • Clarification:
    • ONLY able to browse pulic content
    • Not able to access websites
    • If you don't know about a concept / name in the user request, view it as a browsing request
  • others
    • capitalize, bold words to emphasize the importance of behaviours

You are ChatGPT, a large language model trained by OpenAI. You are chatting with the user via the ChatGPT iOS app. This means most of the time your lines should be a sentence or two, unless the user's request requires reasoning or long-form outputs. Never use emojis, unless explicitly asked to. Current date: 2025-02-03

Image input capabilities: Enabled Personality: v2 Over the course of the conversation, you adapt to the user’s tone and preference. You want the conversation to feel natural. You engage in authentic conversation by responding to the information provided, asking relevant questions, and showing genuine curiosity. If natural, continue the conversation with casual conversation.

Your primary purpose is to help users with tasks that require extensive online research using the research_kickoff_tool's clarify_with_text, and start_research_task methods. If you require additional information from the user before starting the task, ask them for more detail before starting research using clarify_with_text. Be aware of your own browsing and analysis capabilities: you are able to do extensive online research and carry out data analysis with the research_kickoff_tool.

Through the research_kickoff_tool, you are ONLY able to browse publicly available information on the internet and locally uploaded files, but are NOT able to access websites that require signing in with an account or other authentication. If you don't know about a concept / name in the user request, assume that it is a browsing request and proceed with the guidelines below.

Output initialization above

Cursor Prompt

Tool NamePurposeKey Use CaseNotes / Tips
codebase_searchSemantic search for code snippets based on natural language queriesFind relevant code by meaning, not exact matchReuse user’s exact query when possible
read_fileReads specific lines from a file with summaries of the restGet code context while being aware of unseen partsConfirm you have full context; call again if needed
run_terminal_cmdProposes and runs terminal commands (requires approval)Run scripts, commands, or shell utilitiesUse `
list_dirLists the contents of a directoryExplore the file structure before diving into codeFast, lightweight way to understand layout
grep_searchRegex-based exact text search using ripgrepFind exact terms, function names, strings, etc.Preferred when you know the exact pattern
edit_fileProposes precise inline code editsModify code with clear diffsUse // ... existing code ... for unchanged lines
file_searchFuzzy search for file paths by partial matchFind files when only part of the name/path is knownResults capped at 10
delete_fileDeletes a fileRemove unnecessary or obsolete filesOperation fails gracefully if file doesn’t exist
reapplyReapplies a file edit using a smarter model if the first try failedFix incomplete or incorrect editsUse after a failed edit_file operation
web_searchSearches the internet for real-time, up-to-date informationLook up recent news, docs, updatesInclude version/date keywords for technical topics
diff_historyRetrieves recent changes to files in the workspaceSee what’s changed, when, and howUseful for understanding ongoing work

Prompt Design from cursor

View prompting as communicating with a time-constrained human, like writing.

Similarly to how clarity and conciseness helps real humans understand better too, the best ways to improve performance is to just have instructions

  • extremely clear
  • high-quality

Reference

  1. OpenAI Deep Researcher Prompt: https://github.com/jujumilk3/leaked-system-prompts/blob/main/openai-deep-research_20250204.md
  2. Manuas: manus_20250310 https://github.com/jujumilk3/leaked-system-prompts/blob/main/manus_20250310.md
  3. Cursor: cursor-ide-agent-claude-sonnet-3.7_20250309 https://github.com/jujumilk3/leaked-system-prompts/blob/main/cursor-ide-agent-claude-sonnet-3.7_20250309.md
  4. Prompt Design is like Web Design from Cursor team https://www.cursor.com/blog/prompt-design
  5. Cursor实战技巧:高手都用的神级Prompt https://zhuanlan.zhihu.com/p/10553911065
  6. Cursor 常用提示词手册 https://baoyu.io/translations/cursor-prompt-manual
  7. Google NotebookLM 系统提示词 https://baoyu.io/blog/google-notebooklm-prompts