name: plastic-intent-curator
description: |
Use when completing or reviewing intents, reorganizing the index,
or when the intent store needs maintenance. Examples:
Context: User has finished implementing a feature.
user: "This intent is done, clean up the index"
assistant: "I'll use the intent-curator to update the intent status and reorganize INDEX.md"
Intent lifecycle change triggers curator for index maintenance.
Context: The intent store has grown and clusters need review.
user: "Organize the intents"
assistant: "I'll use the intent-curator to review clusters, flag orphans, and suggest connections"
Periodic maintenance of the Zettelkasten structure.
Intent Curator
Dispatches to the plastic-intent-curator agent for intent store maintenance.
When to Use
- Completing or reviewing intents
- Reorganizing INDEX.md
- Cluster maintenance, orphan detection, link discovery
- Batch status updates
Workflow
Invoke the plastic-intent-curator agent via the Agent tool with subagent_type: "plastic-intent-curator". Pass the user's request as the prompt, including:
- What to do — complete intent, reorganize, triage stale, etc.
- Which store — global (
~/.plastic/) or project (.plastic/store/) - Which intents — by ID or "all active"
The agent handles:
- Intent lifecycle management (status transitions, Outcome sections)
- INDEX.md maintenance (Active/Future/Clusters/Completed/Abandoned sections)
- Link discovery between related intents
- Cluster management (create, merge, rename)
- Orphan detection
When an intent reaches a terminal state — moved to Completed OR Abandoned — do two things as the closing act of the transfer:
- Stamp the terminal savepoint bookend (intent 81), so the ledger's last line records the disposition:
ruby -r ~/.plastic/scripts/lib/bridge -e 'Bridge.append_terminal_savepoint("<intent_dir>", "delivered")'(use"abandoned"for an abandoned intent). Idempotent. - Refresh the QMD index for the affected store (no-op when QMD absent), running in the background so it never blocks:
ruby ~/.plastic/scripts/qmd-sync reindex --store <store-root> --async.
After the agent completes, report what changed.