Borrowing it
Nothing to install: this file belongs to insistanan/GPT_Image_Playground. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/insistanan/GPT_Image_Playground/main/AGENTS.mdgit clone --depth 1 https://github.com/insistanan/GPT_Image_PlaygroundWrote 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.
[](https://agentmods.dev/instructions/insistanan/gpt_image_playground/agents-md)<a href="https://agentmods.dev/instructions/insistanan/gpt_image_playground/agents-md"><img src="https://agentmods.dev/badge/instructions/insistanan/gpt_image_playground/agents-md.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.01664 | $0.01664 |
| Opus 5 | $0.00832 | $0.00832 |
| Sonnet 5 | $0.00333 | $0.00333 |
| Haiku 4.5 | $0.00166 | $0.00166 |
Grade A, and why
GPT_Image_Playground AGENTS.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 9d 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.
Copies of this mod
1 near-identical copy found in the catalogue:
- GPT_Image_Playground CLAUDE.md — 100% identical, 0 lines differ
How it starts
The opening of the file, as written. The whole thing — 108 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Project
GPT Image Playground 是一个面向 OpenAI / GPT Image 工作流的本地优先图片生成与编辑工作台。
当前仓库以前端为主,技术栈为 React 19 + TypeScript + Vite + Zustand,核心能力包括图片生成与编辑、任务画廊、图片分享广场、本地持久化、供应商配置、协议兼容与导入导出。
领域语言与关键概念定义见 CONTEXT.md。
Code Style
本文件只保留代码规范摘要,详细规则统一见 docs/code-style.md。
- 使用 TypeScript,保持类型边界清晰、命名明确、职责单一。
- 优先按功能和领域拆分模块,避免巨型文件和重复实现。
- 前端的页面、状态、接口适配、共享组件要分层组织。
- 出错时优先显式报错,不要用静默兜底掩盖问题。
Commands
常用命令如下:
npm install
npm run dev
npm run build
npm run test
npm run test:watch
npm run preview
补充说明:
- 当前
package.json已提供test与test:watch,基于vitest。 npm run build会执行tsc -b && vite build。
Architecture
当前推荐按以下结构理解项目:
.
├─ AGENTS.md
├─ CLAUDE.md
├─ docs/
│ ├─ code-style.md
│ └─ images/
├─ public/
├─ workers/
│ └─ square-api/ 图片分享广场 API 的 Cloudflare Worker 第一版实现
├─ src/
│ ├─ app/ 应用级骨架组件
│ ├─ features/ 按功能拆分的业务 UI 模块
│ │ ├─ gallery/
│ │ │ └─ components/
│ │ │ ├─ task-card/ 任务卡片继续按预览 / 元信息 / 操作区 / hook 拆分
│ │ │ └─ task-grid/ 任务网格继续按容器 / 工具条 / 网格体 / 框选 hook 拆分
│ │ ├─ input/
│ │ │ └─ components/
│ │ │ ├─ input-bar/ 输入面板继续按提示词 / 参考图 / 参数 / 本地状态 hook 拆分
│ │ │ ├─ prompt-library-drawer/ 提示词库继续按头部 / 保存表单 / 列表拆分
│ │ │ ├─ search-bar/ 搜索栏继续按分类轨道 / 筛选 / 状态 hook / 移动端摘要拆分
│ │ │ └─ size-picker/ 尺寸选择器继续按标签区 / 模式面板 / 共享常量拆分
│ │ ├─ settings/
│ │ │ └─ components/
│ │ │ └─ settings-modal/ 设置抽屉继续按供应商 / 凭据 / 请求策略 / 数据管理分区拆分
│ │ ├─ square/ 图片分享广场,按页面 / 卡片 / 分享弹窗 / API adapter / manifest 构建拆分
│ │ └─ viewer/
│ │ └─ components/
│ │ ├─ detail-modal/ 详情弹窗继续按预览区 / 信息区 / 图片状态 hook 拆分
│ │ ├─ image-edit-modal/ 局部编辑弹窗继续按画布区 / 侧栏 / 选区 hook / 状态 hook 拆分
│ │ └─ lightbox/ 大图查看继续按状态导航 / 缩放手势 / 视图壳层拆分
│ ├─ hooks/ 自定义 hooks
│ ├─ lib/ 基础能力与适配层
│ │ ├─ api/ Images / Responses 协议实现
│ │ ├─ db/ IndexedDB schema / tasks / images 访问拆分
│ │ ├─ devProxy.ts 本地代理辅助
│ │ └─ size.ts 尺寸计算与规整
│ ├─ shared/
│ │ └─ components/ 通用组件
│ ├─ store/ Zustand 状态、切片、任务工作流、导入导出等实现
│ │ └─ slices/ provider / inputDraft / task / viewer / dialog 基础切片
│ ├─ App.tsx 应用根组件
│ ├─ main.tsx 入口
│ ├─ store.ts Store 统一导出入口
│ └─ types.ts 全局类型定义
├─ package.json
└─ README.md
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.
- 9d ago First seen · 108 lines · 1,664 tokens per session scan A def96589e92f
GPT_Image_Playground AGENTS.md is an instructions file published in the GitHub repository insistanan/GPT_Image_Playground (101 stars, last pushed yesterday), licensed MIT. It adds 1,664 tokens to every session, about $0.0083 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.
Other instructions, from other repositories
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
codex AGENTS.md
AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.
spec-kit AGENTS.md
AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.