virtual-piano

Render an 88-key piano UI in a webview using Web Audio.

Updated Apr 13, 2026
One-click install
npx skills add https://github.com/happyaaa/CampusAI --skill virtual-piano
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: virtual-piano
Source: https://github.com/happyaaa/CampusAI/tree/main/skills/featured/virtual-piano
Command: npx skills add https://github.com/happyaaa/CampusAI --skill virtual-piano

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This skill enables interactive music playback by rendering a web-based piano inside a chat interface, allowing users to play notes without leaving the conversation.

Core Features & Use Cases

  • Web-based 88-key piano with horizontally scrolling interface and playable keys.
  • Real-time audio playback using local assets to simulate a piano experience.
  • Use Case: Teach or demonstrate musical ideas within a chat, or provide a playful interactive demo in product tours.

Quick Start

Run the run_js tool to launch the virtual piano UI.

Frequently Asked Questions about virtual-piano

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

FAQPage Schema
How do I play a virtual piano inside a chat interface?

You can play a virtual piano inside a chat interface by running the run_js tool, which loads an interactive 88-key UI in a webview to trigger Web Audio playback directly within the conversation.

How does Web Audio generate piano notes for interactive UI applications?

Web Audio generates piano notes for interactive UI applications by using local assets to simulate realistic piano sounds, allowing a webview-based keyboard to play music in real-time without external audio plugins.

Can I use a webview to render an 88-key keyboard for educational apps?

Yes, you can use a webview to render an 88-key keyboard for educational apps by executing the run_js bridge, which generates a horizontally scrolling piano interface suitable for teaching musical ideas.

Do I need external dependencies to display a web-based piano in my chat assistant?

No, you do not need external dependencies to display a web-based piano in your chat assistant, because the interface uses local assets and Web Audio for sound generation without requiring external libraries.

What is the best way to demonstrate musical ideas without leaving a chat workflow?

The best way to demonstrate musical ideas without leaving a chat workflow is to embed a web-based piano using a run_js bridge, allowing users to explore playable notes seamlessly during product tours or educational demos.