project-folder-structure

project-folder-structure is a cursor rule for Cursor from YFGaia/gaia-x. It costs 3 tokens per session (314 once invoked), scanned A, original, Apache-2.0.

A documented layout of a software project that contains applications and shared packages in one repository. A monorepo is a single repository used to manage multiple related projects together.

In plain words
What is it for?
Use it when navigating the apps, packages, scripts, dependency configuration, build tools, formatting rules, and test setup.
Why use it?
It helps an agent find code, configuration, tests, scripts, and shared packages without guessing where they belong.

Cursor rule for Cursor

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 rules/yfgaia/gaia-x/project-folder-structure
Clone the repo
git clone --depth 1 https://github.com/YFGaia/gaia-x

Made for: Cursor.

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 project-folder-structure

README.md
[![agentmods](https://agentmods.dev/badge/rules/yfgaia/gaia-x/project-folder-structure.svg)](https://agentmods.dev/rules/yfgaia/gaia-x/project-folder-structure)
Your own site
<a href="https://agentmods.dev/rules/yfgaia/gaia-x/project-folder-structure"><img src="https://agentmods.dev/badge/rules/yfgaia/gaia-x/project-folder-structure.svg" alt="Measured on agentmods" height="20"></a>
Per session 3 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 314 The whole file, excluding the scripts and references it only reads on demand.
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.00003 $0.00314
Opus 5 $0.00002 $0.00157
Sonnet 5 $0.00001 $0.00063
Haiku 4.5 $0.00000 $0.00031

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

Security

Grade A, and why

project-folder-structure 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 3d 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.

.cursor/rules/project-folder-structure.mdc · 35 lines

What it actually says

Project Folder Structure

.
├── .cursor/  # Cursor 提示词配置
├── .git/     # Git版本控制
├── .github/  # GitHub配置和工作流
├── .husky/   # Git Hooks配置
├── .vscode/  # VSCode配置
├── apps/     # 应用程序
│   ├── admin/   # 管理后台应用
│   └── client/  # 客户端应用,通过 Project folder structure (client) 查询细节
├── packages/                # monorepo 目录
│   ├── key-mouse-listener/  # 键鼠监听包
│   └── selected-text/       # 文本选择包
├── scripts/                 # 脚本目录
└── node_modules/            # 依赖包目录

主要配置文件:
- package.json          # 项目配置和依赖管理
- pnpm-workspace.yaml   # pnpm工作空间配置
- vite.config.ts        # Vite构建配置
- vitest.config.ts      # Vitest测试配置
- postcss.config.cjs    # PostCSS配置
- .npmrc                # npm配置
- .prettierrc           # Prettier代码格式化配置
- commitlint.config.js  # Git提交信息规范配置
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. 3d ago First seen · 35 lines · 3 tokens per session scan A 0aef57dc66f3

Subscribe to this mod's changes

project-folder-structure is a cursor rule published in the GitHub repository YFGaia/gaia-x (28 stars, last pushed 11mo ago), licensed Apache-2.0. It adds 3 tokens to every session and 314 once invoked, about $0.0000 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.