·ast-grep

Effective code search, analysis, and refactoring using ast-grep (sg). Use this skill for precise AST-based code modifications, structural search, and linting.

18Installs·3Trend·@outlinedriven

Installation

$npx skills add https://github.com/outlinedriven/odin-codex-plugin --skill ast-grep

How to Install ast-grep

Quickly install ast-grep AI skill to your development environment via command line

  1. Open Terminal: Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.)
  2. Run Installation Command: Copy and run this command: npx skills add https://github.com/outlinedriven/odin-codex-plugin --skill ast-grep
  3. Verify Installation: Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Source: outlinedriven/odin-codex-plugin.

SKILL.md

View raw

ast-grep is a fast and polyglot tool for code searching, linting, and rewriting based on Abstract Syntax Trees (AST). It excels at structural search and replace where regex fails.

Understanding Named vs Unnamed nodes and Matching Strictness is crucial for precise patterns.

ast-grep supports complex transformations (regex replace, case conversion) and rewriters for sub-node transformation.

Effective code search, analysis, and refactoring using ast-grep (sg). Use this skill for precise AST-based code modifications, structural search, and linting. Source: outlinedriven/odin-codex-plugin.

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/outlinedriven/odin-codex-plugin --skill ast-grep
Category
{}Data Analysis
Verified
First Seen
2026-02-22
Updated
2026-03-10

Browse more skills from outlinedriven/odin-codex-plugin

Quick answers

What is ast-grep?

Effective code search, analysis, and refactoring using ast-grep (sg). Use this skill for precise AST-based code modifications, structural search, and linting. Source: outlinedriven/odin-codex-plugin.

How do I install ast-grep?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/outlinedriven/odin-codex-plugin --skill ast-grep Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Where is the source repository?

https://github.com/outlinedriven/odin-codex-plugin

Details

Category
{}Data Analysis
Source
skills.sh
First Seen
2026-02-22