Skill / SKILL.md

Ast Grep

omagents/omagents

AST-aware code search and rewrite across 25+ languages using the ast-grep (sg) CLI. Trigger when the agent needs structural code matching, pattern-based search, or pattern-based rewriting. Falls back to grep if ast-grep is not installed.
2 views 361 repository stars 0 commentsUpdated Nov 28, 2026
Overview

AST-aware code search and rewrite across 25+ languages using the ast-grep (sg) CLI. Trigger when the agent needs structural code matching, pattern-based search, or pattern-based rewriting. Falls back to grep if ast-grep is not installed.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/omagents/omagents' skill-source

Use the complete skill-source/packages/core/skills/ast-grep directory with your client’s skill installer.

  • packages/core/skills/ast-grep

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory packages/core/skills/ast-grep

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
390ef81215c8c678a292dda3e592ece88774e38012b7dd5766013b0a5371f464
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills