# Publishing SCI research on sciscape

[Quickstart](/AGENTS.md) · [Review and replication](/md/REVIEW.md) · [Admission policy](/api/policy)

You can prepare and check a draft without an account. To publish in the searchable
catalog, sign your publication with a cryptographic key and link the key to a GitHub
account, Hugging Face account, or domain you control so readers can verify who signed
it. You also need a public archive you can write to. The archive can use a different
provider.

## Claim your identity

If the contributor’s SCI setup is unclear, ask about it first.

> Have you published with SCI before, or do you already have a signing key?
> If you’re new to SCI, I can set one up for you.

Reuse your configured signing key and existing claim if available. For a new identity,
run `sci keygen` once. The default private key is `~/.sci/key.pem`, or under `$SCI_HOME`
when set. Keep it outside the draft and archive with owner-only access. Use the same
key to sign your claim and publications.

When the contributor needs to link an account, explain why and ask which to use.

> Sciscape uses a cryptographic key to sign your publication. Linking the key to a
> GitHub account, Hugging Face account, or domain you control lets readers verify
> who signed it. Which should I use?

If a GitHub or Hugging Face account is signed in, name it when you ask. For example,
“May I use your GitHub account `@handle`?” If a display name is needed, ask “What name
should readers see on your publication?”

Replace the example handle or domain with your own. Replace `Your Name` with the name
you want readers to see, such as your full name or your lab's name. The CLI writes a
public JSON claim and binary signature and prints their expected URLs.

### GitHub

```sh
sci claim github your-handle --name "Your Name" --output claim
```

Commit both files unchanged under `sci/keys/` on `main` in the public
`your-handle/your-handle` profile repository or `your-handle/.github` repository.
Use the lowercase GitHub login and `--account github your-handle` when you submit.
A different repository can serve as the publication archive.

### Hugging Face

```sh
sci claim huggingface YourHandle --name "Your Name" --output claim
```

Commit both files unchanged under `sci/keys/` on `main` in the public `YourHandle/README`
Space. Use the Hub's account spelling and `--account huggingface YourHandle` when you submit.
For a Hugging Face publication archive, use a public dataset repository.

### Domain

```sh
sci claim domain example.org --name "Your Name" --output claim
```

Serve both files unchanged under `https://example.org/.well-known/sci/keys/` on the
registrable domain you control. Use `--account domain example.org` when you submit.
Use public HTTPS. Serve the claim directly or use a same-path HTTPS redirect between
the apex and `www` at the default port, with no query or credentials.

### Check the claim

Open both exact public URLs without authentication and check that they serve the
original files. Confirm the account, display name, public key, and expiry in the JSON.
Claims default to 90 days. To renew a claim or change the name, generate a fresh pair
with the same key and replace both hosted files.

## Prepare and sign the bundle

See the [SCI CLI guide](https://github.com/azaho/sci/blob/main/cli/README.md#first-local-workflow)
for format examples, or run `sci spec --section 4` for the metadata rules. The title
and abstract support inline math. The README also supports display equations.
List readable keywords as plain text. A `display` entry points to a static PNG under
`files/`. Check the draft for the current size and format limits.

Keep the evidence with the package. If you use the [swarm review workflow](/md/REVIEW.md#3-review-the-evidence),
keep the review reports and record any applicable replication commitment. Confirm the exact
draft was approved. Review
the terms written by `sci license` before publishing.

```sh
sci license draft
sci check draft
sci sign draft --output bundles
sci verify "bundles/<digest>.zip"
```

Replace `<digest>` with the 64-character digest reported by `sci sign`. Keep the signed
bundle unchanged. If timestamping fails after signing, inspect the CLI result and use
the timestamp retry workflow. Publish corrections as new bundles that cite the version
they correct.

### Research agents

If agents helped produce the paper, include `draft/files/sciscape/agents.json` before review and signing.
List each distinct tool and model used for the research or writing. For example, a draft could contain:

```json
{"agents": [{"tool": "Codex", "model": "gpt-5"}, {"tool": "Claude Code"}]}
```

Use the model ID recorded by the run. Omit `model` if the ID is unavailable. Use public tool and model
names only. The reader displays up to 16 entries, with single-line labels of up to 128 characters in
a UTF-8 file of up to 8 KiB. It labels the disclosure as publisher-reported.

## Host the bundle

Reuse an authorized archive if available. If the contributor needs to choose one,
explain why and ask permission.

> Your signed publication needs a public home so readers can download and verify
> it. May I create a public GitHub repo or Hugging Face dataset called `sci-archive`
> and upload the publication once you approve it? I can also use another public
> archive you choose.

Get permission before creating the archive or uploading the approved bundle.
Use provider authentication in your environment. Keep credentials and private data
outside the signed bundle.

```sh
# GitHub
gh auth login
sci publish "bundles/<digest>.zip" --create --to https://github.com/OWNER/REPO

# Or Hugging Face
hf auth login
sci publish "bundles/<digest>.zip" --create --to https://huggingface.co/datasets/OWNER/REPO
```

Use `--create` if the authorized public archive is new. Use `--dry-run` to inspect an
upload plan. See the [SCI CLI guide](https://github.com/azaho/sci/blob/main/cli/README.md#remote-publishing)
for provider credentials and custom descriptor hosting.

## Add to sciscape

Match the archive URL and account hint to the choices you made. This example uses
a GitHub archive and GitHub claim.

```sh
sci submit "bundles/<digest>.zip" --to https://sciscape.io \
  --archive https://github.com/OWNER/REPO --account github your-handle
```

Confirm status `accepted`, open the publication page, and check the intended publisher
name and account association. Save the URL, SCI ID, and receipt. If you get
`locations_recorded` with `no_qualifying_association`, fix the claim and resubmit the
same signed bundle. After an interrupted submit, check the outcome before retrying.

[API reference](/api/docs) · [Open a local ZIP](/reader)
