跳到正文
TakoAPI
返回技能列表

elite-tools

由 bezkom 提供

Web & Frontend Development
582下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Elite CLI tooling for efficient shell operations with optimized token usage.

描述

该技能的功能

A guide for AI agents to prefer modern CLI utilities over legacy POSIX tools. Covers ten tools: fdfind, batcat, sd, ast-grep, jc, gron, yq, difftastic, tealdeer, and html2text. Reduces token consumption and avoids regex escaping errors during shell operations.

Modern replacements produce cleaner, more structured output than legacy tools like find, sed, and grep, which reduces token waste and eliminates common escaping bugs in agent-driven shell tasks.

何时使用

  • Searching files by name without complex find syntax
  • Find-and-replace across files without escaping regex special characters
  • Searching code by AST structure rather than raw text
  • Converting YAML or JSON configs during automated workflows

示例工作流

输入

User asks: rename all occurrences of 'OldConfig' to 'NewConfig' across TypeScript files

智能体
  1. 1

    Use fdfind to list all .ts files in the project

  2. 2

    Run ast-grep to locate 'OldConfig' as an identifier using AST patterns

  3. 3

    Apply sd to replace the string without regex escaping issues

  4. 4

    Use batcat to review changed files with syntax highlighting

输出

All TypeScript files updated with 'NewConfig', changes visually confirmed

前置要求

  • Install fd (fdfind on Debian/Ubuntu)
  • Install bat (batcat on Debian/Ubuntu)
  • Install sd
  • Install ast-grep (sg)
  • Install jc, gron, yq, difftastic, tealdeer, and html2text

安装

clawhub install bezkom/elite-tools

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接