toot by https://fedi.simonwillison.net/@simon
fedi.simonwillison.net/@simon/114387775357817233Fun new LLM fragments plugin: llm-fragments-symbex can scan a directory full of Python code and extract the class, function and method signatures and their docstrings to feed into the context of an LLM prompt. It's adapted from my older Symbex project <https://simonwillison.net/2025/Apr/23/llm-fragment-symbex/>
llm install llm-fragments-symbex
llm -f symbex:path/to/folder -s 'example code using this library'