Simon Willison: hide agent PR text behind <details>

Simon Willison now opens agent-written GitHub PRs with a short human-curated intro and collapses the full AI description in a details/summary block.

Simon Willison wrote on Nov 9, 2026 that most changes to his projects now arrive as PRs opened by Claude Code or Codex. Their descriptions are accurate and comprehensive, but too long to read. His fix: open each PR with a short, human-approved summary, then put the full agent-written description inside a collapsed HTML <details><summary> block, which GitHub Markdown renders natively. If you ship agent-made PRs to teammates or clients, this costs almost nothing to adopt.

Willison says these descriptions are "not necessarily slop, but it reads like slop." In his view the content is fine and the problem is the sheer volume. His opener is "the shortest text a human can read that will help get them up to speed," sometimes with a screenshot. He labels the collapsed block with the model and effort level, such as "Claude Opus 5.5 Medium." He doesn't always write the opener himself. Sometimes he picks it out of the agent's own text, but he promises it reflects his judgement. daily.dev's write-up summarizes the same pattern.

One formatting catch: per MiaoYan's guide, Markdown inside the block only renders if you leave a blank line after </summary> and before </details>:

<details>
<summary>Claude Opus 5.5 Medium</summary>

<!-- full agent-written description here -->

</details>

MDConverter lists GitLab and Bitbucket as supporting <details> too.

A complementary habit comes from Arthur Silva's review checklist. He suggests a hand-written sentence saying how much an agent wrote and which files you reviewed closely. He also warns that "a description written by the model that wrote the bug won't mention the bug." Our take: a curated opener helps reviewers triage, but they still need to read the diff.

Try it: to make this the default rather than a chore, add an instruction like this to your project's CLAUDE.md (our example). You still review the opener, and the diff.

When you open a PR, start the description with two or three sentences
a reviewer needs. Put your full description inside
<details><summary>Agent notes</summary>, with a blank line after
</summary> and before </details> so the Markdown renders.

Sources