Stats
Actions
Tags
From trellis-kb
Runs Node cleanup scripts when the session stops, closing background processes or persisting state. Executes scripts via Node.
1 event · 1 hook
Where this hook configuration is defined
Defined inline in plugin.json manifest
Event handlers and matchers — expand Raw Configuration for the full JSON
echo "Before ending: scan this turn for new agent knowledge. If anything is generalizable (a new concept, paper, framework, person, workflow, model) and not already in the kb, save it via kb_save in workspace '${TRELLIS_WORKSPACE:-ai-agents}', then link it to related existing nodes via kb_link. Skip ephemeral content (debugging, one-off Q&A). If nothing is worth saving, just say so and stop."npx claudepluginhub kaiohenrique/trellis --plugin trellis-kb