aizee

aizee is a cursor rule for Cursor from m3taz-ahmed/ai-globals. It costs 3,096 tokens per session, scanned A, original, MIT.

A persona-switching and project-context rule set for the aiZee system. It loads shared instructions, detects the appropriate working personas, and routes requests to the matching workflow.

In plain words
What is it for?
Use it to bootstrap an aiZee session, switch personas from supported commands, load project rules, check the manifest, and select the relevant workflow.
Why use it?
Projects with many roles and rules can produce inconsistent behavior if the context is not loaded first. This setup establishes the required project location, instructions, memory, and workflow before work begins.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Use it to bootstrap an aiZee session, switch personas from supported commands, load project rules, check the manifest, and select the relevant workflow.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/m3taz-ahmed/ai-globals/aizee
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/m3taz-ahmed/ai-globals

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 aizee

README.md
[![agentmods](https://agentmods.dev/badge/rules/m3taz-ahmed/ai-globals/aizee/github.svg)](https://agentmods.dev/rules/m3taz-ahmed/ai-globals/aizee)
Your own site
<a href="https://agentmods.dev/rules/m3taz-ahmed/ai-globals/aizee"><img src="https://agentmods.dev/badge/rules/m3taz-ahmed/ai-globals/aizee/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 aizee

Your own site · 80×15
<a href="https://agentmods.dev/rules/m3taz-ahmed/ai-globals/aizee"><img src="https://agentmods.dev/badge/rules/m3taz-ahmed/ai-globals/aizee.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,096 This file is loaded in full into every session.
When invoked 3,096 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.03096 $0.03096
Opus 5.5 $0.01238 $0.01238
Sonnet 5.5 $0.00619 $0.00619
Haiku 4.5 $0.00310 $0.00310

Measured 19d ago against content hash 90e6edee897c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

aizee 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 19d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.cursor/rules/aizee.mdc · 409 lines

How it starts

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

aiZee — Global Bootloader

  • Root: discovered via AIZEE_ROOT env or config.discover_root() (no hardcoded path).

  • Set AIZEE_ROOT if not already set. Use PYTHONIOENCODING=utf-8 on Windows.

  • This file is the canonical root pointer. All other OS files discover the root via AIZEE_ROOT or config.discover_root() and are loaded relative to it.

Working Directory [DIR-01]

  • Working directory: D:\server.ai ONLY. All edits, new files, and modifications go here.

  • D:\server\aizee is READ-ONLY. Never edit files in aizee directly. It is the deployment/usage folder, updated only via the batch update script. If you need to sync changes from .ai to aizee, use the batch script.

  • When the IDE opens files from aizee, copy them to .ai first, edit in .ai, then sync back via the batch script.

Cold Start

  1. Read global-roles.md, global-workflow.md, and Memory.md.

  2. Detect personas with aizee persona detect --multi and load the returned skills/ before acting.

    Persona switch directive (mandatory): If the user message STARTS with a persona command — #انتحل, /انتحل, #reset, /reset, #persona, /persona, #redetect, #switch (or Arabic #شخصيات, /شخصيات, #بدّل, /بدّل, #حالة, /حالة, #مين, /مين, #معلومات, /معلومات) — strip the command token, then run aizee persona detect --multi "<remaining text>" and ADOPT the returned primary + secondary personas and load their skills/ + lords/ before acting. For status commands (#حالة, /status, #مين, /معلومات) print the currently active persona set instead of acting. This makes persona adoption explicit and verifiable; never silently ignore these commands.

  3. If the current project has spec.md, read it before any action.

Runtime Gate

  • Route every action through runtime/kernel.py.

  • Use aizee check <action> --args '{"tokens":N}' or Kernel.act to validate policy + budget.

  • No destructive action without explicit user approval.

Read the full file on GitHub · 409 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. 19d ago Changed 90e6edee897c
  2. 21d ago Changed · +2 lines · +140 tokens per session a352ac966c09
  3. 25d ago Changed · +351 lines · +2,040 tokens per session fff751875073
  4. 1mo ago First seen · 56 lines · 916 tokens per session scan A c1c1aaf7c804

Subscribe to this mod's changes

aizee is a cursor rule published in the GitHub repository m3taz-ahmed/ai-globals (5 stars, last pushed 5d ago), licensed MIT. It adds 3,096 tokens to every session, about $0.0124 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.