project-ai

project-ai is a cursor rule for Cursor from iamadi11/mcp-ui-poc. It costs 534 tokens per session, scanned A, original, MIT.

A set of project rules covering the required workflow, technology choices, security, testing, and code layout. It describes a monorepo, meaning one repository containing multiple related projects: a Node.js and Express server and a React frontend.

In plain words
What is it for?
It guides work on the server and client, including linting, builds, manual checks, architecture boundaries, and installation.
Why use it?
It gives an agent consistent instructions for exploring, changing, testing, and documenting this project.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

Good fit It guides work on the server and client, including linting, builds, manual checks, architecture boundaries, and installation.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/iamadi11/mcp-ui-poc/project-ai
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.

Clone the repo
git clone --depth 1 https://github.com/iamadi11/mcp-ui-poc

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-ai

README.md
[![agentmods](https://agentmods.dev/badge/rules/iamadi11/mcp-ui-poc/project-ai/github.svg)](https://agentmods.dev/rules/iamadi11/mcp-ui-poc/project-ai)
Your own site
<a href="https://agentmods.dev/rules/iamadi11/mcp-ui-poc/project-ai"><img src="https://agentmods.dev/badge/rules/iamadi11/mcp-ui-poc/project-ai/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 project-ai

Your own site · 80×15
<a href="https://agentmods.dev/rules/iamadi11/mcp-ui-poc/project-ai"><img src="https://agentmods.dev/badge/rules/iamadi11/mcp-ui-poc/project-ai.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 534 This file is loaded in full into every session.
When invoked 534 The same file — it is already loaded in full.
Security scan A 0 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.00534 $0.00534
Opus 5.5 $0.00214 $0.00214
Sonnet 5.5 $0.00107 $0.00107
Haiku 4.5 $0.00053 $0.00053

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

Security

Grade A, and why

project-ai 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 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.

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-ai.mdc · 41 lines

What it actually says

Cursor — project rules

Canonical workflow

Follow docs/AI_WORKFLOW.md. Non-trivial work starts with /ask-matt. Do not contradict the workflow; one-line exceptions with rationale only. Glossary: CONTEXT.md.

Stack & layout

  • Stack: Node.js (ES modules), Express in server/, React 18 + Vite in client/.
  • Client UI: Chat studio in client/src/studio/. Read design-system/MCP-UI/MASTER.md before JSX. Host chrome is shadcn; generated HTML uses ThemeAdapter in packages/core/src/design-systems/.
  • Monorepo: Root package.json; client/package.json. npm install at root; npm run install-all; npm run skills:install after clone.

Mandatory checks

  • After changing client/ JS/JSX: run npm run lint from client/.
  • After packages/core: run npm test.
  • Validate changed flows (see README.md).

Architecture

  • Keep API and MCP server logic in server/; UI only in client/src/.
  • Jev fan-out decides; applyPolicy hydrates; Claude only on low confidence / needs_llm. Never send full payloads to an LLM.
  • Avoid circular server/ imports.

Security

  • Secrets only via environment variables. Local: .env.local. Never commit secrets or put them in prompts, logs, or agent output.

Exploration policy

Structured navigation first: README.md, CONTEXT.md, docs/AI_WORKFLOW.md, CLAUDE.md, then scoped search in server/ or client/. MCP: cursor-ide-browser; user-ai-agent-committee if configured — read tool schemas before calling.

Claude Code parity

Project instructions live in CLAUDE.md; skills under .claude/skills/. Matt tdd/code-review replace duplicate playbooks.

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 · +2 lines · -13 tokens per session a92ce7fdd748
  2. 2mo ago First seen · 39 lines · 547 tokens per session scan A 87457f0b3f38

Subscribe to this mod's changes

project-ai is a cursor rule published in the GitHub repository iamadi11/mcp-ui-poc (8 stars, last pushed 1mo ago), licensed MIT. It adds 534 tokens to every session, about $0.0021 per session on Opus 5.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-31.