Logo Pixee Repo

Pixee Repo

Tổ chức
pixee
pixee-repo

Liệt kê, xem, tạo và xóa kho mã Pixee cùng các ánh xạ tích hợp của chúng, với cơ chế phân giải tên hoặc UUID dùng chung.

Tổng quan

Nhà phát hànhpixee
Kho mãpixee-cli
Tên kỹ năngpixee-repo
Sao
31
Bản fork
12
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépApache-2.0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được pixee công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Pixee Repo trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/pixee/pixee-cli/tree/main/skills/pixee-repo
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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-repo .claude/skills/pixee-repo
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Pixee Repo trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Pixee Repo ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Pixee Repo với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

pixee repo

PREREQUISITE: Read ../pixee-shared/SKILL.md for global flags, exit codes, and error handling. Those conventions apply to every command in this skill. See ../pixee-auth/SKILL.md if authentication needs to be configured.

pixee repo manages repositories registered with the Pixee platform: list, view, create, and delete, plus the integration mappings that bind a repository to a scanner project. It also documents the --repo resolution protocol used by every other subcommand that targets a specific repository.

pixee repo list

List registered repositories. Pagination is transparent — the CLI walks every page automatically. Text output is tab-separated with columns name, full_name, type, default_branch, id. GitHub repositories on which the Pixee GitHub App is not installed are left out unless you pass --include-uninstalled (see "Uninstalled repositories").

Flags:

  • --name <pattern> — case-insensitive partial-match filter against the repository's name field. Server-side filter; reduces payload before pagination.
  • --include-uninstalled — also list GitHub repositories on which the Pixee GitHub App is not installed. With it, text output has a sixth column, installed: true or false for a GitHub repository, empty for every other type. Combines with --name and the other list filters. Older binaries reject the flag with unknown option; upgrade the CLI (see pixee-shared).
  • --output text|json — see pixee-shared.
  • --server <url> — see pixee-shared.

Each repository has a type discriminator (github, gitlab, azure, git, bitbucket), a UUID id, a name, a full_name (e.g., pixee/pixee-platform), and a default_branch. Type-specific fields (owner, html_url for GitHub, etc.) appear only in --output json.

pixee repo view

pixee repo view <repo-id>

Fetch a single repository by UUID. <repo-id> is the value shown in the id column of pixee repo list.

Default text mode prints a sectioned Key: value block of the common fields shared by every git-provider variant — Name, Full name, Default branch, Type, ID — colon-separated, one field per line. Use --output json (or --json) for the full HAL body, which adds the provider-specific fields (github_app_installation_id for GitHub, azure_project for Azure DevOps, etc.) and the _links envelope. The text view intentionally omits the provider-specific fields because the union over five integration types would render inconsistently; reach for --json when an agent needs them.

A non-existent UUID returns the standard not-found error and exits 3. view takes a UUID only; a name or owner/name answers not found, so resolve it with pixee repo list --name first.

  • --expand <relation> — repeatable. Follow one of the repository's _links and render it inline. The Expand: line names the relations on offer; repository-integrations lists the repository's integration mappings (see pixee repo integration below).

pixee repo create

pixee repo create [options]

Create a generic git repository — the git provider type, for a repository reached over plain HTTP(S) with a username/password or access token, as opposed to a GitHub, GitLab, Azure, or Bitbucket repository, which are registered through their respective platform integrations instead of this verb.

Flags:

  • --name <name> — repository display name.
  • --url <url> — HTTP(S) Git repository URL.
  • --username <username> — Git username.
  • --password [password] — Git password or access token. Pass the flag with no value to enter it securely, or --password - to read it from stdin; an inline value works but lands in shell history.

pixee repo delete

pixee repo delete <repo-id>

Delete a repository by UUID. Cascading: the server also removes the repository's scans, workflows, and findings as part of the same operation, so this is more destructive than the verb name suggests. On success the CLI prints Deleted repo <id> and exits 0; a missing repo exits 3.

There is no confirmation prompt — pixee does not ship interactive guards for any destructive verb (scan delete, workflow delete, repo delete all behave the same way). Scripts that want a guard should add their own check before calling.

