There are 2 repositories under ghidra-snippets topic.
Python snippets for Ghidra's Program and Decompiler APIs