p:: Quartz f:: Claude Code

Reference for operations you can run with Claude Code on this Quartz-based wiki.


Ingest β€” Obsidian Note

ingest <filename.md>

Processes a note already written in Obsidian and placed in content/.

Claude does:

  • Reads content/<filename.md>
  • Finds related wiki pages and adds [[wikilinks]] where the topic is mentioned
  • Adds or updates the one-line entry in wiki-index.md
  • Appends an entry to wiki-log.md

Ingest β€” External Source

ingest raw/<path>

Processes a raw source file (article, PDF, notes dump) and extracts knowledge into the wiki.

Claude does:

  • Reads the source β€” never modifies it
  • Discusses key takeaways
  • Creates or updates content/ pages with extracted knowledge
  • Adds sources and source-count frontmatter to affected pages
  • Updates wiki-index.md and wiki-log.md

Raw source locations:

FolderContents
raw/articles/Clipped web articles
raw/pdfs/PDF source files
raw/notes/Paste dumps, transcripts
raw/assets/Images from clipped articles

Query

<any question about the wiki>

Ask anything β€” Claude looks up relevant pages and synthesizes an answer with citations (e.g., β€œper Docker, …”). Offers to file the answer as a new wiki page.


Lint

lint

Audits the entire wiki for structural issues. Reports:

  • Orphan pages (no inbound links)
  • Concepts mentioned 3+ times but lacking their own page
  • Pages with no outbound links
  • sources entries pointing to raw/ files that no longer exist

Produces a numbered punch list and appends to wiki-log.md.


Publish

npx quartz sync

Run yourself β€” Claude will never run this without your approval.


Key Files

FilePurpose
content/index.mdHomepage β€” do not modify
content/wiki-index.mdPage catalog β€” Claude maintains
content/wiki-log.mdAppend-only operation log
CLAUDE.mdFull workflow spec for Claude