Using Agent Skills

Install the OpenJoystickDriver (OJD) skills so an AI coding agent can diagnose a controller, write a patch or record, add rumble, generate documents, and package a mod with the ojd command.

The Skills

Each skill does one job. The agent loads a skill when your request matches its description.

Skill Use it when
diagnosing-ojd-controllers a controller is missing, misread, or silent, or you need a support report
writing-ojd-controller-patches OJD knows the model but one detail is wrong
writing-ojd-controller-records OJD doesn’t know the controller
adding-ojd-rumble the controller’s motors stay still
generating-ojd-documents several models differ by a few details
packaging-ojd-mods you want to share your files with other users

The skills run ojd commands on your Mac. The agent asks you before it passes --force, and asks you to press controls while it captures.

Install the Claude Code Plugin

  1. In Claude Code, run /plugin install openjoystickdriver --marketplace OpenJoystickDriver/OpenJoystickDriver.
  2. Call a skill by name, such as /openjoystickdriver:adding-ojd-rumble 0079:0006, or describe the task.

Install the Codex Plugin

  1. In Terminal, run codex plugin marketplace add OpenJoystickDriver/OpenJoystickDriver.
  2. Run codex plugin add openjoystickdriver@openjoystickdriver.
  3. Start Codex and describe the task, such as “add rumble to my 0079:0006 pad”.

Install the Skills in Another Agent

The skills folder of the repository holds the same skills in a form any agent that reads Agent Skills can use, such as Cursor, Gemini CLI, or GitHub Copilot. Use this when your agent has no OJD plugin.

Install With the Skills Command

The skills command installs them for you. It needs Bun; with Node.js, write npx instead of bunx.

  1. In Terminal, go to your project folder.
  2. Run:

    bunx skills add OpenJoystickDriver/OpenJoystickDriver
    
  3. Pick the skills and your agent when it asks. It copies the skills into .agents/skills/ of the project and links them for each agent you picked.

When an agent runs the command instead of you, nothing asks: it installs all six skills into .agents/skills/ and links them for the agent that ran it. To choose what it installs, give the options below.

To skip the questions, name the agent and take every skill, such as bunx skills add OpenJoystickDriver/OpenJoystickDriver --skill '*' --agent cursor --yes. Add --global to install for every project instead of one. Add --list to see the skills without installing them.

Run bunx skills update to get newer versions of the skills.

Uninstall With the Skills Command

Remove all six skills from the project:

bunx skills remove adding-ojd-rumble diagnosing-ojd-controllers generating-ojd-documents packaging-ojd-mods writing-ojd-controller-patches writing-ojd-controller-records --yes

Add --global if you installed them with --global. Run bunx skills list to check what is left. Don’t use bunx skills remove --all: it removes every skill, not only the OJD skills.

Install by Hand

Copy each skill folder from the skills folder of the repository into one of these folders:

Folder Scope
.agents/skills/ in your project one project, for agents that read the shared folder
.github/skills/ in your project one project, for GitHub Copilot
~/.agents/skills/ every project
~/.copilot/skills/ every project, for GitHub Copilot

Keep each folder whole: a skill reads the files in its references folder. To uninstall, delete the skill folders you copied.

Further Reading