No priest will feed sufficient context about their community into the context window - even if they were skilled enough to do so, unless the model was locally hosted, doing so would be a violation of their vows of silence. Good homilies are written with the particular community in mind. If it were more effective to write a homily for a generic public, the Vatican would have started publishing standard homilies long a…
By this, he meant that it was ok-but-not-great, and there's a lot of weak preaching out there. And your point is dead on: the text and the assembly are the primary considerations. I preach on the same readings to 4 different masses, but the 4:30 Saturday Vigil folks are a different group than the 11:30 Sunday Morning crowd, so the message is tuned accordingly. Different emphases, different touchstones, differing exhortations, etc.