Openalex ajg insights

From Chanw-research/claude-code-paper-writing · View interactive version

Openalex ajg insights is an AI agent skill from the GitHub repository Chanw-research/claude-code-paper-writing. Search ABS/AJG-ranked literature through the bundled openalex-ajg-mcp backend, preserve review corpora for systematic literature reviews, download shortlisted papers through the bundled paper-download backend, convert collected PDFs to Markdown with MinerU, and retrieve abstract or full-text viewpoi

How to use this skill

Skill file

OpenAlex AJG Insights

Use this skill when the task is a literature review, gap scan, theory-building exercise, journal-targeted search, or any research workflow that needs business and management papers filtered by ABS/AJG and then upgraded into a reusable review corpus.

Bundled Backends

This skill now ships with two embedded backends inside review-gen:

This means a fresh machine usually only needs to clone review-gen and install requirements.txt.

For MinerU auth, use MINERU_API_KEY.

If needed, you can still override backend locations with:

Core Scripts

Use for search, journal scans, and report summaries.

Use for systematic-review workspaces, corpus merging, manifest preparation, MinerU conversion, Markdown chunking, and retrieval.

Use for incremental PDF downloading from fulltext_manifest.csv.

Default Decision Rules

  1. Start with abstract screening.
  2. Upgrade to full text only for necessary papers.
  3. When the user wants a reusable or systematic review, create a review workspace.
  4. If classic or foundational papers should be collected first, download them from the manifest before expanding the set.
  5. When the user has collected or downloaded PDFs, convert them to Markdown before asking AI to read them.
  6. When the user asks for viewpoints from full text, do not load whole papers at once.
  7. For long-running review projects, hand off to review-orchestrator after the corpus is ready.

Platform-Agnostic Quick Start

Use these placeholders on any operating system:

A. Initialize a workspace

python <review-gen-home>/skills/openalex-ajg-insights/scripts/review_workflow.py \
  init-workspace \
  --topic "Entrepreneurial bricolage"

B. Search through the bundled OpenAlex backend

python <review-gen-home>/skills/openalex-ajg-insights/scripts/openalex_ajg_bridge.py \
  search-abs \
  --query "AI agents" \
  --field "INFO MAN" \
  --min-rank "4*" \
  --year-start 2023 \
  --limit 10

C. Merge raw search results into a corpus

python <review-gen-home>/skills/openalex-ajg-insights/scripts/review_workflow.py \
  --workspace <review-workspace> \
  merge-search-results

D. Prepare the full-text manifest

python <review-gen-home>/skills/openalex-ajg-insights/scripts/review_workflow.py \
  --workspace <review-workspace> \
  prepare-fulltext-manifest --min-priority medium

E. Download classic or priority PDFs first

python <review-gen-home>/skills/openalex-ajg-insights/scripts/download_manifest_papers.py \
  --workspace <review-workspace> \
  --min-priority high \
  --max-papers 5

The downloader is incremental. By default it only targets papers whose PDFs are still missing. This makes it easy to download classic papers first and then come back later for newly needed papers.

F. Convert PDFs to Markdown with MinerU

python <review-gen-home>/skills/openalex-ajg-insights/scripts/review_workflow.py \
  --workspace <review-workspace> \
  convert-pdfs-with-mineru \
  --env-path <review-workspace>/04_fulltext/mineru.env

G. Chunk and retrieve before reading

python <review-gen-home>/skills/openalex-ajg-insights/scripts/review_workflow.py \
  --workspace <review-workspace> \
  chunk-markdown
python <review-gen-home>/skills/openalex-ajg-insights/scripts/review_workflow.py \
  --format markdown \
  --workspace <review-workspace> \
  retrieve-chunks \
  --query "What is the paper's core view?" \
  --purpose viewpoint \
  --top-k 6 \
  --include-neighbors

H. Hand off to the orchestrator

How To Think While Using This Skill

References

Read only what the request needs:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.