Skip to content
Research
Command

/ars-cache-invalidate

ARS /ars-cache-invalidate — drop cached verification entries for a citation key

From plugin
academic-research-skills
56k16 skills42 agents16 commands2 hooks
> /plugin marketplace add Imbad0202/academic-research-skills
> /plugin install academic-research-skills@academic-research-skills

Command definition

ars-cache-invalidate.md
name: ars-cache-invalidate
description: ARS /ars-cache-invalidate — drop cached verification entries for a citation key
model: sonnet

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.

Read more
@imbad0202
Ships withacademic-research-skills

A comprehensive suite of Claude Code skills for academic research, covering the full pipeline from research to publication.

Stars on GitHub

Momentum

stars in total
56.2k
Star history of Imbad0202/academic-research-skills on GitHub, a chart by star-history.com

Other commands on academic-research-skills.

More commands from other plugins.

discuss

discuss

Command

Deep Q&A on a paper already analyzed. Actively records valuable insights to the note file during the discussion, without waiting…

adapter

adapter

Command

Route to, register, inspect, validate, and run explicitly trusted local private adapters without putting their code or bulk data…

@nvk@nvkInstall Command
delegate

delegate

Command

为代码/实验任务生成 Codex prompt,用户复制到新终端执行,结果自动落到共享文件

@ligphidonk@ligphidonkInstall Command