agentsclimarketplace

Alterlab dergipark

Skill AlterLab-IEU/AlterLab-Academic-Skills/skills/turkish-academia/alterlab-dergipark

Harvests article metadata, abstracts, and full-text PDFs from DergiPark (TÜBİTAK ULAKBİM's national journal-hosting platform, ~2,537 journals) via its verified platform-wide OAI-PMH endpoint (https://dergipark.org.tr/api/public/oai/; verbs Identify/ListSets/ListRecords/GetRecord; prefixes oai_dc/oai_mods/oai_marc/oai_etdms; setSpec=journal-slug), parses Highwire citation_* and DC.* meta tags on /pub/{slug}/article/{id} pages, pulls PDFs from the citation_pdf_url path, and emits BibTeX/RIS locally. Use when the user wants to harvest a Turkish journal, fetch DergiPark articles, list a journal archive, get BibTeX/RIS for a DergiPark paper, or read a journal aim-and-scope (öz/kapsam). For TR Dizin indexing status use alterlab-trdizin; for YÖK theses use alterlab-yok-tez; for academic profiles use alterlab-yok-akademik. Part of the AlterLab Academic Skills suite.From its SKILL.md

Install
npx -y skills add AlterLab-IEU/AlterLab-Academic-Skills --skill alterlab-dergipark

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

What its file declares

Copied from the file, not written here

The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

7.1 KB, ~1.6k tokens by cl100k_base, as published. Nobody here has run it

DergiPark — National Journal Harvester (TÜBİTAK ULAKBİM)

DergiPark (https://dergipark.org.tr) is TÜBİTAK ULAKBİM's national journal-hosting platform — ~2,537 Turkish scholarly journals on OJS-based infrastructure. This skill harvests its metadata, abstracts, and full-text PDFs reproducibly, by going through the one stable machine surface: a platform-wide OAI-PMH (Open Archives Initiative Protocol for Metadata Harvesting) endpoint, plus open article pages. It never guesses bibliographic data — every field comes from the live endpoint, and it emits BibTeX/RIS locally from parsed meta tags.

The interactive search page is gated behind a human-verification challenge, so this skill does not scrape search over plain HTTP. OAI set-harvest and direct article-page fetches are the robust paths (see references/oai-cookbook.md).

When to Use This Skill

Use it when the request is about getting data out of DergiPark:

  • harvest / fetch all articles of a Turkish (DergiPark) journal
  • list a journal's archive or find its slug
  • get BibTeX or RIS (an export format) for a DergiPark article
  • download a DergiPark full-text PDF
  • read a journal's aim-and-scope (öz/kapsam — abstract/scope) or its self-declared index list

Canonical Turkish terms you may see: öz (abstract), kapsam (scope), dergi (journal), künye (citation/masthead). Preserve Turkish spelling with diacritics in all user-facing strings (e.g. Mülkiye Dergisi).

Does NOT Trigger — route adjacent requests to the right sibling

The request is really about…Route to
Whether a journal is indexed in TR Dizin (national citation index) / its TR Dizin statusalterlab-trdizin
Finding/searching a graduate thesis (YÖK Ulusal Tez Merkezi)alterlab-yok-tez
An academic's profile / affiliation (YÖK Akademik)alterlab-yok-akademik
University program admission statistics (YÖK Atlas)alterlab-yokatlas
Computing doçentlik (associate-professorship) eligibility pointsalterlab-docentlik-eligibility
Computing akademik teşvik (academic-incentive) scorealterlab-akademik-tesvik
Depositing a manuscript/data in Aperta (TÜBİTAK open archive)alterlab-aperta
Verifying that cited references exist / hallucination auditalterlab-citation-verifier
Turkish APA / TR Dizin writing-style conventionsalterlab-tr-academic-style

How It Works — Three Scripts

All run with uv run python from the skill directory. No API key. Each prefers requests if installed, else falls back to stdlib urllib. Full recipes and gotchas are in references/oai-cookbook.md; the verified endpoint table is in references/endpoints.md.

1. scripts/dergipark_oai.py — OAI harvest (primary path)

# Find a journal's slug (slug == OAI setSpec)
uv run python scripts/dergipark_oai.py list-journals --tsv | rg -i "mülkiye"

# Harvest a whole journal (follows resumptionToken paging automatically)
uv run python scripts/dergipark_oai.py harvest mulkiye --prefix oai_dc --out mulkiye.json

# One article's structured oai_dc record
uv run python scripts/dergipark_oai.py get 10 --prefix oai_dc

Verbs: Identify / ListSets / ListRecords / GetRecord. Prefixes: oai_dc (parsed into clean fields) and oai_mods / oai_marc / oai_etdms (returned as raw record XML for callers that want the richer schema).

2. scripts/article_meta.py — one article → BibTeX / RIS

uv run python scripts/article_meta.py /en/pub/mulkiye/article/10 --format bibtex
uv run python scripts/article_meta.py /en/pub/mulkiye/article/10 --format ris
uv run python scripts/article_meta.py /en/pub/mulkiye/article/10 --format json

Parses the page's citation_* + DC.* meta tags and formats BibTeX/RIS locally — it does not call any on-site export backend (that route is unverified). The JSON output includes a resolved pdf_url.

3. scripts/journal_info.py — aim-and-scope + self-declared indexes

uv run python scripts/journal_info.py mulkiye --lang en

Returns the aim-and-scope text and the /indexes page, the latter stamped with a DISCLAIMER and cross-check pointers to TR Dizin and DOAJ.

Three Rules That Prevent Wrong Answers

  1. Publication date ≠ OAI datestamp. The OAI <datestamp> is the platform re-index time, not the publication date. To slice by publication year, harvest then filter on dc:date locally — do not rely on from/until.
  2. PDF id ≠ article id. Take the PDF link from the page's citation_pdf_url meta tag (e.g. /en/download/article-file/9 for article /10); never build it from the article id.
  3. Hosting ≠ indexing. Being on DergiPark says nothing about quality or TR Dizin coverage. The /indexes page is self-declared and unverified by DergiPark. For an authoritative TR Dizin status verdict, route to alterlab-trdizin. See references/indexing.md.

Graceful Degradation

Network failures surface as a network_unavailable / oai_error JSON object on stderr (exit 1) — the scripts never fabricate a record or a verdict. If the endpoint is unreachable, say so and stop; do not invent metadata from memory.

References

  • references/endpoints.md — every verified endpoint, prefix, and identifier scheme (with what is explicitly UNVERIFIED), observed live 2026-06-06.
  • references/oai-cookbook.md — copy-paste recipes: slug lookup, full harvest, year filtering, PDF download, and the gated-search workaround via Playwright.
  • references/indexing.md — the DergiPark-vs-TR Dizin distinction and how to cross-check real indexing against TR Dizin and DOAJ.

Part of the AlterLab Academic Skills suite.

What ships with it: 7 files

43.3 KB alongside SKILL.md, 3 of them executable

evals/

references/

scripts/

Keep looking

Skills are one crate of 325,949. 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.