# 13 Backlinks in One Post, by a Friend's Count: How Alfred Lua's Claude Code agent does his publishing chores

Alfred Lua writes his posts himself and has Claude Code handle the rest of publishing: tags, links to older posts, scheduling, and queueing social posts in Buffer. His drafts live in Obsidian and his site is Next.js on Vercel, so an article is a Markdown file. After one post a friend wrote to him that it linked to "13 of your previous posts" and looked planned. He has published every day for 75 days. A week of articles takes him about 10 to 15 minutes to add and schedule on Substack, Medium and Facebook, which he still does by hand.

**Try this step:** <strong>Keep every article as a plain Markdown file.</strong> He drafts in Obsidian, synced between laptop and phone with iCloud+. His website is Next.js on Vercel with MDX files, so Claude Code can publish a Markdown note as an article.


| | |
|---|---|
| **Who** | Alfred Lua, dad of two, co-founder of Pebblely and builder of Fernsage, who spent six years at Buffer (alfredlua.com, letters.alfredlua.com), verified 2026-11-21 |
| **Problem** | Publishing every day as a solo founder without spending the day on tagging, cross-linking, scheduling and distribution |
| **Stack** | Obsidian, Claude Code with skills, a website repo and a content-calendar repo, Next.js and Vercel with MDX files, a script that fills a Buffer queue, Substack, Medium and Facebook |
| **Confidence** | Medium (first-person build notes; no traffic, subscriber or revenue results stated) |
| **Last verified** | 2026-11-21 |

## The problem
He just wants to write. To publish an article he also has to deal with what some people call content ops: tagging, cross-linking, scheduling and distribution. He has tried WordPress, Ghost and Webflow. In his words, the platform he needed was one "that can do all those (and more) for me". He says he is a solo founder with two kids who wants to publish regularly.

## The blueprint (as he describes it)
1. **Keep every article as a plain Markdown file.** He drafts in Obsidian, synced between laptop and phone with iCloud+. His website is Next.js on Vercel with MDX files, so Claude Code can publish a Markdown note as an article.
2. **Give the agent two repos and a set of skills.** Claude Code works in his website repo, where published articles go, and in his Getting Things Done repo, which holds the content calendar. He set up a set of skills for the steps he wants it to do.
3. **Start the day with scheduled research.** Every morning at 6:48 am a scheduled task finds three verified stories or quotes and why they matter to him. It uses web search, judges how credible each source is and updates its memory so it does not repeat itself. He writes that Sonnet 5.5 is good enough for this task.
4. **Proofread by going back and forth.** When a first draft is ready he drops it in Claude Code with a proofreading skill. He usually revises five to 10 times before finalizing. He writes that most of the writing suggestions are "still rather terrible" but get him unstuck.
5. **Index every old article, then tag and link from the index.** He had Claude Code read all previous articles and build a Markdown index of title, date, tags, summary and keywords. Each new article gets three relevant tags and backlinks to and forward-links from related old articles. He set rules so tags are not too generic and the agent cannot change the words in the linked articles. He can veto any link.
6. **Let the agent schedule against the calendar.** He writes in bulk. Claude Code finds a suitable date, avoids two articles on the same topic on consecutive days and reshuffles when two pieces are too close in theme.
7. **Fill the social queue when an article merges.** A script Claude Code wrote creates social posts in Buffer from the title, description or content and any images. For Instagram it builds a carousel that matches his site style. It runs whenever a pull request that publishes an article is merged.
8. **Syndicate by hand with help.** Buttons on his content calendar copy rich text for Substack, Medium and Facebook. UTM tags on links can be added programmatically, and they differ on every platform.

## Stated results
- **Cadence:** he has published every day for 75 days.
- **Linking:** a friend wrote that the latest post had "13 of your previous posts" in it. The 13 is the friend's count in a message he quotes, lightly edited.
- **Time:** adding and scheduling a week of articles on Substack, Medium and Facebook takes about 10 to 15 minutes.
- **Social:** he writes that "some posts performed better than I had expected". No numbers.
- **Traffic, subscribers or revenue:** None stated. He writes that his newsletter list is tiny.

## Caveats
- It is not fully autonomous. He still writes, edits and syndicates to the other platforms by hand.
- Claude Code is central to this setup, and he notes the models still lack taste. His test of an "editor" agent that learns from past drafts is early, and he says it is too soon to tell if it works.
- Posting only the title, description and link does not always work well on social media, by his own account.
- He is building Fernsage, a writing habit app, and announces a small Write Club session on 18 December 2026 in the same post (no price stated). He also built the AI content editor Alfie in 2022.
- Handles: alfredlua.com and letters.alfredlua.com, both his own sites. No verified X, Bluesky, Threads or Instagram profile was checked.

## FAQ
### What does Alfred Lua still do himself?
He writes and edits his posts, which he says he wants to do. He also copies finished articles to Substack, Medium and Facebook by hand, which he does not want to do.

### What does Claude Code do for him?
It finds research each morning, proofreads drafts, adds tags and links between old and new articles, picks a publishing date and fills his Buffer queue when an article is merged.

### How long does the manual part take?
About 10 to 15 minutes to add and schedule a week of articles on Substack, Medium and Facebook.

### Has it grown his audience?
None stated. He gives no traffic or subscriber numbers and says his newsletter list is tiny.

## Sources
- https://letters.alfredlua.com/p/i-just-want-to-write-so-i-built-an (primary: "I just want to write. So I built an agent to do my publishing chores.", Nov 20, 2026)
- https://alfredlua.com/about (background: Buffer, Pebblely, Fernsage)
- https://alfredlua.com/ (day count and recent posts)

---
*Want agents like these working your distribution? [Get It Built](/get-it-built). Get new teardowns weekly: [subscribe](/subscribe) (double opt-in).*