pixee repo integration

A mapping binds a repository to a project on a scanner integration (a Sonar project key, an AppScan application id, and so on). A repository holds one mapping per type.

List a repository's mappings with the expand flag on view:

pixee repo view <repo-id> --expand repository-integrations

Text output gives one row per mapping: type, mapping id, integration href, and the type's identifiers as name=value. --json returns the full records under _embedded."repository-integrations"; each carries id, type, the type's identifier fields, and _links.integration.href naming the integration it uses. Treat that href as opaque and compare it for equality against an integration's own _links.self.href (see pixee-integration).

Create one mapping, with the type before the repository:

pixee repo integration create <type> <repository> --<identifier-flag> <value> [--integration-id <id>]

<type> is one of sonar, appscan, arnica, black-duck-hub, checkmarx, checkmarx-enterprise, datadog, polaris, veracode; each has its own identifier flags, so run pixee repo integration create <type> --help. <repository> accepts a name, owner/name, or UUID. --integration-id is optional except for black-duck-hub and checkmarx-enterprise; omitting it selects the type's system default instance, and the default instance's own id (for example sonar-default) is rejected with "Unknown integration". A second mapping of the same type exits 1 with "Duplicate repository integration". A missing required flag exits 1; an unknown repository exits 3.

Delete one mapping:

pixee repo integration delete <repository> <mapping-id>

<mapping-id> is the id from the listing. A mapping that does not exist exits 3. Mappings cannot be edited in place: re-pointing a repository is delete, then create, and the new mapping gets a new id. To move many repositories between integrations safely, follow ../pixee-migrate-repo-integrations/SKILL.md.

Older binaries lack these commands, and on them pixee repo integration --help prints the parent pixee repo help instead of an error. Run it first: its usage line must read pixee repo integration, otherwise upgrade the CLI (see pixee-shared).

Uninstalled repositories

A GitHub repository can be registered with Pixee without the Pixee GitHub App installed on it. It keeps its scans and findings, reachable by UUID, but listings and name lookups treat it differently:

  • pixee repo list omits it by default. Only GitHub repositories are affected. GitLab, Azure DevOps, Bitbucket, and generic git repositories have no install state and are always listed.
  • pixee repo list --include-uninstalled includes it. Each GitHub repository then carries a boolean installed: the text view adds it as the sixth column, and --output json shows it as the installed property (pixee repo view <repo-id> --json shows it too).
  • Names do not resolve to it. --repo <name> and --repo <owner/name> look the repository up in the default list, so for an uninstalled repository they exit 3 ("no repository named X found"). A UUID skips the lookup, so --repo <uuid> and pixee repo view <uuid> keep working.

To find uninstalled repositories, list with --include-uninstalled and keep the rows where installed is false; each row's id is the UUID to pass on.

Repository name resolution

The --repo flag accepted by pixee workflow and other subcommands resolves names to UUIDs using the same protocol. Three cases:

  1. UUID (matches xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx pattern): used as the repository ID directly — no lookup.
  2. Name or full_name: the CLI queries GET /api/v1/repositories?name=<value> and filters the response client-side for an exact, case-insensitive match against either the name field (e.g., pixee-platform) or the full_name field (e.g., pixee/pixee-platform).
  3. Outcome:
    • No exact match → exit code 3 ("no repository named X found").
    • One exact match → use it.
    • Multiple exact matches (same name across integrations; for example, GitHub and GitLab both have pixee-platform) → exit code 1 with an error listing each candidate with its UUID and type. Retry with the UUID.

Both --repo pixee-platform and --repo pixee/pixee-platform resolve correctly when the match is unambiguous.

Step 2 searches the default list, so a name never matches an uninstalled GitHub repository (see "Uninstalled repositories"). When a repository you expect is "not found", look its UUID up with pixee repo list --include-uninstalled before concluding it was never registered.

Examples

bash
# List every repository
pixee repo list

# Machine-readable listing piped to jq for further filtering
pixee repo list --output json | jq '.[] | select(.type == "github") | .full_name'

# Filter server-side to reduce payload
pixee repo list --name pixee-platform

