The problem for human or engine is not seeing the main plan but to evaluate the remaining position where black is a piece up. However he can never win when he loses or trades his g6-pawn and avoiding that is the hard part.
How would you win this endgame for black?

@Arisktotle, there are many ways for black and white to go wrong here. Even when solving the sequence, white still has a chance to lose or have a drawn endgame.

Interesting position, and not uncommon. I'm no engine and there are too many variations but I feel eventually a knight sac may be necessary, to gain tempo and promote first. Right now Rxb2 seems logical. @ESMolen would be fun if you made an unrated mini-tournament with this starting position to play this out.
How would you win this for black? This is an advanced endgame sequence for anyone who wants to improve in endgames. If you found the move, show me the continuation.
Is it something like pushing the d pawn, eliminating the opponents knight, and blocking off the d-file with the knight.

@ESMolen, https://support.chess.com/article/119-how-do-i-create-a-tournament explains how to create a tournament. Unless someone already knows the answer (if there is one), it's interesting to try out the different strategies against eachother.
Looks to be a trivial win after ...d2. If then Nd1, ...a3! enables the black rook to get to b1, winning on the spot.
I guess d2 to both threaten promotion & white's knight
White's knight would go to d1 to block the d pawn's promotion
a3 to sac the pawn & to open up the b-file for the rook
Rb8 to make white's knight helpless
I think if white plays Kf3, you can check with your knight first before taking white's knight & eventually you can win white's rook as well making it winning for black

@Deranged, Agreed. For this, you HAVE to be accurate. I am saying this for almost anyone who isn't titled. I think a titled player would find the whole sequence.
There are 2 ways this position can be played for white. Both of them are bad.
Edit: This position can be played in multiple ways for both players.
How would you win this for black? This is an advanced endgame sequence for anyone who wants to improve in endgames. If you found the move, show me the continuation.