I had a torn air intake duct before that acted similarly. It was torn underneath where it was hard to see. It caused it to run lean at idle, which if I recall would be worse when cold.
Be sure and find out what codes it is tripping.
"Start with the fuel filter" = I have no idea, but I'm happy to give useless advice anyway!