sku

command module
v0.1.0-rc.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

README

sku

Agent-friendly cloud & LLM pricing CLI.

Status: pre-alpha (M0). Not yet installable.

See docs/superpowers/specs/2026-04-18-sku-design.md for the design.

License

Apache-2.0 — see LICENSE.

Documentation

Overview

Binary sku is the agent-friendly cloud & LLM pricing CLI.

Keeping main.go at the module root makes `go install github.com/sofq/sku@latest` work without a `/cmd/sku` path suffix. All logic lives in cmd/sku.

Directories

Path Synopsis
cmd
sku
Package sku wires the Cobra command tree for the sku CLI.
Package sku wires the Cobra command tree for the sku CLI.
internal
batch
Package batch provides the in-process handler registry and NDJSON/array dispatcher that powers `sku batch`.
Package batch provides the in-process handler registry and NDJSON/array dispatcher that powers `sku batch`.
catalog
Package catalog provides a read-only view over a sku SQLite shard.
Package catalog provides a read-only view over a sku SQLite shard.
compare
Package compare composes cross-provider equivalence queries over multiple catalog shards.
Package compare composes cross-provider equivalence queries over multiple catalog shards.
compare/kinds
Package kinds contains per-kind equivalence queries used by internal/compare.
Package kinds contains per-kind equivalence queries used by internal/compare.
config
Package config parses ~/.config/sku/config.yaml (or platform equivalent) and exposes the merged Profile struct.
Package config parses ~/.config/sku/config.yaml (or platform equivalent) and exposes the merged Profile struct.
errors
Package errors implements the spec §4 error envelope + exit-code taxonomy.
Package errors implements the spec §4 error envelope + exit-code taxonomy.
estimate
Package estimate turns workload declarations into line-item costs.
Package estimate turns workload declarations into line-item costs.
output
Package output renders catalog.Row values into the spec §4 JSON envelope.
Package output renders catalog.Row values into the spec §4 JSON envelope.
schema
Package schema holds shared data-schema primitives used by both the catalog reader and (eventually) code-generated clients.
Package schema holds shared data-schema primitives used by both the catalog reader and (eventually) code-generated clients.
updater
Package updater downloads and installs pricing shards.
Package updater downloads and installs pricing shards.
version
Package version exposes build-time metadata injected by goreleaser via -ldflags.
Package version exposes build-time metadata injected by goreleaser via -ldflags.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL