parallel-findall-cli
💡 摘要
一个命令行工具,用于基于复杂标准发现实体,使用Parallel FindAll API。
🎯 适合人群
🤖 AI 吐槽: “看起来很能打,但别让配置把人劝退。”
风险:Medium。建议检查:是否执行 shell/命令行指令;是否发起外网请求(SSRF/数据外发);API Key/Token 的获取、存储与泄露风险;文件读写范围与路径穿越风险;依赖锁定与供应链风险。以最小权限运行,并在生产环境启用前审计代码与依赖。
FindAll CLI
A command-line interface for the Parallel FindAll API that helps you discover and evaluate entities matching complex criteria.
Installation
npm install -g findall-cli
Or use directly with npx:
npx findall-cli run ./output "Find AI companies that raised Series A in 2024"
Installation into your coding agent (Claude, Cursor, etc.)
npx skills add janwilmake/parallel-findall-cli
Usage
Basic Usage
findall run <output-dir> <objective>
Example:
findall run ./results "Find all SaaS companies with SOC2 Type II certification"
With Options
# Specify API key findall run ./results "..." --api-key YOUR_API_KEY # Use different generator tier findall run ./results "..." --generator pro # Set match limit findall run ./results "..." --limit 100 # Skip interactive preview findall run ./results "..." --skip-preview --auto-approve
Environment Variables
export PARALLEL_API_KEY=your_api_key_here findall run ./results "Find companies..."
Workflow
The CLI follows this workflow:
- Ingest: Converts your natural language objective into a structured schema
- Preview: Shows the generated schema and allows editing
- Configure: Set generator tier, match limits, and other options
- Run: Executes the FindAll search with real-time progress
- Output: Saves results to specified directory
Interactive Schema Editor
The CLI provides an interactive editor to:
- View and modify the objective
- Change entity type
- Add, edit, or remove match conditions
- Preview the full JSON schema
Use arrow keys to navigate and follow the prompts.
Output Files
Results are saved to the specified output directory:
summary.json- Run metadata and statisticsmatches.json- All matched candidates with full detailscandidates.json- All evaluated candidates (matched and unmatched)schema.json- Final schema used for the runmatches.csv- CSV export of matched candidates
Options
| Option | Description | Default |
| ------------------------ | ----------------------------------------- | ------------------- |
| -k, --api-key <key> | Parallel API key | $PARALLEL_API_KEY |
| -g, --generator <tier> | Generator tier (base|core|pro|preview) | core |
| -l, --limit <number> | Initial match limit (5-1000) | 50 |
| --skip-preview | Skip schema preview | false |
| --auto-approve | Auto-approve schema without editing | false |
Examples
Find AI companies with specific criteria
findall run ./ai-companies \ "Find AI companies that raised Series A in 2024 and have at least 50 employees" \ --generator pro \ --limit 100
Find security-compliant SaaS companies
findall run ./saas-companies \ "Find SaaS companies with SOC2 Type II and ISO 27001 certifications" \ --generator core
Non-interactive mode
export PARALLEL_API_KEY=your_key findall run ./results "Your objective here" --skip-preview --auto-approve
Development
# Install dependencies npm install # Build npm run build # Run locally npm start run ./output "Test objective" # Watch mode npm run dev
API Documentation
This CLI uses the Parallel FindAll API. For detailed API documentation, see: https://api.parallel.ai/docs
License
MIT
优点
- 灵活的命令行界面,适用于各种查询
- 支持多种输出格式
- 交互式模式编辑器,便于自定义
缺点
- 需要API密钥才能充分发挥功能
- 新用户可能需要学习曲线
- 仅限于Parallel FindAll API的功能
相关技能
免责声明:本内容来源于 GitHub 开源项目,仅供展示和评分分析使用。
版权归原作者所有 janwilmake.
