一键导入
tri
TRI status dashboard — agent thought mode by default, /tri full for visual dashboard
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
TRI status dashboard — agent thought mode by default, /tri full for visual dashboard
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Trinity Bridge manual — architecture, endpoints, commands, patterns for Perplexity-Railway-Mac-Claude Code channel. Reference for all AI agents.
Generate Zig or Verilog code from VIBEE specifications. Use when creating or updating .tri specs and regenerating code.
GOD MODE — Agent monitoring dashboard. Shows swarm status, task queue, pipeline compliance, circuit breakers, git activity, and rule violations.
Generate Zig or Verilog code from VIBEE specifications. Use when creating or updating .tri specs and regenerating code.
HEALER — diagnose, heal, commit dirty files, monitor junk & docs & duplicates, report honestly. Every loop = action + proof.
Agent swarm development dashboard — live Railway containers, issue queue, PR pipeline, JSONL events, pool utilization, and queue drain status. Use when checking agent dev tasks, spawning status, or monitoring issues #315-#319.
| name | tri |
| description | TRI status dashboard — agent thought mode by default, /tri full for visual dashboard |
For system state collection, follow .claude/skills/_shared/data_collection.md.
For output formatting conventions, follow .claude/skills/_shared/output_format.md.
For cached system state, follow .claude/skills/_shared/system_snapshot.md.
Check $ARGUMENTS for mode:
"audit" and "lang:xx" work in BOTH modes.
Run a diagnostic of the TRI system. In COMPACT mode, output ~15 lines. In FULL mode, output the complete diagnostic report.
If $ARGUMENTS contains "lang:ru" or "lang:en", update .claude/skills/tri/lang.md to that language and use it.
If $ARGUMENTS is "ru" or "en" alone, treat as language switch.
In FULL mode, if remaining $ARGUMENTS is provided, focus the diagnostic on that area.
If $ARGUMENTS contains "humor", "prof", "toxic", or "zen" → set MOOD to that value and update .claude/skills/tri/mode.md with mood: {value}.
If no mood keyword in $ARGUMENTS → read current mood from .claude/skills/tri/mode.md (default: humor).
If $ARGUMENTS contains "audit", run a FRESH regeneration audit BEFORE the diagnostic:
python3 << 'AUDIT_EOF'
import subprocess, os, glob, time
specs = sorted(glob.glob('specs/tri/*.tri'))
results = []
for s in specs:
name = os.path.splitext(os.path.basename(s))[0]
try: subprocess.run(['zig-out/bin/vibee', 'gen', s], capture_output=True, timeout=30)
except: pass
zig = f'generated/{name}.zig'
if not os.path.exists(zig):
results.append((name, 'no output'))
continue
try:
r = subprocess.run(['zig', 'ast-check', zig], capture_output=True, timeout=30)
results.append((name, 'pass' if r.returncode == 0 else 'ast-check failed'))
except: results.append((name, 'timeout'))
passed = sum(1 for _,s in results if s == 'pass')
total = len(results)
pct = passed*100//total if total else 0
emoji = '💎' if pct>=80 else ('🟡' if pct>=50 else '💀')
with open('specs/REGENERATION_REPORT.md','w') as f:
f.write(f'# Regeneration Audit Report\n\n**Date:** {int(time.time())}\n**Sample:** {total} specs\n**Tool:** vibee gen + zig ast-check\n\n## Results\n\n| # | Spec | Status |\n|---|------|--------|\n')
for i,(name,status) in enumerate(results,1):
icon = '✅' if status=='pass' else f'❌ {status}'
f.write(f'| {i} | {name} | {icon} |\n')
f.write(f'\n## Summary\n\n- **Compiled:** {passed}/{total} = **{pct}%** {emoji}\n- **Failed:** {total-passed}\n')
print(f'AUDIT_COMPLETE: {passed}/{total} = {pct}%')
AUDIT_EOF
Then proceed with normal diagnostic report using fresh data.
If MODE=COVERAGE, render ONLY this section, then STOP. Do not continue to other modes.
cd /Users/playra/trinity-w1 && sed -n '/^pub fn parseCommand/,/^}/p' src/tri/tri_utils.zig | grep -oE '"[a-z][a-z0-9_-]*"' | tr -d '"' | sort -u
cd /Users/playra/trinity-w1 && grep -o '"name":"[^"]*"' tools/mcp/trinity_mcp/server.zig | sed 's/"name":"//;s/"//' | sort -u
cd /Users/playra/trinity-w1 && \
echo "=== DELEGATE_CLI ===" && grep -c 'executeTriSimple' tools/mcp/trinity_mcp/server.zig && \
echo "=== DELEGATE_MODULE ===" && grep -cE 'swarm\.\w+\(|cloud_orch\.\w+|chain_engine|needle\.' tools/mcp/trinity_mcp/server.zig && \
echo "=== TOTAL_TOOLS ===" && grep -o '"name":"[^"]*"' tools/mcp/trinity_mcp/server.zig | wc -l
cd /Users/playra/trinity-w1 && \
gh issue list -R gHashTag/trinity --state open --limit 20 --json number,title,labels --jq '.[] | select(.labels[].name == "status:in-progress") | "\(.number) \(.title)"' 2>&1 && \
echo "=== BOARD ===" && gh project item-list 6 --owner gHashTag --format json --limit 50 2>&1
Output a 3-paragraph report:
P1: Coverage Score — {N} CLI commands, {N} MCP tools, {coverage}% coverage.
P2: Gaps & Duplicates — Top 5 CLI commands without MCP exposure. Top 5 MCP tools without CLI counterpart. Dedup score.
P3: Board Sync — Open issues count, in-progress count, board items count, out-of-sync count.
Before rendering the report, read .claude/skills/tri/lang.md to determine the output language.
The file contains lang: ru or lang: en. Default: en.
All section headers, labels, problem descriptions, oracle commentary, and φ-liners MUST be rendered in the chosen language. Technical terms stay in English.
For the complete translation table, follow .claude/skills/_shared/language.md.
Follow .claude/skills/_shared/compact_narration.md. STOP after completion.
.claude/skills/_shared/full_diagnostics.md — collect all data.claude/skills/_shared/report_template.md — render tables and faculty.claude/skills/_shared/oracle_verdict.md — oracle, Loop-0, action plan, benchmarks