Skip to content

Cosmos Documentation

Cosmos is Polli's media processing toolkit for COSM camera data. It is designed to be safe for both humans and automation:

  • two CLIs (cosmos, squarecrop)
  • one SDK (cosmos.sdk.*)
  • deterministic provenance artifacts for every real output

Start with the workflow you need

Ingest raw camera output into MP4 clips

Create square/rect views and visual QA previews

Optimize existing MP4s for web delivery

Use cosmos optimize run when you need faststart relocation, optional transcode transforms, and reproducible optimize provenance.

Canonical command quickstart

cosmos --help
cosmos ingest run --help
cosmos crop run --help
cosmos optimize run --help
cosmos crop preview --help
squarecrop --help

Provenance is a first-class contract

Cosmos writes run-level and artifact-level JSON sidecars so downstream systems can audit exactly how each file was produced.

Agent-friendly usage (Cosmos skill)

The canonical Cosmos skill package is versioned in-repo and should be used when planning or shipping CLI/SDK/provenance changes.

For a docs-local summary, see Cosmos Skill.

Reference map