는 김에 is to describe that while someone is already doing an action, the person could get another opportunity to do the next behavior .
ex)
While cooking soup, I also cooked yours.
수프를 요리하는 김에 니 수프도 요리했어.
While you do dish washing, could you bring this cup?
설거지 하는 김에. 이 컵도 가져가줄래?