Examples

Runnable examples live in the repository root examples/:

  • score-stdin.sh scores stdin or a built-in sentence, then repeats the exact bytes so the second result can show a cache hit.
  • rewrite-file.sh writes rewritten text and the complete JSON report separately.
  • verify-corpus.sh verifies the repository's curated fixture entirely offline.

The command paths and output modes are the same ones exercised in walkthrough-scoring, walkthrough-offline-rewrite, and the executed quick start.

Credential expectations

score-stdin.sh needs at least one detector key. rewrite-file.sh needs BRAMA_TOKEN plus at least one detector key. verify-corpus.sh needs neither credentials nor network.

Global CLI options must precede the subcommand. The examples use environment configuration so the command itself stays readable; see configuration.

Maintained as part of the website-owned Skryba documentation corpus.