Unity-PassthroughCameraApiSamples copilot-instructions.md

A set of Copilot instructions for the Unity Passthrough Camera API sample project, which targets Meta Quest and Horizon OS.

In plain words
What is it for?
Use it while editing the oculus-samples/Unity-PassthroughCameraApiSamples project with Copilot.
Why use it?
It gives Copilot project-specific context when suggesting or changing code in that sample.

Instructions file for GitHub Copilot

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.

agentmods
npx agentmods add instructions/oculus-samples/unity-passthroughcameraapisamples/copilot-instructions
Clone the repo
git clone --depth 1 https://github.com/oculus-samples/Unity-PassthroughCameraApiSamples

Made for: GitHub Copilot.

Per session 111 This file is loaded in full into every session.
When invoked 111 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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 $0.00111 $0.00111
Opus 5 $0.00056 $0.00056
Sonnet 5 $0.00022 $0.00022
Haiku 4.5 $0.00011 $0.00011

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

Security

Grade A, and why

Unity-PassthroughCameraApiSamples copilot-instructions.md 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.

.github/copilot-instructions.md · 16 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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 · 16 lines · 111 tokens per session scan A df904f7b34dc

Subscribe to this mod's changes

Unity-PassthroughCameraApiSamples copilot-instructions.md is an instructions file published in the GitHub repository oculus-samples/Unity-PassthroughCameraApiSamples (506 stars, last pushed 20d ago), with no licence file. It adds 111 tokens to every session, about $0.0006 per session on Opus 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-08-30.

Related

Other instructions, from other repositories

Meta-Spatial-SDK-Samples meta-quest.instructions.md

Instructions for meta-quest/Meta-Spatial-SDK-Samples: For this repository, prefer Meta Quest Agentic Tools, the Meta Horizon VS Code/Cursor extension, and the hzdb MCP server.

meta-quest/Meta-Spatial-SDK-Samples · 68 tokens

Unity-TheWorldBeyond AGENTS.md

Instructions for oculus-samples/Unity-TheWorldBeyond, covering agent instructions — the world beyond, quest / horizon-specific notes and meta quest tooling.

oculus-samples/Unity-TheWorldBeyond · 745 tokens

game-and-watch-retro-go-sd CLAUDE.md

Claude Code instructions for sylverb/game-and-watch-retro-go-sd, covering claude.md, what this project is, build / flash workflow, architecture and three storage tiers, one elf.

sylverb/game-and-watch-retro-go-sd · 2,946 tokens

ar-vr-graphics-hardware-tuning-agent-skill CLAUDE.md

Instructions for dungnotnull/ar-vr-graphics-hardware-tuning-agent-skill, covering claude.md — skill 249: ar-vr-graphics-hardware-tuning, skill identity, problem this skill solves, harness flow summary and sub-skills.

dungnotnull/ar-vr-graphics-hardware-tuning-agent-skill · 1,295 tokens

Meta-Spatial-SDK-Templates AGENTS.md

Instructions for meta-quest/Meta-Spatial-SDK-Templates, covering meta spatial sdk — templates and docs.

meta-quest/Meta-Spatial-SDK-Templates · 91 tokens

omnisim CLAUDE.md

Instructions for omnilink-tech/omnisim, a project described as: Open-source robotics simulator for coding agents: HTTP/JSON + MCP control, Newton physics, wgpu rendering, ROS 2, and reproducible benchmarks.

omnilink-tech/omnisim · 136 tokens