---
name: ramo-trial
description: Create and use a free 1 GB Ramo S3 trial bucket
---

# Ramo trial skill

Ramo is S3-compatible storage (https://s3-trial.ramo.io). This skill creates a free trial
(1 GB, 365 days) and performs file operations on it.
If you can execute shell commands, run these steps directly; if you cannot,
walk the user through them by hand instead.

## Rules for every step

- Show the user your plan before the first command that creates anything. Reading
  this file and the limits in step 5 creates nothing.
- Create one trial. If a signup call times out or you cannot tell whether it
  succeeded, stop and say so: a second call makes a second trial.
- The signup response holds a secret key and a portal token, each shown once. Never
  print the response, the secret key or the token: not as command output, not typed
  into a command, not in your reply. The commands below save the response to a
  private file and read from it.
- Test with a file you create for the purpose, never with the user's files, and
  download to a different path than the one you uploaded from.
- Never pipe a download into a shell. Save the helper script, let the user read it,
  then run the saved copy.
- When you finish, report the bucket, the endpoint, the expiry, where the
  credentials are stored and what you deleted. The trial and its keys stay valid
  until the expiry.

## 1. Choose a client, then create the trial (no auth)

Choose before you sign up. Each path below signs up once, in its own way, so use
one of them: running both creates two trials. Path-style addressing is the supported
and documented mode on both.

**The helper script** (works with or without aws-cli; needs sh, curl, openssl and
awk). Save it, read it, tell the user where it is, then run the saved copy:

```
curl -fsSLO https://ramo.io/ramo.sh
sh ramo.sh signup <label>
```

`signup` creates the trial, saves the credentials to a private file and prints only
the bucket, the endpoint, the quota and the expiry. It never puts a key or a token on
a command line, so it is the path to use on a machine other people share. It is a
first-class path, not a fallback: `signup | put | get | ls | rm | usage` cover every
operation below, and use aws-cli underneath when it is installed. Re-running `signup`
requires `--force`, which protects any existing stored credentials from being
overwritten by accident.

**Raw calls with aws-cli and jq.** One call creates the trial. The response goes to a
private file and only the HTTP status is printed: 201 means the trial exists.

```
mkdir -p "$HOME/.config/ramo" && chmod 700 "$HOME/.config/ramo"
curl -sS -X POST https://api.ramo.io/api/portal/trials \
    -H 'content-type: application/json' -d '{"name": "<label>"}' \
    -o "$HOME/.config/ramo/trial.json" -w '%{http_code}\n'
```

The response contains `endpoint`, `bucket`, `access_key`, `secret_key` (shown once),
`portal_token` (Bearer token for the management API), `quota_bytes`, `expires_at`, and
a `limits` object (the same figures `GET https://api.ramo.io/api/portal/trials/limits` returns, see step 5).
The secret is not retrievable again, so keep the file. Read the fields that are safe
to show, and nothing else, with:

```
jq '{endpoint, bucket, quota_bytes, expires_at}' "$HOME/.config/ramo/trial.json"
```

Errors come back as `{"errors":{"detail":"..."}}` with an HTTP status: 400 means
the name field must be a string, and 429 means you've hit the per-IP signup cap.
The edge counts every request against that cap, not just successful signups, so
retrying a malformed call still burns it; fix the request instead of spamming it.
503 covers two cases: trials disabled (terminal for now, try later) and trial
creation failed (safe to retry once). If the host does not resolve, the connection
times out, or it is otherwise unreachable, treat it as a platform outage: do not
retry in a loop, it is not one of the retryable cases above. A call that timed out
after it was sent may still have created a trial: say so instead of sending another.

## 2. Configure access

**The helper script** needs nothing more: it keeps credentials in
`$HOME/.config/ramo/credentials` (`RAMO_CRED_FILE` to override) and writes its own
aws-cli config alongside it (`RAMO_AWS_CFG_FILE` to override, defaults next to the
credentials file). The API base is `https://api.ramo.io` (`RAMO_API` to override),
and the script's own address is `https://ramo.io/ramo.sh` (`RAMO_SCRIPT_URL` to override,
for staging or a remapped host). To keep everything inside a sandbox directory, set
`RAMO_CRED_FILE` (and `RAMO_AWS_CFG_FILE` if also using aws-cli) before running any
`ramo.sh` command.

**Raw calls with aws-cli and jq:** fill a dedicated profile from the saved response.
The keys are read from the file by `jq`, so they never appear in what you type or in
what the commands print:

