interactive-3d-scene

interactive-3d-scene is a skill for Claude Code, Codex from pnp/sharepoint-skills. It costs 176 tokens per session (1,865 once invoked), scanned A, original, MIT.

A self-contained HTML page with a clickable 3D scene for SharePoint's HTML viewer. People can explore and tap objects in scenes made for greetings, celebrations, launches, events, or thank-you pages.

In plain words
What is it for?
It helps create playful 3D pages for seasonal messages, team celebrations, product launches, event teasers, and campaign moments.
Why use it?
It provides an interactive visual page instead of a static message. Keeping the scene, code, styles, and drawn assets in one file makes it suitable for the specified SharePoint viewer.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps create playful 3D pages for seasonal messages, team celebrations, product launches, event teasers, and campaign moments.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pnp/sharepoint-skills/interactive-3d-scene
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add pnp/sharepoint-skills --skill interactive-3d-scene
Clone the repo
git clone --depth 1 https://github.com/pnp/sharepoint-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for interactive-3d-scene

README.md
[![agentmods](https://agentmods.dev/badge/skills/pnp/sharepoint-skills/interactive-3d-scene/github.svg)](https://agentmods.dev/skills/pnp/sharepoint-skills/interactive-3d-scene)
Your own site
<a href="https://agentmods.dev/skills/pnp/sharepoint-skills/interactive-3d-scene"><img src="https://agentmods.dev/badge/skills/pnp/sharepoint-skills/interactive-3d-scene/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for interactive-3d-scene

Your own site · 80×15
<a href="https://agentmods.dev/skills/pnp/sharepoint-skills/interactive-3d-scene"><img src="https://agentmods.dev/badge/skills/pnp/sharepoint-skills/interactive-3d-scene.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 176 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,865 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00176 $0.01865
Opus 5.5 $0.00070 $0.00746
Sonnet 5.5 $0.00035 $0.00373
Haiku 4.5 $0.00018 $0.00186

Measured 3d ago against content hash dbdbad56b001, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

interactive-3d-scene scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Skills/interactive-3d-scene/interactive-3d-scene/SKILL.md · 59 lines

How it starts

The opening of the file, as written. The whole thing — 59 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Interactive 3D Scene

When to use

Use this skill when someone wants a playful page that people explore and tap: a seasonal greeting, a team celebration, a product launch, an event teaser, a campaign moment, or a "thank you" page for a site. The output is one self-contained .html file that renders inside SharePoint's HTML viewer (/_html). Self-contained means the scene, script, styles and drawn assets are in that file. Babylon.js is requested with the host manifest and is not embedded.

Do not use it for data dashboards, reports or documents. Use sharepoint-safe-html for static, no-script pages.

Inputs

  • A theme or occasion, for example "winter office celebration" or "launch of version 2.0".
  • Optional: 3 to 6 objects people can tap, a headline, brand colours, tone, and whether sound and a recorded demo are wanted.
  • If the user gives nothing beyond a theme, choose 4 or 5 objects that suit it. Write all text yourself in plain, inclusive language. Do not invent names, quotes or numbers about real people or companies.

Output

  • One UTF-8 .html file (with BOM), ideally under 150 KB, saved where the user asks, by default the site Site Assets or Documents library.
  • The page shows true 3D when window.BABYLON is available and WebGL works, with the template's camera orbit. It shows the same scene as a flat SVG drawing when the library is missing, WebGL fails, or mode=2d is set.
  • Every reaction can be triggered by a tap in the scene and by a button. The first nine buttons also answer to number keys 1 to 9.

Steps

  1. Start from the template. Copy templates/starter-scene.html. It already passes the host rules and contains the sandbox contract, fallback, sound, keyboard, reduced motion and demo mode. Change content, not plumbing.
  2. Plan the objects. Pick 3 to 6 tappable objects. For each one decide: an act id (lowercase, one word), a button label (a verb: "Light the tree"), a reaction (glow, bounce, shake, spin, flash, burst, combinable), a sound (chime, pop, whoosh, boom, rustle, none) and 2 or 3 short status lines.
  3. Edit only these parts of the template:
    • the :root theme colours and the page background glow;
    • <title>, kicker, <h1> and the canvas aria-label and figcaption;
    • the SCENE config block (colours, ambient particles, objects built from primitives, lines, demo timing);
    • the SVG fallback drawing, with one <g class="svgobj" data-act="..."> per object using the same act ids. See references/clickable-scene-pattern.md for the config fields, layout rules and how picking works.
  4. Keep the host contract. No <script src>, <link>, remote URLs, fetch, storage, workers, forms, alert or confirm. Keep <script type="application/json" class="ka-lib-manifest">["babylon"]</script> before any other script. Check window.BABYLON and WebGL the way the template does. Do not pin a library version or assume when the host assigns window.BABYLON. Do not add a stripped-down, bundled or inlined Babylon runtime to the SharePoint file. Use only core Babylon.js APIs, because the host ships no extra packages (version measured as 8.56.2 in November 2026). Never add an empty catch(e){}; keep the template's warn() so failures show in the console. Details in references/sharepoint-html-sandbox.md.
  5. Sound stays off until the user turns it on. Use the template's Web Audio recipes. Never ship audio files. See references/procedural-audio.md.
  6. Keep the fallback and budget. The SVG must look finished on its own, and the 3D scene must stay light: capped pixel ratio, no shadows, few lights, pooled particles, paused when hidden. See references/fallback-and-performance.md.
  7. Check accessibility. Buttons are real <button> elements at least 44 px high, every reaction is announced in the role="status" line, number keys and M work, and prefers-reduced-motion turns movement into a gentle glow.
  8. Offer demo mode for recordings. ?demo=1 (or #demo=1) plays every reaction on a fixed timeline with the page chrome hidden, &aspect=9x16 gives a vertical frame. See references/demo-mode.md.
  9. Self-check before saving. Run the checklist below. Save the file as UTF-8 with BOM.
  10. Public copy only on request. If the user wants the scene on a public website, make a separate copy that loads a pinned Babylon.js build from a CDN, as described in references/public-hosting.md. Never put a CDN URL in the SharePoint file. Bundling or inlining the library is an optional compatibility route for a copy that has no host manifest. It is not the default, and it does not show that an arbitrary CDN is allowed in SharePoint.

Read the full file on GitHub · 59 lines

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 59 lines · 176 tokens per session scan A dbdbad56b001

Subscribe to this mod's changes

interactive-3d-scene is a skill published in the GitHub repository pnp/sharepoint-skills (171 stars, last pushed 2d ago), licensed MIT. It adds 176 tokens to every session and 1,865 once invoked, about $0.0007 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-28.

Related

interactive-3d-scene compared with skills from other repositories

interactive-3d-scene next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
interactive-3d-scenepnp/sharepoint-skillsSkill1712d agoMITA176Claude Code, Codex
audio-systemjame581/GodotPrompterSkill1.0kyesterdayMITA28Claude Code
csharp-godotjame581/GodotPrompterSkill1.0kyesterdayMITA34Claude Code
multiplayer-basicsjame581/GodotPrompterSkill1.0kyesterdayMITA44Claude Code
3d-essentialsjame581/GodotPrompterSkill1.0kyesterdayMITA47Claude Code
ability-systemjame581/GodotPrompterSkill1.0kyesterdayMITA37Claude Code
addon-developmentjame581/GodotPrompterSkill1.0kyesterdayMITA24Claude Code