What it is
Mining is trained on five kinds of rock in three fenced pens on the home island. One bronze pickaxe mines them all, and the rocks never run out.
Getting there
Open the teleport window, go to the Other tab and pick the Skilling group:
Bonfire: Ember and Verdite rocks, in the fenced pen just west of where you land. The Bonfire and the Skilling supplier are just east.
North Quarry: Purpurite and Jasper rocks. You land inside the pen.
West Coast: Prismite rocks. You land inside the pen, outside the north-west town wall.
Each teleport lists the rocks at that spot and their levels. Each pen's gate is on its south side.

Requirements
A Bronze pickaxe from the Skilling supplier, in your inventory or wielded. Click Trade on him (he stands just north of the Bonfire) to open the Skilling Supplies shop.
The Mining level of the rock (see the table below).
At least one free inventory slot.

Training by level
| Level | Rock (ore) | Pen (teleport) | XP per ore |
|---|---|---|---|
| 1 | Ember rocks (Ember ore) | West (Bonfire) | 1,125 |
| 25 | Verdite rocks (Verdite ore) | West (Bonfire) | 1,650 |
| 50 | Purpurite rocks (Purpurite ore) | North (North Quarry) | 2,175 |
| 75 | Jasper rocks (Jasper ore) | North (North Quarry) | 2,625 |
| 95 | Prismite rocks (Prismite ore) | Coast (West Coast) | 3,525 |
How it works
Click Mine on a rock you have the level for.
You get one ore every 3 game ticks. No swing fails and the rock never runs out.
Mining stops when your inventory is full, you do something else, or the pickaxe leaves your inventory and hands.

Tips
Use your ores on the Bonfire to smelt them into bars for Smithing XP. See the Smithing guide.
Start at the Bonfire teleport: it puts the first pen, the Bonfire and the Skilling supplier a few steps apart.