Academic literature intelligence toolkit for multi-source paper search, analysis, and knowledge graph building with AI assistance.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install scholargraph或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install scholargraph⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/scholargraph/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: scholargraph description: Academic literature intelligence toolkit for multi-source paper search, analysis, and knowledge graph building with AI assistance. metadata: openclaw: emoji: "📚" version: "1.0.0" source: type: github url: https://github.com/Josephyb97/ScholarGraph license: MIT requires: bins: - bun optionalBins: - python3 env: - AI_PROVIDER optionalEnv: - OPENAI_API_KEY - DEEPSEEK_API_KEY - QWEN_API_KEY - ZHIPU_API_KEY - SERPER_API_KEY - NCBI_API_KEY - IEEE_API_KEY - CORE_API_KEY - UNPAYWALL_EMAIL - CROSSREF_MAILTO - SERPAPI_KEY install: command: bun install verify: bun run cli.ts --help security: network: true filesystem: true llmPrompts: true notes: | - Makes API calls to academic sources (arXiv, Semantic Scholar, etc.) - Stores data in local SQLite database - Uses custom LLM system prompts for structured output - Optional Python dependencies (pymupdf, python-pptx) for PDF/PPT features ---
ScholarGraph is a comprehensive academic literature intelligence toolkit that helps researchers efficiently search, analyze, and manage academic papers using AI-powered tools. Features 11 academic search sources with intelligent domain-based source selection and PDF download capabilities.
This skill operates with the following permissions:
data/knowledge-graphs.db)Data Storage: All data is stored locally. No telemetry or analytics are collected.
API Keys: Optional API keys are only used for their respective services and are never transmitted elsewhere.
Source Code: Open source under MIT license at https://github.com/Josephyb97/ScholarGraph
- Free sources: arXiv, Semantic Scholar, OpenAlex (250M+), PubMed (biomedical), CrossRef (150M+ DOI), DBLP (CS), Web Search - API-key sources: IEEE Xplore, CORE, Google Scholar (SerpAPI), Unpaywall (OA PDF) - Adapter-based plugin architecture for easy extension - Complementary search strategy with auto domain detection (biomedical/cs/engineering/physics) - Priority-based source selection per domain - Query expansion for better search results - PDF download with multi-strategy URL resolution
- Generate structured learning cards - Include code examples and related papers - Support beginner/intermediate/advanced depth levels
- Analyze knowledge coverage in specific domains - Identify critical, recommended, and optional gaps - Provide learning recommendations and time estimates
- Track research topics and keywords - Generate daily/weekly/monthly reports - Monitor trending papers and topics
- Extract key contributions and insights - Support quick/standard/deep analysis modes - Generate structured analysis reports
- Build interactive knowledge graphs - Support Mermaid and JSON output formats - Find learning paths between concepts - SQLite-based persistent storage - Bidirectional concept-paper indexing
- Multi-dimensional scoring (title 30% + citations 25% + abstract 25% + AI 20%) - Chinese and English keyword support - Confidence-based filtering with user confirmation
- AI-powered extraction of 15-30 core concepts - Four-level categorization (foundation/core/advanced/application) - Importance scoring and relationship identification - Cross-review deduplication and merging
- Search reviews -> Detect -> Confirm -> Analyze -> Extract concepts - Build knowledge graph -> Enrich with key papers -> Index -> Store - Interactive or automatic confirmation mode
- Concept -> papers: find papers related to a concept - Paper -> concepts: find concepts covered by a paper - Paper recommendations based on multiple concepts - SQLite-optimized high-performance queries
- Identify similarities and differences - Provide use case recommendations
- Find common themes and differences - Generate synthesis analysis
- Identify strengths and weaknesses - Find research gaps and improvement suggestions - Support custom focus areas
- Discover paths between concepts - Generate topological learning order - Visualize with Mermaid diagrams
- List all saved graphs - View graph statistics - Export graphs to JSON - Visualize with Mermaid
- Convert paper analysis to HTML slide presentations - Academic dark/light themes with responsive typography - Keyboard/touch/scroll navigation, edit mode (E key) - PDF figure extraction (pymupdf) and PPT export (python-pptx) - 8+ slides: title, abstract, key points, methodology, experiments, contributions, limitations, references
- Convert knowledge graphs to interactive HTML with D3.js v7 - Node size reflects paper count, edge thickness reflects concept tightness - Zoom/pan, node dragging, click-to-detail panel, search, legend - Paper preview bridge: click "View Presentation" to open paper slides in new tab - Category colors: foundation=#4FC3F7, core=#FFB74D, advanced=#CE93D8, application=#81C784
# Clone repository
git clone https://github.com/Josephyb97/ScholarGraph.git
cd ScholarGraph
# Install dependencies
bun install
# Initialize configuration
bun run cli.ts config init
Set up your AI provider:
# Using OpenAI
export AI_PROVIDER=openai
export OPENAI_API_KEY="your-api-key"
# Using DeepSeek
export AI_PROVIDER=deepseek
export DEEPSEEK_API_KEY="your-api-key"
# Using Qwen (通义千问)
export AI_PROVIDER=qwen
export QWEN_API_KEY="your-api-key"
export NCBI_API_KEY="your-key" # PubMed high-speed access (10 req/s)
export IEEE_API_KEY="your-key" # IEEE Xplore engineering papers
export CORE_API_KEY="your-key" # CORE open access full text
export UNPAYWALL_EMAIL="[email protected]" # Unpaywall OA PDF resolver
export CROSSREF_MAILTO="[email protected]" # CrossRef polite pool (higher rate)
export SERPAPI_KEY="your-key" # Google Scholar (via SerpAPI)
export SERPER_API_KEY="your-key" # Web search via Serper
# Auto-select best sources based on query domain
lit search "transformer attention" --limit 20
# Specify domain for optimized source selection
lit search "CRISPR gene editing" --domain biomedical
# Use specific sources (comma-separated)
lit search "deep learning" --source semantic_scholar,arxiv,openalex --sort citations
# Search and download PDFs
lit search "attention is all you need" --download --limit 3
# Search and download PDFs
lit download "transformer" --limit 5 --output ./papers
lit learn "BERT" --depth advanced --papers --code --output bert-card.md
lit detect --domain "Deep Learning" --known "CNN,RNN" --output gaps.md
lit analyze "https://arxiv.org/abs/1706.03762" --mode deep --output analysis.md
lit graph transformer attention BERT GPT --format mermaid --output graph.md
lit compare concepts CNN RNN --output comparison.md
lit compare papers "url1" "url2" "url3" --output comparison.md
lit critique "paper-url" --focus "novelty,scalability" --output critique.md
lit path "Machine Learning" "Deep Learning" --concepts "Neural Networks" --output path.md
lit review-search "attention mechanism" --limit 10
# From search query (interactive mode)
lit review-graph "deep learning" --output dl-graph --enrich
# From specific URL
lit review-graph "https://arxiv.org/abs/xxxx" --output my-graph --enrich
# Auto-confirm mode (non-interactive)
lit review-graph "transformer" --output tf-graph --enrich --auto-confirm
# Find papers by concept
lit query concept "transformer" --graph dl-graph --limit 20
# Find concepts by paper
lit query paper "https://arxiv.org/abs/1706.03762" --graph dl-graph
# List all graphs
lit graph-list
# View graph statistics
lit graph-stats dl-graph
# Visualize graph
lit graph-viz dl-graph --format mermaid --output graph.md
# Export graph
lit graph-export dl-graph --output dl-graph.json
# Generate interactive HTML presentation
lit paper-viz "https://arxiv.org/abs/1706.03762" --output attention.html
# With theme and PPT export
lit paper-viz "https://arxiv.org/abs/1706.03762" --mode deep --theme academic-light --ppt
# Manually provide figures
lit paper-viz "https://example.com/paper" --figures ./my-figures
# Generate interactive D3.js graph from existing knowledge graph
lit graph-interactive dl-graph --output dl-interactive.html
# Without paper data (lighter weight)
lit graph-interactive my-graph --no-paper-viz
ScholarGraph/
├── cli.ts # Unified CLI entry
├── config.ts # Configuration management
├── README.md # Project documentation
├── CHANGELOG.md # Version history
├── SKILL.md # This file
│
├── shared/ # Shared modules
│ ├── ai-provider.ts # AI provider abstraction
│ ├── types.ts # Type definitions
│ ├── validators.ts # Parameter validation
│ ├── errors.ts # Error handling
│ └── utils.ts # Utility functions
│
├── literature-search/ # Literature search module
│ └── scripts/
│ ├── search.ts # Search engine core
│ ├── types.ts # Type definitions
│ ├── query-expander.ts # Query expansion
│ ├── search-strategy.ts # Complementary search strategy
│ ├── pdf-downloader.ts # PDF download module
│ └── adapters/ # Search source adapters
│ ├── base.ts # Adapter interface & base class
│ ├── registry.ts # Adapter registry
│ ├── index.ts # Barrel export
│ ├── arxiv-adapter.ts
│ ├── semantic-scholar-adapter.ts
│ ├── web-adapter.ts
│ ├── openalex-adapter.ts
│ ├── pubmed-adapter.ts
│ ├── crossref-adapter.ts
│ ├── dblp-adapter.ts
│ ├── ieee-adapter.ts
│ ├── core-adapter.ts
│ ├── unpaywall-adapter.ts
│ └── google-scholar-adapter.ts
│
├── concept-learner/ # Concept learning module
├── knowledge-gap-detector/ # Gap detection module
├── progress-tracker/ # Progress tracking module
├── paper-analyzer/ # Paper analysis module
│
├── review-detector/ # Review paper identification
│ └── scripts/
│ ├── detect.ts # Multi-dimensional scoring
│ └── types.ts
│
├── concept-extractor/ # Concept extraction from reviews
│ └── scripts/
│ ├── extract.ts # AI-powered extraction
│ └── types.ts
│
├── knowledge-graph/ # Knowledge graph module
│ └── scripts/
│ ├── graph.ts # Graph building core
│ ├── indexer.ts # Bidirectional indexing
│ ├── storage.ts # SQLite persistence
│ └── enricher.ts # Key paper association
│
├── paper-viz/ # Paper visualization
│ └── scripts/
│ ├── types.ts # Presentation data interfaces
│ ├── slide-builder.ts # PaperAnalysis → slides
│ ├── html-generator.ts # Self-contained HTML generation
│ ├── pdf-figure-extractor.ts # PDF figure extraction (pymupdf)
│ └── ppt-exporter.ts # PPT export (python-pptx)
│
├── graph-viz/ # Interactive knowledge graph
│ └── scripts/
│ ├── types.ts # D3 graph data interfaces
│ ├── graph-data-adapter.ts # KnowledgeGraph → D3 data
│ ├── html-generator.ts # Interactive HTML (D3.js v7)
│ └── paper-viz-bridge.ts # Graph → paper presentation bridge
│
├── workflows/ # End-to-end workflows
│ └── review-to-graph.ts # Review to graph pipeline
│
├── data/ # Data directory (auto-created)
│ └── knowledge-graphs.db # SQLite database
│
├── downloads/ # PDF downloads (auto-created)
│ └── pdfs/
│ └── metadata.json # Download index
│
└── test/ # Tests and documentation
├── ADVANCED_FEATURES.md
├── TEST_RESULTS.md
└── scripts/
Structured data for programmatic processing
Interactive knowledge graphs and learning paths
MIT License
Current version: 1.0.0
ScholarGraph Team
---
Design Inspirations:
For detailed documentation, see README.md For advanced features, see test/ADVANCED_FEATURES.md For test results, see test/TEST_RESULTS.md
安装 ScholarGraph 后,可以对 AI 说这些话来触发它
Help me get started with ScholarGraph
Explains what ScholarGraph does, walks through the setup, and runs a quick demo based on your current project
Use ScholarGraph to academic literature intelligence toolkit for multi-source paper sea...
Invokes ScholarGraph with the right parameters and returns the result directly in the conversation
What can I do with ScholarGraph in my data & analytics workflow?
Lists the top use cases for ScholarGraph, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/scholargraph/ 目录(个人级,所有项目可用),或 .claude/skills/scholargraph/(项目级)。重启 AI 客户端后,用 /scholargraph 主动调用,或让 AI 根据上下文自动发现并使用。
ScholarGraph 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
ScholarGraph 可免费安装使用。请查阅仓库了解许可证信息。
Academic literature intelligence toolkit for multi-source paper search, analysis, and knowledge graph building with AI assistance.
ScholarGraph 属于「Data & Analytics」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my data & analytics tasks using ScholarGraph
Identifies repetitive steps in your workflow and sets up ScholarGraph to handle them automatically