FylloCode AGENTS.md

A project instruction file for FylloCode, a desktop application built with Electron, Vue, and TypeScript. It describes the project's technologies, folders, and common commands for coding agents.

In plain words
What is it for?
Use it when changing FylloCode's main process, user interface, shared code, built-in servers, tests, or build configuration.
Why use it?
It gives an agent the project-specific context needed to place changes correctly and follow the established setup. Without it, an agent may use the wrong folder, tool, or testing approach.

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/fioooooooo/fyllocode/agents-md
Clone the repo
git clone --depth 1 https://github.com/Fioooooooo/FylloCode

Made for: Codex, OpenCode.

Per session 1,005 This file is loaded in full into every session.
When invoked 1,005 The same file — it is already loaded in full.
Security scan A 0 findings. 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.01005 $0.01005
Opus 5 $0.00502 $0.00502
Sonnet 5 $0.00201 $0.00201
Haiku 4.5 $0.00101 $0.00101

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

Security

Grade A, and why

FylloCode 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 2d 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 · 84 lines

How it starts

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

AGENTS.md

此文件作为 Coding Agent 工作时的必要指导文件,在当前项目中必须按照规定的指令工作。

项目概述

FylloCode — 基于 Electron + Vue 3 + TypeScript 的桌面应用。使用 electron-vite 构建,@nuxt/ui v4 作为 UI 组件库,vue-router/auto 实现文件系统路由。

技术栈

技术
桌面框架 Electron 39
前端框架 Vue 3.5 (Composition API)
构建工具 Vite 7 + electron-vite 5
UI 库 @nuxt/ui 4.6
路由 vue-router/auto (文件系统路由)
样式 Tailwind CSS 4
语言 TypeScript 6
包管理 pnpm
测试 Vitest + @vue/test-utils + happy-dom

目录结构

FylloCode/
├── src/
│   ├── main/           # Electron 主进程,处理窗口、生命周期、IPC 监听
│   ├── preload/        # 预加载脚本,包含 contextBridge 暴露 API、接口类型声明
│   ├── renderer/       # 前端,vite + vue3
│   ├── shared/         # 跨进程共享类型、schema、常量与错误对象
│   └── mcp-servers/    # 内置 MCP server
├── test/               # 与 src/ 平级,内部按 src/ 镜像组织测试
├── references/         # 参考资料(designs/ 自身设计方案,third-party/ 第三方调研)
├── build/              # 构建资源(图标、entitlements)
├── resources/          # 应用资源
├── vitest.config.mts   # Vitest 配置(ESM,.mts 后缀)
├── electron.vite.config.ts
├── electron-builder.yml
├── tsconfig.web.json   # 前端 tsconfig(extends @electron-toolkit/tsconfig)
└── tsconfig.node.json  # 后端 tsconfig(extends @electron-toolkit/tsconfig)

常用命令

pnpm dev              # 启动开发服务器
pnpm build            # 类型检查 + 完整构建
pnpm typecheck        # 类型检查(Node + Web)
pnpm lint             # ESLint 检查
pnpm format           # Prettier 格式化
pnpm test             # 运行所有测试(单次)
pnpm test:watch       # 测试监听模式
pnpm test:coverage    # 生成覆盖率报告

Worktree 环境准备

在本次 Agent 会话中,如果当前 worktree 尚未验证过本地环境,且需要运行项目命令,先运行一次:

sh scripts/prepare-worktree-env.sh

该脚本会定位当前 worktree 根目录,按 .nvmrc 切换 Node 版本,并在依赖缺失、锁文件不一致或 node_modules 为软链时按 pnpm-lock.yaml 安装依赖。

Read the full file on GitHub · 84 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. 2d ago First seen · 84 lines · 1,005 tokens per session scan A 8ae4d0eb1408

Subscribe to this mod's changes

FylloCode AGENTS.md is an instructions file published in the GitHub repository Fioooooooo/FylloCode (29 stars, last pushed 5d ago), licensed MIT. It adds 1,005 tokens to every session, about $0.0050 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.

Related

Other instructions, from other repositories