pixtuoid copilot-instructions.md

pixtuoid copilot-instructions.md is an instructions file for GitHub Copilot from IvanWng97/pixtuoid. It costs 823 tokens per session, scanned A, original, MIT.

A set of GitHub Copilot instructions for pixtuoid, a terminal-based visualizer for AI coding agents built from several Rust packages. It documents architecture rules, conventions, and build and test procedures.

In plain words
What is it for?
Use it before changing pixtuoid, especially when adding themes, agent-CLI support, Rust code, or web and terminal rendering. It points to the relevant project and path-specific instructions.
Why use it?
It helps coding agents understand which packages may depend on each other and avoid moving terminal or window code into shared components where it does not belong.

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/ivanwng97/pixtuoid/copilot-instructions
Clone the repo
git clone --depth 1 https://github.com/IvanWng97/pixtuoid

Made for: GitHub Copilot.

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/ivanwng97/pixtuoid/copilot-instructions.svg)](https://agentmods.dev/instructions/ivanwng97/pixtuoid/copilot-instructions)
Your own site
<a href="https://agentmods.dev/instructions/ivanwng97/pixtuoid/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/ivanwng97/pixtuoid/copilot-instructions.svg" alt="Measured on agentmods" height="20"></a>
Per session 823 This file is loaded in full into every session.
When invoked 823 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.00823 $0.00823
Opus 5 $0.00411 $0.00411
Sonnet 5 $0.00165 $0.00165
Haiku 4.5 $0.00082 $0.00082

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

Security

Grade A, and why

pixtuoid 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 4d 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 · 40 lines

How it starts

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

GitHub Copilot instructions — pixtuoid

pixtuoid is a terminal-native, multi-agent pixel-art visualizer for AI coding agents — a Cargo workspace of five Rust crates: pixtuoid-core (headless lib), pixtuoid-scene (backend-agnostic render+sim engine), pixtuoid (binary), pixtuoid-web (wasm <canvas> painter, publish-excluded), and pixtuoid-hook (the shim). DAG: pixtuoid-core ← pixtuoid-scene ← {pixtuoid, pixtuoid-web}.

Read CLAUDE.md first (and the nested crates/*/CLAUDE.md for the crate you touch). It holds the architecture invariants and "known sharp edges" — much of what looks like a bug is documented, load-bearing design. Path-scoped Rust standards: .github/instructions/rust.instructions.md. Workflow + how to add a theme / agent-CLI Source: CONTRIBUTING.md.

Architecture invariants (never break these)

  1. pixtuoid-core and pixtuoid-scene have no terminal/window dependencies — no ratatui, crossterm, winit, or stdout/println! (compiler-enforced by the crate boundary, checked by just arch). Terminal/window concerns live in the binary's thin painters over the engine's render seam (pixtuoid_scene::floor::render_floor / pixel_painter::render_to_rgb_buffer) (there is no core render trait).
  2. Events flow through one channel typed mpsc::Sender<(Transport, AgentEvent)>; the Transport tag is load-bearing (hook-wins dedup). Each Source tags its own events — don't hardcode Transport::Hook on the consumer side.
  3. The Source trait is the only seam for adding a transcript-bearing agent CLI (hook-only CLIs like Reasonix instead ship a hook decoder + an install Target).
  4. Hook install (install::install_target, driven by the in-TUI Sources panel s — no install-hooks CLI) writes through symlinks (resolve_symlink) — don't replace with fs::rename.
  5. The hook shim must never block Claude Code — always exit 0 silently; the 200 ms write timeout is non-negotiable.
  6. Walkable mask = ground footprint only (top-down view); visual sprites may be wider/taller.

Read the full file on GitHub · 40 lines

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. 4d ago First seen · 40 lines · 823 tokens per session scan A 6653aaed21f8

Subscribe to this mod's changes

pixtuoid copilot-instructions.md is an instructions file published in the GitHub repository IvanWng97/pixtuoid (467 stars, last pushed today), licensed MIT. It adds 823 tokens to every session, about $0.0041 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.