Keeps a dated local copy of every artifact page Claude publishes. Only ever adds.

Keeps a dated local copy of every artifact page Claude publishes. Only ever adds.
Status: stub. Tested with Claude Code 2.1.287.
Install:
/plugin install page-pile --marketplace <owner>/rostech-mods
hooks/register.ts 15 lines1import type { Register } from 'claude-code'
2
3// STUB. Loads, validates, and answers /page-pile with what it will become.
4// The shape it is heading for: tool.call on Artifact: after next(e), copy the file into a pile folder with a date stamp
5export const register: Register = on => {
6 on('session.start', async ($, e, next) => {
7 await $.command.register({ name: 'page-pile', description: "Keeps a dated local copy of every artifact page Claude publishes. Only ever adds." })
8 return next(e)
9 })
10
11 on('command.run', { command: 'page-pile' }, async () => {
12 return { text: 'Not built yet. ' + "Keeps a dated local copy of every artifact page Claude publishes. Only ever adds." }
13 })
14}
15