Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+20 more

    SushiTray Local AI

    1

    Hardware-aware model selection and performance tuning for Sushi AI on Apple Silicon.

    Free

    Security scanned
    SushiTray Local AI

    SushiTray Local AI

    Example session with this skill installed

    I have an M2 Max with 64GB RAM. I want to run a Qwen pack with fast generation and local SushiTray integration. What should I use?

    • Read your context and instructions
    • Compiled the sushitray local ai

    I have inspected your hardware profile and matched it against the latest Sushi model support list (v2026.10.27). Your M2 Max with 64GB RAM supports high-performance speculation and increased GPU wired limits.

    Sushi Optimization Plan for M2 Max

    ComponentRecommendationDetails
    Primary Modelqwen2.5-72b-sushi-q4Fits comfortably in 64GB Unified Memory
    Drafter Modelqwen2.5-0.5b-instructUsed for speculative decoding to increase token speed
    Memory Limit48,000 MBSafe GPU wired limit to avoid kernel panic
    Disk Space45.2 GBIncludes model weights and n-gram lookahead tables

    Implementation Commands

    System Configuration:

    sudo sysctl debug.lowpri_throttle_enabled=0
    sudo sysctl iogpu.wired_limit_mb=48000
    

    Sushi Serve Command (Paste into SushiTray):

    /usr/local/bin/sushi serve --model /Users/shared/models/qwen2.5-72b-q4.pack --speculative-model /Users/shared/models/qwen2.5-0.5b.pack --gpu-layers 80 --ctx-size 8192 --n-gram-table /Users/shared/models/qwen-72b.ngram --port 8080
    

    Next steps

    1. Run the sysctl commands in your terminal to unlock the GPU memory ceiling.
    2. Download the recommended pack IDs using sushi download.
    3. Update the Serve Command in SushiTray settings and restart the engine.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Running local AI models on Apple Silicon often leads to kernel panics, OOM errors, or sluggish performance due to misconfigured memory limits and flag mismatches. This skill manages the selection, installation, and optimization of Sushi AI models specifically for Mac hardware. It eliminates the guesswork of matching model weights to unified memory constraints.

    What it does

    • Hardware Probing executes read-only inspections of chip architecture, GPU core counts, and current memory pressure.
    • Model Matching selects the optimal Sushi pack based on physical RAM, GPU wired limits, and SSD availability.
    • Command Generation produces exact, paste-ready sushi serve strings with expanded absolute paths and verified flags.
    • Performance Tuning applies model-specific optimizations for Qwen, GLM, and DeepSeek, including speculation and n-gram settings.
    • SushiTray Configuration formats parameters for the SushiTray GUI, ensuring proper argv execution without shell syntax errors.

    How it works

    1. Analyze Hardware by running internal probes to determine unified memory ceilings and macOS version compatibility.
    2. Scan Environment to detect existing Sushi installations, downloaded packs, and current config.json states.
    3. Generate Plan providing specific pack IDs, disk requirements, and a single, validated execution command.
    4. Deploy and Verify by launching a test server, checking the /v1/models endpoint, and monitoring memory pressure.

    Frameworks & tools

    Targeted at Apple Silicon Macs running macOS 26.2+. Works with the Sushi AI engine, SushiTray GUI, and specific model families including Qwen, GLM, and DeepSeek. Python 3 is utilized for hardware inspection.

    Why this beats prompting it yourself

    Generic prompts often ignore the strict memory segmentation of Apple Silicon, leading to "Out of Memory" crashes. This skill uses hardware-aware logic to calculate the resident weight plus request state, preventing kernel panics caused by aggressive GPU wired limits.

    Use cases

    • Set up a new SushiTray installation with optimized flags for a 16GB M3 MacBook.
    • Troubleshoot performance degradation or crashes during long-context generation.
    • Migrate local workloads from CPU-only to GPU-accelerated Metal execution.
    • Configure speculative decoding and n-gram lookahead for Qwen-based models.

    Known limitations

    Requires Apple Silicon and macOS 26.2 or higher. Cannot bypass sandbox-blocked hardware data or execute shell-specific syntax like pipes or variable assignments within SushiTray commands.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before any payment.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free forever

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed with 2 warnings today

    • Free with an Agensi account

    Requires

    macOS

    Listedtoday

    What's inside

    Frequently Asked Questions