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.
npx skills add msgbyte/tianji --skill tianji-data-querygit 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/skills/msgbyte/tianji/tianji-data-query)<a href="https://agentmods.dev/skills/msgbyte/tianji/tianji-data-query"><img src="https://agentmods.dev/badge/skills/msgbyte/tianji/tianji-data-query/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/skills/msgbyte/tianji/tianji-data-query"><img src="https://agentmods.dev/badge/skills/msgbyte/tianji/tianji-data-query.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00047 | $0.01355 |
| Opus 5.5 | $0.00019 | $0.00542 |
| Sonnet 5.5 | $0.00009 | $0.00271 |
| Haiku 4.5 | $0.00005 | $0.00136 |
Grade A, and why
tianji-data-query scanned grade A with 1 finding 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 27d 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl --fail-with-body --silent --show-error \ How it starts
The opening of the file, as written. The whole thing — 129 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Tianji Analytics
Query any read-only data from the Tianji monitoring and analytics platform.
Configuration
Three values are required (provided via skill config):
| Variable | Description |
|---|---|
TIANJI_BASE_URL |
Tianji instance URL (e.g. https://tianji.example.com) |
TIANJI_API_KEY |
API key for authentication |
TIANJI_WORKSPACE_ID |
Default workspace ID |
Making API Requests
Before querying data, fetch and read the target instance's OpenAPI document. TIANJI_BASE_URL is the instance URL without the /open suffix:
curl --fail-with-body --silent --show-error \
"${TIANJI_BASE_URL%/}/open/_document"
Confirm a successful response containing an OpenAPI JSON object with openapi and paths, not HTML or an error payload. If discovery fails, report the failure and stop API queries; do not substitute bundled paths or guess endpoints. The instance must enable OpenAPI to serve this document.
Use the live document to confirm the operation's method, path, path/query parameters, response schema, and authentication. Resolve referenced schemas ($ref), including required fields, types, formats, defaults, enums, and pagination. Resolve servers against the target instance before appending an operation path (normally /open; do not add it twice). Keep authenticated requests on the intended instance and send the API key via Authorization: Bearer ..., never in the URL or output.
Only GET requests are allowed, even though the live document also describes writes. If the requested operation has no exported GET route, report that limitation. Do not derive /open routes from dashboard tRPC procedures; those need separate maintained references and are outside this skill.
The target document takes precedence over bundled references and examples. Reuse it within the same task and target; fetch again after switching instances, an upgrade, or a schema-related failure. Parse successful API responses as JSON and report HTTP/API errors rather than treating them as query results.
What ships with it
6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 27d ago Changed · +4 lines · -35 tokens per session ba91f9f0a257
- 1mo ago First seen · 125 lines · 82 tokens per session scan A a2fba2dab042
tianji-data-query is a skill published in the GitHub repository msgbyte/tianji (3,113 stars, last pushed today), licensed Apache-2.0. It adds 47 tokens to every session and 1,355 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
clawd-media-track
Resource tracking and acquisition workflow for media resources. MUST use when the user asks to get, add, track, monitor, search, acquire, transfer, or initialize movies, TV shows, anime, Pansou resources, or 115 cloud storage items with the clawd-media-track system. For every clawd-media-track task: first read…
ledgr:monthly-review
Review monthly spending patterns and compare to previous months using Ledgr financial data.
ledgr:savings-analysis
Calculate savings rate, identify top discretionary spending, and model what-if scenarios.
ledgr:budget-check
Analyze budget vs actual spending and flag categories at risk of overspending.
ledgr:net-worth-tracking
Analyze net worth trends, break down by asset type, and highlight largest changes.
ledgr:subscription-audit
Audit recurring charges to find subscriptions, estimate total cost, and identify savings opportunities.