Pixee Finding 标志

Pixee Finding

组织
pixee
pixee-finding

List, filter, and view Pixee findings for a scan with aggregate counts across triage, fix, and SCA outcomes.

概览

发布者pixee
代码仓库pixee-cli
技能名称pixee-finding
星标数
31
复刻数
12
附带文件
仅含指令
许可协议Apache-2.0
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 pixee 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Pixee Finding AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/pixee/pixee-cli/tree/main/skills/pixee-finding
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/pixee/pixee-cli.git /tmp/pixee-cli
mkdir -p .claude/skills
cp -r /tmp/pixee-cli/skills/pixee-finding .claude/skills/pixee-finding
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Pixee Finding,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Pixee Finding。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Pixee Finding 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

pixee finding

PREREQUISITES: Read ../pixee-shared/SKILL.md for global flags, exit codes, and error handling, and ../pixee-scan/SKILL.md to discover the --scan UUID this skill requires.

pixee finding lists and views findings produced by a scan. A finding hangs off a single scan and is not addressable on its own, so every invocation requires --scan <scan-id>. Findings carry the output of every analysis Pixee runs against them — triage, fix, sca — and the CLI inlines the representative result for each analysis type so an agent rarely needs a second HTTP call.

Before asking the user which repository, branch, scan, or pull request to target, derive that context from the working environment with whatever facilities the host agent already has — current directory, git state, PR tooling, project conventions. The user is almost always asking about findings tied to wherever cwd already points. Use pixee scan list --repo <name-or-uuid> (with --branch and --tool to narrow) to pin down the scan UUID, and only fall back to asking when the derivation comes back empty or ambiguous.

pixee finding list

pixee finding list --scan <scan-id> [filter flags...]

--scan is required. The response always carries cross-section aggregate counts (triage status/outcome, fix status/outcome/confidence, sca status/classification, and the composite ready_to_fix / no_fix_necessary views) plus, by default, the paginated items list with each item's representative analysis results inlined.

Text output is the aggregate table only — one tab-separated key\tvalue row per metric. Items are not surfaced in text mode; use --json to access them. The JSON shape:

  • Top-level aggregate fields: total, completed_analysis, in_progress_analysis, triage, fix, sca, composite, page, _links.
  • _embedded.items[] carries the paginated findings (omitted under --stats). Each item has id, title, rule, severity ({label, rank}), html_url, _links, and _embedded["representative-results"] — a paginated wrapper whose own _embedded.items[] contains one entry per analysis type (triage, fix, sca) with self/finding/analysis links and, for fix results, changesets, patches, and a one-page latest-patch shortcut.

Pagination is transparent: the CLI walks every page of findings in one call. Aggregate counts are page-invariant for a given filter set, so --stats (below) returns them in a single HTTP round-trip.

--stats

pixee finding list --scan <scan-id> --stats [filter flags...]

Returns aggregate counts only, dropping _embedded.items. Sends page-size=1 over the wire so it answers questions like "how many critical findings have a completed fix on this scan?" without streaming the items page. Combine with filter flags below to scope the counts.

Filter flags

All filters are repeatable unless noted, and combine as AND across distinct flags / OR within the same flag.

  • --severity <label> — filter by representative severity label.
  • --suggested-severity <label> — filter by triage's suggested severity label.
  • --min-severity-score <num> / --max-severity-score <num> — bound the severity score (0.0–10.0). Not repeatable.
  • --triage-status <s> — one of completed, failed, no-recommendations-available.
  • --triage-suggested <s> — one of true_positive, inconclusive, false_positive, wont_fix, blocked, excluded, not_triaged, error, suspicious.
  • --fix-status <s> — one of completed, failed, no-recommendations-available, blocked, excluded.
  • --fix-confidence <s> — one of high, medium, low, no-rating.
  • --sca-status <s> — one of completed, failed, blocked, excluded, not-analyzed.
  • --sca-classification <s> — one of exploitable, not-exploitable, inconclusive, potentially-exploitable.
  • --patch-status <s> — one of issued, merged.
  • --severity-update <s> — one of increased, decreased, no_update. Filters by the severity-update relation.
  • --analyzed — only fully-analyzed findings (every analysis type has reached a terminal state).
  • --no-analyzed — only not-fully-analyzed findings.
  • --view validated — composite view filter. Currently only validated is defined.
  • --results <scope> — repeatable. Analysis results to include per finding. One of representative (default) or all.
  • --query <text> — case-insensitive search across finding id, title, rule, and file path.
  • --sort <field> — pixee-intelligence (default), severity, pixee-severity, or suggested-severity.
  • --order <asc|desc> — sort direction. Default desc.

Triage result links

