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/msgbyte/tianji/globalgit clone --depth 1 https://github.com/msgbyte/tianjiWhat 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.01368 | $0.01368 |
| Opus 5 | $0.00684 | $0.00684 |
| Sonnet 5 | $0.00274 | $0.00274 |
| Haiku 4.5 | $0.00137 | $0.00137 |
Grade A, and why
global 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 — 149 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Tianji Project Cursor Rules
IMPORTANT: Do not operate my git to add or rm files at any time.
Project Overview
Tianji is the project name - a proprietary monitoring and analytics platform. Always use "Tianji" (not "tianji" or other variations) when referring to the project in documentation, comments, and user-facing text.
Project Structure (Monorepo)
This is a monorepo with the following structure:
tianji/
├── apps/ # Application packages
│ ├── appstore-review/ # App store review automation
│ ├── daily-ai-trigger/ # Daily AI trigger service
│ └── mcp-server/ # MCP server implementation
├── packages/ # Shared packages
│ ├── client-sdk/ # Client SDK for external integration
│ ├── react/ # React components sdk library
│ └── react-native/ # React Native sdk library
├── src/
│ ├── client/ # Frontend application (React)
│ │ ├── components/ # React components
│ │ │ └── ui/ # Shadcn/ui components
│ │ ├── routes/ # Application routes
│ │ ├── hooks/ # Custom React hooks
│ │ ├── store/ # State management
│ │ └── utils/ # Client utilities
│ ├── server/ # Backend application (Node.js)
│ │ ├── model/ # Database models and business logic
│ │ ├── router/ # Express routes
│ │ ├── trpc/ # tRPC API definitions
│ │ ├── middleware/ # Express middleware
│ │ └── utils/ # Server utilities
│ ├── shared/ # Shared code between client/server
│ └── tracker/ # Tracking library
├── website/ # Documentation website (Docusaurus)
├── geo/ # Geographic data
├── docker/ # Docker configurations
└── example/ # Example applications
├── expo/ # React Native example
└── web/ # Web example
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 · 149 lines · 1,368 tokens per session scan A 1ece7d821d63
global is a cursor rule published in the GitHub repository msgbyte/tianji (3,084 stars, last pushed yesterday), licensed Apache-2.0. It adds 1,368 tokens to every session, about $0.0068 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
cursorrules
Use the latest version of Shadcn to install new components, like this command to add a button component.
development-conventions
Development conventions, code style, and best practices for the Kaneo project.
backend
You are an expert in Go, Gin, Gorm, Gen, Cosy (https://cosy.uozi.org/) with a deep understanding of best practices and performance optimization techniques in these technologies.
mermaid-renderer-tooling
Renderização Mermaid canônica com vaults-diagram-tools.
best-practices
Engineering best practices for this codebase.
architectural-and-structural-rules
The project follows a layered architecture with clear separation of concerns.