SND Inventory Functions

Query and manipulate inventory data in SND macros.

1|Updated Oct 15, 2025
One-click install
npx skills add https://github.com/vaoan/SND --skill snd-inventory-functions
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: SND Inventory Functions
Source: https://github.com/vaoan/SND/tree/main/.claude/skills/snd-inventory
Command: npx skills add https://github.com/vaoan/SND --skill snd-inventory-functions

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides a cohesive set of functions to query and manipulate inventory in SND macros, reducing manual work and errors when managing items across multiple containers.

Core Features & Use Cases

  • Inventory queries and item counts across multiple inventories (Main, Equipped, Retainers, Saddlebags, Glamour Chest, Armoire).
  • Access to container properties and item attributes to support automated workflows (GetInventoryContainer, item.ItemId, item.Quantity, etc.).
  • Practical use cases: count stock, verify available space before item transfers, and move or use items in macros.

Quick Start

Count Earth Shards across all inventories: CountItem(5)

Frequently Asked Questions about SND Inventory Functions

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I count item quantities across all inventories in SND macros?

Count item quantities across inventories in SND macros by calling the CountItem function with a specific item ID to retrieve total amounts across main, equipped, and special storage. For example, CountItem(5) returns the total Earth Shards across all containers.

Can I check available inventory space before transferring items in SND?

Check available inventory space in SND by calling GetFreeInventorySlots to verify container capacity before transferring or moving items. This prevents overflow errors during automated macro workflows by confirming sufficient free slots exist.

What inventory containers can I access and manipulate using SND macros?

Access and manipulate main inventory, equipped items, retainers, saddlebags, glamour chests, and armoires using GetInventoryContainer in SND macros. Each container's items expose properties like ItemId and Quantity for deterministic operations.

How do I retrieve item properties like ID and quantity from a container in SND?

Retrieve item properties from SND containers by accessing the item object's attributes such as item.ItemId and item.Quantity after fetching the container via GetInventoryContainer. These properties support deterministic item manipulation in automated workflows.

Do I need any dependencies or plugins to use SND inventory functions?

No dependencies are required. SND inventory functions operate standalone within SND macros to automate inventory queries, item counting, and container manipulation across all storage types without additional plugins.

Why does my SND macro fail when manipulating retainer or saddlebag containers?

SND macro container manipulation fails when the target container is unavailable or the item properties are accessed incorrectly. Ensure GetInventoryContainer references a valid container type and verify item attributes exist before performing operations.