/pixee-cli:pixee-sharedfrom pixee-cli
Documents global flags, output formats, exit codes, error handling, and TLS trust troubleshooting shared by all Pixee CLI subcommands.
Ships in pixee-cli. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Conventions shared by every pixee subcommand. Read this before using any command-group skill
(pixee-api, pixee-repo, pixee-workflow, pixee-auth).
brew tap pixee/pixee
brew install pixee
# or grab the archive for your platform from:
# https://github.com/pixee/pixee-cli/releases/latest
pixee --version # prints the release version baked into the binary
When downloading an archive directly, verify it against the SHA256SUMS manifest published on the
release before extracting the binary. Download the manifest into the same directory as the archive,
then check it (--ignore-missing limits the check to the archives actually downloaded):
sha256sum --ignore-missing -c SHA256SUMS # Linux
shasum -a 256 --ignore-missing -c SHA256SUMS # macOS
pixee reads an API token and server URL from environment variables (PIXEE_TOKEN,
PIXEE_SERVER) or from a config file written by pixee auth login. Env vars take precedence over
stored config.
When credentials are missing, invalid, or point at the wrong server, commands exit with code 2 and a message like:
Authentication failed. Run `pixee auth login` to reconfigure.
For the fix — storing a token, the --token - stdin pattern, config file locations,
server-precedence rules, and pixee auth status — see pixee-auth.
--server <url> — override the configured server for a single invocation.--token <token> — API token for this invocation; overrides PIXEE_TOKEN and the stored
config. See pixee-auth for the full credential-resolution order and the --token - stdin
pattern.--output text|json — choose the output format. Default is text (flat, line-oriented output
suitable for grep/awk). Use json for machine-readable output and pipe to jq for
filtering; pixee does not embed a jq implementation.--json — shorthand for --output json.--insecure — skip TLS certificate verification for the invocation (also enabled by
PIXEE_INSECURE_TLS=true). Prints a warning to stderr. Last resort for connecting to a Pixee
Enterprise Server with a privately signed certificate — see TLS trust failures below for the
preferred fix.--no-pager — write straight to stdout instead of through a pager.| Code | Meaning |
|---|---|
| 0 | Success |
| 1 | General error |
| 2 | Authentication failure — token missing, expired, invalid, or wrong server. Fix via pixee-auth. |
| 3 | Resource not found |
Scripts and agents can branch on these codes without parsing stderr.
PIXEE_TOKEN (env var) or pixee auth login --token - (stdin) over passing a token as a
flag argument; flag arguments land in shell history. See pixee-auth for the full stdin
pattern.The Pixee API returns errors as application/problem+json. With --output text, pixee renders
the problem document's title, detail, and instance fields in a compact, human-readable form.
With --output json, the raw document is passed through unchanged.
Authentication failures exit with code 2. Not-found responses exit with code 3. Other problem responses exit with code 1.
pixee verifies certificates against its bundled Mozilla CA list, not the operating system's
trust store. When the user reports that pixee cannot reach an internal or enterprise Pixee
Server and the generic "Connection to ... failed" message looks like it might be a certificate
problem, read references/tls-troubleshooting.md. It
covers: confirming with curl that it's a trust failure (not DNS or a wrong URL), the preferred
fix (NODE_EXTRA_CA_CERTS pointing at the internal CA PEM), and --insecure as a last resort
with the security tradeoff to surface to the user.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub pixee/pixee-cli --plugin pixee-cli15 skills in this plugin
/pixee-analysisList, view, and delete Pixee analyses with filters and optional polling until the analysis reaches a terminal state./pixee-apiSend authenticated requests to any Pixee REST API endpoint./pixee-authAuthenticate to a Pixee deployment using the per-user OAuth2 device flow or the deployment's shared API key, choose which deployment commands target, mint bearer tokens for the REST API and observability endpoints, and inspect the current authentication state./pixee-coding-guidelinesList Pixee organization coding-guidelines documents and choose when long standards belong there rather than in preferences.Other plugins' skills for the same job