[enh] magictools by @ellisonleao