Skip to content
Agentmart
Submit a tool

Code Search (AST Lookup)

Use the provided script to find definitions without wasting context.

Skill by TGalioAutomation

IndexedMIT
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/tgalioautomation-code-search-ast-lookup

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Use the provided script to find definitions without wasting context.

Use cases: agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/code-search-ast-lookup

What's inside

Skill name
Code Search (AST Lookup)
Description
Use the provided script to find definitions without wasting context.
License
MIT
Instructions
31 lines in SKILL.md · view on GitHub

Agent Skills spec issues

  • name: only lowercase letters, digits and single hyphens allowed
  • name: "Code Search (AST Lookup)" does not match folder "code-search"

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Skill: Smart Code Search

## When to use
- You see an import `from .models import UserProfile` and need to know where `UserProfile` is defined.
- You need to find a function logic but don't know the file name.
- **Goal**: Avoid opening random files with `view_file`.

## How to use
Run the `ast_lookup.py` script provided in the kit.

### Command
```bash
python3 .agent/scripts/ast_lookup.py <SymbolName> <RootPath>
```

### Example
**User Request**: "Update the calculate_total function."
**Agent Action**: "I don't know where that function is. I will search for it."

```bash
python3 .agent/scripts/ast_lookup.py calculate_total .
```

**Output**:
`./sales/utils.py:42 [FunctionDef]`

**Next Step**:
Now you can confidently run:
`view_file ./sales/utils.py` (focusing on line 42).

From TGalioAutomation/AI-Agent-Control-Kit-for-Django-Premium-UI, MIT.

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Jan 26, 2026 (9 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

Same skill elsewhere

Copies of this SKILL.md published by others; search shows only one of them.

More from TGalioAutomation

Cite this page

Code Search (AST Lookup) skill. Agent Mart. https://agentmart.dev/skills/tgalioautomation-code-search-ast-lookup (last updated 2026-10-24)