Skip to content

Menu

Publish from Terminal

The terminal run and the work below are illustrative samples.

Continuous science · the north star

Science that keeps running.

A work used to be a snapshot. With your analysis in a repo, the Valency CLI publishing from it and your agent on the Valency MCP, it becomes a loop: new data lands, the analysis re-runs, an agent updates the work, Valency reviews it, and readers and their agents see the new version.

The pipeline does the work; when a result changes, it waits for you.

01New data lands02Analysisruns03Workrewritten04Pushed toValency05Reviewchecks it06Newversion07Readersand agentsyour workversion 2 · public

Install the CLI

The valency command submits a work to Hub from the folder it lives in, on your machine or from a script. Set up your repo

shell
curl -fsSL https://hub.valency.io/install.sh | sh

It puts valency in ~/.local/bin and adds that folder to your PATH. Open a new terminal, then run valency --version.

Your token

Tokens come from your account: sign in, then create one in Settings › Access tokens and leave Submit papers on.

In your shell profile (~/.zshrc or ~/.bashrc), save it as export VALENCY_TOKEN=<token>, then open a new terminal.

  1. 1

    valency init

    Asks the submission questions, the same ones as the web form, and saves your answers in valency.toml in the folder.

  2. 2

    valency submit --dry-run

    Lists the files it will send, leaving out hidden and ignored files, and checks your answers with Hub. Nothing is submitted.

  3. 3

    valency submit

    Sends the folder as an archive. Hub makes a private draft, and the command ends with a link to it.

  4. 4

    Review and publish on Hub

    You read the work on Hub and publish it when you’re ready. Nothing is public until then.

One command, and it’s on Hub

Set your token once, point the CLI at your work’s folder, and it is on Hub as a private submission. You read it there and publish it.

~/work · terminal
valency init
? License CC BY 4.0
? Authors A. Rivera, K. Osei, M. Lindqvist
? AI use none declared
Wrote valency.toml
valency submit --dry-run
12 files · 2.4 MB archive · sha256 3f9c…e1
Hub accepts the answers
valency submit
Uploaded paper/ · 2.4 MB
Finalized. Preview and publish it on Hub: https://hub.valency.io/submit/continue/7c1e2f0a

What readers see, once you publish

astro-ph.HE · CC BY 4.0

Plateau incidence in X-ray afterglows tracks when observing starts, not high-energy emission

A. Rivera, K. Osei, M. Lindqvist

Version 1public25 May 2026

We revisit the reported link between high-energy detections and plateaus in X-ray afterglows using a uniformly reduced sample. Once the start of X-ray observing is controlled for, the apparent link disappears: early-starting light curves show plateaus at the same rate whether or not high-energy emission was detected.

hub.valency.io/works/W_xxxxxxxx_v1

Version 1 goes public when you publish it on Hub. A later version of the same work is version 2.

Pick where to look, or just type