원클릭으로
fetch-arxiv
Fetch arXiv papers (PDF + LaTeX source) via GitHub Actions relay. Usage: /fetch-arxiv 2301.00001 [cond-mat/9905027 ...]
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Fetch arXiv papers (PDF + LaTeX source) via GitHub Actions relay. Usage: /fetch-arxiv 2301.00001 [cond-mat/9905027 ...]
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Improve agent prompts and behavior. The user says what's unsatisfactory; AI understands the complaint deeply, rewrites at the root cause, and an independent reviewer verifies.
Improve agent prompts and behavior. The user says what's unsatisfactory; AI understands the complaint deeply, rewrites at the root cause, and an independent reviewer verifies.
Autonomously execute research cycles. Specify the cycle limit as an argument (e.g., /auto 2). Default: 5.
Review research direction and AI reliability with the user, record oversight decisions, and update the next research focus.
Execute the normal /auto research loop with a human approval checkpoint after each planner update and before execution.
Autonomously execute research cycles. Specify the cycle limit as an argument (e.g., /auto 2). Default: 5.
| name | fetch-arxiv |
| description | Fetch arXiv papers (PDF + LaTeX source) via GitHub Actions relay. Usage: /fetch-arxiv 2301.00001 [cond-mat/9905027 ...] |
| user-invocable | true |
| argument-hint | ARXIV_ID [ARXIV_ID ...] |
Fetches arXiv papers by relaying the download through GitHub Actions, bypassing cloud environment network restrictions.
Arguments: $ARGUMENTS
YYMM.NNNNN[vN] — e.g., 2301.00001, 2301.00001v2archive[.SUBJ]/YYMMNNN[vN] — e.g., cond-mat/9905027, hep-th/0506213, math.AG/0506213Legacy-ID papers are saved under literature/papers/{archive}/{YYMMNNN}/ (the / in the ID becomes a directory separator).
[This environment] [GitHub Actions] [arXiv]
push request.json ──> trigger workflow ──> download PDF + source
to arxiv-fetch branch extract LaTeX
push results ──> orphan branch
poll & extract <── (force-push)
Run the fetch script with the arXiv IDs from the arguments:
bash .scripts/fetch-arxiv.sh $ARGUMENTS
Important: This command takes 1-3 minutes (GitHub Actions execution + polling). The script handles everything automatically: push request, poll for completion, extract results.
This skill uses a fixed project script that writes Git objects, pushes an ephemeral branch, fetches results, and writes under literature/. Those operations may fail under Codex sandboxing even though the procedure is routine for this project.
If the normal command fails with Operation not permitted, .git/FETCH_HEAD, .git/objects, git hash-object, git mktree, git commit-tree, git push, or another likely sandbox-related Git permission error, and the runtime allows approval requests, immediately rerun the same command with sandbox_permissions="require_escalated" and propose prefix_rule=["bash", ".scripts/fetch-arxiv.sh"]. The approval request should describe the fixed purpose: fetching arXiv paper sources through the project relay. If approval requests are unavailable in the current runtime, report a permission-gated fetch failure rather than reclassifying it as paper unavailability.
Do not treat this failure as evidence that the paper is unavailable, that arXiv failed, or that the research should proceed from abstracts. It is an execution capability issue for the standard fetch path.
Upper limit: 20 papers per fetch (GitHub Actions artifact size and arXiv rate limits). If more are needed, split into multiple fetches.
literature/papers/{id}/:
paper.pdf — PDF file*.tex, *.bib, *.sty, etc. — LaTeX source files.tex file is the one containing \documentclassSub-agents can invoke the fetch script directly via Bash when direct download (curl/WebFetch) fails due to network restrictions:
bash .scripts/fetch-arxiv.sh {arxiv_id}
The script manages the arxiv-fetch branch internally; callers do not need to switch branches or manage git state.
For Codex sub-agents, use the same permission-handling rule above.
The remote arxiv-fetch branch is ephemeral and requires no manual cleanup. Local files in literature/papers/ can be deleted freely when no longer needed.