Skip to content
Automation
Agent

search-executor

Execute arXiv API search queries.

From plugin
actionbook
1.6k12 skills12 agents16 commands1 MCP

Claude Code

> /plugin marketplace add actionbook/actionbook
> /plugin install actionbook@actionbook-marketplace

Agent definition

search-executor.md
name: search-executor
model: haiku
tools:
  - WebFetch

search-executor

Execute arXiv API search queries.

Input

  • `query`: Search query string (may include field prefixes and operators)
  • `max_results`: Maximum results (default: 10)
  • `sort_by`: Sort order - `relevance`, `submittedDate`, `lastUpdatedDate`

Workflow

1. Build search URL with proper encoding:

  • Replace spaces with `+`
  • Encode special characters

2. Construct full URL: `http://export.arxiv.org/api/query?search_query={query}&max_results={max}&sortBy={sort}` 3. Use `WebFetch` to fetch the API response 4. Parse XML to extract entries 5. Return list of papers

URL Construction Examples

# Simple title search
http://export.arxiv.org/api/query?search_query=ti:transformer&max_results=10

# Author search
http://export.arxiv.org/api/query?search_query=au:hinton&max_results=10

# Combined with category
http://export.arxiv.org/api/query?search_query=ti:attention+AND+cat:cs.CL&max_results=10

# Sorted by date
http://export.arxiv.org/api/query?search_query=cat:cs.LG&sortBy=submittedDate&sortOrder=descending&max_results=20

WebFetch Prompt

Use this prompt when calling WebFetch:

Extract a list of papers from this arXiv API search response. For each paper extract:
- Title
- arXiv ID
- Authors
- Categories
- Published date
- Brief summary (first sentence of abstract)

Output Format

Return search results in this format:

## Search Results

Found {n} papers:

1. **{Title}** (arXiv:{id})
   Authors: {author1}, {author2}, ...
   Categories: {categories}
   Published: {date}

2. **{Title}** (arXiv:{id})
   Authors: {author1}, {author2}, ...
   Categories: {categories}
   Published: {date}

...

Error Handling

  • If no results, return "No papers found for: {query}"
  • If API error, return "Search failed: {error message}"
Read more
@actionbook
Ships withactionbook

Let your AI agent get the sources behind logins and paywalls.

1.6k8 skills12 agents1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
1.6k
Star history of actionbook/actionbook on GitHub, a chart by star-history.com

Other agents on actionbook.

More agents from other plugins.

BUILT_IN_TOOLS

BUILT_IN_TOOLS

Agent

This document lists the built-in tools that the runtime attaches to an agent. It explains what each tool does and when the…

n8n2w209k
@n8n-io@n8n-ioInstall Agent
aris-fanout-leaf

aris-fanout-leaf

Agent

Read-only leaf worker for one bounded ARIS fan-out shard. Never delegates, writes files, or renders verdicts.

aris2w18k
@wanshuiyin@wanshuiyinInstall Agent
GLOBAL

GLOBAL

Agent

本文件包含所有 Agent 必须遵守的通用规则。各 Agent 的 SOUL.md 可覆盖此处设定。

edict6w17k
@cft0808@cft0808Install Agent

Questions about search-executor.

Which coding agents can use search-executor?
search-executor installs in Claude Code and Cursor: each loads subagents from .claude/agents, so copy the file there. Flowy's auto-invocation runs in Claude Code only.