hyderhusainarastu

Citation Lead Mining And Dedup — Git skill for Claude Code

Git community

Skill plus stdlib Python scripts that mine candidate references and idea leads from extracted source text, then merge per-source CSVs into deduplicated, cross-source-ranked follow-up tables and a shor.

How to install Citation Lead Mining And Dedup

This entry records only its repository, not the path inside it, so there is no exact command to give. Open hyderhusainarastu/citation-lead-mining-and-dedup and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Citation Lead Mining And Dedup does

Skill plus stdlib Python scripts that mine candidate references and idea leads from extracted source text, then merge per-source CSVs into deduplicated, cross-source-ranked follow-up tables and a shortlist. Synthetic example data included.

Alternatives in Git

  • Triage Open Pull Requests — Review, label, and act on all open PRs for a repository using parallel review agents 10.8k ★
  • Contributing To Context-mode — This project is licensed under the Elastic License 2.0 (ELv2) and moves forward with your support 5.6k ★
  • Navigate To Project Root First — PROJECT_ROOT=$(git rev-parse --show-toplevel 2>/dev/null echo "$PWD") cd "$PROJECT_ROOT" && bash .claude/scrip 172 ★

README

Citation Lead Mining and Dedup

Turn extracted source text into candidate references and idea leads, then merge many sources' leads into deduplicated, cross-source-ranked follow-up tables and a prioritized shortlist.

What it does

If you're running a literature review, a citation-graph build, or any research project that works from a pile of extracted source texts, this skill covers the "what should I look at next" step:

  1. Mine each source text for two kinds of leads:
    • Reference leads — works the source cites, pulled from its reference list and its in-text citations.
    • Idea leads — specific, checkable claims worth tracking as follow-up hypotheses, identified by actually reading the source.
  2. Consolidate every source's leads into one deduplicated view:
    • reference_leads.csv, ranked by how many independent sources cite each work.
    • hypothesis_leads.csv, ranked by priority, showing which sources raised each idea.
    • shortlist.md, a prioritized, theme-grouped follow-up list with a "Gaps" section flagging themes that are thin on leads.

Every output row is explicitly marked as an unverified candidate. This tool finds leads worth checking — it does not check them, and nothing it produces should be cited anywhere without a separate verification pass.

It is domain-agnostic: the worked example below uses a scholarly-research framing (mining a literature corpus for citation leads), but the same mine-then-consolidate-then-dedup pattern applies to any pile of text documents you need to sweep for candidate follow-ups and cross-document corroboration.

Requirements

Python 3.10 or newer (CI runs 3.10 and 3.12). Standard library only, nothing to install. Check the options with `python scripts/mine_leads.py --help`.

Works with

Surface How Status
Claude Code native skill (SKILL.md) not tested
Codex, Cursor, Gemini CLI .agents/skills/ skill, reads AGENTS.md not tested