A triage-type representative-result carries its own _links beyond self/finding/analysis: report and article (both markdown-rendered explanations of the triage decision) and, for some outcome types, verification. These render as markdown, not JSON; pixee api <href> (without --json) reads them directly — see pixee-api's Non-JSON resources section for how that negotiation works.

Before chasing report/article, check whether you already have what you need: the item's own outcome.summary — and on a blocked fix, outcome.reason / outcome.details — already inlines the triage/fix rationale in pixee finding list and pixee finding view output. report/article are worth a separate fetch mainly when you want the longer-form, formatted writeup instead of that summary. Not every link is populated for every outcome type — a 404 on verification means it does not apply to this result, not that something is broken.

pixee finding view

pixee finding view <finding-id> --scan <scan-id>

<finding-id> is the finding's scan-scoped id, surfaced in _embedded.items[].id from pixee finding list --json. --scan is required — a finding id is only unique within a scan.

Text output prints the finding's headline fields followed by a Representative Results: table with one row per analysis type (type, analyzed_at, self_href). JSON output is the full HAL representation of the finding (id, title, rule, severity, html_url, _links) with _embedded["representative-results"] already merged in — the same paginated wrapper documented above. Use this when you need the per-analysis result hrefs (e.g., to walk a fix's latest-patch) without making a second HTTP call.

Examples

bash
# How many findings are ready-to-fix on the latest main-branch sonar scan?
scan_id=$(pixee scan list --repo pixee/pixee-platform --branch main --tool sonar --json \
  | jq -r 'sort_by(.imported_at) | reverse | .[0].id')
pixee finding list --scan "$scan_id" --stats --json \
  | jq '.composite.ready_to_fix'

# Critical, fully-analyzed findings with a high-confidence fix, sorted by Pixee severity
pixee finding list --scan "$scan_id" \
  --severity Critical --fix-confidence high --analyzed \
  --sort pixee-severity --json \
  | jq '._embedded.items[] | {id, title, rule, severity}'

# Walk every finding's representative fix result without a second HTTP call per item
pixee finding list --scan "$scan_id" --json \
  | jq '._embedded.items[]
        | {id, fix: ._embedded["representative-results"]._embedded.items[]
            | select(.type=="fix") | ._links}'

# Pull a single finding plus its merged representative results
pixee finding view AZ4JOwsipJDH8099SpHt --scan "$scan_id" --json \
  | jq '._embedded["representative-results"]._embedded.items[] | {type, _links}'

# Chase the latest patch href from a finding view
pixee finding view AZ4JOwsipJDH8099SpHt --scan "$scan_id" --json \
  | jq -r '._embedded["representative-results"]._embedded.items[]
           | select(.type=="fix") | ._links["latest-patch"].href' \
  | xargs pixee api

Best practices

  • Use --stats whenever the question is purely aggregate. It drops _embedded.items, which can be the bulk of the payload on large scans, and answers in one HTTP call.
  • The list response inlines representative-results.latest-patch on each item. Do not loop pixee finding view for data that's already on the item; reach for view only when you need the finding plus its merged result page as a single response.
  • Combine filters at the CLI rather than post-filtering in jq. The CLI translates filter flags into server-side query params, which keeps the items list small and pagination cheap.
  • Severity-score and label flags coexist: pass --severity Critical plus --min-severity-score 9.0 and both apply. Use --analyzed / --no-analyzed to slice on pipeline completeness rather than re-checking each item's analysis state in jq.
  • HAL-first when fields are absent. The _links on a finding (results, representative-results) and on each result (analysis, changesets, patches, latest-patch) are the canonical way to reach related resources — follow them with pixee api <href> rather than guessing API paths. See pixee-api for HAL conventions and --paginate.
  • The latest scan for a branch is the current state of that branch, full stop. If it has zero findings matching a filter (e.g. --triage-suggested true_positive --stats returns "total": 0), that is the answer — "there are no true positives on the latest scan of main" — not a signal to walk backward through older scans looking for a nonzero count. An older scan reflects a stale commit and answering from one silently changes the question from "what's true today" to "what was once true." Only look at a non-latest scan when the user asks about history explicitly.

常见问题

Pixee Finding AI 技能有什么作用?

List, filter, and view Pixee findings for a scan with aggregate counts across triage, fix, and SCA outcomes.

为什么在 TypingMind 中使用 Pixee Finding?

因为您只需安装一次,就能搭配任何模型使用。Pixee Finding 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Pixee Finding?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/pixee/pixee-cli/tree/main/skills/pixee-finding。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Pixee Finding?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Pixee Finding 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Pixee Finding 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Pixee Finding AI 技能免费吗?

是的。pixee 已在 GitHub 上根据 Apache-2.0 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