/fiveai-skills:ox-targetfrom fiveai-skills
Adds third-eye targeting to FiveM resources using exports.ox_target. Replaces qb-target/bt-target. Covers entities, models, players, and zones.
Ships in fiveai-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Third-eye targeting for FiveM. Replaces qb-target and bt-target. Supports ox_core, esx and qbx_core.
Load this skill when the user asks to make something interactable: "press E on this ped", "third eye", "target option", "add an interaction to this vehicle/door/prop", or when migrating from qb-target.
exports.ox_target:<fn>(...). There is no global ox_target table.onSelect runs on the CLIENT. Never trust its arguments server-side: re-validate in the serverEvent handler.name on an option you intend to remove later. Removal is by name, not by index.distance defaults to the resource default; set it explicitly for anything above ~2.5m.addLocalEntity for entities you spawned yourself; use addEntity only for networked entities and expect the id to change on respawn.| Target | Function |
|---|---|
| One entity you spawned locally | addLocalEntity(entities, options) |
| A networked entity (net id) | addEntity(entities, options) |
| Every instance of a model | addModel(models, options) |
| Every ped / vehicle / object / player | addGlobalPed / addGlobalVehicle / addGlobalObject / addGlobalPlayer |
| Everything, no filter | addGlobalOption(options) |
| A location, not an entity | addBoxZone / addSphereZone / addPolyZone |
ox_target is started AFTER ox_lib in server.cfg.groups, items or canInteract rather than checking inside onSelect.onSelect for client logic, serverEvent for anything that grants money, items or state.Return runnable Lua using exports.ox_target. Include the fxmanifest.lua dependency lines when the resource is new. Never emit qb-target syntax.
Upstream docs: https://overextended.dev/ox_target
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub germanfndez/fiveai-skills --plugin fiveai-skills12 skills in this plugin
/esx-frameworkTrigger: ESX, es_extended, xPlayer, PlayerData, ESX.GetPlayerFromId, ESX.RegisterServerCallback, ESX jobs, economy, inventory. Build ESX Legacy resources with server/client functions, xPlayer methods, callbacks and events./fivemanageTrigger: Fivemanage, fmsdk, takeImage, takeServerImage, uploadImage, Log, Info/Warn/Error, player screenshots, logs dashboard. Install and use the Fivemanage SDK for images and centralized logs./fivem-basicsTrigger: FiveM resource, fxmanifest, client/server script, RegisterNetEvent, TriggerServerEvent, TriggerClientEvent, exports, F8 logs, how FiveM works. Structure resources, manifests, events and exports for FiveM Lua.Other plugins' skills for the same job