一键导入
pixee-shared
Describe the global flags, output format, exit codes, error handling, and TLS trust troubleshooting used by every Pixee CLI subcommand.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Describe the global flags, output format, exit codes, error handling, and TLS trust troubleshooting used by every Pixee CLI subcommand.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
List, view, and delete Pixee analyses with filters and optional polling until the analysis reaches a terminal state.
List Pixee integrations to discover the id, type, and capabilities of each scanner integration registered with the org.
List, view, analyze, create, and delete Pixee scans with filters for repository, branch, detector tool, and analysis state.
List, create, update, run, and delete Pixee workflows on a repository with partial-update semantics across event kinds.
List, view, and delete Pixee repositories with shared name-or-UUID resolution used by every targeted subcommand.
Detects and closes drift between the latest released Pixee CLI surface and the published `skills/pixee-*` skills on `origin/main`. Trigger after a new pixee release, on a `/audit-skills` request, or when the contributor asks 'are the skills up to date?', 'is there a missing pixee skill?', 'does the CLI match the skills?', 'check skill drift', or 'do we need to update the skills for vX.Y.Z?'. Always audits against `origin/main` (the source of truth for what users see), never the local working tree. Produces a structured drift report first, then files DevRev issues in CAPL-44 and hands each one to `/dev-workflow:implement-issue`. Accepts `--headless` for unattended post-release runs.
| name | pixee-shared |
| description | Describe the global flags, output format, exit codes, error handling, and TLS trust troubleshooting used by every Pixee CLI subcommand. |
| metadata | {"version":"1.1.0","openclaw":{"category":"developer-tools","requires":{"bins":["pixee"]},"cliHelp":"pixee --help"}} |
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.--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.| 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.