Manage Cornell Method notes stored as Markdown files in ~/cornell-notes/.
One .md file per note. Uses the bundled scripts/cornell.py CLI tool.
text
scripts/cornell.py
Always run it with:
bash
python scripts/cornell.py <command> [args]
The script path must be relative to the skill root, or use the absolute path once
you know it. Copy the script to /tmp/cornell.py for convenience if needed:
bash
cp <skill_root>/scripts/cornell.py /tmp/cornell.py
CommandWhat it doesnew [title]Create a new Cornell note (opens in $EDITOR / micro)list / lsList all notes with title and dateview [note]Pretty-print a note in two-column Cornell layoutsearch [query]Search all notes by keyword, highlights matchesedit [note]Open a note in $EDITOR for editingdelete [note] / rmDelete a note (asks for confirmation)
Notes can be referenced by number, title, or slug. If ambiguous, the script shows an interactive picker.
Each note has YAML frontmatter + three Cornell sections:
markdown
---
title: <Title>
date: <YYYY-MM-DD HH:MM>
tags: []
---
## Notes
<!-- Raw lecture / reading notes -->
## Cues
<!-- Keywords, questions, main ideas — filled in after studying -->
## Summary
<!-- 2-3 sentence synthesis in your own words -->
python /tmp/cornell.py new "<title>"~/cornell-notes/<slug>.md and that it
opened in their editor (micro by default). Remind them to fill in the three sections.python /tmp/cornell.py listpython /tmp/cornell.py view "<title or number>"python /tmp/cornell.py search "<keyword>"python /tmp/cornell.py edit "<title or number>"python /tmp/cornell.py delete "<title or number>"~/cornell-notes/ — the directory is created automatically.$EDITOR or $VISUAL env var, falling back to micro.