How to make a skill use an item.

As the title says, I have a skill that I would like to be dependent on items. Is there a way to do this?
You can use Yanfly's custom skill cost script for that
Worked like a charm! Thank you!
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-make-a-skill-use-an-item.26029/