rn session push

Upload a Claude Code session to rockstar.ninja.

rn session push [session-id]

Alias: rn s push

Arguments

If no session ID is given, rn selects the most recent session from the current project directory. If you're not in a project directory, it selects from all projects.

You can provide a full session UUID or a partial prefix to match.

Flags

Flag Short Type Description
--title string Custom title for the session
--expires string Expiry duration (e.g., 24h, 7d, 30d)
--public bool Make the session publicly visible
--secret bool Make the session secret (unlisted)
--private bool Make the session private (only you can view)
--redact -R string Literal string to redact (repeatable)
--verbose -v bool Show redaction details and timing

Privacy

If no privacy flag is specified, the default from your config is used (see Configuration). The config default is secret.

  • public — appears on your profile page, discoverable
  • secret — only accessible via direct URL (the default)
  • private — only accessible to you; others see a 404

Expiration

The --expires flag accepts duration strings like 24h, 7d, 30d, or 365d. After expiration, the session becomes inaccessible and is cleaned up by a background process.

If no expiration is set (and no default is configured), the session persists until you delete it.

Redaction

Secrets are stripped client-side before data leaves your machine. Your config file's [[redact]] rules are applied first, then any ad-hoc -R flags. The server intentionally does not apply its own redaction, because enforced patterns could interfere with how sessions are displayed — what you upload is what gets stored.

Use --verbose to see which redaction rules matched and how many replacements were made.

The -R flag is repeatable:

rn session push -R "my-secret-key" -R "another-secret"

Versioning

Pushing the same session again creates a new version. The URL stays the same — viewers see the latest version by default, with access to previous versions.

Projects

When you push a session, it is automatically associated with a project based on your local project directory. For example, pushing from ~/Projects/my-app/ creates or links to a project named my-app. The project association is shown in the push output.

Streaming response

The push is streamed — you'll see progress for each step:

  1. Redacting secrets
  2. Compressing session data
  3. Generating preview image
  4. Storing

A pushed session on rockstar.ninjaA pushed session on rockstar.ninja

Examples

Push the most recent session:

rn session push

Push with a title and 7-day expiry:

rn session push --title "refactoring the auth module" --expires 7d

Push a specific session publicly:

rn session push abc12345 --public

Push with ad-hoc redaction:

rn session push -R "sk-my-actual-api-key" -v