$npx -y skills add parcadei/Continuous-Claude-v3 --skill index-at-creationIndex at Creation Time
| 1 | # Index at Creation Time |
| 2 | |
| 3 | Index artifacts when they're created, not at batch boundaries. |
| 4 | |
| 5 | ## Pattern |
| 6 | |
| 7 | If downstream logic depends on artifacts being queryable, index immediately at write time. |
| 8 | |
| 9 | ## DO |
| 10 | - Index handoffs in PostToolUse Write hook (immediately after creation) |
| 11 | - Use `--file` flag for fast single-file indexing |
| 12 | - Trigger indexing from the same event that creates the artifact |
| 13 | |
| 14 | ## DON'T |
| 15 | - Wait for SessionEnd to batch-index |
| 16 | - Rely on cron/scheduled jobs for time-sensitive data |
| 17 | - Assume data will be available "soon enough" |
| 18 | |
| 19 | ## Source Sessions |
| 20 | - a541f08a: "Index at artifact creation time, not at SessionEnd" |
| 21 | - 1c21e6c8: "If downstream logic depends on artifacts, index at the moment they're created" |