Chuck Barris, the “Gong Show” creator, songwriter and novelist who sought to add to his already eclectic résumé with a made-up — or was it? — story about being an assassin for the C.I.A., died Tuesday in Palisades, N.Y. He was 87.