cli-tools

Run curated command-line tools for code analysis, refactoring, and manipulation.

5|Updated Feb 20, 2026
One-click install
npx skills add https://github.com/kastheco/kasmos --skill cli-tools-kastheco
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cli-tools
Source: https://github.com/kastheco/kasmos/tree/main/.agents/skills/cli-tools
Command: npx skills add https://github.com/kastheco/kasmos --skill cli-tools-kastheco

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill Unit helps developers overcome the limitations of traditional command-line tools for code manipulation and analysis. It offers a collection of modern tools for efficient and safe code operations.

Core Features & Use Cases

  • Code Search and Replace: Replace symbols and patterns with high accuracy using tools like ast-grep, comby, and sd.
  • Structural Code Transformations: Perform sophisticated refactorings without risk of breaking the code structure.
  • Efficient Data Processing: Quickly extract, process, and transform code and data files using powerful command-line tools.
  • Use Case: Imagine you have a large codebase where you need to rename a function across multiple files without breaking references. Use the ast-grep tool to perform the renaming safely and accurately.

Quick Start

Run the cli-tools skill to perform code search and replace across your codebase.

Frequently Asked Questions about cli-tools

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is the best way to rename a function across a large codebase without breaking references?

Structural code transformation is the best way to rename functions safely across a large codebase. Using command-line tools like ast-grep, you can perform accurate code search and replace operations without breaking the existing code structure.

How do I perform structural code search and replace using command-line tools?

You perform structural code search and replace by running the cli-tools skill to execute tools like ast-grep, comby, and sd. These tools parse code structure to replace symbols and patterns with high accuracy, automating complex refactoring tasks.

Why should I use ast-grep or comby instead of standard text search for refactoring?

You should use ast-grep or comby instead of standard text search to overcome limitations of traditional command-line tools. They perform structural code transformations, ensuring safe symbol replacement and sophisticated refactoring without risking broken syntax.

Can I use command-line tools for efficient data processing and extraction in code files?

Yes, you can use command-line tools for efficient data processing to quickly extract, process, and transform code and data files. Tools like rg provide rapid code analysis, enabling precise manipulation across your development environment.

Does this code analysis tool require any external dependencies to run?

No, this code analysis tool requires no external dependencies to run. It provides a curated set of command-line tools as scripts and references, ensuring you can perform code transformation and refactoring immediately in your environment.