sym
Use this skill when
- You need candidate symbol names fast (avoid guessing / placeholder names).
- You want a compact index of classes/functions in a package.
Commands
sym .
sym mypkg
sym mypkg --include-methods
sym mypkg --query trainer --kind class
sym mypkg --base nn.Module --kind class
sym mypkg --decorator dataclass --kind class
sym mypkg --include-nested --query inner
sym mypkg --query __init__ --kind method
sym mypkg --json
CODEX_HOME="${CODEX_HOME:-$HOME/.codex}"
python3 "$CODEX_HOME/skills/sym/scripts/sym.py" mypkg
Notes
- AST-based: precise (low false positives) for Python.
- Bounded: respects
--max-files, --max-results, and --max-file-bytes.