Works with the AI Agents you already use

    Install TensorFlow Quantum macOS

    by Pluvia Software Company

    1

    Automated source build and environment setup for TensorFlow Quantum on macOS (Apple Silicon/Intel).

    Free

    3 usesSecurity scanned
    Install TensorFlow Quantum macOS

    Install TensorFlow Quantum macOS

    Example session with this skill installed

    I need to get TensorFlow Quantum running on my M2 MacBook Pro but the pip install keeps failing with library errors. Can you set it up from scratch?

    • Read your context and instructions
    • Compiled the install tensorflow quantum

    I'll start the TFQ source build. First, I've verified you have 84 GB free and 16 GB RAM.

    I need you to run this to install the Xcode full app (this will take a while):
    ! sudo mas install 497799835

    Once finished, I will configure the Bazel build and patch the dylib paths.

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

    About this skill

    The problem

    Installing TensorFlow Quantum (TFQ) on macOS is notoriously difficult due to complex C++ dependencies, specific Python 3.10 requirements, and a Bazel build process that often fails on Apple Silicon. Standard pip installs frequently break or result in library version conflicts that stall development for days.

    What it does

    • Performs comprehensive preflight hardware and software checks including disk space, RAM, and admin permissions.
    • Automates the full toolchain setup: Homebrew, Xcode, Python 3.10, and Bazelisk.
    • Clones, configures, and builds the TFQ source code into a localized, isolated virtual environment.
    • Applies critical macOS-specific patches to TensorFlow dylibs and Bazel configuration files to prevent common build-time link errors.
    • Generates and installs a platform-optimized .whl file specifically for your macOS version and architecture.

    Frameworks & tools

    TensorFlow Quantum, TensorFlow 2.19, Cirq, Bazel, Xcode, Homebrew, and Python 3.10.

    Why this beats prompting it yourself

    Standard LLMs often provide outdated build instructions that ignore recent Xcode SDK changes or the Keras 3 compatibility issues that break TFQ. This skill handles the specific TF_SHARED_LIBRARY_NAME and --macos_minimum_os flags required to ensure the resulting binary actually runs on modern macOS versions.

    Use cases

    • Setting up a fresh Mac for quantum machine learning research.
    • Fixing a failed TFQ installation where pip install or basic build scripts have crashed.
    • Standardizing a TFQ development environment across a team of researchers using Apple Silicon.

    Known limitations

    Requires approximately 50 GB of free disk space if Xcode is not already installed. The build process is resource-intensive and can take up to an hour on older Intel Macs.

    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 buying a skill.

    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

    3 uses

    Times used to date

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 3 months ago

    • Free with an Agensi account

    Accounts
    GitHub
    Software
    Python

    Permissions

    Terminal / Shell
    Network Access

    Allowed Hosts

    raw.githubusercontent.com
    Listed3 months ago

    What's inside

    Frequently Asked Questions

    This skill automates the entire compilation process, including hardware pre-flight checks, dependency resolution for Python 3.10, and applying specific macOS patches to the Bazel build configuration to prevent the common linking errors found in manual installs.

    Yes, this skill is fully compatible with both Apple Silicon (M1/M2/M3) and Intel-based Macs, automatically detecting your architecture to apply the correct compilation flags and library paths.

    The process is resource-intensive and can take anywhere from 20 minutes on a modern M3 Max to over an hour on older hardware; you will also need approximately 50 GB of free disk space to accommodate the Xcode toolchain and Bazel build artifacts.

    You will receive the automated installation script, the macOS-specific configuration patches, and a guided environment setup tool that ensures TFQ, Cirq, and TensorFlow are perfectly synced in an isolated virtual environment.

    While we strive to support the latest versions, this skill specifically targets the stable intersection of TensorFlow 2.15+ and Python 3.10 to ensure the complex C++ quantum kernels remain stable on macOS.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse All Claude Skills.

    Free