Tianji is a self-hosted application that combines website analytics, uptime monitoring, server-status tracking, notifications, telemetry, and related tools in one service. It is intended for users who need lightweight insight into websites, servers, and deployments without running several separate monitoring applications.
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.
git clone --depth 1 https://github.com/msgbyte/tianjiWrote 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.
[](https://agentmods.dev/rules/msgbyte/tianji/global)<a href="https://agentmods.dev/rules/msgbyte/tianji/global"><img src="https://agentmods.dev/badge/rules/msgbyte/tianji/global/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.
<a href="https://agentmods.dev/rules/msgbyte/tianji/global"><img src="https://agentmods.dev/badge/rules/msgbyte/tianji/global.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.01368 | $0.01368 |
| Opus 5.5 | $0.00547 | $0.00547 |
| Sonnet 5.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 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.
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.
- 1mo ago 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,109 stars, last pushed 4d ago), licensed Apache-2.0. It adds 1,368 tokens to every session, about $0.0055 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-30.
Other cursor rules, from other repositories
no-co-author-in-commits
Do not add or keep Co-authored-by trailers in commit messages.
no-mvn-compile
Do not run mvn compile; rely on IDE lint errors.
releasing
How to release AdLoop to PyPI — version bumping, tagging, and publishing.
speckit_speckit.git.initialize
description: Proxy for the speckit.git.initialize workflow globs.
speckit_speckit.git.validate
description: Proxy for the speckit.git.validate workflow globs.
speckit_speckit.git.remote
description: Proxy for the speckit.git.remote workflow globs.