PhD for local sensing of collective spin phases