msgbyte/tianji/skill
- community
Checking that the SKILL.md file is still in the repository.
Install
npx vskill@latest install msgbyte/tianji/skillSKILL.md
Integration with Agent Skill
Introduction
The Tianji Data Query Skill is a lightweight, agent-agnostic skill bundle that lets AI agents (Cursor, Claude Code, Codex, Copilot CLI, etc.) query the Tianji platform directly through its read-only OpenAPI.
It follows the agentskills.io specification — a single SKILL.md plus reference files. No long-running process, no extra runtime.
To create, test, deploy, and manage Workers, download the separate Tianji Worker Skill, which includes common operations and the Worker runtime reference.
:::tip Get started See the Installation Guide for one-click and manual setup. :::
Before querying data, the skill reads the target instance's /open/_document to confirm exported GET routes and their parameter schemas. Bundled endpoint references are snapshots for orientation; the instance's document takes precedence. If discovery is unavailable or invalid, the agent reports the failure instead of guessing requests. Non-exported dashboard tRPC operations require separately maintained references and are outside this read-only skill.
What it covers: read-only operations exported by the target instance, including:
- Website — traffic stats, pageviews, geo distribution, Lighthouse reports
- Monitor — uptime status, recent check data, monitor events
- Survey — survey responses, result stats, AI categories
- Telemetry — custom event counts, telemetry pageviews, metrics
- Feed — channels, event streams, feed states
- Application — app store reviews, app info, event stats
- Billing / AI Gateway / Worker / Page / Workspace / Global / AuditLog
Skill vs MCP Server
Tianji offers two ways to integrate with AI agents. Pick the one that fits your workflow:
| Agent Skill | MCP Server | ||
|---|---|---|---|
| Form | Plain documentation files (SKILL.md + references) | A long-running Node.js process | |
| Runtime | None — agent uses curl or built-in HTTP tools | npx tianji-mcp-server | |
| Coverage | GET operations discovered from the target's OpenAPI | A curated subset of tools (read + some write) | |
| Setup | Drop files into the agent's skills directory | Add MCP config to the agent's config file | |
| Best for | Cursor / Claude Code / Codex / any agent following the agentskills.io spec | Agents with first-class MCP support |
You can use both at the same time without conflict.
Usage Examples
Once installed, you can ask your AI agent natural-language questions and it will pick an endpoint from the target's OpenAPI document. These examples illustrate typical routes; the agent verifies paths and parameters against that document before making requests:
Example 1: Website traffic overview
Example 2: Monitor health check
Example 3: Survey result analysis
Sensitive Data Handling
Some endpoints may return platform-stored secrets (e.g. modelApiKey, customModelBaseUrl in AI Gateway responses) or PII (workspace members, audit logs, billing).
The skill instructs agents to:
- Never display
apiKey,modelApiKey,secret,token,password, orcredentialfields. - Redact or omit these fields when summarising responses.
- For workspace members / audit logs, only surface non-sensitive metadata (names, roles, timestamps) unless the user explicitly requests full detail.
The bundled openapi-readonly.json redacts sensitive schema fields, but this does not sanitize live schemas or actual API responses. The agent must still apply these rules when reading and summarizing data.
Source
The skill source lives in the Tianji repository under `skills/tianji-data-query/`. Pull requests welcome.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingwebsite/docs/skill/skill.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/msgbyte/tianji/skill)