public-equity-research: Skill for Claude Code

.claude/skills/staleness-checker/SKILL.md

staleness-checker is a skill for Claude Code from lowtidebuild/public-equity-research. It costs 0 tokens per session (2,044 once invoked), scanned A, original, Apache-2.0.

A read-only workflow step that checks whether saved stock-analysis data is recent enough to reuse or whether fresh data must be collected.

In plain words
What is it for?
Use it at the start of a single-stock analysis or watchlist scan to inspect the latest snapshot, its dates, data mode, output mode, score, verdict, and referenced analysis file.
Why use it?
It avoids unnecessarily recollecting usable data while detecting missing, expired, incomplete, or incompatible snapshots before analysis starts.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths; mentions CLAUDE.md.

This is lowtidebuild/public-equity-research's own configuration. It tells Claude Code how to work on public-equity-research itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything public-equity-research configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python .claude/skills/data-manager/scripts/delta-comparator.py compare \.

Reuse

Borrowing it

Nothing to install: this file belongs to lowtidebuild/public-equity-research. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/lowtidebuild/public-equity-research/main/.claude/skills/staleness-checker/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/lowtidebuild/public-equity-research

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 staleness-checker

README.md
[![agentmods](https://agentmods.dev/badge/skills/lowtidebuild/public-equity-research/staleness-checker/github.svg)](https://agentmods.dev/skills/lowtidebuild/public-equity-research/staleness-checker)
Your own site
<a href="https://agentmods.dev/skills/lowtidebuild/public-equity-research/staleness-checker"><img src="https://agentmods.dev/badge/skills/lowtidebuild/public-equity-research/staleness-checker/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 staleness-checker

Your own site · 80×15
<a href="https://agentmods.dev/skills/lowtidebuild/public-equity-research/staleness-checker"><img src="https://agentmods.dev/badge/skills/lowtidebuild/public-equity-research/staleness-checker.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,044 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.00000 $0.02044
Opus 5 $0.00000 $0.01022
Sonnet 5 $0.00000 $0.00409
Haiku 4.5 $0.00000 $0.00204

Measured 11d ago against content hash 0a757ff05bb1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

staleness-checker 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 11d 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.

.claude/skills/staleness-checker/SKILL.md · 180 lines

How it starts

The opening of the file, as written. The whole thing — 180 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Staleness Checker — SKILL.md

Role: Step 0 — Evaluate whether existing snapshot data is fresh enough to reuse, or whether new data collection is required. Triggered by: CLAUDE.md at the start of Workflow 1 (Single Stock Analysis) and Workflow 3 (Watchlist Scan) Reads: output/data/{ticker}/latest.json, staleness rules from this file Writes: Nothing (read-only evaluation; result is reported inline to orchestrator) References: references/staleness-rules.md


Instructions

Step 0.1 — Check for Existing Snapshot

Check if output/data/{ticker}/latest.json exists. New files are pointer-only documents; legacy full-snapshot files may still appear and must remain readable.

IF file does not exist:
    → Routing decision: FRESH_COLLECTION (no cached data)
    → Proceed to Step 1 (query-interpreter)

If file exists, read it and extract:

  • analysis_date (YYYY-MM-DD)
  • expires_at and refs.analysis_result when kind is stock-analysis.latest-snapshot-pointer
  • data_mode (enhanced / standard)
  • output_mode (A / B / C / D)
  • rr_score
  • verdict

If latest.json is a pointer, verify that refs.analysis_result exists before routing to REUSE or DELTA_FAST. If the pointer is missing, expired, or points to a missing file, route to FRESH_COLLECTION.

Step 0.2 — Calculate Staleness

Calculate days_since_analysis = today - analysis_date. For pointer files, treat expires_at as the primary 24-hour reuse boundary; analysis_date remains the coarser fallback for older files and user-facing explanations.

Mode E hard override (OD-F1): When the orchestrator has set pipeline_state.mode_override == "E" (because earnings-window-detector returned window in {preview, review} at CLAUDE.md Step 0.5, or the user passed --mode E / --earnings-mode preview|review), skip the staleness table entirely and route to FRESH_COLLECTION. Mode E should never reuse a stale snapshot — implied moves, options chains, and consensus EPS shift fast in the D-7~D+3 window.

Read the full file on GitHub · 180 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 11d ago First seen · 180 lines · 0 tokens per session scan A 0a757ff05bb1

Subscribe to this mod's changes

staleness-checker is a skill published in the GitHub repository lowtidebuild/public-equity-research (46 stars, last pushed 2mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 2,044 tokens. 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-08-30.