Terminal-based agentic coding assistants like Claude Code, Codex, Opencode, and Aider are generally used to work with codebases, but nothing prevents us from using them on other types of content.
Here is an example of how to use Aider on a collection of Foam notes. The basic idea can be transposed to any combination of coding assistant and note taking system.
-
Install Aider
-
Create a
CONVENTIONS.mddocument and place it in the root of your Foam repo. Fill it with information about the types of notes you have, how you like to structure them, what styling conventions you follow, etc. Think of it as an extensive system prompt. If you're unsure what to include, describe your system in plain language to an LLM and get it to write aCONVENTIONS.mdfor you.