Search ComfyUI / Custom Nodes / Community Codes
  • TypeScript 100%
Find a file
snomiao ff2d71dd0b Add AI skill definition and update README
- Add skills/comfy-codesearch/SKILL.md teaching AI agents how to use the CLI
- Add AI Skill install section to README (npx skills add)
- Clarify that search covers public repos only

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-25 09:00:38 +00:00
skills/comfy-codesearch Add AI skill definition and update README 2026-03-25 09:00:38 +00:00
cli.ts Initial commit: comfy-codesearch CLI 2026-03-25 06:04:00 +00:00
package.json Initial commit: comfy-codesearch CLI 2026-03-25 06:04:00 +00:00
README.md Add AI skill definition and update README 2026-03-25 09:00:38 +00:00

comfy-codesearch-cli

CLI for ComfyUI Code Search — search code across ComfyUI public repositories from your terminal.

Install

bun install comfy-codesearch-cli

Usage

# Search code (default command)
comfy-codesearch "repo:Comfy-Org/ComfyUI last_node_id"

# Explicit search command
comfy-codesearch search "video audio transcription"

# Limit results
comfy-codesearch search "python" --count 200

# Output as JSON
comfy-codesearch search "python" --format json

# Search repositories
comfy-codesearch repo "comfy"

Options

Flag Alias Description
--count <n> -c Max results (default: 100)
--format <fmt> -f Output format: yaml (default) or json
--help -h Show help

Environment

Set CS_SERVICE to override the API endpoint (defaults to https://comfy-codesearch.vercel.app).

AI Skill

This CLI is also available as an AI agent skill. Once installed, your AI coding agent can search ComfyUI code on your behalf.

Install

npx skills add Comfy-Org/comfy-codesearch-cli

What it enables

Your AI agent will be able to search code across ComfyUI repositories using comfy-codesearch — useful for finding implementations, understanding APIs, and looking up patterns across the ComfyUI ecosystem.

License

MIT