Blender armature tools for game engines
For now there's only one tool - Remove bones. Select all meshes that you want to export and the armature affecting them, the tool will delete all bones that dont affect the meshes preserving their parents. The tools also keeps the selected bones which can be disabled with a checkbox.