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.
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.
curl -O https://raw.githubusercontent.com/xpf0000/FlyEnv/master/AGENTS.mdgit clone --depth 1 https://github.com/xpf0000/FlyEnvWrote 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/xpf0000/flyenv/agents-md)<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.
<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>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.03389 | $0.03389 |
| Opus 5.5 | $0.01356 | $0.01356 |
| Sonnet 5.5 | $0.00678 | $0.00678 |
| Haiku 4.5 | $0.00339 | $0.00339 |
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 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.
- Version: 4.17.0
- Electron Version: 39.8.7
- License: MIT
- Author: Pengfei Xu
- Repository: https://github.com/xpf0000/FlyEnv
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 LauncherLauncher.ts- Application bootstrap, single-instance lock, event handlingApplication.ts- Main application controller, window management, IPC handling
Core Managers:
WindowManager- Browser window creation and managementTrayManager- System tray functionalityMenuManager- Application menusConfigManager- Configuration persistenceForkManager- Forked process managementNodePTY- Terminal PTY handling
2. Forked Asynchronous Process (/src/fork)
Executes all heavy commands asynchronously to prevent main thread blocking.
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.
- 1mo ago Changed · +12 lines · +326 tokens per session 31d6756533fe
- 2mo ago First seen · 378 lines · 3,063 tokens per session scan B 101c0a5f3e2a
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.
FlyEnv AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| FlyEnv AGENTS.mdxpf0000/FlyEnv | Instructions file | 3.3k | yesterday | BSD-3-Clause | B | 3,389 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | today | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |