frame-setup

Install the @ast-grep/napi runtime dependency globally via npm.

Updated Mar 1, 2026
One-click install
npx skills add https://github.com/hve4638/hve-cc-marketplace --skill frame-setup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: frame-setup
Source: https://github.com/hve4638/hve-cc-marketplace/tree/main/frame/skills/frame-setup
Command: npx skills add https://github.com/hve4638/hve-cc-marketplace --skill frame-setup

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Installs frame's native runtime dependency (@ast-grep/napi) globally via npm so the MCP server can resolve it at runtime.

Core Features & Use Cases

  • Globally installs the required @ast-grep/napi package to ensure runtime availability for frame.
  • Validates Node.js version and npm presence, and provides guidance for permission errors.
  • Idempotent: skips installation if the dependency is already present in the global npm prefix.

Quick Start

Run the install.mjs script to install the global runtime dependency.

Frequently Asked Questions about frame-setup

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

FAQPage Schema
How do I install @ast-grep/napi globally for an MCP server?

To install @ast-grep/napi globally for an MCP server, run the install.mjs script which uses npm to perform the global installation and ensures runtime availability for frame.

Why does the frame MCP server fail to resolve the native runtime dependency?

The frame MCP server fails to resolve the native runtime dependency because @ast-grep/napi is not installed in the global npm prefix. Running the install script resolves this.

Do I need a specific Node.js version to globally install @ast-grep/napi?

Yes, you need Node.js version 18 or higher to globally install @ast-grep/napi. The script validates your Node.js version and npm presence before proceeding.

How to fix npm permission errors when installing global runtime dependencies?

To fix npm permission errors during global runtime dependency installation, the script provides specific guidance for permission errors encountered while installing @ast-grep/napi globally.

Will the global npm install script run again if @ast-grep/napi is already present?

No, the global npm install script is idempotent and will skip the installation process entirely if it detects that the @ast-grep/napi dependency is already present in the global npm prefix.

What is the best way to ensure frame's native runtime dependency is available at runtime?

The best way to ensure frame's native runtime dependency is available is to globally install @ast-grep/napi via npm using the install.mjs script, which validates the environment and skips if already present.