FlyEnv: Instructions file for Codex

AGENTS.md

FlyEnv AGENTS.md is an instructions file for Codex, OpenCode from xpf0000/FlyEnv. It costs 3,389 tokens per session, scanned B, original, BSD-3-Clause.

Repository instructions for AI coding tools working on FlyEnv, a desktop app for installing and managing development tools such as PHP, Node.js, Python, and databases.

In plain words
What is it for?
For contributing to FlyEnv's Electron and Vue codebase and understanding its supported tools and libraries.
Why use it?
They explain the project's structure and technologies so an agent can make changes that fit the existing app.

Instructions file for CodexOpenCode

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

This is xpf0000/FlyEnv's own configuration. It tells Codex and OpenCode how to work on FlyEnv 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 FlyEnv configures →

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is import { Base } from '../Base';.

About the project

FlyEnv is a native desktop environment for running local development stacks on Windows, macOS, and Linux, including programming runtimes, databases, web servers, local sites, and developer tools. It is for developers who want to manage these services and project-specific runtime versions from one application.

xpf0000/FlyEnv · 3,340 stars · on GitHub · flyenv.com

Reuse

Borrowing it

Nothing to install: this file belongs to xpf0000/FlyEnv. 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/xpf0000/FlyEnv/master/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/xpf0000/FlyEnv

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/xpf0000/flyenv/agents-md"><img src="https://agentmods.dev/badge/instructions/xpf0000/flyenv/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,389 This file is loaded in full into every session.
When invoked 3,389 The same file — it is already loaded in full.
Security scan B 2 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.03389 $0.03389
Opus 5.5 $0.01356 $0.01356
Sonnet 5.5 $0.00678 $0.00678
Haiku 4.5 $0.00339 $0.00339

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

Security

Grade B, and why

FlyEnv AGENTS.md scanned grade B with 2 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

- May require `sudo xattr -dr "com.apple.quarantine"` for helper binaries

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

- **Process Management**: child_process, node-pty
AGENTS.md · 390 lines

How it starts

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

FlyEnv - AI Agent Development Guide

Project Overview

FlyEnv is an All-In-One Full-Stack Environment Management Tool built with Electron and Vue 3. It provides a lightweight, modular development environment manager for Windows, macOS, and Linux, allowing developers to install and manage Apache, PHP, Node.js, Python, databases, and more—running natively without Docker.

Technology Stack

Core Technologies

  • Frontend Framework: Vue 3 (Composition API)
  • Desktop Framework: Electron 39.8.7
  • Build Tool: Vite 6.x + esbuild 0.28.x
  • Language: TypeScript 5.8.x
  • State Management: Pinia 3.x
  • UI Component Library: Element Plus 2.11.x
  • Styling: Tailwind CSS 3.4.x + SCSS
  • Internationalization: Vue I18n 11.x

Additional Libraries

  • Code Editor: Monaco Editor
  • Terminal: node-pty + xterm.js
  • HTTP Client: Axios
  • Process Management: child_process, node-pty
  • File Operations: fs-extra
  • Markdown Processing: markdown-it + Shiki

Project Architecture

FlyEnv follows Electron's multi-process architecture with three main components:

1. Main Process (/src/main)

Acts as a command relay station between the renderer and fork processes.

Key Files:

  • index.ts - Entry point, initializes Launcher
  • Launcher.ts - Application bootstrap, single-instance lock, event handling
  • Application.ts - Main application controller, window management, IPC handling

Core Managers:

  • WindowManager - Browser window creation and management
  • TrayManager - System tray functionality
  • MenuManager - Application menus
  • ConfigManager - Configuration persistence
  • ForkManager - Forked process management
  • NodePTY - Terminal PTY handling

2. Forked Asynchronous Process (/src/fork)

Executes all heavy commands asynchronously to prevent main thread blocking.

Read the full file on GitHub · 390 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 Changed · +12 lines · +326 tokens per session 31d6756533fe
  2. 2mo ago First seen · 378 lines · 3,063 tokens per session scan B 101c0a5f3e2a

Subscribe to this mod's changes

FlyEnv AGENTS.md is an instructions file published in the GitHub repository xpf0000/FlyEnv (3,340 stars, last pushed yesterday), licensed BSD-3-Clause. It adds 3,389 tokens to every session, about $0.0136 per session on Opus 5.5. A static security scan graded it B with 2 findings (asks for root, runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

FlyEnv AGENTS.md compared with instructions from other repositories

FlyEnv AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
FlyEnv AGENTS.mdxpf0000/FlyEnvInstructions file3.3kyesterdayBSD-3-ClauseB3,389Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode