
Index At Creation
If your downstream logic needs to query artifacts right away, don't wait for batch indexing at session boundaries. This pattern hooks into PostToolUse Write events to index files the moment they're created, using the `--file` flag for fast single-file operations. It's built for scenarios where "eventually consistent" isn't good enough and you need artifacts queryable immediately after handoff. The approach is simple: trigger indexing from the same event that writes the artifact, rather than hoping a cron job or SessionEnd handler catches it in time. Solves a specific race condition at the cost of more frequent index operations.
- skills.sh installs
- 471
- GitHub stars
- 3.9K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add parcadei/continuous-claude-v3 --skill index-at-creation --agent claude-codeInstalls into .claude/skills of the current project.
Files
Index at Creation Time
Index artifacts when they're created, not at batch boundaries.
Pattern
If downstream logic depends on artifacts being queryable, index immediately at write time.
DO
- Index handoffs in PostToolUse Write hook (immediately after creation)
- Use
--fileflag for fast single-file indexing - Trigger indexing from the same event that creates the artifact
DON'T
- Wait for SessionEnd to batch-index
- Rely on cron/scheduled jobs for time-sensitive data
- Assume data will be available "soon enough"
Source Sessions
- a541f08a: "Index at artifact creation time, not at SessionEnd"
- 1c21e6c8: "If downstream logic depends on artifacts, index at the moment they're created"
Sponsors
Details
- Repository
- github.com/parcadei/continuous-claude-v3
- Category
- Marketing & SEO
- First seen
- Jun 3, 2026
More from parcadei/continuous-claude-v3
All 108- Router First Architecture468
- Implement Plan408
- Implement Task398
- Implement Plan Micro397
- Discovery Interview4.2K
- Premortem902
- Math881
- Github Search740
- Dead Code736
- Refactor623
- Recall Reasoning603
- Graceful Degradation601
- Explore580
- Agentic Workflow567
- Modular Code567
- Math Help545
- Sub Agents537
- Security532
- Research Agent530
- Perplexity Search528
- Agent Orchestration525
- Ast Grep Find523
- Git Commits523
- Remember523