Логотип Legal Citation Integrity

Legal Citation Integrity

Сообщество
randommonicle
legal-citation-integrity

Audit every citation in a finished or received legal document (statute, regulation, case, quoted authority, internal cross-reference) before anyone relies on it. A citation is Confirmed only with a retrieval behind it; every citation in the document appears in the audit table. Triggers on "check every citation in this opinion", "are these cases real", "does this quote say that". Does not fire on code or commit citations, or on statutes you cite while writing; verified-citations owns both.

Add to TypingMind

Обзор

Издательrandommonicle
Репозиторийclaude-skills
Название навыкаlegal-citation-integrity
Звёзды
27
Форки
3
Файлы в комплекте
1
ЛицензияApache-2.0
Ссылки
  • Инструкции в формате Markdown

    Модель загружает файл SKILL.md по мере необходимости, поэтому токены расходуются только при подходящем запросе.

  • Работает с любой большой языковой моделью

    Навыки ИИ — это обычный Markdown, а не код для конкретного поставщика, поэтому они работают с GPT, Claude, Gemini, Grok и локальными моделями.

  • Файлы в комплекте: 1

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

  • Открытый исходный код

    Издатель навыка на GitHub — randommonicle. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Legal Citation Integrity в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать SKILL.md.

1

Установка в TypingMind

TypingMind устанавливает навык прямо из его папки на GitHub: читает SKILL.md, собирает файлы ресурсов и сохраняет результат локально.

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/randommonicle/claude-skills/tree/main/legal-citation-integrity
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Добавить навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
2

Установка в другом агенте

Любой агент с поддержкой формата Agent Skills может использовать этот навык — скопируйте папку в каталог навыков этого агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/randommonicle/claude-skills.git /tmp/claude-skills
mkdir -p .claude/skills
cp -r /tmp/claude-skills/legal-citation-integrity .claude/skills/legal-citation-integrity
После копирования перезапустите Claude Code, чтобы загрузить новый навык.

Использование в TypingMind

Включите навык Legal Citation Integrity в любом чате TypingMind, и дальше модель всё сделает сама. Его название и описание хранятся в системном промпте, а при появлении подходящего запроса модель сама загружает полные инструкции. Вам не нужно вызывать навык вручную, и до фактического использования он не расходует токены.

Модель сама загружает навык Legal Citation Integrity, как только появляется подходящий для него запрос.

Работает с любой моделью ИИ

Навыки ИИ — это обычные инструкции в Markdown, а не код для конкретного поставщика, поэтому навык Legal Citation Integrity не привязан к модели, для которой он был создан. Установите его один раз в TypingMind и используйте с GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama или локальной моделью, которую запускаете самостоятельно, — со своими ключами API.

  • Загружается только при необходимости

    Системный промпт содержит только название и описание. Инструкции загружаются при первом подходящем запросе, поэтому неиспользуемый навык не расходует токены.

  • Меняйте модели прямо в чате

    Навык состоит из инструкций, а не кода, поэтому смена модели не нарушает его работу: новая модель читает тот же файл SKILL.md.

Инструкции навыка

Это содержимое файла SKILL.md, которое загружает модель. Прочитайте его перед установкой: навык — это инструкции, которым будет следовать ваша модель.

Legal citation integrity

A citation is Confirmed only when you opened the source this session and the table shows what you read. Everything else is unverified, and the output says so.

Why this exists

A fabricated legal citation is formatted to look right, which is why it survives. Two failures follow from that, and both are invisible from inside the pass that commits them:

  • The checker that only reports what looks wrong. A confident fabrication looks plausible, so a pass that lists only the suspicious citations misses exactly the one it exists to catch.
  • The checklist that reads as a confirmation. A table of citations with a "what to verify" column, delivered without any retrieval, is read downstream as "the citations were checked".

The rule that does the work

Count, then match. Extract every citation first, number it with its location, and print the count. The audit table then has exactly one row per extracted citation, and every row marked Confirmed names its retrieval: the source, the date read, and the words read there that match the attribution. A retrieval with no quoted words counts as no retrieval, because the quoted words are what lets a reviewer re-open the source and compare. Print the result line before the table:

Search hits 31 | Discarded 8 (listed) | Extracted 23 | Table rows 23 | Confirmed 9 (9 with retrieval) | Contradicted 1 | Could not confirm 4 | Not attempted 9

