Agent Skillsnxtrace/NTrace-core › nexttrace

nexttrace

GitHub

通过 NextTrace MCP 端点执行网络路径诊断,包括路由追踪、MTR、MTU 发现、测速及 IP 地理信息查询。适用于需要调用 NextTrace 工具进行网络分析的场景。

skills/nexttrace/SKILL.md nxtrace/NTrace-core

Trigger Scenarios

用户请求网络路由诊断或路径追踪 用户需要进行 MTR 测试、MTU 发现或全球多地点追踪 用户查询 IP 地理信息或进行速度测试 Agent 需要调用 NextTrace MCP 工具

Install

npx skills add nxtrace/NTrace-core --skill nexttrace -g -y
More Options

Use without installing

npx skills use nxtrace/NTrace-core@nexttrace

指定 Agent (Claude Code)

npx skills add nxtrace/NTrace-core --skill nexttrace -a claude-code -g -y

安装 repo 全部 skill

npx skills add nxtrace/NTrace-core --all -g -y

预览 repo 内 skill

npx skills add nxtrace/NTrace-core --list

SKILL.md

Frontmatter
{
    "name": "nexttrace",
    "description": "Use NextTrace through its deploy MCP endpoint for traceroute, MTR, MTU discovery, speed tests, IP annotation, GeoIP lookup, and Globalping multi-location traceroute. Trigger when an agent needs network path diagnostics or needs to call NextTrace MCP tools."
}

NextTrace MCP

Use this skill when the user wants route diagnostics through NextTrace or asks how an Agent should call NextTrace.

Start MCP

NextTrace exposes MCP only as a deploy submode over HTTP. There is no stdio MCP mode.

nexttrace --deploy --mcp
nexttrace --deploy --mcp --listen 0.0.0.0:1080 --deploy-token "$TOKEN"

Endpoint:

http://127.0.0.1:1080/mcp

Auth:

  • Loopback listen addresses are tokenless by default unless a token is set.
  • External listen addresses require a token. If none is provided, NextTrace prints a generated token to stdout.
  • MCP/API clients authenticate with Authorization: Bearer <token> or X-NextTrace-Token: <token>.
  • Browser WebUI uses /auth/login and an HttpOnly cookie.
  • Do not put tokens in URL query strings.

Workflow

  1. Call nexttrace_capabilities first when available.
  2. Pick the narrowest common tool for the job:
    • Local route: nexttrace_traceroute
    • Repeated loss/latency stats: nexttrace_mtr_report
    • Probe-level stream records: nexttrace_mtr_raw
    • Path MTU: nexttrace_mtu_trace
    • Global vantage points: nexttrace_globalping_trace
    • Other tools: nexttrace_speed_test, nexttrace_annotate_ips, nexttrace_geo_lookup, nexttrace_globalping_limits, nexttrace_globalping_get_measurement
  3. Prefer structuredContent; use text content only as a fallback.
  4. Preserve explicit user inputs: target, protocol, port, source_address, source_device, ASN, location, and ip_version. Do not substitute them unless the user asks for a fallback.
  5. On errors or missing results, report the exact failure and suggested next step. Do not automatically switch protocol, port, location, ASN, tool, or local/Globalping mode.
  6. For full tool schemas and boundaries, read references/mcp-tools.md and references/capability-matrix.md.
  7. For Globalping, read references/globalping.md. For local source/device/TOS behavior, read references/platform-notes.md. Use references/cli-fallback.md only when MCP is unavailable, unsupported, or the user asks for CLI output.
  8. Before writing the final answer, use references/output-templates.md for a concise Markdown shape.
  9. Keep this skill and its references synced with server/mcp.go whenever MCP tools or parameters change.

References

Version History

  • d1a721a Current 2026-07-30 20:17

Metadata

Files
0
Version
d1a721a
Hash
467d1cd7
Indexed
2026-07-30 20:17

- 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-07-31 09:34
浙ICP备14020137号-1 $방문자$