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★ 26 звёзд на GitHub
Установить ingest в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Operates under
retriever:routing. If the user's intent actually fits a different tier — anotherretriever:*skill, a Tier 2 slash, a Tier 3tools.pysubcommand, 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
- Read ../workspace/workspace.md.
- Read ../parsing/parsing.md if parsing or failure behavior matters.
- 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 initor the first ingest fails with SQLiteWAL, 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.dbpath. - 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
ingestfor 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-stepunless you need to inspect or recover a specific active run. - If an active ingest run already exists,
ingestwill fail withactive_ingest_run; resume or cancel that run intentionally instead of starting another one. - For
.pstsources, use regularingest, notingest-production. - If
workspace statusreportspst_backend.status == fail, explain that PST ingest needs the requiredlibpff-python/pypffbackend 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-productiononly 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+ companionTEXT/,IMAGES/, and optionalNATIVES/folders as a production signature, not as loose files. - Run plain
ingestwith--recursivewhen 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
ingestwithout--file-typesnow auto-routes detected production roots through the production ingest pipeline while still indexing loose files elsewhere in the tree. - If plain
ingestreportsskipped_production_roots, explain that Retriever detected a processed production but skipped it because a file-type filter was present; useingest-productionwhen the user's intent is to index that production root explicitly. - Summarize
new,updated,renamed,missing,skipped, andfailedfor plain ingest. - When plain ingest auto-routes productions, also summarize
ingested_production_rootsplus the production document create/update/unchanged/retired and linked-part counters. - Summarize
created,updated,unchanged,retired, family reconstruction, linked images, and missing linked parts foringest-production. - If failures are present, list the failed relative paths and short reasons.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
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), без исполняемых скриптов.
Похожие скиллы
patterns
AnthropicFind patterns worth sharing from recent PRs and repo history, both repeats to fix and good practices worth spreading. Use when a champion wants to know what…
copilot-cli-quickstart
GitHubUse this skill when someone wants to learn GitHub Copilot CLI from scratch. Offers interactive step-by-step tutorials with separate Developer and…
vardoger-analyze
GitHubUse when the user asks to personalize the GitHub Copilot CLI assistant, adapt Copilot to their style, use vardoger, or analyze their Copilot CLI conversation…
policy-lookup
AnthropicFind and explain company policies in plain language. Trigger with "what's our PTO policy", "can I work remotely from another country", "how do expenses work"…