tmp-snapshot
Installation
SKILL.md
tmp-snapshot
Save content the user asked for into /tmp/<name>.md, then reply with the path and an outline. Nothing more.
Steps
-
Pick the content. Use what the user pointed at:
- A topic from this conversation ("save the auth part") → extract just that slice.
- The whole chat ("save everything we just discussed") → summarize the substantive bits.
- Text they pasted into their message → use it verbatim.
If the slice is ambiguous, ask once before writing.
-
Pick a kebab-case filename. 2–4 words, descriptive of the content, no dates unless they matter to the topic. Path is always
/tmp/<name>.md— never a subfolder unless the user specifies one. Overwrite if it exists;/tmpis scratch. -
Write the file as standalone markdown: one
#H1 title,##for sections,###for sub-sections. It should read cleanly without the chat as context. No YAML frontmatter unless the user asks. -
Reply with the path + outline. No preamble, no closing summary. Just those two things.