code-search

This skill searches through ComfyUI codebase and custom nodes using the comfy-codesearch service.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "code-search" with this command: npx skills add comfy-org/comfy-pr/comfy-org-comfy-pr-code-search

ComfyUI Code Search

This skill searches through ComfyUI codebase and custom nodes using the comfy-codesearch service.

Usage

prbot code search -q "<SEARCH_QUERY>" [--repo <REPO>] [--path <PATH>]

Parameters

  • -q, --query (required): Search query text

  • --repo (optional): Filter by repository (e.g. Comfy-Org/ComfyUI )

  • --path (optional): Filter by file path pattern (e.g. python )

Search Syntax

The search query supports special filters:

  • repo:owner/name

  • Search within a specific repository

  • path:pattern

  • Search within specific file paths

Examples

Search for binarization features

prbot code search -q "binarization"

Search in specific repository

prbot code search -q "last_node_id" --repo Comfy-Org/ComfyUI

Search with path filter

prbot code search -q "last_node_id" --repo Comfy-Org/ComfyUI --path python

Complex search with inline filters

prbot code search -q "repo:Comfy-Org/ComfyUI path:python last_node_id"

Output Format

Returns JSON with search results containing:

  • Repository name and URL

  • File path and line number

  • Code snippet with match context

  • GitHub URL to the exact match

Tips

  • Use quotes around multi-word queries

  • Combine --repo and --path filters for targeted searches

  • Pipe output to jq for JSON parsing: prbot code search -q "test" | jq .results

  • Check match URLs to jump directly to code on GitHub

Notes

  • Requires comfy-codesearch CLI to be installed

  • Requires CS_ORIGIN and CS_TOKEN environment variables

  • Searches across ComfyUI core and custom nodes registry

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

github-issue-search

No summary provided by upstream source.

Repository SourceNeeds Review
General

registry-search

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

code-search

No summary provided by upstream source.

Repository SourceNeeds Review