integrity-scan
БесплатноБез исполняемых скриптовНе проверенTriage research-corpus artifacts for LLM residue, placeholder/template markers, unresolved citation markers, non-final experiment language, and submission…
от jmagly★ 233 звезды на GitHubОб этом скилле
Integrity / Submission-Risk Scan
Scan corpus text artifacts for signals that an item needs human review before
induction, scoring, or synthesis: visible assistant meta-comments, placeholder
or template residue, unresolved [citation needed] markers, "results are
simulated/illustrative" language, and submission-readiness flags.
This is a conservative triage tool. It does not decide misconduct — it
raises a per-REF recommendation (pass / review / quarantine) so a human
can confirm whether a flagged line is source-authored text, OCR noise, or
generated-note residue.
How to run
# Scan the corpus (documentation/references + citations + radar), report only
aiwg corpus integrity-scan
# Limit to one REF
aiwg corpus integrity-scan --ref REF-888
# Write per-REF quarantine reports for quarantine-recommended REFs
aiwg corpus integrity-scan --quarantine # → .aiwg/research/quarantine/REF-*-llm-artifact-scan.md
# CI gate: exit non-zero if any REF reaches the threshold
aiwg corpus integrity-scan --fail-on quarantine
aiwg corpus integrity-scan --fail-on review # stricter (review OR quarantine fails)
# Save the summary table
aiwg corpus integrity-scan --out reports/integrity-scan.txt
--quarantine writes reports; it never moves or edits source files.
Scoring
| Category | Severity | Weight |
|---|---|---|
placeholder-data ("replace with actual …") |
critical | 40 |
llm-meta-comment ("as an AI language model", "would you like me to") |
critical | 35 |
placeholder-data ("placeholder", "sample data", "illustrative only") |
high | 25 |
template-residue ([todo], tbd, xxx) |
high | 25 |
citation-risk ([citation needed]) |
high | 25 |
experiment-risk ("results are simulated/mock/not final") |
high | 25 |
submission-risk ("position paper", "literature review") |
low | 5 |
ai-disclosure ("ChatGPT", "Claude", "LLM-generated") |
low | 2 |
Per-REF score is summed (capped at 100). Recommendation:
- quarantine — any critical finding, OR score ≥ 50 with a high-severity hit.
- review — score ≥ 20, OR any high-severity finding.
- pass — otherwise.
Customizing the pattern catalog
The catalog is data-driven (epic #1496 principle #3). Override the built-in
defaults per-corpus with documentation/integrity-patterns.yaml:
- category: lab-internal-marker
severity: high
weight: 25
regex: "\\bINTERNAL DRAFT\\b"
description: Internal-draft marker that must not ship
When the file is present it replaces the default catalog (so include the
defaults you still want). regex is compiled case-insensitive.
Reconciliation with the quality skills
integrity-scanis a pre-induction residue/risk triage — "is this artifact safe to ingest?"research-quality-audit/research-qualityassess GRADE evidence quality — "how strong is this source?"
They answer different questions and compose: run integrity-scan first to
quarantine residue-laden artifacts, then run the quality skills on what passes.
Triggers
- "scan the corpus for LLM residue"
- "find placeholder / fabricated data"
- "submission-risk scan"
- "quarantine suspect papers"
- "integrity scan"
Notes
- TS-native (
src/artifacts/corpus-tools/integrity-scan.ts) — port of section9llm_artifact_scan.py. Scans text artifacts (.md/.txt/.tex/.bib/.yaml/.html). ai-disclosureis intentionally low-severity (weight 2): research notes legitimately discuss Claude/Gemini/LLMs as subjects, so it informs rather than quarantines on its own.
Установить integrity-scan в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл integrity-scan?
Triage research-corpus artifacts for LLM residue, placeholder/template markers, unresolved citation markers, non-final experiment language, and submission risks. Per-REF scoring → pass / review / quarantine. Conservative — flags for human review, does not decide misconduct. Runs via `aiwg corpus integrity-scan`.
Как установить скилл integrity-scan?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл integrity-scan запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic