How to install asta-skill
npx skills add https://github.com/agents365-ai/365-skills --skill asta-skillFull instructions (SKILL.md)
Source of truth, from agents365-ai/365-skills.
name: asta-skill description: Domain expertise for Ai2 Asta MCP tools (Semantic Scholar corpus). Intent-to-tool routing, safe defaults, workflow patterns, and pitfall warnings for academic paper search, citation traversal, and author discovery. license: MIT metadata: {"homepage":"https://github.com/Agents365-ai/asta-skill","compatibility":"Requires an MCP-capable host (Claude Code, Codex, Cursor, Windsurf, Hermes, OpenClaw/ClawHub) with the Asta MCP server registered at https://asta-tools.allen.ai/mcp/v1 using an x-api-key header. The skill does not make HTTP calls itself.","platforms":["macos","linux","windows"],"openclaw":{"requires":{"env":["ASTA_API_KEY"]},"emoji":"π","mcp":{"name":"asta","type":"http","url":"https://asta-tools.allen.ai/mcp/v1","headers":{"x-api-key":"${ASTA_API_KEY}"}}},"hermes":{"tags":["asta","semantic-scholar","academic","paper-search","citation","mcp"],"category":"research","requires_tools":["mcp"],"related_skills":["semanticscholar-skill","literature-review"]},"pimo":{"category":"research","tags":["asta","semantic-scholar","academic","paper-search","citation","mcp"]},"author":"Agents365-ai","version":"0.3.3"}
Asta MCP β Academic Paper Search
Asta is Ai2's Scientific Corpus Tool, exposing the Semantic Scholar academic graph over MCP (streamable HTTP transport). This skill tells agents which Asta tool to call for which intent, and how to compose them into useful workflows.
- MCP endpoint:
https://asta-tools.allen.ai/mcp/v1 - Auth:
x-api-keyheader (request key at https://share.hsforms.com/1L4hUh20oT3mu8iXJQMV77w3ioxm) - Transport: streamable HTTP
Prerequisite Check
Before invoking any tool, verify the Asta MCP server is registered in the host agent. Tool names will be prefixed by the MCP server name chosen at install time (commonly asta__<tool> or mcp__asta__<tool>).
If no Asta tools are visible, do not make raw HTTP calls or invent results. Tell the user to register https://asta-tools.allen.ai/mcp/v1 as a streamable HTTP MCP server with an x-api-key header, then restart/reload the host. Minimal setup hints:
- Codex CLI: add
[mcp_servers.asta] url = "https://asta-tools.allen.ai/mcp/v1"andenv_http_headers = { "x-api-key" = "ASTA_API_KEY" }to~/.codex/config.toml. - Claude Code: run
claude mcp add -t http -s user asta https://asta-tools.allen.ai/mcp/v1 -H "x-api-key: $ASTA_API_KEY". - Generic MCP clients: configure server URL
https://asta-tools.allen.ai/mcp/v1with header{ "x-api-key": "<YOUR_API_KEY>" }.
Tool Map β Intent β Asta Tool
| User intent | Asta tool | Notes |
|---|---|---|
| Broad topic search | search_papers_by_relevance | Supports venue + date filters |
| Known paper title | search_paper_by_title | Optional venues + publication_date_range filters |
| Known DOI / arXiv / PMID / CorpusId / MAG / ACL / SHA / URL | get_paper | Single-paper lookup |
| Multiple known IDs at once | get_paper_batch | Batch lookup β pass ids as a JSON array (not a comma-separated string, unlike snippet_search's paper_ids); prefer over N sequential get_paper calls; unresolvable IDs are silently dropped (no null/error), so reconcile returned paperIds against your input |
| Who cited paper X | get_citations | Forward citations, paginated; accepts publication_date_range but not venues; limit defaults to 100 |
| Find author by name | search_authors_by_name | Default fields="name" returns only name + authorId β explicitly request affiliations,paperCount,citationCount,hIndex,externalIds to get anything rankable; externalIds carries ORCID/DBLP |
| An author's publications | get_author_papers | Pass author id; field param is paper_fields (not fields); limit defaults to 1000 β set it explicitly |
| Find passages mentioning X | snippet_search | ~500-word excerpts (title/abstract/body, excludes captions & bibliography); see snippet-specific params below |
Most search/citation tools accept publication_date_range (format YYYY-MM-DD:YYYY-MM-DD; year shorthand like "2021:", ":2015-01", "2015:2020" is also accepted), venues, and fields for field selection β pass them whenever the user's intent constrains scope (e.g., "recent", "since 2022", "at NeurIPS"). venues matches Semantic Scholar's exact venue strings (comma-separated, e.g. "Nature,N. Engl. J. Med."); a casual name like "NeurIPS" may not match, so fall back to a date/keyword filter when a venue lookup returns empty.
Per-tool parameter exceptions (verified against the live server β getting these wrong yields a malformed or silently-ignored argument):
get_author_papersnames its field-selection parampaper_fields, notfields(passingfields=is silently ignored β you get titles only), and accepts novenuesfilter, so narrow its results by topic/venue client-side.get_citationsacceptspublication_date_rangebut notvenues.snippet_searchaccepts neitherfieldsnorpublication_date_range. Instead it has:inserted_before(date filter,YYYY-MM-DD/YYYY-MM/YYYY),paper_ids(comma-separated list of β€100 IDs to restrict snippets to specific papers), andvenues.
β οΈ fields parameter β avoid context blowups
get_paper / get_paper_batch accept a fields string. Never request citations or references via fields β a single highly-cited paper (e.g. Attention Is All You Need) returns 200k+ characters and will overflow the agent's context window. Use the dedicated get_citations tool for forward citations (it paginates). Asta does not provide a dedicated get_references tool β to retrieve a paper's reference list, use get_paper with fields=references only for papers you know have a small reference list (typically < 100).
Watch row counts too, not just per-row size: default limits are large β get_author_papers returns up to 1000, get_citations 100, search_papers_by_relevance 50, and snippet_search 20 (each snippet is ~500 words, making it the heaviest tool per row). Pass an explicit small limit β e.g. 20β50 for paper/citation lists, ~5β10 for snippets β unless the user asked for the full list.
Use task-specific field presets:
Metadata lookup:
title,year,authors,venue,tldr,url,abstract
Search/ranking/results tables:
title,year,authors,venue,tldr,url,abstract,citationCount,influentialCitationCount
DOI/export handoff:
title,year,authors,venue,tldr,url,externalIds
Add journal, publicationDate, fieldsOfStudy, isOpenAccess only when needed. If pass-through fields such as citationCount are absent in a future response, degrade gracefully: sort by relevance/recency and omit citation-based claims.
Example call (topic search, ranked by citations, DOI exposed for downstream fetch):
search_papers_by_relevance(
keyword="mixture of experts routing",
publication_date_range="2023:",
fields="title,year,authors,venue,tldr,url,externalIds,citationCount",
limit=20,
)
Retrieving DOI / external IDs (undocumented but supported)
Asta's official fields list does not include externalIds, but the field is transparently passed through to the underlying Semantic Scholar API and works in practice. Add externalIds to fields to retrieve DOI, PubMed, PubMedCentral, ArXiv, MAG, DBLP, CorpusId. The same pass-through applies to citationCount and influentialCitationCount (also absent from the official list but verified to return) β request them when ranking results by citations. Caveats:
- Not all papers have a DOI β pure arXiv preprints often only return
ArXiv+CorpusId. get_paper("DOI:...")lookup is not 100% reliable; some valid DOIs returnnot found. Prefer searching by title first, then readingexternalIdsoff the result.- Since this is undocumented, treat it as best-effort and degrade gracefully if a future Asta release drops it.
Workflow Patterns
Pattern 1 β Topic Discovery
search_papers_by_relevance(keyword, publication_date_range="<current_year-5>:", venues=?, fields="title,year,authors,venue,tldr,url,abstract,citationCount,influentialCitationCount", limit=20)β initial hits (compute the lower bound from today's date β e.g., in 2026 passpublication_date_range="2021:"; adjust or drop the filter if the user asks for older work)- Rank/present top N by citationCount + recency
- Offer follow-ups:
get_citationson the most influential, orsnippet_searchfor specific claims
Pattern 2 β Seed-Paper Expansion
get_paper(DOI|arXiv|...)β verify seedget_citations(paperId)β forward expansion- Optionally
search_papers_by_relevancewith seed title terms for sideways discovery - Deduplicate by paperId before presenting
Pattern 3 β Author Deep-Dive
search_authors_by_name(name, fields="name,affiliations,paperCount,citationCount,hIndex,externalIds")β pick correct profile. You must request these fields β the defaultfields="name"returns onlyname+authorId, leaving nothing to rank on. Disambiguate byexternalIds.ORCIDwhen present (strongest signal), thenpaperCount/citationCount/hIndex;affiliationsis often empty even when requested, so use it only as a tiebreakerget_author_papers(authorId, limit=50, paper_fields="title,year,authors,venue,tldr,url,abstract,citationCount")β a bounded first page; expand only if the user asks for the full list- Filter client-side by topic keywords or date
Pattern 4 β Evidence Retrieval
snippet_search(claim_query)β find passages making/supporting a claim- To ground a claim within specific papers, pass
paper_ids="<id1>,<id2>,β¦"(β€100) so snippets are drawn only from that set - For each hit, optionally
get_paper(id)for full metadata
Output & Interaction Rules
- Always report which tool was used. Report total count only when the tool exposes a total; otherwise report returned count/page size and do not imply a corpus-wide total.
- Present up to 10 results as a table (title, year, venue, citations if fetched), then details for the most relevant.
- If the user writes in Chinese, present summaries in Chinese; keep titles in original language.
- After results, offer: Details / Refine / Citations / Snippet / Export / Done.
Critical Rules
- Prefer batched intent over ping-pong. If the user's question needs two independent lookups, issue them as parallel MCP tool calls in one turn, not sequentially.
- Never guess IDs. If a user gives a fuzzy title, use
search_paper_by_titlebeforeget_paper. - Respect rate limits. An API key buys higher limits but not unlimited β stop expanding citation graphs beyond what the user asked for.
- Do not fabricate fields. If Asta returns null
abstractorvenue, say so rather than inventing.
Handling Asta responses
| Situation | What to do |
|---|---|
Empty abstract | Not all corpus papers have full text β use snippet_search, or fall back to title + TLDR |
| Author disambiguation uncertain | Request the ranking fields up front (see Pattern 3 β they are not returned by default); prefer externalIds.ORCID, then paperCount/citationCount/hIndex, with affiliations only as a tiebreaker |
| Date-filtered results | A publication_date_range filter can return records whose publicationDate is null (only year is guaranteed), and papers with unknown dates are treated as published Jan 1 of their year β so boundary-year filtering is approximate |
429 Too Many Requests | Back off; batch with get_paper_batch instead of sequential get_paper calls |
| Need DOI / PubMed ID / arXiv ID | Add externalIds to fields (see "Retrieving DOI" above); fall back to ArXiv ID when DOI is absent |
Related skills
More from agents365-ai/365-skills and the wider catalog.
drawio-skill
Use when the user requests diagrams, flowcharts, architecture diagrams, ER diagrams, UML / sequence / class diagrams, network topology, ML/DL model figures (Transformer/CNN/LSTM), mind maps, or any visualization. Also use proactively when explaining systems with 3+ components, complex data flows, or relationships that benefit from visual representation. Best suited when the diagram needs custom styling, rich shape vocabulary, swimlanes, or exportable images (PNG/SVG/PDF/JPG). Generates .drawio XML and exports locally via the native draw.io desktop CLI.
creating-mermaid-diagrams
Generate Mermaid diagrams (.mmd) and export to PNG/SVG/PDF using mmdc CLI or Kroki API. USE THIS SKILL when user mentions diagram, flowchart, sequence diagram, class diagram, ER diagram, state machine, architecture, visualize, git graph, η»εΎ, ζΆζεΎ, ζ΅η¨εΎ, ζΆεΊεΎ. PROACTIVELY USE when explaining ANY system with 3+ components, API flows, authentication sequences, class hierarchies, database schemas, or state machines. Supports 11+ diagram types with fully automatic layout.
excalidraw
Use when user requests diagrams, flowcharts, architecture charts, or visualizations. Also use proactively when explaining systems with 3+ components, complex data flows, or relationships that benefit from visual representation. Generates .excalidraw files and exports to PNG/SVG via Kroki API or locally using excalidraw-brute-export-cli.
plantuml-skill
Use when user requests diagrams, flowcharts, sequence diagrams, class diagrams, component diagrams, ER diagrams, architecture charts, or visualizations β including generating a diagram from existing source code, or rendering/extracting PlantUML embedded in a Markdown file to images (e.g. preparing docs for Confluence/Notion). Also use proactively when explaining systems with 3+ components, APIs, data flows, or class hierarchies. Generates .puml files and exports to PNG/SVG via Kroki API (no local install required).
tldraw-skill
Use when user requests diagrams, flowcharts, architecture charts, or visualizations. Also use proactively when explaining systems with 3+ components, complex data flows, or relationships that benefit from visual representation. Generates .tldr JSON files and exports to PNG/SVG locally using @kitschpatrol/tldraw-cli.
semanticscholar-skill
Use when searching academic papers, looking up citations, finding authors, or getting paper recommendations using the Semantic Scholar API. Triggers on queries about research papers, academic search, citation analysis, or literature discovery.