GrepBoard/Manuals
47 manuals ·

Claude 3

Claude prompts with real output and checks.

  1. Check stop_reason to Tell If a Claude Response Was Cut Off

    If json.loads fails on a reply cut off mid-string, read stop_reason first. A Python check for max_tokens truncation, and how to raise the limit or continue.

    Python 3.12.3 · Claude Messages API docs as of 2026-10 · checked against sample response JSON
  2. Make Claude quote its sources, then check the quotes with grep

    Ask Claude for a summary with a verbatim quote per sentence, confirm each quote exists in the source with grep -F, and re-ask only for the ones that fail.

    claude-sonnet-5-5 · Claude Code 2.1.302 · Ubuntu 24.04 · run on 2026-10-19
  3. Summarize a Too-Long Claude Chat and Hand It to a New One

    When a chat hits its length limit, ask for a handoff note, check its numbers against the original with grep, then paste it into a new chat and keep going.

    claude-sonnet-5-5 · Claude Code 2.1.302 (claude -p) · Ubuntu 24.04 · 2026-10-19 · claude.ai UI per official help pages