Extract file structure (functions, classes, exports) efficiently without reading entire files, using ast-grep, go doc, ctags, or other language-specific tools to get outlines and signatures
When the question is "list the X in Y", do not Read the whole file. Get an outline first; Read selectively after.
ast-grep outline -- the default. One interface across languages, no build or import step, and every text view carries line numbers so you can Read just the range you need afterward. Pass -l to be safe (required for stdin; inferred from extension for paths).
ast-grep outline -l go file.go (digest: signatures + member names)ast-grep outline -l go file.go --view namesast-grep outline -l go file.go --match Visitor --view expandedast-grep outline -l go ./pkg--type struct,function; by name: --match REGEX; public members only: --pub-membersast-grep outline -l go file.go --items imports--json=compact (also pretty, stream)Compiler/parser-aware tool when you need true export semantics or docstrings, which outline does not carry:
go doc -all ./path/to/pkgpython -m pydoc some.module.path (requires the module to be importable -- deps installed, on PYTHONPATH)cat node_modules/<pkg>/dist/index.d.ts -- the declaration file is a pre-made API outlinejavap -p <Class> (requires compiled .class files)ctags fallback -- for languages outline's bundled rules don't cover; canonical for C/C++:
ctags -f - file | grep -v '^!' | cut -f1,4 # symbol + kind
Use the outline to decide what to Read, then Read just that section.
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer