/firestorm-avatar:firestorm-avatarfrom Firestorm Avatar (MCP)
Use when driving the user's Second Life avatar through the Firestorm viewer — moving (teleport/sit/stand), seeing (viewport snapshot), searching the world, browsing/organizing/wearing inventory, giving items, setting next-owner permissions on items, authoring gestures and wearables (clothing, tattoos, body shapes), editing your own profile and viewing others', inspecting nearby avatars, 1:1 IM and group chat/notices, answering offers/dialogs, touching in-world objects, uploading assets (images, sounds, animations, materials, mesh), building with objects (create prims, rez, attach, drop, duplicate, edit, texture, fill and edit contents, reset scripts, set script experiences, set permissions, link, take), and paying L$. All actions respect RLV restrictions. Tools are served by the embedded "firestorm" MCP server.
Ships in Firestorm Avatar (MCP). 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.
None: SKILL.md is the whole skill.
The user's custom Firestorm viewer (an ID-prefixed fork) embeds an MCP server so you can drive
the avatar directly. The tools appear under the firestorm MCP server (registered in
~/.claude.json, user scope). Everything runs on the viewer's main thread and is
non-blocking — long operations stream their result back over SSE.
IDMCPServerEnabled is off.IDMCPServerEnabled = 1 (off by default). Port is
IDMCPServerPort (default 33777). Loopback only, no auth — enabling grants any local process
full control of the avatar.-32003 NOT_LOGGED_IN.firestorm-headless skill.Call viewer.getGrid at the start of every turn, before any other tool. The user can log
out and back in to a different grid between turns, so the answer from an earlier turn may be
wrong now.
agni is the main Second Life grid. L$ is real money, inventory is the user's real
inventory, and the people are real. Payments, uploads, deletes and gives here are for real.aditi is the Second Life beta grid, for testing. Uploads and payments still cost L$, but
it's test money and accounts get plenty of it, so spending it is fine. Nothing done there
(items, uploads, L$) carries over to the main grid.other is a non-Linden grid such as OpenSim.If the grid isn't the one you expected for the task, stop and tell the user before acting.
Call tools/list for exact parameters, or see MCP_TOOLS.md in the phoenix-firestorm repo
root for the written reference. By area:
| Area | Tools | Use for |
|---|---|---|
| Health | ping | Liveness check |
| Viewer | viewer.getGrid, viewer.notify | Confirm which grid you're on (every turn — see above); post a toast to get the user's attention (persistent by default; tip:true = fades) |
| RLV | rlv.getStatus, rlv.getRestrictions, rlv.canDo | See what's restricted before acting |
| Inventory | inventory.getFolder/getItem/search/createFolder/rename/move/copy/delete/giveItem/giveFolder/createItem/refresh/setPermissions | Browse (including the Library: folder:"library", root:"library"), organize, give, delete (to Trash, or purge:true for good), set next-owner, group and everyone permissions |
| Notecards/Scripts | notecard.read/write, script.read/write | Read/edit item contents in your inventory or inside a prim (object_id + item); scripts compile (mono/lsl2/luau/lsl-luau); notecards keep embedded items as {{item:N}} |
| Appearance | appearance.wearItems/detachItems/wearOutfit/listOutfits/getWorn | Wear/remove, outfits |
| Gestures | gesture.list/read/create/write/activate/deactivate/play | Author gestures (trigger, key bind, animation/sound/chat/wait steps); activate and fire them |
| Wearables | wearable.read/create/write | Author clothing & body parts — textures, tint, and slider params. Writes are worn-only; detach, wait 5 s and re-attach afterwards to save |
| Profile | profile.get/setSelf, profile.getPicks/getClassifieds, people.getNames, people.getFriends | View/edit profiles, read picks & classified ads in full, resolve names, list friends (online + granted rights); people.offerFriendship |
| Search | search.people/places/groups/events/land/classifieds | Directory search (headless) |
| Nearby | avatars.getNearby, avatars.getWorn, avatars.getEffects | Who's around, where they are & which way they face, what they have attached, and a texture animation or particles set on an avatar |
| Movement & world | objects.getNearby, movement.teleport/walkTo/turn/sit/stand, agent.getLocation, object.touch, agent.control/gameControl | Find nearby objects, go somewhere (teleport or walk), turn in place, sit (with an offset, on the ground, or on another link), know where you are, operate objects, press movement keys and mouse buttons |
| Animation (AO) | ao.getStatus/setEnabled/selectSet/cycle | Firestorm client-side animation overlay |
| Vision & HUD | vision.snapshot, camera.set/get/clear, hud.click | See the scene (snapshot; show_hud:true includes HUD overlays), look from your own camera without moving the user's, click a HUD button by screen coordinate |
| IM (1:1) | im.send/replies/getConversations/getMessages | Private person-to-person messaging |
| Notifications | notifications.list/respond | Answer offers (items/teleport/friendship/group), blue-menu dialogs and script text boxes |
| Groups | group.list/getInfo/activate/sendIM/getNotices/sendNotice | Group chat + notices |
| Uploads | upload.image/sound/animation/material/mesh | Upload assets (cost L$ — see below) |
| Building | object.create/rez/attach/get/edit/setFaces/contents/addContents/copyContents/removeContents/renameContents/setScriptExperience/setPermissions/link/unlink/take/drop/duplicate, experience.list | Turn uploads into finished items without the Build floater (see below) |
| Scripts in objects | object.resetScripts/setScriptsRunning/getScriptsRunning | Reset scripts, stop and start them, read whether they run |
| Reading objects | object.get {details:true}, object.menuState, object.payPrices, sounds.recent | What a prim shows and plays: touch/sit text, sale info, texture animation, particles, light and projector, sound; which pie menu entries are enabled; what the pay dialog offers |
| Money | money.getBalance/pay | Check balance; pay L$ (pay is fenced — see below) |
A tool call that would violate an active RLV restriction fails with JSON-RPC error -32011,
whose data names the restriction and the sources (the object(s) imposing it). This is not
advisory — the action does not happen.
rlv.getRestrictions (what's active) or rlv.canDo
(would this specific call be allowed?).@showinv (inventory browse), @detach/wearable locks (appearance),
@shownames (others' names/profiles), @viewnote/@viewscript (contents), @edit
(authoring gestures/wearables — a fork extension of @edit to inventory content),
@sendgesture (gesture.play), @rez (object.create/rez/take), @addattach (object.attach), @shownearby
(nearby avatars), @showsearch (search), @share (giving), @setgroup (group activate),
@tplm/@tploc/@tplocal (teleport), @sit/@unsit (sit/stand), @touchworld/@touchall/
@interact (object.touch), @sendim/@recvim (IM), @pay/@buy (money.pay).Every upload tool is two-phase and defaults to a dry run:
confirm): returns a per-file manifest — validation + L$ cost estimate —
plus the total and your current balance. Spends nothing."confirm": true): actually uploads.The intended flow for "upload these for me into folder X": dry-run → show the user the cost →
get approval → re-call with confirm: true. One approval per batch, not per file.
paths (explicit list) and/or dir (globs that type's extensions).dest = folder UUID or well-known name (default = the type's system folder: Textures/
Sounds/Animations/Materials). names overrides per-file inventory names (default = filename stem).confirm requirement is the spend guard.upload.mesh is the exception to the batch shape: one model per call, given as path. Its
dry run is the server's real fee quote (plus land impact and triangle counts), not an estimate.An edit to something worn isn't reliably saved on the asset server, or shown to others, until the
item comes off and goes back on. This covers clothing, alpha layers, tattoos, body parts and
attachments, after wearable.write or any object.edit, object.setFaces or
object.addContents on a worn object.
After the last edit to an item:
appearance.detachItems with the item's id.appearance.wearItems with the same id. Leave replace off, so nothing else comes off.Do this once per item when you're done editing it, not after every call. Re-wearing in place or rebaking textures is not a substitute. If RLV locks the item, the detach is refused: tell the user the edit may not be saved until the item can come off.
The usual loop: upload → object.rez (or object.attach to work on it worn) → object.get →
object.edit / object.setFaces / object.addContents → object.setPermissions → object.take.
To build from scratch, start with object.create instead of an upload: it makes a plain prim
(box, cylinder, sphere, torus and the rest of the Build floater's shapes) at the position, scale and
rotation you give, then object.link the prims into one object.
position on object.rez or object.create and it lands 2 m in front of the avatar. Region
coordinates you pick yourself are easy to put behind the user.object.get; they can differ from LSL link numbers.object.removeContents deletes items outright; they don't go to Trash. Copy anything the user
might want back with object.copyContents first, and ask before deleting from an object you
didn't fill in this session.object.addContents
(running:false) so it doesn't run without the experience, then call
object.setScriptExperience with its id from object.contents and running:true. This
recompiles and resets the script; it keeps its compiler, and its running state unless you pass
running. experience.list gives the experiences the user can compile for; ask which one if
the user didn't say.object.setPermissions refuses them:
rez the object first.inventory.setPermissions; there's no need to rez it. New items
default to the user's viewer settings, which are often not what a product needs. Finish worn edits with the detach, wait, attach routine above.object.get,
object.contents or the folder before retrying, or you may duplicate items.When the user asks "what boots is X wearing?" (or any specific item — a hat, a collar, a skirt):
avatars.getWorn for that avatar. It returns every attachment with its object name
(resolved via a server round-trip; the call is deferred a moment while names come back).boot, shoe, heels,
stilettos, sneakers, platforms, etc. Look across all attachment names for anything that
plausibly matches the requested category, and present the best candidate(s) with their names.Only attached objects are visible this way — never another avatar's clothing/bodypart wearable layers or HUDs (see gotchas). So "boots" that are actually a system/mesh clothing layer won't appear; say so if nothing matches.
vision.snapshot renders the current view to an image you can actually look at —
use it to judge a scene, an outfit, or a build that structured data (avatars.getNearby) can't
convey. Cheap; default returns inline base64 jpeg. Pass show_hud:true to include your HUD
overlays (the viewer UI itself stays hidden); then hud.click {x, y} presses a HUD button by
normalized 0..1 top-left coordinate — aim by where the button sits in that screenshot.
(hud.click only hits HUDs; use object.touch for in-world objects.)object.touch {id, face, st:[s,t]} touches a chosen point on a face, and
position touches the surface nearest a region point; scripts then see real
llDetectedTouchST/UV/Pos. hold_ms keeps the button down. object.touch also works on a
HUD prim by id.camera.set {object_id} (or avatar_id / global_position) places your own camera, framed on
the target from the side facing you; add yaw_deg to walk around it (0=East, 90=North),
pitch_deg to look down on it, distance to back off. Then vision.snapshot {camera:"agent"}.
The user's view doesn't move. It only sees what the viewer has loaded around the user's
camera, and far-off detail can be blurry or low-poly. RLV camera distance limits apply from your
head; a refusal's limit_m tells you how close to come. camera.clear when done.objects.getNearby lists rezzed in-world objects (seats,
vendors, furniture) with their object_id, name, and distance — this is how you get the ids that
object.touch, movement.sit, and movement.walkTo need. scripted_only:true cuts scenery
noise down to interactive objects. (It does not list avatars — use avatars.getNearby for
those, and avatars.getWorn for a specific avatar's attachment object_ids.)avatars.getNearby gives each avatar's position and
facing (unit vector, + heading_deg). "Behind" someone is the side their back is toward, not
the side away from you — so to stand behind them walk to position − N·facing, and to their front
position + N·facing (N metres). Then movement.turn {avatar_id} to face them. Don't infer
"behind" from your own approach direction; use their facing.movement.teleport (instant, any distance — exactly one of a landmark item,
a global [x,y,z], a nearby avatar_id, or a slurl like maps.secondlife.com/secondlife/Region/x/y/z
or secondlife://Region/x/y/z, region name resolved automatically; async, up to 60s;
status:"timeout" may just be a slow region, "failed" = sim refused) and movement.walkTo (walk on foot — the "move to here"
autopilot — to a position/object/avatar; best for short in-region moves; stays on foot, never
flies even for far/high targets unless you pass fly:true; pass pathfind:true to route
around obstacles / through doorways / up & down stairs & ramps in a cluttered, multi-room, or
multi-level space — a raycast-grid A* with per-cell floor height, ~1s to plan (straight-line is
the default and faster; use pathfind only when the direct path is blocked); returns
status:"arrived"|"stopped" + final distance). Get positions from search.places,
avatars.getNearby, or objects.getNearby. movement.turn rotates in place without walking
(a relative degrees, +left/−right, or something to face). movement.sit/stand wait ~5s and
report the actual sitting state; movement.sit returns on_target and fails if the avatar ends
up somewhere else.movement.teleport/walkTo/sit/stand
are asynchronous, and each tool call blocks until the move actually completes (or times out —
up to ~60s for teleport/walk, ~5s for sit/stand), then returns the outcome. So wait for each
call to return before issuing the next move — don't fire a sequence of moves in quick succession;
a new move sent while the avatar is still travelling lands mid-transition and behaves erratically.
Always read the returned status first: walkTo can come back "stopped" (blocked / didn't reach
the target) rather than "arrived", and teleport can "timeout"/"failed" — chaining another move
on top of that compounds the error. Pattern: plan → one move → read its result → then the next.
Never issue movement calls in parallel / the same batch — the viewer enforces one move at a
time: a teleport/walkTo/sit/stand sent while another is still running is rejected
(-32005 "a movement is already in progress"). If you get that, wait for the in-flight move to
return, then send the next.ao.getStatus shows whether the client-side animation overlay is on, the active
set, and available sets; ao.setEnabled, ao.selectSet {name}, and ao.cycle {next|prev} control it.llDialog) —
shows up in notifications.list as a typed entry with its buttons. Press one with
notifications.respond {id, button} (button by name: Keep/Discard, Accept/Decline,
or a dialog's own label). This is the only way to answer a blue menu. A script text box
(type:"script_textbox") is answered with notifications.respond {id, text}. A common loop:
object.touch a vendor/furniture → it opens a menu → notifications.list → notifications.respond.
To clear a notification you don't need to act on — a group_notice, an info toast — use
notifications.dismiss {id} (omit id to clear all). It does not press any button, so it
never accepts/declines an offer or keeps/discards an attachment; only use respond when you
actually want to act. Prefer dismiss for group notices; respond for real offers/dialogs.im.send DMs an avatar; their replies collect in an always-on buffer
you drain with im.replies (optionally wait_seconds for a quick back-and-forth). im.getMessages
reads history without clearing the user's unread badge. This is 1:1 — group chat is group.sendIM,
public chat is chat.send.money.getBalance is read-only and always works. money.pay spends real currency and is
locked down: it does nothing unless the user has set IDMCPMoneyEnabled = 1 (off by default),
it's capped by IDMCPMoneyMaxAmount (default L$1000), it honours RLV @pay/@buy, and it checks
you can afford it. Preview any payment first with dry_run:true — it resolves the recipient's name
and the amount without sending. If a real pay is refused, surface why (switch off, over cap,
RLV, or funds) rather than retrying.
cost: 0 is often legitimate, not a bug. On
accounts/grids that charge, the dry-run shows the real price (≈L$10, more for ≥2K textures).
Trust the dry-run's total_cost + balance.confirm with SL's generic "server
difficulties" error. If a sound upload fails that way, suspect length first..bvh is converted client-side (knobs: loop, priority 0-4, ease_in/
ease_out, hand_pose); pre-baked .anim uploads as-is. luau/lsl-luau script targets and
Luau features need region support that isn't universal.-32006. Rigged items keep the
rig the model contains unless you override rigged. Leave physics at its default (none)
for worn items; lowest/cube are for props, and analyze needs one of them. If the dry run
says upload_blocked, show the user blocked_reason instead of confirming. On a timeout with
upload_sent: true, check inventory before retrying, because the upload may have landed.upload.material returns the enqueue + estimated cost but
no per-item id — verify the created items with inventory.getFolder on the dest.script.read/notecard.read resolve the asset server-side
by item id, so reading right after a write works. If a result ever looks stale, inventory.refresh
forces a fresh fetch. (Scripts/notecards carry a null local asset id by design — that's normal.)avatars.getWorn reports attached objects only, never
another avatar's clothing/bodypart layers (the viewer only holds the baked result). HUDs are
never enumerable for anyone.profile.get returns pick ids and names
only, and no classifieds at all — descriptions live behind a per-item round-trip. Use
profile.getPicks / profile.getClassifieds to read the actual text. Residents often
use picks as prose (a backstory split across part 1..part 5, or a captioned gallery),
so titles alone tell you almost nothing — read desc in the order returned: it is the
profile's listing order, the same order the viewer's Picks tab shows. (sort_order is
vestigial — always 0 — and sim_name is usually empty; use pos_global.) Both
tools can return PARTIAL results: check missing for ids that didn't answer, and treat
listing_answered: false as "the list never arrived", not "they have none".When the user is testing, act only on the user's own avatar and inventory unless explicitly told otherwise — don't give inventory to, or otherwise act on, other avatars.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub i-doll/plugins --plugin firestorm-avatar4 skills in this plugin
/firestorm-chatUse when talking to in-world scripted objects, HUDs, vendors, or any LSL protocol from the user's Second Life avatar — sending chat on a channel and capturing the object's reply. Routes through the Firestorm LSL bridge (the `chat.*` tools of the firestorm MCP server) so it works on ANY channel, including negative/protocol channels the viewer can't use directly. For RLV relays specifically, use the firestorm-rlv-relay skill (which builds on this)./firestorm-headlessUse when you need your own Second Life avatar to test something in-world without the user's viewer — LSL/Luau script behaviour, object and inventory behaviour, permissions, RLV — by launching the ID-fork Firestorm viewer with --headless and driving it over its MCP server. Covers launching on a chosen port and grid, logging in from a saved login, waiting for readiness, the script-test loop, cleanup, exit codes, and the rules that keep test output contained./firestorm-rlv-relayUse when driving an RLV relay from the user's Second Life avatar — sending RLV relay commands (apply/lift restrictions like @detach, @tploc) to a worn relay and reading its ok/ko acknowledgements. Built on the firestorm-chat skill's chat.* tools over the LSL bridge. Covers the RLV Relay protocol (channel -1812221819, the ident,uuid,@cmd format, !version/!release/!pong, and the ack), plus how to confirm effects and clean up.