Command Palette

Search for a command to run...

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

research-acquire

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

Download research papers and extract metadata

jmaglyот jmagly★ 233 звезды на GitHub

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

Research Acquire Command

Dispatch with the shared context packet and verification contract. Required evidence includes integrity, checksum, metadata, full-text status, and artifact paths; missing or failed required checks cannot yield success.

Download research papers from public repositories and extract metadata.

Instructions

When invoked, perform automated paper acquisition:

  1. Identify Source

    • Accept a clean DOI/arXiv ID directly. For other input (ACL/OpenReview/S2 IDs, bare title, title plus year, bibliography line, or URL), run aiwg corpus resolve "<reference>" --json before downloading anything; pass --year YYYY when supplied.
    • Continue only on status: resolved (exit 0), using canonical metadata and IDs. On ambiguous (exit 2) or unresolved (exit 3), stop acquisition and show every candidate, finding and paths_tried; request a more specific reference. On deferred (exit 4), the lookup is incomplete and retryable: stop acquisition, show paths_tried, and retry later; never treat it as evidence the work is absent. Batches reuse client pacing and retry 429s with backoff and Retry-After; their exit code is the worst line (4 > 3 > 2 > 0). Usage errors exit 1. Incomplete short/generic titles stay ambiguous unless an ID verifies them; supply a year, author, or ID. Never select the first candidate or guess an ID.
    • Preserve the original reference and report title mismatch findings for review; never silently replace the supplied title. Check already_in_corpus and corpus_matches for the existing REF before assigning a new one.
    • Determine paper hosting location
    • Check if paper already exists in .aiwg/research/sources/
  2. Download Paper

    • Attempt direct PDF download from source
    • Try fallback sources (arXiv mirror, Unpaywall, PMC)
    • Save to .aiwg/research/sources/[ref-id].pdf
    • Verify download integrity (file size, PDF structure)
  3. Extract Metadata

    • Parse PDF metadata (title, authors, year)
    • Query CrossRef/Semantic Scholar for enhanced metadata
    • Extract abstract, keywords, citation count
    • Determine source type (journal, conference, preprint)
  4. Generate Frontmatter

    • Create YAML frontmatter per @$AIWG_ROOT/agentic/code/frameworks/sdlc-complete/schemas/research/frontmatter-schema.yaml
    • Assign REF-XXX identifier
    • Calculate PDF checksum (SHA-256)
    • Set initial GRADE baseline from source type
  5. Extract Full Text (default, unless --no-extract-text)

    • Extract full text from PDF to .aiwg/research/sources/text/REF-XXX.txt
    • This text is the primary input for downstream analysis — analysis agents must read this file, not just metadata or abstract
    • If extraction fails (scanned PDF, encrypted): log warning, set full_text_available: false in frontmatter
  6. Create Finding Document

    • Generate .aiwg/research/findings/REF-XXX-[slug].md from template
    • Populate frontmatter with extracted metadata
    • Add placeholder sections for key findings
    • Update fixity manifest
  7. Post-Acquisition

    • Log acquisition in .aiwg/research/acquisition-log.yaml
    • Update corpus index
    • Suggest next steps (quality assessment, documentation)

Arguments

  • [identifier] - DOI, arXiv ID, title, URL, or bibliography line (required)
  • --year [YYYY] - Optional publication year passed to identity resolution
  • --output [path] - Custom output location (default: auto-generate)
  • --ref-id [REF-XXX] - Specific REF-XXX identifier (default: auto-assign)
  • --extract-text - Extract full text to .txt file for analysis (default: enabled; use --no-extract-text to skip)
  • --no-metadata - Skip metadata enrichment
  • --force - Re-download even if paper exists

Examples

# Acquire a bare title (resolve first; stop if ambiguous or unresolved)
/research-acquire "Self-supervised representation learning" --year 2024

# Acquire by DOI
/research-acquire 10.48550/arXiv.2308.08155

# Acquire by arXiv ID
/research-acquire arXiv:2308.08155

# Acquire with custom identifier
/research-acquire https://arxiv.org/pdf/2308.08155.pdf --ref-id REF-022

# Acquire with full text extraction
/research-acquire 10.1145/3377811.3380330 --extract-text

Expected Output

Acquiring Paper: 10.48550/arXiv.2308.08155
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Step 1: Resolving identifier
  ✓ DOI resolved to arXiv:2308.08155
  ✓ Paper not found in corpus

Step 2: Downloading PDF
  ✓ Downloaded from arxiv.org (2.4 MB)
  ✓ Saved to .aiwg/research/sources/REF-022.pdf
  ✓ Checksum: a1b2c3d4e5f6...

Step 3: Extracting metadata
  ✓ Title: AutoGen: Enabling Next-Gen LLM Applications...
  ✓ Authors: Wu, Q., Bansal, G., Zhang, J., et al. (9 authors)
  ✓ Year: 2023
  ✓ Source: arXiv preprint
  ✓ Citations: 234 (as of 20
Полный SKILL.md на GitHub

Установить research-acquire в Claude Code и Claude Desktop

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

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

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

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

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

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл research-acquire?

Download research papers and extract metadata

Как установить скилл research-acquire?

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

Скилл research-acquire запускает скрипты?

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

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

Сравнить research-acquire с