Red output, any of:

  • Extracted 23 | Table rows 21: two citations are missing from the audit. Find them.
  • Table rows 23 | Confirmed 9 | Contradicted 1 | Could not confirm 4 | Not attempted 8: the four results add to 22, so one row has no result. Every row carries exactly one.
  • Search hits 31 | Discarded 8 | Extracted 21: two hits are in neither list. A discard is listed with its reason, so a reviewer can see a real citation thrown away.
  • Confirmed 9 (8 with retrieval): one row claims a check that did not happen. Downgrade it.

Extraction is mechanical, not by eye. Search the text for: Act, section, s., ss., Sch., para, reg., Regulations, Order, SI, r. and Part followed by a number; a year in square brackets or round brackets followed by a report abbreviation; v and Re ; quotation marks; and internal references (clause, paragraph, above, below, Appendix, Schedule). Record every hit, then discard only the ones that are not citations, with a word on why.

Supporting rules

  1. What to check depends on the type. Record the checks required in the row, and mark Confirmed only when all of them are done; otherwise the result is Could not confirm, naming the check that is outstanding.
    • Statute or statutory instrument: it exists; the section says what the document attributes to it; it was in force on the date that matters to the document; its territorial extent covers the facts; it has no amendment, repeal or prospective change that alters the point.
    • Case: the citation resolves to that case; the passage says what is attributed; the pin cite is right; subsequent treatment (overruled, distinguished, reversed). Without a citator, write subsequent treatment not checked and the row cannot be Confirmed.
    • Quotation: the words match the source exactly, and the excerpt does not reverse its sense in context.
    • Internal cross-reference: the target exists in this document and says what the reference implies.
  2. Read primary sources, not summaries. For UK legislation read the revised text on legislation.gov.uk and note the date you read it, any outstanding or prospective changes the page lists for that provision, and the extent. The date the Act's revised text was last updated belongs to the whole Act; it is not the date the provision came into force. A point-in-time version is needed when the document concerns an earlier date. For a judgment read the judgment itself (for example on the National Archives' Find Case Law service or BAILII), not a headnote, blog or AI summary.
  3. Four results, never blurred. Confirmed, Contradicted, Could not confirm, Not attempted. With no retrieval tool available the whole table is Not attempted and the header says, in these words, No citation in this table has been verified.
  4. Flag fabrication tells even when you cannot verify. A generic case name, a citation format unlike the rest of the document, a pin cite beyond the length of the source, a section number outside the range of the Act, a quotation in a register the source would not use. These go in the suspicious list whatever the result column says.
  5. Report; do not repair. Never edit the document or silently substitute a corrected citation. A wrong citation is reported with what the source actually says, and the correction is the drafter's.
  6. Rank by weight. Mark each row load-bearing or background according to whether a conclusion in the document depends on it, and verify the load-bearing rows first.
  7. A citation that is right can still be incomplete. Where a row summarises what a provision does rather than merely pointing at it, the check is against the whole section, subsections and provisos included, not against the sentence the document cites. The row is Confirmed only if the summary states each exception or says on its face that it is subject to one; a summary that is accurate as far as it goes, with an exception left out, is Contradicted, because a reader acts on it as though it were the whole rule. An effect stated without its exception reads as settled and is the harder error to see: a review that asks "is this right" passes it, and only a review that asks "is this all of it" catches it. Worked instance: the 2026-10-03 re-review of legal-notice-handling/SKILL.md:130-131, where the treated-as-not-due rule under LTA 1987 s.48 was stated without s.48(3), which disapplies it while a court- or tribunal-appointed receiver or manager collects those sums. Read the wording as that file now carries it rather than restating it from memory here.

Output contract

  1. Header. Document audited (name and version), mode (live retrieval or checklist only), tools used, date of audit.
  2. Result line from the rule above.
  3. Audit table. # | Location | Citation as written | Type | Weight | Checks required | Retrieval (source, date read, words read) | Result | Note. Retrieval is empty only when Result is Not attempted.
  4. Discarded hits. Each search hit not treated as a citation, with its location and why.
  5. Suspicious citations. Row numbers and the tell for each.
  6. Priority list. Load-bearing rows not yet Confirmed, in the order to verify them.

Do not

  • Do not mark a row Confirmed because the citation is well formatted or familiar.
  • Do not leave a citation out because it looks obviously right.
  • Do not write a summary sentence saying the citations were checked; the table is the evidence.
  • Do not fix the document.
  • Do not state from memory what a statute or case says in the Note column; if you did not read it this session, the row is Could not confirm or Not attempted.

