AGENT SKILL

flowleap-academic

Search academic literature (Semantic Scholar + arXiv) through the FlowLeap backend with per-source and publication-year filters. Trigger when an agent needs scholarly papers as prior art or technical background — topic searches, restricting to arXiv or Semantic Scholar, or bounding results by publication year. For OpenAlex-backed NPL search see flowleap-npl.

License 许可
MIT
最近更新
2026-11-03
Stars
★ 1
Forks
0

01 前言 Front Matter

name
flowleap-academic
description
Search academic literature (Semantic Scholar + arXiv) through the FlowLeap backend with per-source and publication-year filters. Trigger when an agent needs scholarly papers as prior art or technical background — topic searches, restricting to arXiv or Semantic Scholar, or bounding results by publication year. For OpenAlex-backed NPL search see flowleap-npl.

03 SKILL.md 正文

FlowLeap Academic

Auth and global flags: see flowleap-shared.

In a chat client with the FlowLeap connector or in the FlowLeap Patent AI app, call the tools named in the flowleap-shared tool table instead of these commands, and never run a flowleap command there.

Usage

flowleap academic search <query> [flags]

Runs the search_academic tool on the Tools facade. Returns academic papers with title, authors, year, and source. No patent-data key is needed, so this corpus stays live while EPO or USPTO is key-gated — offer it as different data (literature, not patents), never as a substitute (see flowleap-keys).

Flags

Flag Description Default
--limit Maximum results 10
--source Source to search: scholar or arxiv (repeat the flag for both) all sources
--from-year Only papers published in or after this year none
--to-year Only papers published in or before this year none

Examples

# Basic search
flowleap academic search "machine learning patent classification"

# With limit
flowleap academic search "CRISPR gene editing applications" --limit 20

# arXiv only, bounded by publication year
flowleap academic search "transformer attention mechanisms" --source arxiv --from-year 2020 --to-year 2024

# Both sources explicitly
flowleap academic search "solid state electrolyte" --source scholar --source arxiv

# JSON output for agents
flowleap academic search "neural network optimization" --json

Tools-facade equivalent: search_academic (query=, sources=, max_results=, filter=). Its sources values are semantic-scholar and arxiv; papers still come back tagged scholar or arxiv.

Response Format (JSON)

The CLI prints the tool's data payload — { query, total, papers, sources }. The envelope fields (success, executionTimeMs, cached) sit outside it; add --verbose to see the cache verdict and timing on stderr.

{
  "query": "machine learning patent classification",
  "total": 1,
  "papers": [
    {
      "title": "Machine Learning in Patent Analysis",
      "authors": ["Smith, J.", "Doe, A."],
      "year": "2024",
      "source": "arxiv",
      "url": "https://example.com/paper",
      "abstract": "...",
      "doi": "10.1000/example",
      "alsoIn": ["scholar"]
    }
  ],
  "sources": [
    { "source": "scholar", "status": "rate_limited", "returned": 0, "retryAfter": 30 },
    { "source": "arxiv", "status": "ok", "returned": 1, "totalHits": 214 }
  ]
}

sources[] reports every requested source: ok, rate_limited or error. A source that failed contributed no papers, so its absence is a gap, never "no literature exists"; the human and table output name it on stderr. total is the number of papers returned; totalHits is a source's own match count. Duplicates across sources are merged (alsoIn names the other one).

For a broad NPL sweep run flowleap npl (OpenAlex) first and use this command as the second pass (see flowleap-npl).

04 同仓库更多 Skills