index-at-creation

Index artifacts immediately upon creation using the PostToolUse Write hook and --file flag.

8|1|Updated Jan 4, 2026
One-click install
npx skills add https://github.com/scooter-lacroix/Maestro --skill index-at-creation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: index-at-creation
Source: https://github.com/scooter-lacroix/Maestro/tree/main/maestro/skills/index-at-creation
Command: npx skills add https://github.com/scooter-lacroix/Maestro --skill index-at-creation

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill addresses the issue of delayed data availability by ensuring that artifacts are indexed and queryable as soon as they are created, rather than waiting for batch processes.

Core Features & Use Cases

  • Real-time Indexing: Indexes artifacts immediately after they are written, ensuring data is available for downstream consumption without delay.
  • Event-Driven Indexing: Triggers indexing directly from the event that creates the artifact, maintaining a tight coupling between creation and availability.
  • Use Case: When a new user profile is created, it's immediately indexed so that search functionalities reflect the new user without any lag.

Quick Start

Index the newly created artifact using the --file flag for immediate availability.

Frequently Asked Questions about index-at-creation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I index artifacts immediately upon creation instead of waiting for batch processes?

To index artifacts immediately upon creation, trigger indexing within the PostToolUse Write hook and use the `--file` flag for single-item indexing. This ensures data queryability without delay for downstream logic.

Why does downstream data queryability fail when relying on batch indexing?

Downstream queryability fails because batch indexing creates delayed data availability. Indexing artifacts at the time of creation within the PostToolUse Write hook guarantees immediate data presence for dependent processes.

How do I trigger real-time indexing for a newly created artifact file?

Trigger real-time indexing by mandating the indexing process within the PostToolUse Write hook and utilizing the `--file` flag to index the specific single item immediately after it is written.

When do I need to use the PostToolUse Write hook for data pipeline indexing?

Use the PostToolUse Write hook for data pipeline indexing when downstream logic depends on immediate data queryability. It couples artifact creation directly with availability, bypassing batch processing delays.

Can I use the --file flag to index a single artifact for immediate search availability?

Yes, you can use the `--file` flag to index a single artifact. This approach guarantees immediate data availability, ensuring search functionalities reflect new data instantly without lag.

What is the best way to ensure event-driven indexing for artifact management?

The best way to ensure event-driven indexing is to trigger the indexing action directly from the artifact creation event using the PostToolUse Write hook, maintaining tight coupling between creation and availability.