ResearchPilot-Skills

agent
Security Audit
Pass
Health Pass
  • License — License: MIT
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Community trust — 11 GitHub stars
Code Pass
  • Code scan — Scanned 12 files during light audit, no dangerous patterns found
Permissions Pass
  • Permissions — No dangerous permissions requested

No AI report is available for this listing yet.

SUMMARY

9 AI agent skills for academic research — evidence search, citation validation, literature expansion. Works with Claude Code, Codex, Gemini CLI. Free API tier included (OpenAlex, CrossRef).

README.md

ResearchPilot v2 — Zero-dependency academic research engine, MCP server, and methodological skill suite

CI Python 3.9+ Zero Dependencies 7 MCP Tools 7 IDEs Supported 9 Methodological Skills 45 Passing Tests MIT License

ResearchPilot v2 is a zero-dependency academic research engine, stdio MCP server, plugin, and methodological skill suite that turns fragmented literature workflows into a single reproducible, citation-verified pipeline.

Works out of the box with Python 3.9+ stdlib (no pip install required) across Antigravity, Claude Code, Cursor, VS Code, Windsurf, Gemini CLI, and Codex CLI.


See It in Action

End-to-End CLI: Thesis Memory, PRISMA-Lite Evidence Matrix & Anti-Hallucination Draft Audit

Live CLI output showing Thesis Memory management, PRISMA-lite Evidence Matrix export, and anti-hallucination Draft Citation Audit

MCP Server (JSON-RPC 2.0 stdio) & Automated Verification Suite

Live MCP stdio handshake registering 7 typed tools alongside repository validation and 45 passing tests


Why ResearchPilot v2?

Academic research with AI agents typically fails in three places: fragmented data formats across platforms, lost screening state between sessions, and hallucinated or retracted citations in drafts.

ResearchPilot solves all three with a 4-layer hybrid architecture:

  • Federated Free Sources (Tier 1) — Search OpenAlex and arXiv together with metadata-preserving DOI deduplication, validate citations & retractions via CrossRef + Semantic Scholar, and resolve legal OA PDFs via Unpaywall.
  • Persistent Thesis Memory — Manage accepted_papers, maybe_papers, rejected_papers, keywords, authors to watch, and PRISMA-lite screening counts in schemas/thesis-memory.schema.json.
  • Anti-Hallucination Draft Auditor — Extract DOIs and (Author, Year) citations from Markdown, LaTeX, or plain text drafts, cross-check them against Thesis Memory, and optionally verify online for retractions.
  • Universal IDE & Agent Integration — Native workspace MCP configs + one-command installer (install-ide) for Antigravity, Claude Code, Cursor, VS Code, Windsurf, Gemini CLI, and Codex CLI, paired with 9 methodological skills in plugin/skills/.

Architecture

flowchart TD
    C["AI IDEs & CLIs\nAntigravity · Claude Code · Cursor · VS Code · Windsurf · Gemini CLI · Codex"] --> PS["Methodological Skills v2\nplugin/skills/ (9 skills)"]
    C --> MCP["MCP Server (stdio JSON-RPC 2.0)\nresearchpilot/mcp_server.py"]
    C --> LS["Legacy Platform Skills\nskills/ (9 skills)"]

    PS --> MCP
    PS --> CLI["Unified CLI\npython3 -m researchpilot"]
    LS --> CLI
    MCP --> CORE["Core Package: researchpilot/ (Python 3.9+ stdlib)"]
    CLI --> CORE

    CORE --> SRC["Free APIs: OpenAlex · arXiv · CrossRef · S2 · Unpaywall"]
    CORE --> MEM["Thesis Memory Store + PRISMA-Lite Stats"]
    CORE --> AUD["Draft Citation Auditor (DOIs + Author-Year)"]
    CORE --> EXP["Exporters: BibTeX · Markdown · RIS · Evidence Matrix"]
    CORE --> CACHE["HTTP Client · Retry/Backoff · 24h Disk Cache"]

Quick Start

1. Run Immediately via Unified CLI (Zero Setup)

git clone https://github.com/JosephElvisMaman1/ResearchPilot-Skills.git
cd ResearchPilot-Skills

# Optional polite-pool email (recommended for OpenAlex, CrossRef & required for Unpaywall)
export RESEARCHPILOT_EMAIL="[email protected]"

# 1) Federated search across OpenAlex + arXiv (deduplicated)
python3 -m researchpilot search "cognitive load theory online learning" --year-from 2018 --per-page 10 > search.json

# 2) Batch-validate DOIs (CrossRef + Semantic Scholar + Unpaywall OA PDFs)
python3 -m researchpilot validate --from-json search.json --semantic --unpaywall > validated.json

