A bacteriophage capsid protein provides a general amyloid interaction motif (GAIM) that binds and remodels misfolded protein assemblies.