To act as a clerk, to perform the duties or functions of a clerk
The law school graduate clerked for the supreme court judge for the summer.