Skip to content

Latest commit

 

History

History

tools

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Helper scripts for the copy-paste prompt

The research prompt on the InsightPro demo runs in your own agent (Codex, Claude Code, ...) in your current folder. It first downloads these two scripts into tools/:

mkdir -p tools
curl -fsSL -o tools/web_search.py https://raw.githubusercontent.com/Einsia/InsightPro/main/tools/web_search.py
curl -fsSL -o tools/library_client.py https://raw.githubusercontent.com/Einsia/InsightPro/main/tools/library_client.py
Script What it does
web_search.py Searches arXiv, OpenAlex, Crossref and DataCite; finds later papers citing a paper; reads HTML or PDF sources in ranges and records what was read.
library_client.py Read-only client for the public InsightPro API: domains, insights and problems, paper cards, batch lookups, and a complete export of one domain.

Both use only the Python 3 standard library and public HTTPS endpoints; no API key is needed. Their records go to out/ in the current folder. PDF reading uses pdftotext (poppler-utils) when it is installed. These are local copies of the scripts the experiments used inside their sandbox (system/single-api-web/tools/web_search.py, system/single-api/insightpro/tools/library_client.py); only the defaults differ (output folder, public API address), and the sandbox-only check-card command is left out.