From Bulbapedia, the community-driven Pokémon encyclopedia.
A Bibarel that knows four field moves
HM slave is a derogatory fan term used within parts of the fandom to refer to a Pokémon in a Trainer's party that is not used for battling, but to provide navigational support through the use of field moves—generally those taught by Hidden Machine. HM slaves will typically have all four move slots occupied with field moves, allowing smooth passage through caves, across oceans, or past other obstacles.
Many Pokémon are able to learn a wide array of HM moves, fit for HM slavery. Some trends persist throughout regions and games. Normal-type Pokémon are commonly used as HM slaves because of the abundance of Normal-type HMs. Water- and Flying-type Pokémon may be suitable HM slaves in some regions, depending on the HM distribution. With the ability to learn six HM moves in Sinnoh, seven in Johto, and five in Unova, Bibarel is considered by some players as one of the best HM slaves. While infrequently used for these purposes, legendary Pokémon can typically learn many HM moves. Through Sketch, Smeargle can learn any HM move.
As Pokémon cannot learn more than four moves, Trainers may require two or more HM slaves in order to achieve sufficient coverage.
HM slaves may also be known as HM mules, among other variants. A term used within the Japanese fandom is 秘伝要員 Secret Agent.