Anna Deavere Smith, an actress and playwright, has been named artist-in-residence at Grace Cathedral in San Francisco and is working on a play about the meaning of grace.