react-zmage copilot-instructions.md

Project-specific instructions for changing the Caldis/react-zmage codebase. They explain which files define the package's behavior and what changes must preserve.

In plain words
What is it for?
Use them when editing source code, documentation, or the site, especially when checking React component properties, exports, and verification scripts.
Why use it?
They reduce the risk of changing the public interface or documenting behavior the package does not support.

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/caldis/react-zmage/copilot-instructions
Clone the repo
git clone --depth 1 https://github.com/Caldis/react-zmage

Made for: GitHub Copilot.

Per session 135 This file is loaded in full into every session.
When invoked 135 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.00135 $0.00135
Opus 5 $0.00068 $0.00068
Sonnet 5 $0.00027 $0.00027
Haiku 4.5 $0.00014 $0.00014

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

Security

Grade A, and why

react-zmage 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 2d 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 · 12 lines

What it actually says

Copilot instructions for react-zmage

Read AGENTS.md before editing. Keep changes scoped, preserve the public API contract, and verify docs/site changes with the relevant pnpm scripts before committing.

For package behavior, source wins over prose:

  • Props and defaults: packages/core/src/types/global.ts and packages/core/src/types/default.ts
  • Runtime exports: packages/core/src/index.ts
  • Package exports: packages/core/package.json

Use react-zmage as a client-side React component package, not as a hosted API. Do not invent OAuth, API key, webhook, MCP, or server-side media-processing behavior.

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. 2d ago First seen · 12 lines · 135 tokens per session scan A 6af279e605db

Subscribe to this mod's changes

react-zmage copilot-instructions.md is an instructions file published in the GitHub repository Caldis/react-zmage (943 stars, last pushed 3mo ago), licensed MIT. It adds 135 tokens to every session, about $0.0007 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

recharts AGENTS.md

Instructions for recharts/recharts: This is Recharts repository. Recharts is a React-based charting library. The goal is to provide a simple, declarative, and composable way to build charts. We value consistency, usability, and performance. Accessibility is important.

recharts/recharts · 310 tokens

payload AGENTS.md

Instructions for payloadcms/payload, a project described as: Payload is the open-source, fullstack Next.js framework, giving you instant backend superpowers. Get a full TypeScript backend and admin panel instantly. Use Payload as a headless CMS or for building powerful applications.

payloadcms/payload · 12 tokens

core CLAUDE.md

Claude Code instructions for module-federation/core, covering claude task parallelization & development guidelines, core principles, maximum parallelization strategy, universal parallel task patterns and for any codebase task.

module-federation/core · 3,933 tokens

ui-components AGENTS.md

Instructions for starc007/ui-components, covering beui v2 — agent guide, commands, layout, component catalog and components (motion category — primitives).

starc007/ui-components · 6,500 tokens

skyroc AGENTS.md

Instructions for Ohh-889/skyroc, covering agents.md, 规范索引, skills 调用规则(关键), 思考顺序 and react 组件规范.

Ohh-889/skyroc · 2,868 tokens

semiotic CLAUDE.md

Claude Code instructions for nteract/semiotic, covering semiotic claude code instructions and claude code notes.

nteract/semiotic · 129 tokens