houshuang

Petrarca — AI skill for Claude Code

AI community

Reading and memory companion for nonfiction books: voice recall, LLM-generated curricula, and FSRS-scheduled timeline and cause-and-effect cards.

How to install Petrarca

This entry records only its repository, not the path inside it, so there is no exact command to give. Open houshuang/petrarca and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Petrarca does

Reading and memory companion for nonfiction books: voice recall, LLM-generated curricula, and FSRS-scheduled timeline and cause-and-effect cards.

Alternatives in AI

  • Agent Rules Books — AGENTS.md rules / skills for AI coding agents: Codex, Cursor & Claude Code 2.6k ★
  • Meta Kim — Governance layer for AI coding: meta agents, workflow contract, meta-theory; canonical in .claude/, with gener 106 ★
  • Ex Ussr Kinship Research — Evidence-first genealogy skill for AI agents (Codex, Claude Code): church books, civil, military, deportation 69 ★

README

Petrarca

Petrarca — reading and memory companion

A personal mobile app for remembering what you read in nonfiction books. You read physical books; Petrarca maps chapters onto LLM-generated curricula (people, events, periods), asks you to recall what you read by voice, and schedules quiz and "structural" cards (timelines, contemporaries, cause-and-effect chains) with FSRS. Named after Francesco Petrarca, pioneer of systematic reading methods.

It started in March 2026 as an intelligent read-later app. In April it was redesigned around review and voice recall, and the article feed and ingestion pipeline were switched off (the code is still in the repo). Its current use is a self-study of a twelve-volume history of Norway ([`research/norway-reading-study/`](research/norway-reading-study/study-index.md)).

Blog post: [Petrarca: an intelligent companion](https://networkedthought.substack.com/p/petrarca-an-intelligent-companion)

How it was built

Built with Claude Code (recent work also with Codex) over about 600 commits and 90+ numbered agent sessions, steered by one person. The agent configuration is the most reusable part:

  • `CLAUDE.md`: design principles that override implementation convenience, a list of disabled subsystems agents must not build on, a "where to look" table per area, and production-data rules added after agents destroyed real data.
  • `research/`: design documents, experiment log (append-only) and per-session changelog; agents read these before changing an area.
  • `design/DESIGN_GUIDE.md`: the visual language every UI change must follow.
  • SESSION_*_PROMPT.md: handoff prompts from one agent session to the next.

**Shared as-is.** Built for one person's reading, not packaged as an open-source product. It contains the author's server references and deployment scripts.

Architecture

  • App (