# 3) Persist into Thesis Memory and screen papers
python3 -m researchpilot memory init thesis-memory.json --topic "Cognitive Load in Online Learning"
python3 -m researchpilot memory add thesis-memory.json validated.json
python3 -m researchpilot memory decide thesis-memory.json "10.1037/0033-2909.86.2.420" --decision keep --notes "Foundational reference"

# 4) Export accepted papers to BibTeX, RIS (Zotero/Mendeley), or PRISMA-lite Evidence Matrix
python3 -m researchpilot export thesis-memory.json --format matrix --only-accepted
python3 -m researchpilot export thesis-memory.json --format ris --only-accepted --output refs.ris
python3 -m researchpilot export thesis-memory.json --format bibtex --only-accepted --output refs.bib

# 5) Audit a draft manuscript against Thesis Memory + CrossRef online
python3 -m researchpilot audit draft.md --memory thesis-memory.json --verify-online

Want global CLI commands (researchpilot and researchpilot-mcp)? Install locally with pip install -e ..

2. Connect to Antigravity & All Major IDEs (One Command)

Preview first (safe dry-run) or apply non-destructively (merges into your existing config with .bak backup):

# Antigravity (MCP server + 9 methodological skills)
python3 -m researchpilot install-ide --target antigravity --install-skills --apply

# Claude Code, Cursor, VS Code, Windsurf, Gemini CLI, Codex CLI (or --target all)
python3 -m researchpilot install-ide --target cursor --target vscode --apply
python3 -m researchpilot install-ide --target all --install-skills   # dry-run preview for all 7 IDEs
IDE / Agent Workspace Config Included Auto-Installer Target
Antigravity .agent/mcp_config.json --target antigravity --install-skills --apply
Claude Code .mcp.json + .claude-plugin/plugin.json --target claude --install-skills --apply
Cursor .cursor/mcp.json --target cursor --install-skills --apply
VS Code (Copilot) .vscode/mcp.json --target vscode --apply
Windsurf — --target windsurf --install-skills --apply
Gemini CLI .gemini/settings.json --target gemini --install-skills --apply
Codex CLI — --target codex --install-skills --apply

See docs/ide-integrations.md for Windows PowerShell commands and manual copy-paste JSON/TOML snippets.


MCP Tool Reference (7 Typed Tools)

MCP Tool Purpose CLI Equivalent
research_search Federated OpenAlex + arXiv search with metadata-preserving dedupe python3 -m researchpilot search
research_validate Single or batch DOI validation (CrossRef retractions + S2 influential citations) python3 -m researchpilot validate
research_expand Forward/backward citation snowballing, authors to watch & concept clusters python3 -m researchpilot expand
research_open_access Legal OA PDF & landing URL lookup via Unpaywall python3 -m researchpilot open-access
research_audit_draft Extract DOIs & (Author, Year) citations, check Thesis Memory & retractions python3 -m researchpilot audit
thesis_memory_manage init, add, decide, meta, and status on thesis-memory.json python3 -m researchpilot memory
thesis_export Export evidence cards or memory to bibtex, markdown, ris, or matrix python3 -m researchpilot export

Methodological Skills Suite (plugin/skills/)

These 9 v2 skills focus on academic methodology rather than brittle web scraping. Every skill uses the MCP tools first and falls back automatically to python3 -m researchpilot ....

Core Workflow (4 Skills)

Skill Purpose Primary Tools
literature-review PICO/SPIDER framing, multi-source search, screening & Thesis Memory persistence research_search, thesis_memory_manage
citation-audit Batch DOI verification, retraction rejection gate & citation risk stratification research_validate, research_audit_draft
citation-snowballing Forward/backward citation graph expansion, key authors & concept clusters research_expand, thesis_memory_manage
thesis-synthesis Academic prose strictly grounded in accepted_papers with claim → DOI source map thesis_memory_manage, thesis_export

Specialized Quality & Rigor (5 Skills)

Skill Purpose Primary Tools
claim-verifier Anti-hallucination audit for Markdown/LaTeX drafts against CrossRef & memory research_audit_draft, research_validate
evidence-matrix Comparative synthesis table + PRISMA-lite screening flow summary thesis_memory_manage, thesis_export (matrix)
paper-deep-read Critical appraisal using Unpaywall/arXiv OA PDFs or abstracts with uncertainty tags research_open_access, research_validate
gap-finder Pre-search framing (PICO/FINER/PCC) & post-screening defensible research gaps thesis_memory_manage, research_search
peer-review-simulator Strict Q1 reviewer ("Reviewer #2") & thesis defense critique grounded in memory research_audit_draft, thesis_memory_manage

