Trick to always win againt gnugo & kugutsu

Using a kifu is not allowed in live games, [edit] unless of course, you memorise it before the game [/edit], so I do hope you don’t use this technique either in live or blitz.
Though, what you describe should be possible in corr games.

“The only type of computer assistance allowed is games databases for opening lines and joseki databases for corner patterns in correspondence Go. You cannot receive ANY outside assistance on live or blitz Go games.”
https://online-go.com/docs/terms-of-service

PS:
You can, however, shoulder-hit everything to win by points vs gnugo-based bots, as is described here.