Image to Three.js Model
img2threejs/img2threejs
Rebuilds the object in a reference image as a procedural, animation-ready Three.js model written entirely in code, using staged sculpting with quality checks.
Build a fully self-contained 360° equirectangular panorama viewer as a single HTML file.
$ npx skills add happycapy-ai/Happycapy-skills --skill 360-panorama-viewer -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install happycapy-ai/Happycapy-skills 360-panorama-viewer --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/happycapy-ai/Happycapy-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/360-panorama-viewer .claude/skills/360-panorama-viewer && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "360-panorama-viewer" agent skill from https://github.com/happycapy-ai/Happycapy-skills/tree/main/skills/360-panorama-viewer into .claude/skills/360-panorama-viewer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "360-panorama-viewer", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/happycapy-ai/Happycapy-skills/tree/main/skills/360-panorama-viewerType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add happycapy-ai/Happycapy-skills --skill 360-panorama-viewer -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install happycapy-ai/Happycapy-skills 360-panorama-viewer --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/happycapy-ai/Happycapy-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/360-panorama-viewer .agents/skills/360-panorama-viewer && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "360-panorama-viewer" agent skill from https://github.com/happycapy-ai/Happycapy-skills/tree/main/skills/360-panorama-viewer into .agents/skills/360-panorama-viewer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "360-panorama-viewer", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add happycapy-ai/Happycapy-skills --skill 360-panorama-viewer -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install happycapy-ai/Happycapy-skills 360-panorama-viewer --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/happycapy-ai/Happycapy-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/360-panorama-viewer .cursor/skills/360-panorama-viewer && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "360-panorama-viewer" agent skill from https://github.com/happycapy-ai/Happycapy-skills/tree/main/skills/360-panorama-viewer into .cursor/skills/360-panorama-viewer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "360-panorama-viewer", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/happycapy-ai/Happycapy-skills.git --path skills/360-panorama-viewer--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add happycapy-ai/Happycapy-skills --skill 360-panorama-viewer -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install happycapy-ai/Happycapy-skills 360-panorama-viewer --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/happycapy-ai/Happycapy-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/360-panorama-viewer .gemini/skills/360-panorama-viewer && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "360-panorama-viewer" agent skill from https://github.com/happycapy-ai/Happycapy-skills/tree/main/skills/360-panorama-viewer into .gemini/skills/360-panorama-viewer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "360-panorama-viewer", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install happycapy-ai/Happycapy-skills 360-panorama-viewerInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add happycapy-ai/Happycapy-skills --skill 360-panorama-viewer -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/happycapy-ai/Happycapy-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/360-panorama-viewer .github/skills/360-panorama-viewer && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "360-panorama-viewer" agent skill from https://github.com/happycapy-ai/Happycapy-skills/tree/main/skills/360-panorama-viewer into .github/skills/360-panorama-viewer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "360-panorama-viewer", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add happycapy-ai/Happycapy-skills --skill 360-panorama-viewer -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install happycapy-ai/Happycapy-skills 360-panorama-viewer --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/happycapy-ai/Happycapy-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/360-panorama-viewer .opencode/skills/360-panorama-viewer && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "360-panorama-viewer" agent skill from https://github.com/happycapy-ai/Happycapy-skills/tree/main/skills/360-panorama-viewer into .opencode/skills/360-panorama-viewer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "360-panorama-viewer", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
360-panorama-viewerBuild a fully self-contained 360° equirectangular panorama viewer as a single HTML file.
360 Panorama Viewer is an agent skill from happycapy-ai/Happycapy-skills. Build a fully self-contained 360° equirectangular panorama viewer as a single HTML file. The viewer uses Three.js to render immersive spherical panoramas with drag-to-look, zoom, auto-rotate, and a scene-switcher sidebar. All panorama images are embedded as base64 JPEG — no server needed. Use this skill whenever the user asks to create a 360 viewer, VR panorama app, immersive scene gallery, equirectangular image viewer, or wants to combine multiple AI-generated panoramas into an interactive webpage. Also trigger…
Its SKILL.md is about 2.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including scripts and assets (for example `scripts/build_viewer.py`).
It sits in Game Development, covering 3D graphics and WebGL. It works with Three.js. The repository describes itself as: A curated collection of high-quality Claude Code skills to enhance your development workflow. The licence is MIT.
4 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 9ff72fe. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 1 file in scripts/ (Python), which the agent can run.
Shell commands in SKILL.md call:
python3From the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
ai-gateway.happycapy.aitrickle.soFrom URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
AI_GATEWAY_API_KEYFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
360 Panorama Viewer loads about 2.1k tokens when it runs. Until then it costs about 167 tokens; SKILL.md has 690 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from happycapy-ai/Happycapy-skills at commit 9ff72fe, republished under its MIT licence (© happycapy-ai). 690 words, ~2,109 tokens.
.claude/skills/360-panorama-viewer/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.This skill creates a polished, self-contained 360° panorama viewer HTML file.
A single .html file (~3–6 MB depending on scene count) that:
| Asset | Purpose |
|---|---|
assets/viewer_template.html | Complete viewer HTML with Three.js inlined; panorama data injected at build time |
scripts/build_viewer.py | Loads images, applies seam fix, base64-encodes, injects into template |
Ask (or infer from context) for each scene:
🍄 Mario World)Typical count: 3–6 scenes. You can also accept user-provided image files directly (skip generation).
For each scene, generate a 360° equirectangular panorama image.
Model choice:
google/gemini-3.1-flash-image-preview via AI Gateway — reliable 2:1 output, no safety rejections for fictional themesgpt-image-2 via AI Gateway at size 1536x1024 — higher quality but may reject branded IP (Mario, Zelda, etc.)Generation code (Gemini route):
import os, requests, base64
from PIL import Image
import io
api_key = os.environ['AI_GATEWAY_API_KEY']
def generate_panorama(prompt: str, save_path: str):
payload = {
"model": "google/gemini-3.1-flash-image-preview",
"prompt": prompt,
"response_format": "b64_json",
"n": 1
}
resp = requests.post(
'https://ai-gateway.happycapy.ai/api/v1/images/generations',
headers={
'Authorization': f'Bearer {api_key}',
'Content-Type': 'application/json',
'Origin': 'https://trickle.so'
},
json=payload,
timeout=180
)
resp.raise_for_status()
img_bytes = base64.b64decode(resp.json()['data'][0]['b64_json'])
img = Image.open(io.BytesIO(img_bytes)).convert('RGB')
img.save(save_path)
return save_pathPrompt formula for good equirectangular panoramas:
360 degree equirectangular panorama of [SCENE DESCRIPTION].
[Key visual elements]. [Style description].
Wide seamless landscape, 2:1 aspect ratio,
left and right edges must tile perfectly for 360 VR viewing.Example prompts:
360 degree equirectangular panorama of a colorful cartoon mushroom kingdom platformer world. Bright blue sky, rolling green hills, red mushroom houses, floating brick blocks, gold coins, stone castle. Vibrant cartoon illustration, 2:1 aspect ratio, seamless tiling.360 degree equirectangular panorama of a futuristic underwater city. Bioluminescent buildings, schools of fish, coral reefs, deep ocean light shafts. Cinematic, 2:1 aspect ratio, seamless tiling.Save each generated image to a temp path (e.g. tmp/scene_N_raw.png).
Run the build script, passing all scenes as a JSON array:
SKILL_DIR=/home/node/.claude/skills/360-panorama-viewer
python3 "$SKILL_DIR/scripts/build_viewer.py" \
--template "$SKILL_DIR/assets/viewer_template.html" \
--output "outputs/360_viewer.html" \
--scenes '[
{"title":"🍄 Mario World","thumb_label":"Mario","image_path":"tmp/mario.png","initial_lon":90},
{"title":"🐚 Underwater City","thumb_label":"Deep City","image_path":"tmp/underwater.png","initial_lon":0}
]'The script will:
np.rolls the image. No blending. This ensures the 360° seam is as clean as possible without distorting colors.Output the file to outputs/360_viewer.html (or user-specified path) and attach it as a static HTML deliverable.
If the user already has a viewer and wants to swap out one scene (e.g. regenerate Mario), do NOT rerun all scenes — just re-encode the new image and replace its b64 field in the HTML:
import re, base64, io, numpy as np
from PIL import Image
SKILL_DIR = '/home/node/.claude/skills/360-panorama-viewer'
# Load and fix the new image
img = Image.open('new_mario.png').convert('RGB')
img = img.resize((1774, 887), Image.LANCZOS)
arr = np.array(img)
# pure roll seam fix
f = arr.astype(np.float32)
h, w = arr.shape[:2]
best_roll, best_score = 0, float('inf')
for roll in range(w):
r = np.roll(f, roll, axis=1)
score = float(np.abs(r[:, :5] - r[:, w-5:]).mean())
if score < best_score:
best_score = score
best_roll = roll
fixed = np.roll(arr, best_roll, axis=1)
buf = io.BytesIO()
Image.fromarray(fixed).save(buf, format='JPEG', quality=90)
new_b64 = base64.b64encode(buf.getvalue()).decode('ascii')
# Replace in HTML by matching scene title
with open('outputs/360_viewer.html') as fh:
html = fh.read()
# Match the specific scene entry (adjust title keyword as needed)
pattern = r"(title:\s*'[^']*Mario[^']*',\s*initialLon:\s*[\d.]+,\s*b64:\s*')([^']+)(')"
html_new, n = re.subn(pattern, r'\g<1>' + new_b64 + r'\g<3>', html)
assert n == 1, f"Expected 1 replacement, got {n}"
with open('outputs/360_viewer.html', 'w') as fh:
fh.write(html_new)
print(f'Replaced Mario scene (roll={best_roll})')Equirectangular panoramas wrap horizontally: x=0 and x=w-1 represent the same physical meridian. AI-generated images rarely place the seam at a natural boundary (e.g. open sky), so the default seam is often visible.
Pure roll: shift the whole image left/right to find the position where the 5-pixel columns at both edges are most similar (lowest mean absolute difference). np.roll() is a circular shift — no pixels are added or removed, no colors are changed. This is lossless and never creates artifacts.
Never use blending/color correction at the seam: it creates a visible "smeared" band where pixel values are artificially averaged, which looks worse than the original seam.
The template includes these controls, all functional out of the box:
initialLon of current sceneScene initialLon is the starting horizontal angle (0–360). Use it to face an interesting part of the panorama on load (e.g. 90 = face right, 180 = face backwards).
© happycapy-ai, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 2 other files (scripts, assets) in skills/360-panorama-viewer of happycapy-ai/Happycapy-skills.
Open the folder on GitHubat commit 9ff72fe
360 Panorama Viewer next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| 360 Panorama Viewer this skillhappycapy-ai/Happycapy-skills | 137 | — | ~2.1k | Automated safety check: Pass | MIT | |
| Image to Three.js Modelimg2threejs/img2threejs | 18k | 1 repos | ~8.2k | Automated safety check: Pass | Apache-2.0 | |
| Web CloneJane-xiaoer/claude-skill-web-clone | 1k | 1 repos | ~2.7k | Automated safety check: Pass | MIT | |
| Threejs Game Directormajidmanzarpour/threejs-game-skills | 2.5k | — | ~2.2k | Automated safety check: Pass | MIT | |
| Threejs Gameplay Systemsvalkor-ai/loom | 1.2k | 1 repos | ~1.4k | Automated safety check: Pass | Apache-2.0 | |
| Threejs World Generationcalesthio/OpenMontage | 66k | — | ~2k | Automated safety check: Pass | AGPL-3.0 |
img2threejs/img2threejs
Rebuilds the object in a reference image as a procedural, animation-ready Three.js model written entirely in code, using staged sculpting with quality checks.
Jane-xiaoer/claude-skill-web-clone
网站复刻 / 克隆方法论。USE WHEN 用户说 复刻网站、克隆网站、clone website、抄个站、仿站、 照着这个站做一个、reproduce site、还原某个网页效果、把这个站搬下来改成我的、 复刻某个交互/WebGL/Canvas/Three.js 效果。提供「先拿真源码 → 判路径 → 逆向拆解 → 搭工程 → 替换内容」的可移植决策树,覆盖静态站 /…
majidmanzarpour/threejs-game-skills
Entrypoint for building, upgrading, and finishing Three.js browser games.
valkor-ai/loom
Build and iterate playable Three.js game systems: starter scaffold, architecture, design briefs, core loops, level and encounter design, entities, input, camera, collision and physics, scoring…
calesthio/OpenMontage
Build deterministic, editable, free-viewpoint Three.js worlds from text or structured briefs.
viettranx/3dviz-pro-max
Guides building an expressive 3D scene in Three.js or Blender by reasoning through intent, object construction and scientific grounding before using a catalog of recipes and kits.
happycapy-ai/Happycapy-skills
Automate HappyCapy skill creation by finding and adapting existing skills from anthropics/skills repository.
happycapy-ai/Happycapy-skills
Generate and transform images using AI Gateway API. An agent skill from happycapy-ai/Happycapy-skills.
happycapy-ai/Happycapy-skills
Multi-model LLM Council with live dashboard. An agent skill from happycapy-ai/Happycapy-skills.
happycapy-ai/Happycapy-skills
Create polished PowerPoint (.pptx) presentations directly from a topic or content description.
happycapy-ai/Happycapy-skills
Generate world-class Instagram carousel content on any topic.
happycapy-ai/Happycapy-skills
HappyCapy-specific skill for publishing content to 13+ social media platforms (Instagram, Twitter, LinkedIn, Threads, Facebook, TikTok, YouTube, Pinterest, Reddit, Telegram, Discord, etc.)…
Works with
Categories
Build a fully self-contained 360° equirectangular panorama viewer as a single HTML file. 360 Panorama Viewer is an agent skill from happycapy-ai/Happycapy-skills. Build a fully self-contained 360° equirectangular panorama viewer as a single HTML file.
360 Panorama Viewer fits situations like: the user asks to create a 360 viewer; VR panorama app; immersive scene gallery; equirectangular image viewer.
Run `npx skills add happycapy-ai/Happycapy-skills --skill 360-panorama-viewer -a claude-code`. Or copy the skill folder (skills/360-panorama-viewer in happycapy-ai/Happycapy-skills) into .claude/skills/360-panorama-viewer in your project. Claude Code loads it when a task matches its description.
Run `npx skills add happycapy-ai/Happycapy-skills --skill 360-panorama-viewer -a codex`. Or copy the skill folder (skills/360-panorama-viewer in happycapy-ai/Happycapy-skills) into .agents/skills/360-panorama-viewer in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add happycapy-ai/Happycapy-skills --skill 360-panorama-viewer -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/360-panorama-viewer, .gemini/skills/360-panorama-viewer, .github/skills/360-panorama-viewer and .opencode/skills/360-panorama-viewer in your project.
Going by SKILL.md and its folder, 360 Panorama Viewer needs Python for the scripts in its folder, the command-line tools its instructions call (python3) and credentials named AI_GATEWAY_API_KEY. Our summary lists: Python 3; A credential in AI_GATEWAY_API_KEY.
SKILL.md names 2 domains. In commands or code: ai-gateway.happycapy.ai and trickle.so; the agent is likely to contact these when it follows the instructions. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
360 Panorama Viewer is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.1k tokens (SKILL.md is roughly 8.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with 360 Panorama Viewer: Image to Three.js Model (img2threejs/img2threejs, 18k stars), Web Clone (Jane-xiaoer/claude-skill-web-clone, 1k stars), Threejs Game Director (majidmanzarpour/threejs-game-skills, 2.5k stars) and Threejs Gameplay Systems (valkor-ai/loom, 1.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
happycapy-ai (a GitHub user) maintains it in happycapy-ai/Happycapy-skills, which has 137 GitHub stars. The repository holds 28 skills in this directory. The repository was last updated on September 3, 2026.
Source: happycapy-ai/Happycapy-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.