AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Arxiv Article

skill-tomzx-agents-arxiv-article · by tomzx

Downloads an arXiv HTML article, converts it to markdown with pandoc, archives it, and returns a structured summary. Use when processing a single arXiv paper given its HTML URL (e.g., https://arxiv.org/html/2504.12345). Called by the arxiv-catchup skill but can also be invoked directly.

No reviews yet
0 installs
16 views
0.0% view→install

Install

$ agentstack add skill-tomzx-agents-arxiv-article

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-tomzx-agents-arxiv-article)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
13d ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Arxiv Article? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

arXiv Article Processor

Downloads an arXiv HTML article, converts it to markdown via pandoc, archives it under $ARXIV_DIRECTORY/{base_id}/, and produces a structured summary.

Prerequisites

ARXIV_DIRECTORY must be set to the directory where archived articles are stored (e.g., ~/arxiv-articles). If the variable is unset, stop and ask the user to set it.

echo "${ARXIV_DIRECTORY:?ARXIV_DIRECTORY is not set}"

If pandoc is not available (which pandoc returns nothing), report the error and stop. Do not proceed without pandoc.

Input

The URL of the arXiv HTML article. Expected format: https://arxiv.org/html/{arxiv_id} (with or without a version suffix such as v1).

Steps

1. Resolve archive directory

ARCHIVE_DIR="${ARXIV_DIRECTORY}"
mkdir -p "$ARCHIVE_DIR"

2. Extract the arxiv ID

From the URL, take the path segment after /html/. Strip any version suffix for the archive filename:

  • https://arxiv.org/html/2504.12345v1 → base ID 2504.12345, versioned ID 2504.12345v1
  • https://arxiv.org/html/2504.12345 → base ID 2504.12345

The article is stored under $ARCHIVE_DIR/{base_id}/.

3. Check archive

test -f "$ARCHIVE_DIR/{base_id}/article.md" && echo "EXISTS" || echo "MISSING"

If the file exists, skip to step 5 (summarize from the cached file).

4. Download and convert with pandoc

Pass the URL directly to pandoc so it can resolve relative image URLs. Images are saved into $ARCHIVE_DIR/{base_id}/ alongside the article.

mkdir -p "$ARCHIVE_DIR/{base_id}"
pandoc -f html -t markdown \
  --wrap=none \
  --strip-comments \
  --extract-media="$ARCHIVE_DIR/{base_id}" \
  -o "$ARCHIVE_DIR/{base_id}/article.md" \
  "{URL}"

If the command fails, report the error and stop.

5. Summarize

Read the full $ARCHIVE_DIR/{base_id}/article.md and produce this structured summary:

## {Title}

**ID:** {base_id}
**URL:** https://arxiv.org/abs/{base_id}
**Authors:** {comma-separated author list}

### Problem
{1-2 sentences: what problem or gap does the paper address?}

### Approach
{2-3 sentences: what method, architecture, or technique do the authors use?}

### Key Results
- {finding or contribution 1}
- {finding or contribution 2}
- {finding or contribution 3 if present}

### Takeaway
{1 sentence: why this work matters or what it enables.}

Write the summary to $ARCHIVE_DIR/{base_id}/summary.md, overwriting if it already exists.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.