Will Larson
banner
lethain.com
Will Larson
@lethain.com
Write at lethain.com. Author of An Elegant Puzzle, Staff Engineer, and An Engineering Executive’s Primer. Worked some places.
Over the last year, as I've spent more time working with LLMs to power product features, I've also been thinking about how LLMs impact me as a long-form author. Of the ideas I've had, I'm particularly interested in the idea of building, and selling, books as "datapacks" for LLMs.
June 14, 2025 at 5:19 PM
This time experimenting with MCP server for generating and running systems models ( github.com/lethain/syst... ). I think it's pretty wild how well this works, especially the tool to inject domain-specific language usage documentation into the context window.
May 10, 2025 at 10:43 PM
Another writing workflow tool I've found useful is using LLM API to describe images. Here's is an example of script that replaces empty image descriptions with reasonably good ones. To extent the images could be better, it's b/c my prompt needs some work
gist.github.com/lethain/9c5e...
April 22, 2025 at 3:07 PM
Small weekend project, I finally moved staffeng.com from Gatsby to Hugo. Gatsby is just fairly hard to maintain with so many JS dependencies for something I don't update frequently.

Now actually possible to fix issues again 😅
April 20, 2025 at 2:56 PM
This one worked exceptionally well to create an SEO-driving FAQ page for page for new book. Done in a Claude workspace with entire book loaded into project via some light preprocessing plus repomix of all Markdown files.
April 13, 2025 at 6:20 PM
So... should I make all the systems models look like Figma diagrams or Excalidraw diagrams? And why?
April 6, 2025 at 11:23 PM
Now working on visual consistency of images for strategy book. One shot prompted a very simple script to build a static HTML page showing every image and descriptions used in the book. This is just a subset of the ~50 images overall, but gives a sense of starting point / problem to be solved.
April 6, 2025 at 10:12 PM
Still enjoying my very basic, vibe coded typo/grammar fixer for blog posts 😂
March 17, 2025 at 1:33 PM
I did make a few minor tweaks to reduce spurious regex matches by increasing context, and also to allow passing model in via "--model" parameter, but otherwise working well. (And I should have made those changes via Claude rather than by hand, but, ya know, still figuring out a good workflow.)
March 8, 2025 at 10:30 PM
I'm still working on getting better at writing one-pass scripts using Claude. This one supporting a common blog editing workflow to incorporate grammar, typos, and other fixes (gist is gist.github.com/lethain/ce2a... )
March 8, 2025 at 10:30 PM
Continuing to experiment with how foundational models can help with writing book _without_ using them to actually write anything (which is, ya know, what I want to do as the author). This was feedback on 180 pages, which is pretty good feedback and took <30 seconds to get versus many days.
February 13, 2025 at 5:33 AM
One of my pointless personal goals was hoping the new book reaches 100 ratings on Amazon by end of 2024. If I miss, it will be by the narrowest margin 😂
December 30, 2024 at 4:49 PM
Praying this is transient oddity so that I am not debugging my blog's build and deployment this evening 😆

Using latest is indeed my fault, but I've also had to debug end of life'd Ubuntu and Hugo versions. Entropy is real.
December 16, 2024 at 3:20 PM
The professional books I read this year (I also read significantly more non-professional books but that's not really my lane).
December 14, 2024 at 5:19 PM
Update on my "decade goals" for 2020s.
December 14, 2024 at 5:19 PM