ars-mark-read

ars-mark-read is a command for Claude Code from Lzy599775/agent-auto-sci-skills. It costs 23 tokens per session (567 once invoked), scanned A, original, MIT.

A command that records which citation sources a person has read. It uses that record when later checking citation status.

In plain words
What is it for?
Mark one or more citation keys as personally read, optionally recording the stated reading scope.
Why use it?
It removes the need to track human reading confirmations separately and helps prevent unverified acknowledgements.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: model in frontmatter.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 scripts/ars_mark_read.py $ARGUMENTS --passport-path "<path>".

Good fit Mark one or more citation keys as personally read, optionally recording the stated reading scope.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/Lzy599775/agent-auto-sci-skills
agentmods
npx agentmods add commands/lzy599775/agent-auto-sci-skills/ars-mark-read

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ars-mark-read

README.md
[![agentmods](https://agentmods.dev/badge/commands/lzy599775/agent-auto-sci-skills/ars-mark-read/github.svg)](https://agentmods.dev/commands/lzy599775/agent-auto-sci-skills/ars-mark-read)
Your own site
<a href="https://agentmods.dev/commands/lzy599775/agent-auto-sci-skills/ars-mark-read"><img src="https://agentmods.dev/badge/commands/lzy599775/agent-auto-sci-skills/ars-mark-read/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ars-mark-read

Your own site · 80×15
<a href="https://agentmods.dev/commands/lzy599775/agent-auto-sci-skills/ars-mark-read"><img src="https://agentmods.dev/badge/commands/lzy599775/agent-auto-sci-skills/ars-mark-read.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 567 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00023 $0.00567
Opus 5.5 $0.00009 $0.00227
Sonnet 5.5 $0.00005 $0.00113
Haiku 4.5 $0.00002 $0.00057

Measured 1mo ago against content hash 1272790ecd5a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ars-mark-read scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/urban-exposure-review-radar-workflow/subskills/academic-research-suite/ars/commands/ars-mark-read.md · 19 lines

What it actually says

Record the user's USER_ATTESTED_READ declaration for the source(s) backing the named citation key(s). This is a user statement, not independent evidence that a person read or understood the source. A finalizer may promote <!--ref:slug LOW-WARN--> to <!--ref:slug ok--> only when the declared scope covers that citation's anchor. Per v3.6.8 spec §3.6, the signal is stored in a session-scoped peer file <passport-stem>_human_read_log.yaml next to the active Material Passport; literature_corpus[] is adapter-owned and is NEVER mutated to carry reading state.

The dispatching agent substitutes <path> below with the active Material Passport path from session context before executing (the quoting is preserved so paths containing spaces remain a single argument). The CLI handles validation (citation_key must exist in literature_corpus[]; on miss emit [ARS-MARK-READ ERROR: citation_key '<slug>' not in literature_corpus[]] and refuse to write), 4 fail-fast environment checks (no active passport / passport not found / parent unreadable / read-log unwritable), and append-only write per §3.6 firm rule 3.

Read scope is required for every new mark (#738; declaration-only — pass through whatever the user states, never infer): --scope {full_text,sections,abstract_only,toc_only,unknown} records the declared coverage; --locator "<text>" (repeatable, requires --scope sections) names the read sections/pages; --note "<text>" free text (requires --scope). Use --scope unknown when the user cannot specify coverage. Missing scope is accepted only in legacy ledger records. Explicit unknown and legacy missing scope remain coverage_unknown; they acknowledge the declaration but can never promote an anchored citation to ok. Page coverage requires an explicit page, p., or pp. locator—bare numbers and section <n> never count as page ranges. The deterministic resolver in scripts/human_read_attestation_resolver.py strictly validates the current ledger and computes a transient routing decision on every finalizer pass; its output is not a persisted audit receipt.

Implementation:

python3 scripts/ars_mark_read.py $ARGUMENTS --passport-path "<path>"

Mode reference: docs/design/2026-04-30-ars-v3.6.8-trust-provenance-and-drift-transparency-spec.md §3.6 + Step 7.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +1 lines · +7 tokens per session 1272790ecd5a
  2. 1mo ago First seen · 18 lines · 16 tokens per session scan A 94f595fec191

Subscribe to this mod's changes

ars-mark-read is a command published in the GitHub repository Lzy599775/agent-auto-sci-skills (2 stars, last pushed 8d ago), licensed MIT. It adds 23 tokens to every session and 567 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.