hookcode-preview-highlight

Controls the HookCode preview system via authenticated APIs.

3|1|Updated Jan 13, 2026
One-click install
npx skills add https://github.com/hookvibe/hookcode --skill hookcode-preview-highlight
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hookcode-preview-highlight
Source: https://github.com/hookvibe/hookcode/tree/main/.gemini/skills/hookcode-preview-highlight
Command: npx skills add https://github.com/hookvibe/hookcode --skill hookcode-preview-highlight

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This skill enables Gemini to control the HookCode preview system by checking status, starting and stopping previews, and sending highlight commands with bubble tooltips via authenticated APIs.

Core Features & Use Cases

  • Status checks to determine if a preview is running.
  • Start/stop preview instances and manage lifecycle.
  • Highlight elements using CSS selectors or text/attribute matchers.
  • Bubble tooltips to explain highlights near target elements.
  • Auto-navigation to a specified target URL during a preview session.

Quick Start

Check status with the status script:

  • node .gemini/skills/hookcode-preview-highlight/scripts/preview_status.mjs --task-group <id>

Start a preview:

  • node .gemini/skills/hookcode-preview-highlight/scripts/preview_start.mjs --task-group <id>

Highlight and show a tooltip:

  • node .gemini/skills/hookcode-preview-highlight/scripts/preview_highlight.mjs --task-group <id> --instance app --selector ".btn-primary" --bubble-text "This button triggers the submission"

Frequently Asked Questions about hookcode-preview-highlight

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

FAQPage Schema
How do I highlight DOM elements in a live preview using CSS selectors?

To highlight DOM elements in a live preview, you can use CSS selectors or matcher rules like text: and attr: to target specific elements across a specified URL. This allows precise identification of elements for visual emphasis during a preview session.

Can I display tooltips next to highlighted elements in a web preview?

Yes, you can display bubble tooltips next to highlighted elements in a web preview. By sending highlight commands with a specified bubble text, the system renders explanatory tooltips directly near the targeted DOM elements.

How do I start and stop a preview instance automatically?

You can start and stop a preview instance by executing the dedicated preview lifecycle scripts. Running the start script initiates the session, while the stop script terminates the instance, allowing full control over the preview environment.

Does the preview highlight system support automated navigation to a target URL?

Yes, the preview highlight system supports automated navigation to a target URL. You can configure a specific target URL during a preview session, and the system will navigate the preview automatically to that location before applying highlights.

What matcher rules are available for targeting elements beyond standard CSS selectors?

Beyond standard CSS selectors, the system supports matcher rules including text:, attr:, role:, and data-testid. These matchers provide flexible targeting options to identify elements based on their content, attributes, or accessibility roles.

Do I need an access token to send highlight commands to the preview system?

Yes, you need a configured personal access token to send highlight commands. The system relies on authenticated APIs to perform preview operations, ensuring that only authorized requests can control the preview lifecycle and highlighting features.