index-at-creation
Index data artifacts at the exact moment they are created.
Install
mkdir -p .claude/skills/index-at-creation && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/2710" && unzip -o skill.zip -d .claude/skills/index-at-creation && rm skill.zipInstalls to .claude/skills/index-at-creation
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Index at Creation TimeKey capabilities
- →Triggers index update on file write
- →Integrates with PostToolUse hook
- →Uses --file flag for granular indexing
- →Ensures artifact availability for queries
How it works
Hooks into the write operation lifecycle to invoke the indexer immediately upon completion instead of waiting for a batch session end signal.
Inputs & outputs
When to use index-at-creation
- →Ensure real-time searchability of new files
- →Configure indexing to trigger on write
- →Update downstream dependencies immediately
- →Optimize data artifact retrieval
About this skill
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"
When not to use it
- →Large batch updates where immediate search is not required
- →Systems relying on scheduled cron jobs
- →When file creation is intermittent or low priority
Prerequisites
Limitations
- →Increased overhead on individual write operations
- →Requires integration with write hooks
- →Potential performance impact on high-frequency writes
How it compares
It eliminates the delay between artifact creation and index visibility, ensuring downstream dependencies always access the latest data.
Compared to similar skills
index-at-creation side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| index-at-creation (this skill) | 2 | 7mo | No flags | Intermediate |
| pdf-processing-pro | 17 | 10mo | Review | Intermediate |
| python-repl | 6 | 4mo | Review | Beginner |
| math-router | 6 | 7mo | Review | Beginner |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by parcadei
View all by parcadei →You might also like
pdf-processing-pro
davila7
Production-ready PDF processing with forms, tables, OCR, validation, and batch operations. Use when working with complex PDF workflows in production environments, processing large volumes of PDFs, or requiring robust error handling and validation.
python-repl
gptme
Interactive Python REPL automation with common helpers and best practices
math-router
parcadei
Deterministic router for math cognitive stack - maps user intent to exact CLI commands
ffmpeg-audio-processing
benchflow-ai
Extract, normalize, mix, and process audio tracks - audio manipulation and analysis
posthog-core-workflow-b
jeremylongshore
Execute PostHog secondary workflow: Core Workflow B. Use when implementing secondary use case, or complementing primary workflow. Trigger with phrases like "posthog secondary workflow", "secondary task with posthog".
bloblang-authoring
redpanda-data
This skill should be used when users need to create or debug Bloblang transformation scripts. Trigger when users ask about transforming data, mapping fields, parsing JSON/CSV/XML, converting timestamps, filtering arrays, or mention "bloblang", "blobl", "mapping processor", or describe any data transformation need like "convert this to that" or "transform my JSON".