Sign in Get 3 free credits

Try a job or a niche: tiktok captions, study notes, excel formulas. Press Esc to close.

RAG reindexing safety

Makes RAG ingestion safe to rerun, so reindexing stops leaving duplicate or deleted documents in results.

Claude's review

7/10 Clear reingest idempotency contract with docstore strategies and a second run test, narrow to RAG pipelines.

We asked Claude the question you would ask: would I be glad I installed this? Two separate reviews, the second blind to the first, must both rate a skill 7 or higher before we sell it.

In detail

Re-ingest-correctness SOP for production RAG. Activate when a calling agent builds, reviews, or debugs an ingestion pipeline that runs more than once over a changing corpus — scheduled re-index, incremental updates, CI re-ingest, or a "retrieval has duplicates / shows deleted docs" bug. Encodes the rule — **ingestion must be idempotent: a document's content hash decides insert/update/skip, so re-running over unchanged docs is a no-op** — plus the docstore + doc-hash upsert machinery (LlamaIndex `IngestionPipeline` + `DocstoreStrategy`), the delete-propagation problem, and cross-framework equivalents (LangChain `index()` + `RecordManager`, manual hash table). ENHANCE overlay over [[llamaindex]]: the IngestionPipeline exists in the base skill but the re-ingest-correctness contract is not surfaced.

How you use it

  1. Add it to your pack, then download your pack (1 credit).
  2. In Claude, open Customize > Skills and upload the zip. Code execution needs to be on under Settings > Capabilities.
  3. Ask Claude for the job in your own words. It uses the skill when your request matches what it does. Step by step guide

Safety check

Nothing risky found: no hidden instructions, no download and run, no reading of saved passwords or keys.

An automated scan lowers risk but cannot promise zero risk. How we check skills

Preview

The first lines of SKILL.md
---
name: agentsop-idempotent-ingestion
version: 0.1.0
description: |
  Re-ingest-correctness SOP for production RAG. Activate when a calling agent
  builds, reviews, or debugs an ingestion pipeline that runs more than once over
  a changing corpus — scheduled re-index, incremental updates, CI re-ingest, or
  a "retrieval has duplicates / shows deleted docs" bug. Encodes the rule —
  **ingestion must be idempotent: a document's content hash decides
  insert/update/skip, so re-running over unchanged docs is a no-op** — plus the
  docstore + doc-hash upsert machinery (LlamaIndex `IngestionPipeline` +
  `DocstoreStrategy`), the delete-propagation problem, and cross-framework
  equivalents (LangChain `index()` + `RecordManager`, manual hash table). ENHANCE
  overlay over [[llamaindex]]: the IngestionPipeline exists in the base skill but
  the re-ingest-correctness contract is not surfaced.
trigger_keywords:
  - "idempotent ingestion"
  - "re-ingest"
  - "re-index"
  - "docstore"
  - "doc hash"
  - "upsert"
  - "duplicate chunks"
  - "IngestionPipeline"
  - "RecordManager"
  - "incremental update"
  - "scheduled reindex"
when_to_use:
  - "any ingestion pipeline that will run more than once (cron, CI, webhook, manual re-run)"
  - "a corpus where source documents are added, edited, or deleted over time"
  - "debugging duplicate / stale chunks polluting retrieval after a re-run"
  - "reviewing a PR that calls VectorStoreIndex.from_documents / pipeline.run without a docstore"
  - "designing the ingestion side of a production RAG before first deploy"
when_not_to_use:
  - "a one-shot index built once and never refreshed (static corpus, throwaway notebook)"
  - "the corpus is small enough to fully rebuild from scratch in seconds and rebuild-on-every-run is genuinely acceptable (measure first)"
  - "pure retrieval / query-time work with no ingestion path"
---

# Idempotent Ingestion · Re-Ingest-Correctness SOP
...

From agentsope's repository, MIT licence.

Related skills

  • Checked

    Neuron PHP AI Agents

    Builds and configures AI agents in PHP with the Neuron framework, covering tools, memory and streaming.

    by neuron-core 2.2k
    7/101 credit
  • Checked

    RAG evaluation

    Measures how well a RAG system retrieves and answers, with test questions, metrics and chunking advice.

    by ai-evals-course 1.9k
    7/101 credit
  • Checked

    LangSmith Agent Testing

    Sets up LangSmith datasets, scorers and experiments so you can prove an AI agent change is better before release.

    by langchain-ai 1.4k
    7/101 credit
  • Checked

    Test and Fix Loop

    Sets up a coding agent to run tests, read failures and fix them until green, with a safe point to stop.

    by agentsope 513
    8/101 credit
  • Checked

    AI Failure Analysis

    Sorts real chatbot or agent logs into named failure types with counts, so you know which tests to write first.

    by yonatangross 312
    7/101 credit
  • Checked

    AI Agent Eval Rubric

    Writes pass or fail checks that define good behaviour for your AI agent, plus release targets for the PRD.

    by Calibre-Labs 107
    7/101 credit

Secure checkout

Credits

AUD

  1. 1Choose
  2. 2Pay on Square
  3. 3Credits added