Логотип Retrieval Integrity Assessment

Retrieval Integrity Assessment

Організація
zero-lab-ai
retrieval-integrity-assessment

Assesses whether an authorized retrieval-augmented AI system preserves source, index, retrieval, context, and output integrity. Use when testing RAG poisoning, retrieval hijacking, context saturation, semantic substitution, or citation controls with benign canaries.

Огляд

Видавецьzero-lab-ai
Репозиторійskills
Назва навичкиretrieval-integrity-assessment
Зірки
152
Форки
9
Файли в пакеті
2
ЛіцензіяApache-2.0
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Файлів у комплекті: 2

    Скрипти, шаблони й довідкові матеріали, які модель може читати під час роботи. Файли доступні лише для читання й ніколи не виконуються.

  • Відкритий вихідний код

    Видавець на GitHub: zero-lab-ai. Перед установленням перегляньте вихідні файли навички.

Встановлення

Установіть навичку ШІ Retrieval Integrity Assessment у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки на GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до розділу «Плагіни» → «Навички».
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/zero-lab-ai/skills/tree/main/plugins/rag-security/skills/retrieval-integrity-assessment
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Додати навичку → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/zero-lab-ai/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/plugins/rag-security/skills/retrieval-integrity-assessment .claude/skills/retrieval-integrity-assessment
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Retrieval Integrity Assessment в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Retrieval Integrity Assessment, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для певного постачальника, тому навичка Retrieval Integrity Assessment не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож поки навичка не потрібна, токени на її інструкції не витрачаються.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

Retrieval integrity assessment

Measure how content moves from an approved source through ingestion, indexing, retrieval, context assembly, and model output. Use benign canaries to distinguish acceptance from retrieval and retrieval from influence.

When to Use

  • Assessing an authorized RAG or enterprise-search deployment.
  • Validating content provenance, tenant isolation, ranking controls, citation fidelity, or retrieval monitoring.
  • Reproducing a suspected poisoning or retrieval-hijacking condition with controlled documents and reversible state.

When NOT to Use

  • Do not upload content, modify a corpus, or query a target without explicit authorization for that action and environment.
  • Do not use real secrets, impersonated safety guidance, executable content, or uncontrolled public documents as test fixtures.
  • Do not infer retrieval from an upload receipt or influence from a citation.

State model

Keep these states separate:

  1. submitted — the test document was offered to the ingestion boundary.
  2. accepted — the service acknowledged the document.
  3. indexed — index-origin evidence identifies the expected test artifact.
  4. retrieved — a retrieval receipt ties the artifact to a specific query run.
  5. context-used — the assembled model context contains the attributed content.
  6. output-influenced — the response changed in the predicted bounded way.
  7. downstream-acted — a separate consumer acted on that output.

Workflow

  1. Bind the test to the exact corpus, tenant, connector, index, model route, identity, time window, action authority, cleanup plan, and run identifier.
  2. Preserve a clean baseline: source set, query set, retrieval results, ranking, context where observable, response, citations, and telemetry.
  3. Create a unique inert canary document. Record its content digest, source, owner, labels, access policy, expected audience, and expiry.
  4. Introduce the canary only through the approved ingestion path. Capture separate source, acceptance, indexing, and access-control receipts.
  5. Run the same bounded query set. Record top results, scores where available, filters, chunk identifiers, context position, citation mapping, response, cache state, and target-origin timestamps.
  6. Test integrity questions independently:
    • source and tenant boundary enforcement;
    • stale, revoked, or deleted content handling;
    • ranking displacement and context saturation;
    • semantic substitution or misleading near-duplicate content;
    • instruction-like content crossing into control behavior;
    • citation-to-source fidelity;
    • embedding, chunking, metadata, and filter manipulation;
    • monitoring and rollback visibility.
  7. Compare baseline and canary runs. Do not attribute a response difference to retrieval when model, route, temperature, cache, corpus, or query also changed.
  8. Grade each state in the ladder with its own receipt. Record alternative explanations and the evidence needed for the next state.
  9. Remove the canary through the approved path, confirm source and index removal, expire caches where authorized, and record residual retrieval.

Deliverable

Return the bound system context, baseline, canary manifest, query matrix, state-ladder results, provenance and citation observations, tenant and policy findings, alternative explanations, telemetry gaps, and cleanup receipt.

Rationalizations to reject

  • “The upload succeeded, so poisoning is proven.” Acceptance does not prove indexing, retrieval, influence, or impact.
  • “The answer used the phrase, so the document was retrieved.” The model may already know it or another source may contain it.
  • “A citation proves source fidelity.” Verify that the cited chunk supports the claim and belongs to the expected source and tenant.
  • “Higher ranking means successful exploitation.” Ranking movement is an integrity observation, not automatically a security impact.
  • “Deletion from the source completes cleanup.” Indexes, caches, and derived stores can retain content.
  • “One strange answer proves a deterministic weakness.” Preserve model and retrieval variability and repeat only within the approved budget.

Файли в пакеті

Модель читає ці файли за потреби, поки навичку завантажено. Вони доступні для читання й ніколи не виконуються.

Поширені запитання

Що робить навичка ШІ Retrieval Integrity Assessment?

Assesses whether an authorized retrieval-augmented AI system preserves source, index, retrieval, context, and output integrity. Use when testing RAG poisoning, retrieval hijacking, context saturation, semantic substitution, or citation controls with benign canaries.

Навіщо використовувати Retrieval Integrity Assessment у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Retrieval Integrity Assessment — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Retrieval Integrity Assessment у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/zero-lab-ai/skills/tree/main/plugins/rag-security/skills/retrieval-integrity-assessment. TypingMind прочитає файл SKILL.md, додасть супровідні файли та встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Retrieval Integrity Assessment?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Retrieval Integrity Assessment?

Зі скількома забажаєте. У TypingMind ви можете використовувати Retrieval Integrity Assessment із будь-якою моделлю, яка підтримує навички, зокрема з GPT, Claude, Gemini, Grok, DeepSeek, Mistral чи Llama. Для цього ви використовуєте власні ключі API.

Чи безкоштовна навичка ШІ Retrieval Integrity Assessment?

Так. На GitHub цю навичку публікує zero-lab-ai за ліцензією Apache-2.0. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це набір інструкцій для повторного використання, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти, які вона може викликати, — код, який десь виконується й повертає результат. Натомість навичка ШІ дає моделі знання й пояснює порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

Створіть власний робочий простір зі ШІ вже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