What happens if you ingest mold off a pistachio shell?

Usually nothing. Ingesting a small amount of mold by an otherwise healthy person is not likely to have any ill-effects.