Recipe for homemade almond butter: http://portandfin.com/4-ingredient-maple-almond-butter/
Note that if you make you own almond butter, the consistency at which you make it will effect the cookies. I like my almond butter smooth (kind of like peanut butter), which yielded a softer cookie. If your almond butter is chunkier and drier, the cookies will turn out a bit crunchier.