fast-soy-admin AGENTS.md

fast-soy-admin AGENTS.md is an instructions file for Codex, OpenCode from sleep1223/fast-soy-admin. It costs 3,479 tokens per session, scanned C, original, MIT.

A project guide for FastSoyAdmin, a full-stack administration template with a FastAPI/Python backend and a Vue 3/TypeScript frontend. It lists important files, documentation, configuration, database, and development commands.

In plain words
What is it for?
Use it when modifying the backend, frontend, deployment files, database models, migrations, or project documentation.
Why use it?
It helps an AI assistant follow the project's established procedures and avoid unsafe changes to configuration, shared backend code, database migrations, or package management.

Instructions file for CodexOpenCode

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/sleep1223/fast-soy-admin/agents-md
Clone the repo
git clone --depth 1 https://github.com/sleep1223/fast-soy-admin

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 fast-soy-admin AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/sleep1223/fast-soy-admin/agents-md.svg)](https://agentmods.dev/instructions/sleep1223/fast-soy-admin/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/sleep1223/fast-soy-admin/agents-md"><img src="https://agentmods.dev/badge/instructions/sleep1223/fast-soy-admin/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 3,479 This file is loaded in full into every session.
When invoked 3,479 The same file — it is already loaded in full.
Security scan C 1 finding. 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.03479 $0.03479
Opus 5 $0.01740 $0.01740
Sonnet 5 $0.00696 $0.00696
Haiku 4.5 $0.00348 $0.00348

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

Security

Grade C, and why

fast-soy-admin AGENTS.md scanned grade C with 1 finding 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

- rm -rf migrations/ / rm app_system.sqlite3
AGENTS.md · 181 lines

How it starts

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

FastSoyAdmin - Claude Code Guide

FastSoyAdmin v1.0.0 | FastAPI + Vue3 全栈后台管理模板 | MIT

后端 app/(FastAPI/Python),前端 web/(Vue3/TypeScript,pnpm workspace),部署 deploy/,迁移 migrations/

文档(所有约定细节看这里,本文不再重复):


重要文件(动手前先看)

  • .env — 运行配置事实来源(SECRET_KEY / DB_URL / REDIS_URL / JWT_*)。从 .env.example 复制;不要提交。
  • justfile — 所有常用命令入口。just --list 列全部;不要绕过它直调底层命令。
  • app/core/ — 框架级代码,影响整个后端。改这里前读 init_app.pybase_schema.pycrud.pyrouter.py
  • app/utils/init.py — 业务模块统一 import 入口;新增 core 能力要给 business 用必须在这里 re-export。
  • app/system/services/init_helper.pyensure_menu / ensure_role / reconcile_menu_subtree / refresh_api_list业务模块允许从这里 import,是少数显式暴露的 system service。
  • DB_URL 指向的数据库 — 默认依赖含 tortoise-orm[asyncpg] + aiosqlite,PostgreSQL/SQLite 开箱即用;切 MySQL/MSSQL/Oracle 需 uv sync --extra {mysql|mssql|oracle}不要直接 SQL 改它绕过模型/迁移;走 just mm

Python 工具链 — 后端依赖与脚本一律走 uvuv sync / uv add <pkg> / uv run <cmd>不要直接调 python / pip / python -m xxx不要用系统/pyenv 的 python

Trust by verify:真实状态有时与配置/代码漂移(手工迁移、未跑 mm、Redis 缓存未刷新)。动手前用 just dbhistory、读 .env、看 Redis key、跑 just check 核对一遍。


标准操作流程

任何修改之前

  1. 明确范围:system 还是 business?哪个模块?影响哪些表 / 路由 / 角色?
  2. 看清现状git statusjust dbhistory、读相关 models.py / init_data.py
  3. 跟规范对齐工程约定清单 + docs/standard/
  4. 小步推进:先生成迁移看 SQL 再 apply;高风险 schema / contract 变更补覆盖;用户明确禁止测试时只跑允许的检查并说明跳过项

Read the full file on GitHub · 181 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 · 181 lines · 3,479 tokens per session scan C 40ccd3860d67

Subscribe to this mod's changes

fast-soy-admin AGENTS.md is an instructions file published in the GitHub repository sleep1223/fast-soy-admin (390 stars, last pushed 9d ago), licensed MIT. It adds 3,479 tokens to every session, about $0.0174 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.