# How to install the nightly sifting of notes

1. Put `prosev.md` into the `~/.claude/commands/` folder.
2. Ask Claude: "Create the folders $HOME/notes and $HOME/knowledge".
3. Ask Claude: "At the end of each work task, briefly write what was learned into a note in the $HOME/notes folder".
4. Ask Claude: "Set up a daily run at 3:00 with the command claude -p '/prosev' --permission-mode acceptEdits --add-dir $HOME/notes --add-dir $HOME/knowledge".
5. At night leave the computer on and do not put it to sleep.

Check:

1. Put a file with one line into the `$HOME/notes` folder: "The accounting report is built with the command report --month".
2. Run `/prosev` in Claude Code.
3. Claude replies "All good, all done.", and this line appears in the `$HOME/knowledge` folder.
4. Run `/prosev` again: the line is not added a second time.