Legacy Platform & Tier 1–4 Skills (skills/ — 100% Backwards Compatible)

All 9 original skills in skills/ and standalone scripts in scripts/api/ remain intact and fully supported:

Tier Skills Notes
Tier 1 — Free APIs thesis-openalex-search, thesis-crossref-validate, thesis-openalex-expand scripts/api/*.py now delegate to researchpilot.sources.* with retry/backoff, disk cache & --from-json batch mode.
Tier 2–4 — Platforms thesis-consensus-search, thesis-scite-validate, thesis-researchrabbit-expand, thesis-scispace-explain, thesis-jenni-draft Optional Playwright (scripts/browser/), Chrome MCP, or BrowserAct (see docs/setup-browseract.md).
Orchestrator thesis-research-router Routes tasks across tiers and applies automatic fallback.

Shared JSON Contracts

Every paper-bearing tool and skill normalizes to schemas/paper.schema.json (decision is always keep, maybe, or reject).

Contract Schema
Shared paper object schemas/paper.schema.json
Session & screening memory schemas/thesis-memory.schema.json
OpenAlex search / expansion schemas/openalex-search.schema.json, schemas/openalex-expand.schema.json
CrossRef / Scite validation schemas/crossref-validate.schema.json, schemas/scite-validate.schema.json
Consensus / SciSpace / Jenni / Router schemas/evidence-card.schema.json, schemas/scispace-explain.schema.json, schemas/jenni-draft.schema.json, schemas/router-output.schema.json

Repository Structure

researchpilot/                 Core Python package (stdlib only, Python 3.9+)
  common.py                    DOI normalization, HTTP retry/backoff, TTL disk cache
  sources/                     openalex.py · crossref.py · arxiv.py · unpaywall.py
  search.py                    Federated multi-source search & metadata-merging dedupe
  memory.py                    Thesis Memory CRUD + PRISMA-lite screening stats
  audit.py                     Draft citation extractor & anti-hallucination auditor
  exporters.py                 BibTeX · Markdown · RIS · PRISMA-lite Evidence Matrix
  cli.py                       Unified CLI (`python3 -m researchpilot`)
  integrations.py              Multi-IDE MCP & skills installer (`install-ide`)
  mcp_server.py                Stdio JSON-RPC 2.0 MCP server (7 typed tools)

.agent/mcp_config.json         Antigravity workspace MCP config
.mcp.json                      Claude Code / standard MCP config
.claude-plugin/plugin.json     Plugin manifest bundling MCP + methodological skills
.cursor/mcp.json               Cursor workspace MCP config
.vscode/mcp.json               VS Code (Copilot) workspace MCP config
.gemini/settings.json          Gemini CLI workspace MCP config
plugin/skills/                 9 methodological skills v2 + quality checklists
skills/                        9 original platform/API skills (preserved untouched)
schemas/                       Shared JSON Schema contracts
scripts/                       Backwards-compatible CLI wrappers, Playwright & repo validators
tests/                         45 unit, CLI, IDE & MCP protocol tests (mocked HTTP/XML)
assets/                        Hero banner and real CLI/MCP verification captures
docs/                          IDE integration guide, design system, quality standards & setup

Development & Verification

# 1. Validate repository layout, schemas, IDE configs, manifests, and both skill suites
python3 scripts/validate_repo.py

# 2. Verify legacy skill trigger coverage
python3 scripts/test_skill_prompts.py

# 3. Run all 45 unit, CLI, IDE, and MCP protocol tests (offline, mocked HTTP/XML)
python3 -m unittest discover -s tests -v

# 4. Smoke-test legacy pipe utilities (supports file path or '-' for stdin)
python3 scripts/dedupe_by_doi.py examples/sample-output.json | python3 scripts/export_bibtex.py -

Environment variables (optional, see .env.example):

  • RESEARCHPILOT_EMAIL — polite pool email for OpenAlex/CrossRef and required email for Unpaywall.
  • RESEARCHPILOT_NO_CACHE=1 — bypass local 24h HTTP disk cache (or pass --no-cache).
  • RESEARCHPILOT_CACHE_DIR — custom disk cache directory (defaults to ~/.cache/researchpilot).

Privacy and Security

This repository never stores browser cookies, login sessions, API keys, private thesis text, or proprietary exports. Every skill enforces explicit safety gates before uploading manuscripts or interacting with authenticated platforms (see docs/quality-standards.md).


License

MIT — see LICENSE.

Reviews (0)

No results found