The former Celtic man says the forward should learn from his team-mate.
Griffiths was out of favour at Celtic but worked his way into the first team and is now undroppable such is his impact at Parkhead.
Stokes, however, is not currently in the first-team frame within the Bhoys setup and Boyd wants him to do what his team-mate did.
That involves adopting the right attitude, working hard and possibly doing extra training sessions - although he acknowledges the fact Stokes has already done the latter.
"The perfect example would be Leigh Griffiths," he told STV.
"The start he had here at Celtic under the manager when he wasn't being selected. Then he was and hit a bit of form and now he is the first striker on the team sheet.
"So he's an example to everybody who is waiting on the wings for what you have to do and how you have to prepare.
"I do believe that Anthony is doing some of that. He is doing a few extra training sessions. It's just a matter of biding your time until those opportunities come along."
However it worked out for Griffiths, though, it certainly won't be anywhere near as easy or straightforward for Stokes.
The forward clearly hasn't become a part of Ronny Deila's first-team plans and that has remained the case for almost a year and a half now.
The Celtic man can keep working hard and trying to make an impression but, ultimately, it doesn't look as though it will make a difference.
Carlton Cole is now in the picture at Parkhead, while Nadir Ciftci, despite fan criticism, is also ahead of Stokes in in the pecking order.