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-artifactsgit 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-artifacts)<a href="https://agentmods.dev/skills/msgbyte/tianji/tianji-artifacts"><img src="https://agentmods.dev/badge/skills/msgbyte/tianji/tianji-artifacts/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-artifacts"><img src="https://agentmods.dev/badge/skills/msgbyte/tianji/tianji-artifacts.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.00072 | $0.00731 |
| Opus 5.5 | $0.00029 | $0.00292 |
| Sonnet 5.5 | $0.00014 | $0.00146 |
| Haiku 4.5 | $0.00007 | $0.00073 |
Grade A, and why
tianji-artifacts 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 21d 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 — 32 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Tianji Artifacts
Publish a single HTML file to the user's Tianji workspace. Members can preview it, inspect its source, and download it from Artifacts in the dashboard. This Skill works with Claude Code and Codex; it does not require Claude's private artifact runtime.
Configuration
Use TIANJI_SERVER_URL (the instance origin, without /open), TIANJI_WORKSPACE_ID, and TIANJI_API_KEY from the agent's environment. If configuration is missing, ask the user to set it locally. Never print the key, put it in an artifact, or invent a workspace. Keys belong to users; workspace membership and permissions are checked on every request.
Read references/operations.md before calling the API. Check the target server's /open/_document for Artifacts routes first. Report an older server as incompatible instead of guessing endpoints.
Author and publish
- For interactive React pages, read references/authoring.md. Use the bundled initializer, edit the preconfigured project, then build
bundle.html. It includes 40+ shadcn/ui components, path aliases, and a single-file bundler. Simple pages can be authored directly as HTML. - Write a complete, self-contained HTML file or fragment, with embedded data. Use a clear title and a short description. Source must be nonblank and at most 1 MiB of UTF-8 bytes.
- Inline JavaScript and CSS work. Bundle React/JSX or other compiled code before uploading; the viewer does not compile source or allow
eval. Do not depend on Claude-specific functions, connectors, runtime libraries, relative assets, cookies, storage, or API calls. - Preview runs in an iframe that cannot access the dashboard DOM or login state. Network fetches, forms, nested frames, popups, and top-level navigation are blocked. Embed images/media as data or blob URLs. The exact CDN/font allowances are in the operational reference. Prefer embedded assets when practical.
- When the user asks to publish, upload using JSON-safe file reading as in the reference. Existing authorization covers that upload; do not add a second confirmation. Do not publish unrelated files or content.
- On success, return the artifact ID and dashboard URL. The URL requires login and workspace membership; it is not a public hosting URL.
What ships with it
21 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.
- assets/react/.gitignore 44 B
- assets/react/components.json 415 B
- assets/react/index.html 302 B
- assets/react/package.json 2.1 KB
- assets/react/pnpm-lock.yaml 136 KB
- assets/react/pnpm-workspace.yaml 134 B
- assets/react/postcss.config.cjs 72 B runs code
- assets/react/scripts/bundle.mjs 1.3 KB runs code
- assets/react/src/App.tsx 654 B
- assets/react/src/index.css 1.4 KB
- assets/react/src/main.tsx 236 B
- assets/react/tailwind.config.cjs 2.0 KB runs code
- assets/react/tsconfig.json 473 B
- assets/react/vite.config.ts 547 B runs code
- assets/shadcn-components.tar.gz 19 KB
- LICENSE.txt 11 KB
- references/authoring.md 4.0 KB
- references/operations.md 7.2 KB
- scripts/bundle-artifact.sh 191 B runs code
- scripts/init-artifact.sh 1.1 KB runs code
- THIRD_PARTY.md 889 B
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.
- 21d ago First seen · 32 lines · 72 tokens per session scan A 1d9867d58655
tianji-artifacts is a skill published in the GitHub repository msgbyte/tianji (3,127 stars, last pushed today), licensed Apache-2.0. It adds 72 tokens to every session and 731 once invoked, about $0.0003 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-11-08.
tianji-artifacts compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| tianji-artifactsmsgbyte/tianji | Skill | 3.1k | today | Apache-2.0 | A | 72 | Claude Code, Codex |
| resume-builderamruthpillai/reactive-resume | Skill | 46k | 2d ago | MIT | A | 71 | Claude Code, Codex |
| kaneo-cliusekaneo/kaneo | Skill | 9.9k | today | MIT | A | 73 | Claude Code, Codex |
| frontend-featurevstorm-co/full-stack-ai-agent-template | Skill | 2.0k | 3d ago | MIT | A | 64 | Claude Code |
| clawd-media-trackfancydirty/mediary-scout | Skill | 1.9k | yesterday | 0BSD | A | 115 | Claude Code, Codex |
| web-artifacts-builderPrismer-AI/PrismerCloud | Skill | 1.4k | 1mo ago | MIT | A | 63 | Claude Code, Codex |
| webappkortix-ai/suna | Skill | 21k | yesterday | none | A | 28 | Claude Code, Codex |