I imagine you could make a UOAssist macro for it.
Most faction people always put the traps in the same spots. So once you remove the barrels once, record a UOAssist macro targetting that specific tile. Use detect hidden and then just delete the use skill line. Once you have that spot saved to a macro, you won't need to remove the barrels anymore. You can use remove trap and just hit the macro that has that exact spot on the ground saved.
Another easy way would be to record clicking one tile next to you in either direction. Once recorded right click and select target relative location. Then it wouldn't matter where the traps were, just always stand one tile away(in whatever direction you recorded) use remove trap, and then use your UOAssist target macro and it should work.
This is only in theory, I haven't tested. Let me know if that works.