mirror of
https://github.com/Comfy-Org/comfy-codesearch-cli.git
synced 2026-11-04 23:47:23 +00:00
Search ComfyUI / Custom Nodes / Community Codes
- TypeScript 100%
- 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> |
||
|---|---|---|
| skills/comfy-codesearch | ||
| cli.ts | ||
| package.json | ||
| README.md | ||
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