Stem the chiles, then break or cut them open and scrape/brush/let fall out most of the seeds; cut into 1/4-inch pieces - you will have about 1 cup. (Simply use chiltepin or pequin whole.)
In a large (4-quart) saucepan, combine the nuts, sesame seeds, garlic and oil. Set over medium-high heat and cook until garlic and sesame seeds are golden, about 5 minutes. Remove from the heat and stir in the chiles. Let cool 5 minutes.
In a small bowl, mix the vinegar with the salt until the salt dissolves, then add it to the pan along with the herbs. When the mixture has cooled to room temperature, pour it into a blender or food processor and pulse until everything is chopped into small pieces. Run the processor for a few seconds until everything is finely chopped—but not pureed. Pour into a jar and store in the refrigerator until you're ready to use.