Agent skill
index-at-creation
Index at Creation Time
Install this agent skill to your Project
npx add-skill https://github.com/parcadei/Continuous-Claude-v3/tree/main/.claude/skills/index-at-creation
SKILL.md
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"
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
tdd-migration-pipeline
Orchestrator-only workflow for migrating/rewriting codebases with full TDD and agent delegation
agentica-prompts
Write reliable prompts for Agentica/REPL agents that avoid LLM instruction ambiguity
planning-agent
Planning agent that creates implementation plans and handoffs from conversation context
recall
Query the memory system for relevant learnings from past sessions
implement_task
Implementation agent that executes a single task and creates handoff on completion
braintrust-tracing
Braintrust tracing for Claude Code - hook architecture, sub-agent correlation, debugging
Didn't find tool you were looking for?