Alright, to look for people would be a survival check.
Identifying the flag is a history check.
With those roles you can determine footprints walking towards the flag before entering a hidden cave. As for the flag itself, the only thing you can identify about it is that it is very old, perhaps used to mark the cave entrance for some old faction that used to exist.