用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/nullptr-DZF/dsh-academic-research-skills --skill ars-cache-invalidate命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | ars-cache-invalidate |
| description | ARS /ars-cache-invalidate — drop cached verification entries for a citation key |
| disable-model-invocation | true |
| user-invocable | true |
Invalidate the persistent verification cache for one citation key, so the next pipeline run re-verifies it live against Crossref / OpenAlex / Semantic Scholar / arXiv instead of returning a stale cached verdict. Use this when a citation's metadata changed (e.g. a preprint gained a published DOI) or when a prior verification looks wrong.
The cache (spec v3.11 #182 Delta 2) is a local SQLite store at ~/.cache/ars/verification.db (override via ARS_VERIFICATION_CACHE_PATH), keyed by (citation_key, resolver_name, query_form) with a 90-day TTL. This command removes every cached entry for the named citation key (all four resolvers, all query forms); other citations are untouched. It is idempotent — invalidating a key with no cached rows succeeds as a no-op.
Invalidation cascade (#541, unconditional): after invalidation the next gate regenerates the citation's verification summary row and re-runs Phase E audit verdicts for claims citing it — unconditionally (no baseline is retained to diff against), covering existence status, metadata, and retrieved evidence alike. An age-based advisory also surfaces stale cache entries automatically at the gates (ARS_CACHE_STALE_ADVISORY_DAYS, default 30; opt-in live re-verification via ARS_CACHE_REVALIDATE=1).
To invalidate the entire cache at once (e.g. after a systemic resolver bug cached many false negatives), delete the database file directly: rm ~/.cache/ars/verification.db. It is recreated empty on the next run.
Implementation:
python3 scripts/ars_cache_invalidate.py $ARGUMENTS
Mode reference: docs/design/2026-05-21-v3.10-182-promote-citation-gate-spec.md §2 Delta 2.
Note: this command was ported from the ARS Claude Code plugin (Imbad0202/academic-research-skills, CC-BY-NC-4.0). The deterministic tooling it references (scripts/*.py, MODE_REGISTRY.md, shared/) ships in the upstream repo — clone it alongside this plugin if you need script-based features such as the citation verification gate.