An After Effects script that renames your selected comp with the name of your project file. I made it a one-click and lightweight tool that doesn’t require a UI. It can easily be launched from a script launcher or the File > Scripts menu in AE.