Cobejs
Use when adding a lightweight interactive globe with cobe (canvas setup, markers, interaction, performance, integration with React/Next.js).
Install
npx skills add MengTo/Skills --skill cobejsgit clone --depth 1 https://github.com/MengTo/Skills.git /tmp/Skills
mkdir -p ~/.claude/skills
cp -r /tmp/Skills/agent-skills/web-design/cobejs ~/.claude/skills/cobejsPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# cobe.js — Lightweight WebGL Globe Skill
## When to use
- A “spinning globe” / location markers in hero or about pages
- You want a small, focused globe lib (not full three.js)
- Decorative + interactive (markers, rotation) with minimal setup
## Key APIs/patterns
- Core:
- `import createGlobe from "cobe"`
- `const globe = createGlobe(canvas, { ...options, onRender(state) { ... } })`
- Important options (common):
- `devicePixelRatio`, `width`, `height`
- `phi`, `theta` (rotation angles)
- `scale`, `dark`, `diffuse`
- `baseColor`, `markerColor`, `glowColor`
- `markers: [{ location: [lat, lon], size, color? }]`
- Lifecycle:
- `globe.toggle()` pauses RAF
- `globe.destroy()` removes instance
## Common pitfalls
- Canvas sizing mismatch
- Set CSS size AND set canvas `width/height` scaled for DPR.
- Not updating on resize
- Recompute width/height and recreate or update params.
- Too high DPR on mobile
- Clamp DPR to 1–2.
## Quick recipe: responsive globe with markersDetails
- Skill name
cobejs- Repository
- MengTo/Skills
- Path
agent-skills/web-design/cobejs/SKILL.md- License
- MIT
- Repo updated
- 14 November 2026
FAQ
What does the Cobejs skill do?
Use when adding a lightweight interactive globe with cobe (canvas setup, markers, interaction, performance, integration with React/Next.js).
How do I install the Cobejs skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add MengTo/Skills --skill cobejs. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Cobejs popular?
It lives in MengTo/Skills, which has 7,717 GitHub stars and 885 forks.
Related skills
3d Cloth Material
7.7kMengTo/Skills
Build convincing woven cloth in Three.js, with a thread-level weave normal map, sheen and anisotropic highlights, folds that never stretch the texture, hems with thickness, stitches, seams, frayed edges, fold occlusion, dye and wear variation, and light passing through thin fabric. Use for linen, silk, wool, canvas, curtains, banners, cloaks, tablecloths, tapestries or any 3D drape that currently looks like a plastic sheet, a stretched texture, or a flat coloured plane.
3d Falling Leaves
7.7kMengTo/Skills
Build recognizable falling leaves in world space using instanced geometry, independent tumble, coupled sideways drift, shared wind, scene occlusion, and camera-aware recycling. Use for 3D autumn leaves or drifting foliage in Three.js and similar scenes; use falling-leaves for a 2D canvas overlay.
3d Four Seasons
7.7kMengTo/Skills
Add coordinated spring, summer, fall, and winter states to a 3D scene, blending foliage, sunlight, sky, ground materials, snow, and particles without rebuilding the world. Use for seasonal controls, architectural walkthroughs, and outdoor scenes with four-season transitions.
Company Logos
7.7kMengTo/Skills
Use Iconify Simple Icons logos (64x64) instead of text logos.
Clean Minimal Beige Light Mode
7.7kMengTo/Skills
Create a clean minimal beige light-mode design system with warm neutral shells, quiet process grids, restrained accent color, and elegant low-contrast structure.
Container Lines
7.7kMengTo/Skills
Add vertical container-size guide lines with mini corner squares for precise, structured web layouts. Use when asked for container lines, measured layout guides, vertical boundary lines, editorial grid markers, or small corner-square frame details.
Browse the most popular Claude skills, all frontend & design skills, or write your own with the skills generator.