可用集成
ClaudeBench 与流行工具集成: • Git 和 GitHub — 版本控制 • VS Code — 在编辑器中打开文件 • Figma — 设计文件访问 • Notion — 导入/导出笔记 • Slack — 发送通知
REST API
ClaudeBench 提供本地 REST API 用于自动化: 端点:http://localhost:7823/api/v1 所有端点需要通过本地令牌进行身份验证。
Code
// Example API call
curl -X POST http://localhost:7823/api/v1/tasks \
-H "Authorization: Bearer YOUR_LOCAL_TOKEN" \
-H "Content-Type: application/json" \
-d '{"prompt": "Organize my Downloads folder"}'
// Response
{
"id": "task_abc123",
"status": "processing",
"created_at": "2024-01-15T10:30:00Z"
}Webhooks
配置 Webhooks 以在以下情况时接收通知: • 任务完成 • 发生错误 • 文件生成 • 需要手动批准
自动化脚本
使用以下方式创建自动化脚本: • AppleScript • Shell 脚本 • 带有 claudebench 包的 Python • Alfred / Raycast 工作流
查看我们的文档获取自动化脚本示例。