Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

pp-nejm

БесплатноБез исполняемых скриптовНе проверен

Browse, search, and triage New England Journal of Medicine articles from the terminal Trigger phrases: `what's in the current NEJM issue`, `search NEJM for`…

mvanhornот mvanhorn★ 2 170 звёзд на GitHub

Об этом скилле

New England Journal of Medicine — Printing Press CLI

Prerequisites: Install the CLI

This skill drives the nejm-pp-cli binary. You must verify the CLI is installed before invoking any command from this skill. If it is missing, install it first:

  1. Install via the Printing Press installer. It defaults binaries to $HOME/.local/bin on macOS/Linux and %LOCALAPPDATA%\Programs\PrintingPress\bin on Windows:
    npx -y @mvanhorn/printing-press-library install nejm --cli-only
    
  2. Verify: nejm-pp-cli --version
  3. Ensure the reported install directory is on $PATH for the agent/runtime that will invoke this skill.

If the npx install fails (no Node, offline, etc.), fall back to a direct Go install (requires Go 1.26.6 or newer). This installs into $GOPATH/bin (default $HOME/go/bin), so add that directory to $PATH instead:

go install github.com/mvanhorn/printing-press-library/library/health/nejm/cmd/nejm-pp-cli@latest

If --version reports "command not found" after install, the runtime cannot see the binary directory on $PATH. Do not proceed with skill commands until verification succeeds.

NEJM has no public API. This CLI builds an offline-queryable, agent-native corpus of NEJM articles sourced from OpenAlex's CC0 scholarly index (abstracts, authors, publication types, open-access flags), plus per-article metadata by DOI and full-text search over everything you have synced. Novel local-state commands like 'since', 'digest', 'reading-list', 'trends', and 'open-access' do things the website and PubMed wrappers cannot.

When to Use This CLI

Use this CLI when an agent or clinician needs current peer-reviewed NEJM literature metadata programmatically: the current issue, recently published articles, an article's abstract and bibliographic data by DOI, or an offline searchable corpus filtered by specialty, type, author, or free-access. It is the right choice when you want structured, composable output without driving a Cloudflare-gated browser.

Anti-triggers

Do not use this CLI for:

  • Do not use this CLI to read full article text behind the NEJM paywall; it surfaces abstracts and metadata only.
  • Do not use it for a broad multi-journal literature review; use a PubMed/Crossref tool for cross-journal search.
  • Do not use the corpus 'search' command before syncing; it searches only locally synced data. For live archive-wide queries without a sync, use 'openalex search'.

Unique Capabilities

These capabilities aren't available in any other tool for this API.

Local state that compounds

  • since — Show NEJM articles first seen in your local corpus within a time window.

    Reach for this when an agent needs only what changed since the last check, not the whole issue.

    nejm-pp-cli since 48h --agent
    
  • digest — Triage the current issue grouped by specialty or type with abstracts and free/paywalled flags.

    Use to summarize the week's NEJM issue in one structured payload instead of fetching each article.

    nejm-pp-cli digest --agent
    
  • reading-list — Queue NEJM articles by DOI locally and track read/unread state.

    Use to persist a clinician's to-read queue across sessions without an account.

    nejm-pp-cli reading-list add 10.1056/NEJMoa2506905
    

Second data source: OpenAlex (CC0)

  • openalex search — Search NEJM works live in the OpenAlex scholarly index: abstracts, author lists, citation counts, and open-access flags.

    Use when you need abstracts or citation counts without syncing and without the Cloudflare-gated NEJM transport; data is CC0-licensed.

    nejm-pp-cli openalex search --query "vitamin D" --from-year 2015 --to-year 2026 --per-page 10 --sort cited
    

    Flags: --query (full-text search), --from-year/--to-year (publication-year range), --per-page (1-50, default 20), --sort (cited or date).

    Set NEJM_OPENALEX_MAILTO to your email to enroll OpenAlex requests (live search and sync) in the polite pool — a dedicated, faster server pool. Unset, requests use the anonymous pool.

Corpus analytics

  • trends — Show how NEJM output distributes by specialty, article type, and issue across the synced corpus.

    Use to quantify NEJM coverage patterns no single page exposes.

    nejm-pp-cli trends --agent
    
  • open-access — Surface free full-text NEJM articles in the corpus, newest first.

    Use for unsubscribed readers who can only act on freely-readable articles.

    nejm-pp-cli open-access --agent --limit 20
    

HTTP Transport

This CLI uses Chrome-compatible HTTP transport for browser-facing endpoints. It does not require a resident browser process for normal API calls.

Command Reference

article — NEJM articles by DOI

  • nejm-pp-cli article <doi> — Fetch an NEJM article's metadata and abstract by DOI (e
Полный SKILL.md на GitHub

Установить pp-nejm в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Bash

Вложенные файлы

.golangci.yml.goreleaser.yaml.manuscripts/20260620-035405-a2d4c231/2026-06-20-feat-nejm-pp-cli-absorb-manifest.md.manuscripts/20260620-035405-a2d4c231/2026-06-20-feat-nejm-pp-cli-brief.md.manuscripts/20260620-035405-a2d4c231/nejm-spec.yaml.manuscripts/20260620-035405-a2d4c231/proofs/phase5-acceptance.json.manuscripts/20260620-035405-a2d4c231/proofs/publish-live-gate.json.manuscripts/20260620-035405-a2d4c231/proofs/transcendence.json.manuscripts/20260620-035405-a2d4c231/research.json.manuscripts/20260620-035405-a2d4c231/research/2026-06-20-feat-nejm-pp-cli-absorb-manifest.md.manuscripts/20260620-035405-a2d4c231/research/2026-06-20-feat-nejm-pp-cli-brief.md.printing-press-patches/.gitkeep.printing-press-patches/ambiguous-write-retries-disabled.json.printing-press-patches/batch-rollback-reports-committed-count.json.printing-press-patches/nejm-json-empty-results.json.printing-press-patches/nejm-mcp-binary-fix.json.printing-press-patches/nejm-openalex-replace-rss.json.printing-press-patches/nejm-weekly-report-examples.json.printing-press-patches/path-parameters-percent-encoded.json.printing-press-pii-polish.json.printing-press-release.json.printing-press.jsonAGENTS.mdCHANGELOG.mdLICENSEMakefileNOTICEREADME.mdcmd/nejm-pp-cli/main.gocmd/nejm-pp-mcp/main.goexamples/weekly-report/README.mdexamples/weekly-report/monthly.ps1examples/weekly-report/weekly.ps1go.modgo.suminternal/cache/cache.gointernal/cli/agent_context.gointernal/cli/api_discovery.gointernal/cli/channel_workflow.gointernal/cli/data_source.go

FAQ

Что делает скилл pp-nejm?

Browse, search, and triage New England Journal of Medicine articles from the terminal Trigger phrases: `what's in the current NEJM issue`, `search NEJM for`, `get NEJM article`, `recent NEJM articles`, `NEJM articles on`, `use nejm`, `run nejm`.

Как установить скилл pp-nejm?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл pp-nejm запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить pp-nejm с