```
aws configure set --profile ramo-trial aws_access_key_id "$(jq -r .access_key "$HOME/.config/ramo/trial.json")"
aws configure set --profile ramo-trial aws_secret_access_key "$(jq -r .secret_key "$HOME/.config/ramo/trial.json")"
aws configure set --profile ramo-trial region us-east-1
aws configure set --profile ramo-trial s3.addressing_style path
```

A dedicated named profile, never the default one, so the trial can never clobber
the caller's existing AWS config. Every subsequent command carries
`--profile ramo-trial`. aws-cli stores the profile in `~/.aws/credentials` and
`~/.aws/config`; the response itself stays in `$HOME/.config/ramo`. While each of the
first two commands runs, its key is briefly visible in local process listings (`ps`,
`/proc/<pid>/cmdline`); on a shared machine use the helper script, which has no such
exposure.

## 3. File operations

Check the trial with a file made for the purpose. With the helper script:

```
d=$(mktemp -d) && printf 'ramo trial check\n' > "$d/ramo-check.txt"
sh ramo.sh put "$d/ramo-check.txt" ramo-check.txt
sh ramo.sh ls
sh ramo.sh get ramo-check.txt "$d/back.txt" && cmp "$d/ramo-check.txt" "$d/back.txt"
sh ramo.sh rm ramo-check.txt
```

With aws-cli, the same four operations. `<bucket>` and the endpoint are the values the
`jq` command in step 1 printed:

```
aws s3 cp <file> s3://<bucket>/ --profile ramo-trial --endpoint-url https://s3-trial.ramo.io
aws s3 ls s3://<bucket>/ --profile ramo-trial --endpoint-url https://s3-trial.ramo.io
aws s3 cp s3://<bucket>/<key> . --profile ramo-trial --endpoint-url https://s3-trial.ramo.io
aws s3 rm s3://<bucket>/<key> --profile ramo-trial --endpoint-url https://s3-trial.ramo.io
```

`<file>` is the test file you created, and the download goes to a different path than
the upload came from (replace `.` with one), so that comparing the two proves the
round trip. The helper's subcommands are `put <file> [key]`, `get <key> [dest]` and
`rm <key>`; `get` without a destination refuses to write over a file of the same name.
`ramo.sh ls --json` emits `{"objects": [...], "truncated": <bool>}` instead of the
rendered table, for programmatic use.

Uploads are capped at roughly 100 MB per request (Cloudflare's
proxied body limit on the trial tunnel path). `aws s3 cp` stays under this
transparently via its own automatic multipart upload; without aws-cli, `ramo.sh put`
sends a single PUT per call with no multipart support, so split
files larger than ~100 MB before uploading them that way.

The signup response's `endpoint` field (see step 1) is what every command above
actually talks to; it is persisted into the credentials file rather than printed
anywhere else, so an agent running against a remapped or staging-style host must
read it from there, not assume the illustrative `https://s3-trial.ramo.io` shown above.

## 4. Listing display (always render listings this way)

```
<bucket> · <n> objects · <used (this bucket)> / 1 GB trial quota

| Object | Size | Modified |
|--------|------|----------|
| <key> | <human size> | <YYYY-MM-DD HH:MM UTC> |
```

This header line is bucket-scoped usage; the trial-wide aggregate across every
bucket in the trial is at `GET https://api.ramo.io/api/portal/usage`. Keys containing
`|` must be escaped as `\|` so the markdown table doesn't break. Without aws-cli,
`ramo.sh ls` fetches a single page (the first 1000 keys) and marks the listing
truncated instead of paginating; aws-cli itself always paginates fully.

## 5. Management API

Usage, more buckets, rotation: Bearer `portal_token` against https://api.ramo.io/api/portal/*
(OpenAPI: https://api.ramo.io/api/openapi). Limits: 1 GB total per trial,
expires after 365 days, max 3 buckets per trial.
Signups are capped at 5 per IP per day; the edge answers
over-cap signups with a JSON 429, so back off rather than retry immediately. Data-plane
S3 calls carry their own `X-Ratelimit-*` response headers; that is a separate budget
from the signup cap above, not the same one showing up twice. Do not throttle S3
calls against the signup limit. A trial over quota gets its writes denied at the
storage layer and 403s on new buckets, but credentials can still be minted or rotated
so you can delete data and get back under quota; access restores on the watchdog's
next pass.
Fetch the same limit figures programmatically, no auth required (useful for checking
before assuming the prose above is still current):

```
# quota, bucket cap, ttl, signup cap: no auth needed
$ curl -s https://api.ramo.io/api/portal/trials/limits
```

Docs: https://docs.ramo.io/trial
