ProductFlow: Instructions file for Codex

AGENTS.md

ProductFlow AGENTS.md is an instructions file for Codex, OpenCode from yuqie6/ProductFlow. It costs 1,190 tokens per session, scanned A, original, MIT.

Project instructions for ProductFlow, covering its folder structure, development process, build and test commands, and coding conventions.

In plain words
What is it for?
Use it when changing ProductFlow code, deciding where files belong, running checks, or following the project’s task and review process.
Why use it?
It gives coding agents the repository rules they need to make changes that fit the project and use the correct commands.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions subagents; reads ~/.codex paths; mentions Codex.

This is yuqie6/ProductFlow's own configuration. It tells Codex and OpenCode how to work on ProductFlow itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ProductFlow configures →

Reuse

Borrowing it

Nothing to install: this file belongs to yuqie6/ProductFlow. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/yuqie6/ProductFlow/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/yuqie6/ProductFlow

Made for: Codex, OpenCode.

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 ProductFlow AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/yuqie6/productflow/agents-md/github.svg)](https://agentmods.dev/instructions/yuqie6/productflow/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/yuqie6/productflow/agents-md"><img src="https://agentmods.dev/badge/instructions/yuqie6/productflow/agents-md/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 ProductFlow AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/yuqie6/productflow/agents-md"><img src="https://agentmods.dev/badge/instructions/yuqie6/productflow/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,190 This file is loaded in full into every session.
When invoked 1,190 The same file — it is already loaded in full.
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.01190 $0.01190
Opus 5.5 $0.00476 $0.00476
Sonnet 5.5 $0.00238 $0.00238
Haiku 4.5 $0.00119 $0.00119

Measured 1mo ago against content hash 225a564e6307, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ProductFlow 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 1mo 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.

AGENTS.md · 73 lines

How it starts

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

Trellis Instructions

These instructions are for AI assistants working in this project.

This project is managed by Trellis. The working knowledge you need lives under .trellis/:

  • .trellis/workflow.md — development phases, when to create tasks, skill routing
  • .trellis/spec/ — package- and layer-scoped coding guidelines (read before writing code in a given layer)
  • .trellis/workspace/ — per-developer journals and session traces
  • .trellis/tasks/ — active and archived tasks (PRDs, research, jsonl context)

If a Trellis command is available on your platform (e.g. /trellis:finish-work, /trellis:continue), prefer it over manual steps. Not every platform exposes every command.

If you're using Codex or another agent-capable tool, additional project-scoped helpers may live in:

  • .agents/skills/ — reusable Trellis skills
  • .codex/agents/ — optional custom subagents

Managed by Trellis. Edits outside this block are preserved; edits inside may be overwritten by a future trellis update.

Repository Guidelines

Project Structure & Module Organization

ProductFlow is a private single-merchant workspace. The backend lives in backend/src/productflow_backend/ and uses clear layers: presentation/ for FastAPI routes and schemas, application/ for use cases, domain/ for enums/core concepts, and infrastructure/ for database, storage, queues, text/image providers, and poster rendering. Alembic migrations are in backend/alembic/versions/; backend tests are in backend/tests/. The React/Vite app lives in web/src/, with pages in web/src/pages/, shared UI in web/src/components/, and API/type helpers in web/src/lib/. Product and architecture notes live in docs/.

Build, Test, and Development Commands

Use the root justfile whenever possible:

  • just backend-install — install backend dependencies with uv dev extras.
  • docker compose up -d — start local PostgreSQL and Redis.
  • just backend-migrate — apply Alembic migrations with dev env vars.
  • just backend-run — run the FastAPI API on the dev port.
  • just backend-worker — run Dramatiq workers for async jobs.
  • just backend-test — run backend pytest tests.
  • just web-install — install frontend dependencies with pnpm.
  • just web-dev — run Vite with the API proxy configured.
  • just web-build — type-check and build the frontend.

Read the full file on GitHub · 73 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. 1mo ago First seen · 73 lines · 1,190 tokens per session scan A 225a564e6307

Subscribe to this mod's changes

ProductFlow AGENTS.md is an instructions file published in the GitHub repository yuqie6/ProductFlow (307 stars, last pushed 19d ago), licensed MIT. It adds 1,190 tokens to every session, about $0.0048 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-08-30.

Related

Other instructions, from other repositories