As a new soft electronic product, a flexible precontact sensor provides spatial position sensing ability. However, the properties of traditional polymer materials change in industrial environments with extreme temperatures, which can cause the sensor function to decline or even fail. In this study, we propose a flexible fiber sensor based on the capacitor principle, which achieves a stable spatial positioning function and is not affected by a wide range of temperature changes. The fiber element of the sensor is obtained through the deposition of a flexible Al2O3 ceramic coating onto the surface of a carbon nanotube fiber (CNTF) via atomic layer deposition (ALD) technology. Coatings of different thicknesses (100 nm, 200 nm, and 300 nm) show different colors. The temperature resistance and flame retardancy of Al2O3 keep the morphology of the composite fiber unaffected by flame or high temperatures. Even at extreme temperatures (-78 °C to 500 °C), the sensor's sensing ability exhibits excellent stability. In addition, the spatial perception of the fibers remained viable after repeated bending (10 000 times). We demonstrate the potential of the sensor to acquire position information during high-temperature industrial pipe docking.