check-notes
Installation
SKILL.md
Check notes
- Search the names. List the store, then the mirror for files the store lacks. Split each file name at its underscores into skill, time, and topic. Keep files whose skill matches the one asked for, whose time falls in the range asked for (compare times as text; they sort in time order), and whose topic shares words with the request.
- Search the contents. When the names leave nothing, or too much, search the files' text for the request's words, and keep the files that hold them.
- Play back. Newest first, show each kept record in the form of assets/playback.md, with its path.
- Offer to continue. Name the file a run would resume from. A run resumes by reading its file and appending to it.
When no store exists here, play back any record pasted into the conversation the same way.
Record
Records live in the store, ${CLAUDE_PLUGIN_DATA}/records/, with a copy in the mirror folder, ${user_config.records_mirror}.
- When the store path is not absolute, no store exists here. Build the record anyway, and end the reply with it in a
jsonlblock under its file name, for the user to keep. - When the mirror path is empty or still a placeholder, skip the mirror. Otherwise, after the run's last line, copy the record file into the mirror under the same name.
- Create either folder when it is missing.
Write each record in the form of the template at the end of this section: the file name as shown, then one JSON object per line, one line per event, in the order the events happen, with every bracketed value replaced. Write a kind as often as the run produces it, and leave out kinds it does not produce. Take times from the clock in UTC, for example date -u +%Y%m%dT%H%M%SZ for the file name. A topic is two to six lowercase words joined by hyphens. An answer's q names the question or open item it answers.