Codemod grep: Structural code search across public GitHub repos
Codemod grep is a new code search engine that works on structure rather than plain text. It uses ast-grep pattern syntax to match code by its syntax tree shape, so you can find patterns across public GitHub repositories that regex or text search would miss.
What makes it different
Instead of searching for exact strings or fuzzy regex matches, you write patterns that represent code structure. For example, the pattern console.log($MSG) will match any console.log call with any argument. Similarly, $A.$B($C) matches any method call on any object with a single argument, and await $EXPR finds any awaited expression.
The tool also supports structural search for HTML patterns, like finding <img> tags without an alt attribute — something that's tricky with regex but trivial with structural matching.
How to use it
The interface is simple: you enter an ast-grep pattern in the search box, optionally switch to YAML rule mode for more complex conditions, and hit search. There's also a regex mode for traditional string matching, and an "Ask AI" feature for natural language queries.
Under the hood, it leverages the exact same pattern syntax used by ast-grep's CLI, so if you already know how to write ast-grep rules, you can reuse those skills here. For a quick start, the homepage offers example patterns like console.log($MSG), $A.$B($C), and await $EXPR.
Who this is for
This will appeal to developers who work on large codebases, perform cross-repository refactoring, or need to audit code patterns across the open-source ecosystem. It's also a great way to discover how certain APIs are used in practice.
Head over to grep.codemod.com to try it out with your own patterns.
📖 Read the full source: HN AI Agents
👀 See Also

OnPrem.LLM AgentExecutor: Launch Sandboxed AI Agents with Built-in Tools
OnPrem.LLM's AgentExecutor lets you create autonomous AI agents that execute complex tasks using cloud or local models, with nine built-in tools including file operations, shell commands, and web search. You can run agents in sandboxed containers for security.

Comparing OpenClaw and Claude Cowork: Local Automation vs Sandboxed Workflows
OpenClaw is an always-on local agent that runs on your machine with shell command execution and browser automation, while Claude Cowork operates within Claude Desktop in a sandboxed environment focused on document and browser tasks.

Reseed CLI: Extract Design Systems from Any Site for Claude Code and Cursor
Reseed is a CLI that extracts design tokens (colors, spacing, type scale, radii) from any website and generates a tailwind.config.ts, design-system.md, and reference HTML for Claude Code and Cursor to use.

Claude Code's Tool API Details Revealed
A Reddit user extracted details about Claude Code's tool API, including file system operations, bash execution, web search, and how tool calls are structured using XML-like blocks.