agentsclimarketplace

Citation decay

Skill epireve/coscientist/.claude/skills/citation-decay

Read-only citation-freshness analytics — recent-citers, citation velocity, stale-paper detection. Pure SQL on graph + per-paper metadata.json years.From its SKILL.md

Install
npx -y skills add epireve/coscientist --skill citation-decay

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

2.4 KB, as published. Nobody here has run it

citation-decay

Read-only over the project graph. No writes. Surfaces citation freshness signals by joining cites edges (citer → target) with each paper's metadata.json["year"].

Scripts

ScriptSubcommandsPurpose
citation_decay.pyfor-paper, velocity, staleCitation-freshness aggregation

Subcommands

citation_decay.py for-paper --project-id P --canonical-id CID
                            [--decay-years 5] [--current-year 2026]
                            [--format json|text]
citation_decay.py velocity  --project-id P [--top-n 20]
                            [--current-year 2026] [--format json|text]
citation_decay.py stale     --project-id P [--min-citations 5]
                            [--decay-years 5] [--current-year 2026]
                            [--format json|text]

Algorithm

for-paper:

  1. Find target paper node + year from metadata.json["year"].
  2. Pull cites edges where to_node = paper:<cid> (the citers).
  3. Bucket each citer by its own year (skip citers without year).
  4. Return {year_buckets, most_recent_citer_year, total_citations, recent_window_count} where recent-window covers the last decay-years relative to current-year.

velocity:

  1. For each paper node with a known year:
    • Count incoming cites edges.
    • velocity = citations / max(1, current_year - paper_year).
  2. Sort desc; cap at --top-n.

stale:

  1. For each paper with a known year and total_citations >= min_citations:
    • Find max(citer_year). If < current_year - decay_years → stale.
  2. Return list sorted by total_citations DESC.

Caveats

  • Year extracted from metadata.json["year"] per paper (best-effort). Papers without year are silently skipped from velocity / stale and return an error dict from for-paper.
  • current_year defaults to 2026; override via --current-year for testability.
  • Errors return {error: ...} dicts — never raises.
  • Pure read-only by construction; no graph mutations.

Keep looking

Skills are one crate of 607,533. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.