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/Abilityai/trinityWrote 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/commands/abilityai/trinity/service-check)<a href="https://agentmods.dev/commands/abilityai/trinity/service-check"><img src="https://agentmods.dev/badge/commands/abilityai/trinity/service-check/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/commands/abilityai/trinity/service-check"><img src="https://agentmods.dev/badge/commands/abilityai/trinity/service-check.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.00000 | $0.01010 |
| Opus 5.5 | $0.00000 | $0.00404 |
| Sonnet 5.5 | $0.00000 | $0.00202 |
| Haiku 4.5 | $0.00000 | $0.00101 |
Grade A, and why
service-check 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 3mo 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 — 130 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Service Check
Request each agent to run a self-diagnostic to validate their runtime setup.
IMPORTANT: This is a READ-ONLY service check. Agents must NOT modify any data in external systems. This is purely diagnostic validation.
Instructions
-
List all agents using
mcp__trinity__list_agents -
Filter to running agents (skip stopped agents and trinity-system)
-
For each running agent, call it using
mcp__trinity__chat_with_agentwith this prompt:
Run a SERVICE CHECK self-diagnostic. This is READ-ONLY - do NOT modify any external data.
Validate your runtime setup by checking:
1. **MCP Servers**: List configured servers from .mcp.json. For each server:
- Can you call a read-only/list operation? (e.g., list files, list items, get status)
- Report: working / failing / not configured
2. **Credentials**: Check .env file exists and has expected variables.
- Do NOT log credential values
- Report: present / missing / partially configured
3. **Workspace**: Verify key files exist:
- CLAUDE.md (your instructions)
- template.yaml (your config)
- Any domain-specific required files
4. **Tools**: Test that your core tools respond:
- File operations (read a test file)
- Any critical integrations
5. **Memory/State**: Check if persistent files are accessible:
- memory/ directory (if used)
- outputs/ directory (if used)
IMPORTANT CONSTRAINTS:
- DO NOT create, update, or delete any external resources
- DO NOT send messages, emails, or notifications
- DO NOT modify databases or APIs
- ONLY perform read/list/get operations
- If a tool only has write operations, skip it and note "write-only, skipped"
Respond with a brief JSON report:
{
"agent": "your-name",
"status": "healthy|degraded|unhealthy",
"checks": {
"mcp_servers": {"configured": 2, "working": 2, "failed": 0},
"credentials": "ok|missing|partial",
"workspace": "ok|issues",
"tools": "ok|some_failed|not_tested"
},
"issues": ["issue1", "issue2"],
"notes": ["any relevant observations"]
}
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.
- 3mo ago First seen · 130 lines · 0 tokens per session scan A 8005f40a8b2e
service-check is a command published in the GitHub repository Abilityai/trinity (822 stars, last pushed today), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 1,010 tokens. 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.
service-check compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| service-checkAbilityai/trinity | Command | 822 | today | Apache-2.0 | A | 0 | Claude Code |
| self-healingruvnet/ruflo | Command | 83k | today | MIT | A | 0 | Claude Code |
| checklistgithub/spec-kit | Command | 153k | today | MIT | A | 13 | Claude Code |
| clarifygithub/spec-kit | Command | 153k | today | MIT | A | 27 | Claude Code |
| specifygithub/spec-kit | Command | 153k | today | MIT | A | 13 | Claude Code |
| analyzegithub/spec-kit | Command | 153k | today | MIT | A | 26 | Claude Code |
| convergegithub/spec-kit | Command | 153k | today | MIT | A | 35 | Claude Code |