Tagging specific frames for export in Blender

In Blender 2.69, I want a way to ‘tag’ specific frames that I want to export to a mesh-keyframe-based file format. I want to sometimes tag an inbetween frame, not just the keyframes. Is there a way I can add extra metadata and easily access it from the python script to determine what frames should be saved? Currently, the plugin saves ALL frames, both keyframes and ALL inbetweens.

you could add timeline markers and process them in your export script

bpy.context.scene.timeline_markers