CLI 目录 横向对比 FCRS-1.0 标准 /llms.txt
← 返回 CLI 目录

scooter

$ scooter 社区开源 中风险
thomasschafer · 文件检索与编辑 · MIT · macos / linux / windows

scooter 是一款基于 Rust 构建的终端用户界面(TUI)工具,面向人类开发者提供项目级查找替换、实时预览与按片段勾选功能。由于缺少无头批量执行或 JSON 模式,它适合交互式人工操作而非自主编码 Agent。

FCRS-1.0 综合评分
65 /100
可用但有局限
中置信度 (源码/文档)
零摩擦安装命令
brew install scooter
CLI vs MCP 选型建议 仅 CLI 可用

纯粹面向人类终端工作流的交互式 TUI;自主 Agent 应改用 sd -p 或 ast-grep。

Agent 友好度体检单

— 原生 JSON 输出
— 字段裁剪
— 无头非交互
— 支持 Dry-Run
— 只读模式开关
✓ 支持 NO_COLOR
— 自省/Schema 发现
— 官方 SKILL.md

当前为静态评估(本机尚未安装或尚未运行探针)。可在本地运行 npm run data:probe 并提交 data/probes/ 升级为实测证据。

FCRS-1.0 六维评分拆解

Agent 友好度 10 / 25

设计为纯交互式 TUI,无无头批量执行或 --json 输出;在非 TTY 的 Agent 终端中会挂起或报错。

  • Requires an interactive TTY; no non-interactive apply or --json mode
安全与权限边界 19 / 25

在本地写入前通过交互界面预览变更片段,但无头 Agent 无法安全驱动或试运行。

  • Local workspace only; human confirmation built into TUI
安装与运行摩擦 14 / 15

单一高速 Rust 二进制,可通过 brew install scooter、cargo install scooter 及 GitHub Releases 安装于 macOS、Linux 与 Windows。

  • Cross-platform Rust binary
能力覆盖与边际价值 7 / 15

在终端或 Helix/Neovim 中对人类体验极佳,但对非交互 Agent 工作流价值有限。

  • Human-centric TUI rather than scriptable CLI
维护与来源背书 8 / 10

活跃维护的 MIT 开源 Rust 项目(thomasschafer/scooter)。

  • Active GitHub repository under MIT
文档与可验证性 7 / 10

GitHub README 清晰记录了快捷键、配置项及 --help 参数。

  • Documented in GitHub README

安全边界、鉴权与放权指南

鉴权方式
无需鉴权
凭证存储位置

无需凭据;读取可选的 ~/.config/scooter/ 配置并在本地文件上操作。

潜在副作用
只读查询 本地写入
费用与配额提示

100% 免费、离线、开源(MIT)。

可复制到 CLAUDE.md / AGENTS.md 的安全护栏
# scooter Agent Rules
- Do NOT invoke bare `scooter` in non-TTY agent shells: it launches an interactive TUI that cannot be driven headlessly.
- Use `sd -p`, `srgn --dry-run`, or `ast-grep` for autonomous search-and-replace tasks.

Agent 高频安全命令配方

只读查询(安全推荐)

不启动 TUI 查看 CLI 参数
scooter --help

输出支持的启动参数(--multiline、--print-on-exit、--config-dir),不进入交互式 TUI 界面。

核心优势

  • + 支持多行搜索(-U)与交互式片段勾选的高速 Rust TUI。
  • + 支持 --print-on-exit,便于与 Helix 等模态编辑器集成。

注意事项与踩坑点

  • ! 无法由 Agent 无头运行:必须依赖真实 TTY 与交互键盘输入。
  • ! 缺少 --json 输出与非交互替换参数,自动化场景请改用 sd 或 ast-grep。

已验证兼容的 Agent 宿主

Claude Code Codex CLI Gemini CLI