Manages the writing and documentation side of a research project: scaffolds Quarto, GitHub Pages, and dev container infrastructure, creates Markdown slide decks alongside papers, shows rendered output, and saves iterations via git.
Ships in asta-tools. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Manage the writing/docs side of a research project: scaffold infrastructure as needed, show the rendered work, save iterations. For managing the research task graph itself (planning, executing typed tasks), use asta-flows.
assets/DEVELOPER.md is the shared developer guide. Link to it from the project README at the selected asta-plugins ref; do not copy generic instructions into every project. This SKILL.md is the agent-specific procedure.
Your first reply when a workspace starts in a GitHub repo, or gets one, is a short message. Asked to start a workspace in a new or empty repo, to create its repo or to share a workspace that has none, read repo setup and send its message, and nothing else: no plan or questions first. A repo that already holds a project keeps its own setup; check its defaults as Overleaf sync setup does. Asked to pair a paper with Overleaf, likewise send Overleaf sync setup's.
Give the user a web URL for the rendered work. Two URL sources, pick based on your context:
make preview in the background. Pass the URL Quarto prints (localhost on host/dev container; Codespaces-forwarded URL in a Codespace).make deployed-url to fetch the deployed URL from GitHub Pages CI.Run asta workspace what-changed [ref] and share the page.
Before merging a paper PR or pushing paper edits directly to the default branch
where allowed, check for an open PR labeled asta:overleaf-sync. Let it merge
first so newer co-author edits conflict on your change before it lands. If it
has not caught up, run asta workspace overleaf sync --wait 1800 where the
Overleaf token is available (in the background is fine; act on its final
Sync outcome: line and exit code), then update your branch. Sync the same way
before editing the paper and after merging a paper PR. Resolve a sync conflict on
that PR and rerun its checks; do not bypass it by advancing the .asta/overleaf
pairing record manually.
For scheduling and repository status, read
Overleaf sync; for invited-coauthor
access, setup; for lock recovery,
Interrupted runs.
git add + git commit -m "<concise message>". Don't git push without explicit user approval.
Before opening any workspace PR, both local and headless agents run make check. The pin in .github/workflows/docs.yml works like a lockfile: outside CI and the Overleaf sync runner, make check moves a release pin that is behind the installed asta forward and prints Moved the workspace pin ..., without committing. CI and Overleaf runs keep the committed pin; a headless agent outside those runners uses the same pin update flow as a local agent.
make check.make check passed and moved the pin, commit only that change as its own commit: git commit -m "Move workspace pin to asta-plugins@<release>" -- .github/workflows/docs.yml.make check failed after moving the pin, leave the move uncommitted and run it again on the old release, pinned by commit so sync leaves it alone. Resolve the old release's commit with git ls-remote https://github.com/allenai/asta-plugins.git 'refs/tags/<old release>^{}'; if that exact peeled ref is absent, use git ls-remote https://github.com/allenai/asta-plugins.git 'refs/tags/<old release>' for a lightweight tag. Require one full 40-hex SHA before replacing the ref in docs.yml, then run make check. If that passes, the new release broke the build: commit the SHA pin as its own commit and say in the PR that the pin holds the old release and why. If it fails too, the new release isn't the cause: git checkout -- .github/workflows/docs.yml restores the old release (no pin commit has been made); fix the build and repeat the check before opening the PR.For a headless agent (the user only sees results via deployed URL):
main if the repo is empty. Follow repo setup, including its managed settings, private Pages check and initial-history reconciliation. On a repo with no commits, the first branch pushed becomes the default — establish main before pushing a feature or Pages branch. A README created on GitHub has its own history; fetch and merge it into an existing local workspace before pushing, preserving the workspace's files and commits. Never force-push past it.git push -u origin HEAD:<feature-branch>, gh pr create --fill, then make deployed-url and report the URL.git push, make deployed-url.gh pr merge, make deployed-url.Don't merge a PR without explicit user approval.
When asta workspace overleaf pull or publish refuses, or a sync PR conflicts, follow the section its message links in workflows/overleaf-recovery.md.
Add components only when needed; don't proactively offer them, except when you create a workspace's GitHub repo or set up one that exists but is empty (asked to share it, a Codespace, or a remote start in an empty repo). Then apply Asta's managed settings without asking about them: follow workflows/repo-setup.md.
| Component | When to add |
|---|---|
| Quarto build tool | Always — it's the project structure. |
| Version workflow stub | Always for managed rules; enable automatic Pages deploy only when needed. |
| GitHub Pages deploy | When you have no user-reachable port, the user asks for a deployed URL, or the owner accepts the repo defaults. |
| Dev container | User wants to avoid installing host dependencies, or wants browser-only access from another machine. See subsection for the two flows. |
Before writing any file in the steps below, check whether the target path already exists. If it does, ask the user before overwriting, or merge the asset's contents into the existing file.
assets/_quarto.yml to project root; fill {{TITLE}} and {{REPO_URL}}
(use the canonical GitHub URL, e.g. https://github.com/{owner}/{repo}).index.qmd with title: frontmatter.references.bib.assets/evidence.yml to the project root (the keyed quote store — keep it even while empty). The Makefile fetches the evidence extension and Asta theme from this repository before each render; keep both managed rather than copying their extension directories. The scaffold opens in dark mode regardless of the reader's system setting and includes a persistent toggle to light. Both modes use the same typography and layout, with pinned section headings on long pages. Preserve a project's own theme: and CSS; see the developer guide's Site appearance section for customization. See Back claims with supporting evidence below.assets/gitignore missing from the project's .gitignore (create it if absent; don't overwrite existing entries).assets/Makefile.managed as Makefile. Shared rules and scripts are fetched by asta workspace sync into ignored .asta/cache/; do not create scripts/ or copy helpers unless the user wants to customize them. A project-owned workspace.mk or scripts/<name> takes precedence. Preserve existing project targets when adopting the scaffold.assets/docs.yml workflow stub even for local-only projects: it selects the managed version. For local-only use, or until Pages setup verifies the agreed site visibility, remove its on.push and on.pull_request events and use on.workflow_dispatch so publishing requires manual activation. Keep the jobs.docs.uses line; sync reads it. Preserve an existing version policy (@main canary, @latest release channel, or a fixed release/commit). Do not upgrade or repin it as part of unrelated setup.assets/README.md; fill {{TITLE}}, {{DESCRIPTION}} and {{ASTA_PLUGINS_REF}}. Use the ref in .github/workflows/docs.yml for the guide link. The upstream latest branch tracks the released guide; verify the link for a custom ref.asta workspace sync --require-scripts, then make check. Keep customized copies. Before removing old unmodified helpers, require a successful refresh and validate the project from an empty cache.make preview in the background and gives its URL), so that they see their workspace as it starts rather than being told how to open it.workflows/overleaf-sync.md.Add this only when the user wants to write LaTeX directly. Quarto-to-PDF remains an on-demand quarto render <page>.qmd --to pdf; do not create or commit its generated .tex, PDF, HTML or viewer pages.
assets/paper/main.tex and assets/paper/latexmkrc into paper/ (or the chosen paper directory), preserving existing paper sources and engine settings. Fill {{TITLE}}, escaping LaTeX special characters such as &, %, _, #, $, braces and backslashes. When built from the paper directory, the rc searches upward for references.bib, stopping at the Git root; add citations as references become available and uncomment the starter's bibliography line. An empty project builds without a reference list. Keep the separate paper's writing independent from the Quarto pages. project.md belongs to asta-assistant's brainstorm, not this scaffold.assets/paper/gitignore to .gitignore, replacing {{PAPER_DIR}} with the chosen relative directory (paper by default). Repeat for each paper, including nested directories; escape any Git ignore pattern characters in directory names. The source and rc are committed; build outputs and generated viewers are ignored. A committed custom viewer still wins after its ignore rule is removed.-tex image in the dev container. It supplies TeX, LaTeX Workshop and editor defaults; do not copy .vscode/settings.json. Retain the project's chosen version/channel when selecting the image.make paper and make paper-clean; PAPER_DIR=<directory> selects another paper. Existing projects on older refs can keep their own targets until upgrading to a ref that provides these. Projects can override a target or eject workspace.mk.<paper-dir>/html/index.qmd. Add it to project.render only when the project has an explicit render allowlist, and link <paper-dir>/html/index.html from the site. Keep existing page lists/navbar entries. Shared viewer generation handles the required JavaScript resource; do not commit viewer source.make paper (with PAPER_DIR for a non-default directory) and make check. If the selected released rules do not yet provide paper, use (cd paper && latexmk -synctex=1 -interaction=nonstopmode -halt-on-error -file-line-error -outdir=build main.tex) with the chosen directory, or LaTeX Workshop instead; do not silently change the project's ref or add a copied Make recipe. The shared CI paper preview already works on these older refs. With Pages enabled, verify the PR preview's paper PDF, its paper page and What changed. One TeX image supports multiple papers: discovery finds main.tex with a neighboring latexmkrc, including nested directories.When the user asks for slides, use Quarto reveal.js via the managed
asta-slides extension. Copy assets/slides/slides.qmd into a deck's own
folder under slides/ (for example slides/findings/slides.qmd), fill its title and write the
talk in Markdown. Keep images, optional SCSS, scripts and Reveal plugins beside
that source. Several deck folders are supported at any depth; slides/<name>/ is the convention.
The build generates a viewer page beside each deck (<deck-dir>/index.qmd, uncommitted, as for papers) that plays it inside the site at 16:9, with expand, Esc, Reveal's navigation keys working without a click into the deck, and a pop-out button that opens slides.html on its own at the current slide; link that page from the sidebar and overview. Append assets/slides/gitignore to .gitignore with {{DECK_DIR}} replaced by the deck's folder (escape Git ignore pattern characters); the build also adds that line when it is missing. Commit a custom index.qmd to override it. A deck can't live in a paper's html/ folder: the build skips it there with a warning.
Use # for section headings, ## for slides, and Reveal's usual fragments for
builds. asta-slides: {section-slides: false} makes # headings name
sections for the headline only, with no divider slide (as Beamer's \section).
.dim-previous optionally dims previous fragments. The extension adds
the Asta theme, 16:9 dimensions, a slide number (and arrows, when Quarto's
controls: auto shows them) inside the slide, and a headline listing every
section with the current one highlighted (section-header: current shows only
the current name). section-header: false hides the line while preserving the
title spacing for a deck's own content. No section headings means no section line. Keep all deck additions in slide units, never vw/vh or window-fixed
positioning. For SCSS variables, independent opt-outs and ejection, see
assets/_extensions/asta-slides/README.md.
Before the first fetch in an existing workspace, append _extensions/asta-slides/
to its .gitignore if missing (preserve existing entries). Remove that entry
only when deliberately committing an ejected extension.
make workspace-assets fetches the extension from the selected workspace ref;
make check renders decks with the site. Preserve existing render and navigation
lists: if either is explicit, add the deck to it. In an explicit sidebar, label
the entry text: "Slides: <title>" with the deck as href, and word links from
other pages as slides (for example "Presentation slides"), so readers know a
link opens a deck rather than a page. An explicit project.render
list needs each deck's <deck-dir>/slides.qmd and <deck-dir>/index.qmd (or globs
covering every deck folder, wherever it is), or a single-file
quarto render slides/<name>/slides.qmd runs outside the project and cannot find
the site-root _extensions/asta-slides. The default automatic sidebar
links decks by title. Each deck publishes as <deck-dir>/slides.html; its PR
preview has the same path, and What changed lists slide-level differences with
links to the changed slides.
Share the rendered slides.html as the standalone page: fonts, scripts and math
are embedded by default. The claude.ai artifact viewer currently refuses its
data: stylesheets, so sharing on that host is outside this feature's scope.
The scaffold fetches a small Quarto extension (_extensions/evidence/) from asta-plugins before each render rather than vendoring a copy that can drift. Managed projects use the ref selected in .github/workflows/docs.yml; change that one ref and run make update-workspace to upgrade. A standalone, ejected Makefile can set ASTA_PLUGINS_REF separately. The extension lets a factual claim in the prose carry the evidence backing it: the claim gets a subtle dotted underline, and hovering (or keyboard-focusing) it reveals a verbatim quote plus a body-style citation. It renders with pure CSS — so it also survives onto the what-changed diff page, where a reviewer can check each claim's backing without leaving the diff.
When you write a claim you looked up, back it: add a keyed entry to evidence.yml with the verbatim quote, its cite key (add the paper to references.bib), an optional native citeproc locator (p. 4, sec. 3.2, abstract, …), and optional provenance:. Provenance must record only observed facts: use the exact CLI subcommand (for example, asta papers snippet-search) as method, use the canonical asta:// URI returned for an indexed Asta document as url, and omit unknown fields rather than inferring a skill or producer name. Then mark the claim in the .qmd:
NatureBench has [90 tasks]{.ev key="naturebench-count"}.
Only ever put a verbatim quotation in quote: — there is no paraphrase mode; state your own wording in the prose. Full field reference and design notes are in _extensions/evidence/README.md.
Structural validation of these entries belongs in deterministic build tooling. Whether a claim needs evidence at all, and whether a quote actually supports the claim as worded, is a judgement call — load the check-claims skill for that, both before you open a PR and when reviewing one.
.github/workflows/docs.yml stub added by Quarto build tool; do not copy it a second time. For a site in a subfolder, keep the one stub at the repository root with site-dir naming the subfolder; GitHub runs only root workflows, and asta workspace sync and the pin move use that root stub, so add no docs.yml under the subfolder. Keep it manual-only until the Pages visibility check below succeeds, then enable on.push and on.pull_request. It's a thin stub — the build/deploy/preview machinery lives in this repo's reusable workflow (.github/workflows/workspace-quarto-site.yml), so scaffolded projects pick up fixes without re-copying. Project-specific quality gates go in the project's make check target, which the reusable workflow calls. When adopting an existing project, follow Quarto build tool to merge the stub and a Makefile with a check target; preserve its version policy and existing rules.workflows/repo-setup.md: recommend repo protections (default-branch rulesets, required docs checks). Read workflows/repo-protections.md and follow it before proposing or applying any.On every PR the workflow publishes a full rendered preview under
<pages>/pr-preview/pr-<N>/ and a what-changed.html beside it. The latter
highlights rendered additions and removals against the deployed base site and
collapses unchanged sections. The single preview comment links to the changes
first and the full preview second, so reviewers can inspect the affected
content directly.
Copy assets/devcontainer.json to .devcontainer/devcontainer.json. If the project has a paper/, change image to the -tex variant (ghcr.io/allenai/asta:latest-tex, or <version>-tex when pinned) so LaTeX Workshop builds with the same TeX packages as the PR preview. The -tex image adds the LaTeX Workshop extension through its dev container metadata, so do not list it in devcontainer.json; one image covers any number of papers. Then pick the flow that matches the user's intent:
make dev to open VS Code attached to the local container.gh codespace create and give the user the URL. Authenticate with asta auth login in the codespace terminal (persisted across rebuilds) or the optional ASTA_TOKEN Codespaces secret. Port 4848 raises a notification (onAutoForward: notify) and the forwarded preview URL is printed in the attach terminal. Open either link in a separate browser tab. localhost:4848 in Simple Browser does not reach a browser-based codespace's forwarded port, and a private forwarded URL may fail in its embedded frame. Local VS Code can use Ports → Preview in Editor.assets/DEVELOPER.md (opens in a new tab)assets/Makefile (opens in a new tab)assets/Makefile.managed (opens in a new tab)assets/README.md (opens in a new tab)assets/_extensions/asta-slides/README.md (opens in a new tab)assets/_extensions/asta-slides/_extension.yml (opens in a new tab)assets/_extensions/asta-slides/asta-slides.js (opens in a new tab)assets/_extensions/asta-slides/asta-slides.lua (opens in a new tab)assets/_extensions/asta-slides/asta-slides.scss (opens in a new tab)assets/_extensions/asta-slides/chrome.css (opens in a new tab)assets/_extensions/asta-slides/fonts.css (opens in a new tab)assets/_extensions/asta-slides/fonts/Manrope-OFL.txt (opens in a new tab)assets/_extensions/asta-slides/fonts/Manrope.woff2 (opens in a new tab)assets/_extensions/asta-slides/fonts/RobotoMono-OFL.txt (opens in a new tab)assets/_extensions/asta-slides/fonts/RobotoMono.woff2 (opens in a new tab)assets/_extensions/asta-slides/plugin.yml (opens in a new tab)assets/_extensions/asta-theme/README.md (opens in a new tab)assets/_extensions/asta-theme/asta-head.html (opens in a new tab)assets/_extensions/asta-theme/asta.css (opens in a new tab)assets/_extensions/asta-theme/dark.scss (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
research, quarto, github-pages, dev-container, slide-decks, overleaf-sync
/asta-tools:workspacefrom asta-tools
npx claudepluginhub allenai/asta-plugins --plugin asta-tools17 skills in this plugin
/analyze-dataThis skill should be used when the user asks to "analyze this dataset", "run datavoyager", "run data voyager", "explore this data", "what's in this CSV", "statistical analysis of", "find patterns in", or wants an AI-driven, code-executing analysis of a tabular dataset that answers a specific research question./artifactsUse this skill to export and open A2A agent task outputs — "export the task results", "convert the task output to HTML", or work with the structured artifacts produced by an A2A agent task run./asta-cliInstall or update the `asta` CLI to the version pinned by this plugin. Invoke whenever `asta` is not on PATH (e.g. `command not found` for `asta`) or when a subcommand/flag appears missing — that signals a stale install needing an update./asta-documentsLocal document metadata index for files used by Asta skills and tools. Use this skill when the user asks to store a document "in Asta" or retrieve "from Asta". Use it when the user references an "Asta document" or anything with an `asta://` URI./autodiscoveryCreate, configure, and monitor AutoDiscovery runs — either via the hosted service (`asta autodiscovery`) or via the local CLI (`auto-discovery`). Use when the user asks about their runs, experiments, discoveries, wants to check status, or wants to start a new discovery run./check-claimsJudge whether factual claims in an evidence-backed research write-up are substantiated — which claims assert something checkable with no evidence attached, and whether an attached quote supports the claim as worded. Works over whatever scope the request names — a pull request diff, your own uncommitted change, one file, or a whole project audited end to end. Triggers on "check my claims", "is this claim supported", "evidence review", "audit the evidence", or review of research prose using `.ev` evidence.Other plugins' skills for the same job