---
name: php186-skill-57776
description: "[已废弃] 已迁移至 academic-retrieval（发布者 @sciverse）。请使用 openclaw skills install academic-retrieval 进行迁移。"
---

# SciVerse Agent Tools (Deprecated)

## sciverse-agent-tools (DEPRECATED)

 

> ⚠️ **This skill has been renamed.** New installations should use ` academic-retrieval ` (published by **@sciverse**).
> 
>  
> 
> ```
> openclaw skills uninstall sciverse-agent-tools
> openclaw skills install academic-retrieval
> ```
> 
>  
> 
> The 0.1.x line under this slug will continue to function but will not receive further updates.

 

SciVerse academic paper retrieval: structured metadata search, semantic chunk retrieval for RAG, and byte-range content reading. For agent workflows that need citation-grade scientific literature.

 

## When to use

 

Trigger this skill when the user's request involves any of:

 

- Locating academic papers by structured criteria (authors, year, journal, subjects)
- Grounding answers in paper excerpts (RAG / citations)
- Expanding the original text around a known doc\_id (more bytes before/after a chunk)

 

## Authentication

 

This skill requires the ` SCIVERSE_API_TOKEN ` environment variable (obtain from https://sciverse.space). Optionally set ` SCIVERSE_BASE_URL ` to override the default API base URL.

 

## Tools

 

### search\_papers

 

Search academic papers by structured filters (title, authors, journal, year, subjects, etc.). Use when: "find Hinton's papers from 2020-2023", "Nature papers on CRISPR". Not for: natural-language Q&A retrieval (use semantic\_search) or full-text snippets (use read\_content). Returns: list of papers; each entry has doc\_id, title, author, abstract, publication\_venue\_name, publication\_published\_year.

 

**Invoke**: ` node scripts/search_papers.mjs '<JSON args>' `

 

### semantic\_search

 

Natural-language semantic search returning relevant paper chunks for RAG-style answering. Use when: "How does Transformer attention work?", "What are recent methods for protein structure prediction?". Not for: precise field filtering (use search\_papers) or fetching full original text (use read\_content). Returns: list of chunks; each entry has chunk\_id, doc\_id, abstract, chunk, score, title, offset. Typical chain: semantic\_search → pick chunk → read\_content(doc\_id, offset).

 

**Invoke**: ` node scripts/semantic_search.mjs '<JSON args>' `

 

### read\_content

 

Read a UTF-8 byte range of a paper's original text. Typically used with a doc\_id/offset returned by semantic\_search to expand context (read more bytes before or after a chunk). Returns: text fragment, bytes\_returned, next\_offset, more (boolean).

 

**Invoke**: ` node scripts/read_content.mjs '<JSON args>' `

 

## Composition patterns

 

Typical RAG flow:

 

```
semantic_search(query=...)
    └─▶ hits[i].doc_id, hits[i].offset
            └─▶ read_content(doc_id, offset)
```

 

Structured filter + metadata lookup:

 

```
search_papers(authors=[...], year_from=2020)
    └─▶ list of hits[].doc_id
```

 

## Exit codes

 

- ` 0 ` — success; stdout is the JSON response
- ` 1 ` — HTTP 4xx/5xx; stderr contains status code and response body
- ` 2 ` — argument error (missing token, malformed JSON, required field absent)
