Command Palette

Search for a command to run...

Назад к скиллам
скилл № 01316

ingest

Use this skill when the user wants to ingest, index, import, load, add, upload, or process files or folders into Retriever, or to refresh changed files…

БесплатноБез исполняемых скриптов
sdemyanovот sdemyanov★ 26 звёзд на GitHub

Установить ingest в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Operates under retriever:routing. If the user's intent actually fits a different tier — another retriever:* skill, a Tier 2 slash, a Tier 3 tools.py subcommand, or (last resort) direct DB access — stop and re-route against the ladder before continuing.

Retriever Ingest

Use this skill when the user says things like:

  • "index these documents"
  • "refresh the workspace"
  • "re-ingest this folder"
  • "scan for new files"
  • "ingest this PST"
  • "ingest this production"
  • "load this DAT/OPT set"
  • "index this Bates production"

Load order

  1. Read ../workspace/workspace.md.
  2. Read ../parsing/parsing.md if parsing or failure behavior matters.
  3. Use ../tool-template/tools.py as the canonical tool entrypoint.

Execution rules

  • Confirm or infer the workspace root.
  • For a newly selected workspace, always run python3 skills/tool-template/tools.py workspace status --quick <workspace> before the first ingest. For already-known workspaces, run it whenever runtime state is unclear.
  • If workspace init or the first ingest fails with SQLite WAL, journal-mode, mount, or sandbox wording, stop normal ingest execution and follow the mounted/sandboxed SQLite bootstrap troubleshooting.
  • Do not conclude the workspace is unsupported from df, mount, or host filesystem labels alone.
  • Existing DB writes do not prove fresh bootstrap will succeed; distinguish existing-DB behavior from fresh-create behavior on the exact target .retriever/retriever.db path.
  • Follow the shared ingest preflight in ../workspace/workspace.md before running workspace-local commands. That contract handles missing tools, clean-but-stale auto-upgrades, user-modified tool protection, and mounted-path bootstrap troubleshooting without changing the chosen ingest intent.
  • Prefer plain ingest for normal Claude Code indexing and refresh tasks. It is the bounded V2 facade by default.
  • Use plain one-shot ingest for normal local work: python3 skills/tool-template/tools.py ingest <workspace> --recursive
  • Do not use background jobs or shell loops for ingest. Do not manually call ingest-start / ingest-run-step unless you need to inspect or recover a specific active run.
  • If an active ingest run already exists, ingest will fail with active_ingest_run; resume or cancel that run intentionally instead of starting another one.
  • For .pst sources, use regular ingest, not ingest-production.
  • If workspace status reports pst_backend.status == fail, explain that PST ingest needs the required libpff-python / pypff backend installed.
  • If the user target is a processed production root during normal Claude Code use, prefer plain ingest with --path <production-root-relative-path> and no --file-types; it will auto-route the production.
  • Use ingest-production only when the user explicitly asks for that command, when running a targeted script outside the normal bounded Claude Code command window, or when debugging parity with the production-only path.
  • Treat DAT + companion TEXT/, IMAGES/, and optional NATIVES/ folders as a production signature, not as loose files.
  • Run plain ingest with --recursive when the user wants the whole tree scanned.
  • When the user asks to reingest only a subtree or file inside the workspace, keep the positional workspace root unchanged and pass one or more --path <relative-path> flags.
  • Plain ingest without --file-types now auto-routes detected production roots through the production ingest pipeline while still indexing loose files elsewhere in the tree.
  • If plain ingest reports skipped_production_roots, explain that Retriever detected a processed production but skipped it because a file-type filter was present; use ingest-production when the user's intent is to index that production root explicitly.
  • Summarize new, updated, renamed, missing, skipped, and failed for plain ingest.
  • When plain ingest auto-routes productions, also summarize ingested_production_roots plus the production document create/update/unchanged/retired and linked-part counters.
  • Summarize created, updated, unchanged, retired, family reconstruction, linked images, and missing linked parts for ingest-production.
  • If failures are present, list the failed relative paths and short reasons.
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл ingest?

Use this skill when the user wants to ingest, index, import, load, add, upload, or process files or folders into Retriever, or to refresh changed files, ingest a processed production, or explain what was ingested — including phrasings like "index this folder", "import these files", "load the Downloads directory", "add this PST to the collection", "upload and process this batch", "re-index the gmail-max mbox", or "what did you ingest". It bootstraps the workspace if needed, chooses between ingest and ingest-production, and summarizes the results.

Как установить скилл ingest?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл ingest запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить ingest с