You can also get Foraging by capturing the Student NPC and donating him to one of the Goblin Households, after that you can talk to him and he teaches it for a price. Alternatively, there is a Succubus NPC that appears on the second floor of the Goblin Brothel on Saturdays who sells most of the Skill manuals.
Glue you can either craft with Alchemy, buy from the Goblin Merchant (her stock is random though) or buy from the Tengu Alchemist Aria in Citrine Crags.