# Include GitHub repositories the Pixee GitHub App is not installed on; the sixth column is installed
pixee repo list --include-uninstalled

# Which repositories are uninstalled? Print each one's UUID and full name
pixee repo list --include-uninstalled --output json \
  | jq -r '.[] | select(.installed == false) | "\(.id)  \(.full_name)"'

# Inspect a single repo's common fields in text mode
pixee repo view a1b2c3d4-5e6f-7a8b-9c0d-1e2f3a4b5c6d

# Pull the full HAL body to see provider-specific fields like github_app_installation_id
pixee repo view a1b2c3d4-5e6f-7a8b-9c0d-1e2f3a4b5c6d --json \
  | jq '{type, full_name, github_app_installation_id}'

# Create a generic git repository, reading the password/token from stdin
echo -n "$GIT_ACCESS_TOKEN" | pixee repo create \
  --name internal-tool --url https://git.example.com/team/internal-tool.git \
  --username ci-bot --password -

# List a repository's integration mappings, then read the full records
pixee repo view a1b2c3d4-5e6f-7a8b-9c0d-1e2f3a4b5c6d --expand repository-integrations
pixee repo view a1b2c3d4-5e6f-7a8b-9c0d-1e2f3a4b5c6d --expand repository-integrations --json \
  | jq '._embedded."repository-integrations"[] | {id, type, integration: ._links.integration.href}'

# Map a repository to a Sonar project on a specific integration, then remove the mapping
pixee repo integration create sonar pixee/pixee-platform \
  --project-key pixee_pixee-platform --integration-id <integration-id>
pixee repo integration delete pixee/pixee-platform <mapping-id>

# Delete a repository by UUID (also removes its scans, workflows, and findings)
pixee repo delete a1b2c3d4-5e6f-7a8b-9c0d-1e2f3a4b5c6d

# Ambiguous --repo: the CLI prints each match with its UUID; retry with the UUID
pixee workflow list --repo pixee-platform
# Error: Multiple repositories named "pixee-platform":
#   a1b2c3d4-...  github  pixee/pixee-platform
#   e5f6g7h8-...  gitlab  pixee-group/pixee-platform

Best practices

  • When a repository name is unambiguous, prefer the short name (pixee-platform) or full_name (pixee/pixee-platform) — it is more readable than a UUID and both forms resolve identically.
  • When scripting across many repositories, use UUIDs: they are stable under rename and never ambiguous.
  • Pagination is transparent on pixee repo list; --paginate exists only on pixee api.
  • Reach for pixee repo view --json when an agent needs provider-specific fields; the default text view is intentionally pared down to the fields every integration shares.
  • pixee repo delete cascades to scans, workflows, and findings server-side. Confirm scope (and any depending scripts) before running it; there is no client-side confirmation prompt.
  • pixee repo create only registers the generic git provider type. For GitHub, GitLab, Azure, or Bitbucket repositories, use that provider's own integration/App-install flow instead of this verb.
  • Do not delete a repository just because it is uninstalled. An uninstalled repository is hidden from the default list and from name lookups, but it keeps its scans and findings; confirm with the user before running pixee repo delete on it.
  • Deleting a mapping leaves the repository in place; deleting the repository cascades to its scans. To change which integration a repository uses, change the mapping, never the repository.
  • Never pass --password with an inline value in a script or CI job; use - to read from stdin (or the bare flag to prompt interactively) so the credential never lands in shell history.

Câu hỏi thường gặp

Kỹ năng AI Pixee Repo làm được gì?

Liệt kê, xem, tạo và xóa kho mã Pixee cùng các ánh xạ tích hợp của chúng, với cơ chế phân giải tên hoặc UUID dùng chung.

Vì sao nên dùng Pixee Repo trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Pixee Repo là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Pixee Repo trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/pixee/pixee-cli/tree/main/skills/pixee-repo. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Pixee Repo?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Pixee Repo với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Pixee Repo với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Pixee Repo có miễn phí không?

Có. Kỹ năng này được pixee phát hành trên GitHub theo giấy phép Apache-2.0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