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.
npx agentmods add rules/codefreezeai/xcf/xcf-quickrefgit clone --depth 1 https://github.com/CodeFreezeAI/xcfWhat 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 | $0.00008 | $0.01969 |
| Opus 5 | $0.00004 | $0.00984 |
| Sonnet 5 | $0.00002 | $0.00394 |
| Haiku 4.5 | $0.00001 | $0.00197 |
Grade A, and why
xcf-quickref 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 yesterday.
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.
How it starts
The opening of the file, as written. The whole thing โ 202 lines โ stays where its author put it; the contents beside it link to each section on GitHub.
XCF Quick Reference Guide ๐
๐๏ธ XCF Core Actions
Permissions & Project Management
| Action | Description | Example | Output |
|---|---|---|---|
grant |
Grant Xcode automation | grant |
Permissions granted |
show |
List open projects | show |
1. /path/to/project.xcodeproj |
open # |
Select project | open 1 |
Project selected |
current |
Show selected project | current |
/path/to/current/project |
Build & Execute
| Action | Description | Example | Output |
|---|---|---|---|
build |
Build project | build |
๐ฆ๐ Built successfully |
run |
Run project | run |
๐ฆ๐ Ran successfully |
System & Analysis
| Action | Description | Example | Output |
|---|---|---|---|
env |
Show environment | env |
[Environment variables] |
pwd |
Show current folder | pwd |
/current/directory |
analyze <file> |
Analyze Swift code | analyze main.swift |
Code analysis report |
lz <file> |
Quick code analysis | lz main.swift |
Condensed analysis |
Aliases
pwd=dir=pathlz= shorthand foranalyze
Quick Workflow
grant # Authorize XCF
show # List projects
open 1 # Select project
build # Compile project
run # Execute project
Code Analysis Workflow
analyze main.swift # Detailed analysis
lz main.swift # Quick analysis
๐ Core Commands
Activation & Project Management
| Command | Description | Example | Output |
|---|---|---|---|
show |
List open Xcode projects | show |
1. /path/to/project.xcodeproj |
open # |
Select project by number | open 1 |
[Selects project] |
current |
Show current project | current |
Current project: /path/to/project.xcodeproj |
Build & Run
| Command | Description | Example | Output |
|---|---|---|---|
build |
Build current project | build |
๐ฆ๐ Built successfully |
run |
Run current project | run |
๐ฆ๐ Ran successfully |
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.
- yesterday First seen ยท 202 lines ยท 8 tokens per session scan A b3ae3d3b4a62
xcf-quickref is a cursor rule published in the GitHub repository CodeFreezeAI/xcf (12 stars, last pushed 5mo ago), licensed MIT. It adds 8 tokens to every session and 1,969 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.
Other cursor rules, from other repositories
errors
Please don't fix any code errors unless reported by XcodeBuildMCP server tool responses.
flutter-riverpod-cursorrules-prompt-file
Cursor rules for Flutter Riverpod.
flutter-app-expert-cursorrules-prompt-file
Cursor rules for Flutter development with expert integration.
flutter-development-guidelines-cursorrules-prompt-file
Cursor rules for Flutter development with MVVM architecture, Riverpod state management, Material widgets, and Dart style guidelines.
app_feature_first_architecture
Feature-first architecture is a design pattern that organizes code by business features rather than technical layers. This approach promotes better maintainability, scalability, and team collaboration by keeping related functionality together and reducing coupling between different parts of the application.
git-commit-attribution
Git commits must use the human developer identity only; never Cursor Agent co-authorship.