Python Script for Armature Scale -
Try this. Select the armature before running it (but the mode shouldn't matter this time).
import bpy
ob = bpy.context.active_object
assert ob.type == 'ARMATURE'
assert ob.animation_data and ob.animation_data.action
action = ob.animation_data.action
for fc in [*action.fcurves]:
    if fc.data_path == &quot;scale&quot;:
        action.fcurves.remove(fc)
ob.scale = [0.011] * 3