Przejdź do treści
Biblioteka skilli
Nauka i badania · Research

citation-context

/citation-context

Mapuje sieć cytowań artykułu na podstawie DOI, arXiv lub tytułu i przygotowuje raport HTML z klastrami i przeglądem literatury.

Licencja
MIT
Ostatnia zmiana repozytorium
28.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
11
Skrypty
2
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 28.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co sprawdzić przed instalacją
  • 2 skrypty w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.

Skrypty: assets/report.js, scripts/citegraph.py

Co robi i kiedy

Mapuje sieć cytowań artykułu na podstawie DOI, arXiv lub tytułu i przygotowuje raport HTML z klastrami i przeglądem literatury.

Wyzwalacze z opisu

who cites this paperwhat does it build onmap the citationsfind related work
Oryginalny opis (EN)

Map a paper's citation network from a DOI, arXiv ID or exact title — backward references, forward citations, relevance ranking, co-citation clusters, a verifiable narrative and a single-file interactive HTML report. Use when asked "who cites this paper", "what does it build on", "map the citations", "find related work", or whenever a DOI is given for citation analysis.

Jak działa

  1. When to use
  2. When not to use
  3. Quick start
  4. What you get
  5. Narrative rules (enforced by lint)
  6. Configuration
  7. Security
  8. Troubleshooting (short)
  9. More
  10. License
Sekcje z nagłówków SKILL.md, w oryginale · 85 linii, 518 słów
Podgląd SKILL.md
---
name: citation-context
description: Map a paper's citation network from a DOI, arXiv ID or exact title — backward references, forward citations, relevance ranking, co-citation clusters, a verifiable narrative and a single-file interactive HTML report. Use when asked "who cites this paper", "what does it build on", "map the citations", "find related work", or whenever a DOI is given for citation analysis.
license: MIT
---

# Citation Context

Turn one paper into a reading map: what it builds on, who built on it, which works are central,
and how those lines relate — delivered as a single, offline, clickable HTML report.

## When to use

- A DOI / arXiv ID / paper title is given and the user wants its citation lineage.
- The user asks "who cites this?", "what is this based on?", "map the related work".
- You need a defensible "prior work → method sources → follow-ups → gaps" narrative for a
  reading group, grant application or review.

## When not to use

- The user only wants to search for papers (use a search tool).
- The user wants to read a paper in depth (use a PDF/reader tool).
- Chinese-language databases (CNKI/Wanfang) — no public API.

## Quick start

```bash
python scripts/citegraph.py doctor                        # config, masked keys, cache
python scripts/citegraph.py resolve "10.1364/prj.401755"  # DOI | arXiv ID | exact title
python scripts/citegraph.py graph   --run runs/<slug>
python scripts/citegraph.py label   --run runs/<slug>
python scripts/citegraph.py score   --run runs/<slug> --explain
python scripts/citegraph.py cluster --run runs/<slug>      # optional but recommended
python scripts/citegraph.py pack    --run runs/<slug>
#   → you (the agent) write runs/<slug>/narrative.md
python scripts/citegraph.py lint    --run runs/<slug>
python scripts/citegraph.py layout  --run runs/<slug>
python scripts/citegraph.py render  --run runs/<slug>
```

## What you get

| Artifact | Meaning |
|---|---|
| `graph.json` | Nodes, edges, six weighted signals, evidence, `schema_version` |
| `clusters.json` | Co-citation clusters (id, name, members) |
| `pack.json` | The only input the narrative may use; `constraints.allowed_nids` is the legal citation set |
| `narrative.md` | Four sections written by the agent |
| `lint.json` | `ok` plus errors/warnings (citations, numbers, cluster coverage, direction) |
| `report.html` | Single file, offline, no external requests |

## Narrative rules (enforced by lint)

1. Every `[n]` must be in `pack.constraints.allowed_nids`.
2. Numbers may only come from `pack.stats` or `pack.nodes`.
3. No "proves / refutes / first / breakthrough" — use "is used for" or drop the claim.
4. §2 must cover every cluster with `size ≥ 3`.
5. No citation markers from quoted contexts; paraphrase instead.
6. If `stats.sampling.complete` is false, state "N total, M sampled".

## Configuration

`venue_weights` (journal 1.0 / conference 0.8 / book 0.7 / repository 0.35 / preprint 0.2 / unknown 0.5),
`weights` (text .42, cocite .28, influence .15, velocity .05, recency .05, venue .05), `text_scale`,
`limits.backward/forward`, `free_mode`. Change them in `config.json` or the user config; rerun `score`
only — no refetch needed.

## Security

Keys live in `~/.config/citation-context/config.json` or `OPENALEX_API_KEY`; the bundled
`config.json` ships empty. `doctor` masks keys, error URLs are sanitized, and `export-dist` refuses
to produce a package containing a key, e-mail address or home path.

## Troubleshooting (short)

- `429 budget` → wait for UTC midnight, add a key, or `graph --free-mode`.
- `lint cluster_uncovered` → a whole line is missing from §2.
- `render` refuses → scores are missing; run `label` then `score`.

## More

- [workflow](references/workflow.md) — all commands, flags, exit codes
- [schema](references/schema.md) — JSON contracts
- [security](references/security.md) — key handling, publishing checklist
- [troubleshooting](references/troubleshooting.md) — full error table

## License

MIT.
Pliki w paczce (11)
  • SKILL.md 4 KB
  • SKILL.zh.md 3 KB
  • config.example.json 1 KB
  • assets/report.css 8 KB
  • assets/report.js 16 KB
  • assets/report.tmpl.html 2 KB
  • references/schema.md 4 KB
  • references/security.md 2 KB
  • references/troubleshooting.md 2 KB
  • references/workflow.md 3 KB
  • scripts/citegraph.py 93 KB

Wersje

W bazie nie ma innych skilli o nazwie citation-context.

Migawka bazy z 13.11.2026 · wersja paczki 6132baeb9248 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100download-papers
    Pobiera artykuły naukowe jako PDF na podstawie adresu URL, DOI, tytułu lub cytowania, domyślnie dołączonym skryptem pomocniczym, a przy samym tytule przez wyszukiwanie w sieci i arXiv.
  • 100triage-paper
    Przygotowuje strukturalne streszczenie artykułu naukowego z arXiv, DOI lub PDF w repozytorium badawczym, z wpisami w REVIEWED.md i REFERENCE_INDEX.md.
  • 100semantic-scholar-deep
    Prowadzi pogłębiony research przez API Semantic Scholar Graph: referencje, rekomendacje, wsadowe wyszukiwanie do 500 ID, wyszukiwanie fragmentów i wielokrokowe przechodzenie grafu cytowań.
  • 96citation-resolver
    Uzupełnia niepełne przypisy o zweryfikowane metadane: autorów, rok, miejsce publikacji, DOI lub arXiv i wpis BibTeX.
  • 100paper-fetch
    Pobiera PDF artykułu naukowego na podstawie DOI, identyfikatora arXiv, tytułu lub cytowania, także hurtowo, przez Unpaywall i inne źródła wersji open access.
  • 100paper-lineage
    Śledzi pochodzenie artykułu z arXiv: z czego wyrasta i na czym się opiera, z dowodami cytowań w drzewie lub stronie HTML.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.