Routes and scope

  • Citations you make while writing (a statute in a handover, a file:line in a plan, a commit date) → verified-citations, which owns author-time citation discipline.
  • A whole-contract risk review in which a citation check is one part → contract-review.
  • Building a register from a statute's text → statute-to-obligations-register.

Does not fire on code, schema, migration, PR or commit citations in engineering documents. Provenance: forked from rohasnagpal/legal-ai-skills, see UPSTREAM.md.

Файлы в комплекте

Модель читает эти файлы по мере необходимости, пока навык загружен. Они доступны только для чтения и никогда не выполняются.

Часто задаваемые вопросы

Что делает навык ИИ Legal Citation Integrity?

Audit every citation in a finished or received legal document (statute, regulation, case, quoted authority, internal cross-reference) before anyone relies on it. A citation is Confirmed only with a retrieval behind it; every citation in the document appears in the audit table. Triggers on "check every citation in this opinion", "are these cases real", "does this quote say that". Does not fire on code or commit citations, or on statutes you cite while writing; verified-citations owns both.

Зачем использовать Legal Citation Integrity в TypingMind?

Потому что вы устанавливаете навык один раз и используете его с любой моделью. Legal Citation Integrity — это обычный текст в формате Markdown, а не код для конкретного поставщика, поэтому один и тот же навык работает с GPT-5, Claude, Gemini, Grok или локальной моделью. Вы можете менять модель прямо во время чата, и навык продолжит работать. TypingMind использует ваши собственные ключи API, поэтому вы платите поставщикам напрямую, а не оформляете подписку с оплатой за каждое место. Ваши навыки и чаты остаются в вашем собственном хранилище.

Как установить Legal Citation Integrity в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/randommonicle/claude-skills/tree/main/legal-citation-integrity. TypingMind прочитает файл SKILL.md, включит сопутствующие файлы в пакет и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать Legal Citation Integrity?

Любая модель, которую вы подключите в TypingMind. Навыки ИИ — это обычные инструкции в формате Markdown, а не код для конкретного поставщика, поэтому GPT, Claude, Gemini, Grok и локальные модели могут загружать этот навык, когда запрос ему соответствует.

Со сколькими моделями ИИ можно использовать Legal Citation Integrity?

С любым количеством. В TypingMind вы можете использовать Legal Citation Integrity с любой моделью, которая поддерживает навыки, в том числе с GPT, Claude, Gemini, Grok, DeepSeek, Mistral и Llama. Для этого вы используете собственные ключи API.

Бесплатен ли навык ИИ Legal Citation Integrity?

Да. Навык опубликован на GitHub по лицензии Apache-2.0. Издатель — randommonicle. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это набор инструкций, которыми модель ИИ может пользоваться каждый раз, когда ей нужно выполнить конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты, которые она может вызывать: при вызове где-то выполняется код и возвращает результат. Навык ИИ, напротив, даёт модели знания и описывает порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все
Логотип openclaw

Openclaw Testing

openclaw
ОрганизацияПопулярный

Выбирайте подходящие по масштабу тесты и проверки OpenClaw, диагностируйте сбои и направляйте вопросы, зависящие от окружения, и подтверждение релиза ответственным за них специалистам.

82.2K
391K
Файлы: 2
Открыть
Логотип openclaw

Release Openclaw Ci

openclaw
ОрганизацияПопулярный

Запускайте и отслеживайте полный CI-процесс релиза OpenClaw, проверки релиза, контрольные проверки подключений к рабочим провайдерам, подтверждения установки и обновления, а также предварительные проверки секретов релиза; разбирайте ошибки и составляйте сводки.

82.2K
391K
Файлы: 3
Открыть
Логотип openclaw

Release Openclaw Mac

openclaw
ОрганизацияПопулярный

Запускайте или восстанавливайте процессы подписания релизов OpenClaw для macOS, нотариального заверения, обновления appcast и публикации ресурсов.

82.2K
391K
Инструкции
Открыть
Логотип openclaw

Release Openclaw Maintainer

openclaw
ОрганизацияПопулярный

Готовьте, публикуйте, восстанавливайте или проверяйте бета-, стабильные и расширенные стабильные релизы OpenClaw, включая утверждённые обратные переносы изменений.

82.2K
391K
Файлы: 11
Открыть

Создайте своё рабочее пространство с ИИ прямо сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