Files
claudeplus/mdTemplet/tool.md
2026-04-21 01:42:21 +08:00

35 lines
1.6 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Tool Catalog
额外安装的 CLI 工具速查。详细用法见 `note.md`,踩坑见 `debug.md`
## 定位 / 搜索
- `repomix` — 整仓打包为 LLM 友好的 XMLpnpm global
- `eza` — 现代化 `ls` / `tree`(带 git 状态、`.gitignore` 过滤)
- `fd` — 快速文件搜索(默认尊重 `.gitignore`
- `rg` — 内容搜索ripgrep
- `broot` — 交互式目录浏览(仅 TTYCLI/pipeline 不用)
## 协作
- `gh` — GitHub CLI已登录
- `curl` — Gitea API 交互(见 CLAUDE.md §0
## 浏览器 / 联网
- `lightpanda` — Zig 写的无头浏览器CDP 兼容,~1/16 内存 / ~9x 速度 vs headless ChromeBetaWeb API 覆盖率不完整)
## 数据 / 文本处理
- `jq` — JSON 流式处理与查询
- `mlr` (miller) — CSV/TSV/JSON/JSONL 结构化数据瑞士军刀(比 awk/csvkit 强)
- `sd` — sed 替代,语法直观(`sd 'foo' 'bar' file`
- `ast-grep` — 按 AST 模式搜索/替换代码(`sg -p 'console.log($X)' -r 'logger.debug($X)' --lang js`);二进制也叫 `sg` 但 /usr/bin/sg 冲突,用 `ast-grep` 调用
## 开发体验
- `delta` — git diff/log 彩色优化渲染(配 `git config --global core.pager delta`
- `hyperfine` — 命令 benchmark多次采样统计分布
## AI / LLM
- `llm` (simonw) — CLI 调 LLM多 provider支持 OpenAI/Anthropic/本地模型),可作为子进程进行独立查询/对比
## MCP servers~/.claude.jsonuser scope
- `chrome-devtools` — 完整浏览器调试能力(补 lightpanda 缺的多 tab / 截图 / 强反爬场景)
- `context7` — 第三方库最新文档检索,防止 LLM 用过时 API