Story Details

  • Claude's system prompt is over 24k tokens with tools

    Posted: 2025-05-06 20:39:35

    Anthropic's Claude AI chatbot uses an incredibly extensive system prompt, exceeding 24,000 tokens when incorporating tools. The prompt emphasizes helpfulness, harmlessness, and honesty, while specifically cautioning against impersonation, legal or medical advice, and opinion expression. It prioritizes detailed, comprehensive responses and encourages a polite, conversational tone. The prompt includes explicit instructions for using tools like a calculator, code interpreter, and web search, outlining expected input formats and desired output structures. This intricate and lengthy prompt guides Claude's behavior and interactions, shaping its responses and ensuring consistent adherence to Anthropic's principles.

    Summary of Comments ( 226 )
    https://news.ycombinator.com/item?id=43909409

    Hacker News users discussed the implications of Claude's large system prompt being leaked, focusing on its size (24k tokens) and inclusion of tool descriptions. Some expressed surprise at the prompt's complexity and speculated on the resources required to generate it. Others debated the significance of the leak, with some arguing it reveals little about Claude's core functionality while others suggested it offers valuable insights into Anthropic's approach. Several comments highlighted the prompt's emphasis on helpfulness, harmlessness, and honesty, linking it to Constitutional AI. The potential for reverse-engineering or exploiting the prompt was also raised, though some downplayed this possibility. Finally, some users questioned the ethical implications of leaking proprietary information, regardless of its perceived value.