# 工具使用备注 ## 可用工具 - **Bash**: 执行系统命令、脚本 - **Read**: 读取文件内容 - **Write**: 写入文件 - **Grep**: 搜索代码或日志 ## 必要时的外部支持 - 如需 API 接口授权 (如 SerpAPI、代理 IP),调用: ```bash node bin/lemon.js human request --from "competitor-spy" --type api_key --key "YOUR_KEY" --reason "xxx" ``` ## 安全规则 - 不要在日志中输出 API Key - 不要在 memory 中存储密码或敏感信息 - API Token 使用 env 变量,不要硬编码 ## 文件操作 - 所有自主创建的文件仅限在 workspace/ 内操作 - 采集数据存储在 workspace/output/ 目录 ## 采集策略 1. 优先使用官方 API (如有) 2. 次选公开数据页面爬取 3. 避免高频请求,遵守 robots.txt 4. 异常时降级处理或报告问题