跳到正文
cccskills
免费在 GitHub 公开

network-diagnostics

ネットワーク品質を総合的に診断し、ボトルネックの特定と根本原因の深堀りまで行うスキル。接続情報、レイテンシ、ダウンロード速度、HTTP接続タイミング、経路解析を自動実行し、 品質閾値に基づく総合評価を日本語レポートとして出力する。外部依存なし(OS標準ツールのみ使用)、macOSおよびLinux対応。

Use when diagnosing network quality, troubleshooting slow connections, identifying network bottlenecks, measuring latency/bandwidth/jitter, or generating network health reports. 「ネットワーク診断」「network diagnostics」「ネットワークが遅い」 「latency check」「bandwidth test」「traceroute analysis」

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(7)

  • SKILL.md4.2 KB
  • assets/network_report_template.md8.1 KB
  • references/deep_dive_procedures.md7.7 KB
  • references/network_quality_thresholds.md2.2 KB
  • scripts/network_diagnostics.py34.7 KB
  • tests/__init__.py0 B
  • tests/test_network_diagnostics.py22.0 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Network Diagnostics

Comprehensive network quality assessment using OS-standard tools only. 3-Phase workflow: Collect → Analyze & Report → Deep-Dive (on issues).

3-Phase Workflow

Phase 1: COLLECT (Data Collection)

Run the diagnostics script to collect all network metrics as JSON:

python3 scripts/network_diagnostics.py -o /tmp/network_diag.json

CLI Options:

OptionDescriptionDefault
-o FILEOutput file (default: stdout)stdout
-t host,labelAdd custom target (repeatable)-
--skip-tracerouteSkip traceroutefalse
--skip-speedSkip download speed testsfalse
--ping-count NPing packet count10

Collected Data:

  1. Connection Info - Interface, type (Ethernet/Wi-Fi), IP, gateway, DNS, ISP, MAC, MTU
  2. Ping Tests - Gateway + 8.8.8.8 + 1.1.1.1 (+ custom targets) → avg/min/max/jitter/loss
  3. HTTP Timing - DNS resolution, TCP connect, TLS handshake, TTFB, total
  4. Download Speed - Cloudflare + OVH + Hetzner CDN endpoints → Mbps
  5. Traceroute - Hop-by-hop route analysis with RTT and timeout detection

Phase 2: ANALYZE & REPORT

  1. Read the JSON output from Phase 1
  2. Load references/network_quality_thresholds.md for threshold definitions
  3. Evaluate each metric against thresholds (connection-type aware: Ethernet vs Wi-Fi)
  4. Generate report using assets/network_report_template.md format

Threshold Summary:

MetricEthernet GOODWi-Fi GOOD
Avg Ping< 20ms< 30ms
Jitter< 5ms< 10ms
Packet Loss0%< 0.5%
Download> 50 Mbps> 30 Mbps
DNS< 50ms< 50ms
TLS< 100ms< 100ms
TTFB< 200ms< 200ms

Overall Rating: CRITICAL if any CRITICAL → WARNING if any WARNING → GOOD

Phase 3: DEEP-DIVE (Issues Only)

Triggered when Phase 2 detects WARNING or CRITICAL issues.

  1. Load references/deep_dive_procedures.md
  2. Identify problem category (high latency, packet loss, DNS delay, low speed, route anomaly, high jitter)
  3. Run additional diagnostic commands from the procedures
  4. Compare results with root cause indicators
  5. Report findings with specific remediation steps

Problem Categories:

  • High latency → Gateway vs external comparison, buffer bloat detection, MTU test
  • Packet loss → Extended ping, traceroute loss point identification
  • DNS delay → Resolver comparison (current vs 8.8.8.8 vs 1.1.1.1)
  • Low speed → Multi-server test, duplex/MTU check
  • Route anomaly → Multi-destination traceroute, ASN identification
  • High jitter → Wired vs wireless comparison, channel congestion check

Requirements

  • Python: 3.7+ (standard library only)
  • Required commands: ping, curl
  • Optional commands: traceroute (skipped with warning if missing)
  • Platforms: macOS, Linux (auto-detects and adapts commands)

Resources

scripts/

  • network_diagnostics.py - Main data collection script (JSON output)

references/

  • network_quality_thresholds.md - Quality thresholds by connection type (GOOD/WARNING/CRITICAL)
  • deep_dive_procedures.md - Deep-dive investigation procedures by problem category

assets/

  • network_report_template.md - Japanese report template with box-drawing tables

tests/

  • test_network_diagnostics.py - Unit tests for all parsers (unittest + mock)

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Track and update action item status from natural language updates like 'Seanのメールには返信しておいた' or 'Lu対応予定'. Integrates with daily-comms-ops workflow. Use when managing action items across communication channels.

中文简介正在准备中。当前显示原文说明。

takusaotome/claude-skills-library102026年10月5日 更新

AI活用提案の専門コンサルタントスキル。LLM・AIエージェントの活用事例知識を基に、業界別、部門別、シーン別に最適なAI導入提案を行います。システム化、業務改善、効率化を得意とし、具体的な活用事例、期待効果、導入ステップを含む実践的な提案を提供します。Use when proposing AI/LLM adoption strategies for specific industries, departments, or business scenarios.

中文简介正在准备中。当前显示原文说明。

takusaotome/claude-skills-library102026年10月5日 更新

Generate AI-powered BPO service proposals for Japanese companies in the US market. Use when creating outsourcing proposals with AI service menus, ROI estimation, implementation roadmaps, and bilingual (JA/EN) proposal documents for 在米日系企業向けAI実装.

中文简介正在准备中。当前显示原文说明。

takusaotome/claude-skills-library102026年10月5日 更新

AI(LLM)が生成した日本語テキストの「AI臭」を検出・診断し、人間らしい文章にリライトするスキル。 Use when: 「AIっぽい文章を直して」「人間らしくリライトして」「AI臭を消して」「この文章をもっと自然にして」 「テキストのAI感を減らして」「機械っぽさを取りたい」 "make this sound more human", "remove AI tone", "humanize this text", "detect if this is AI-generated". 6つのAI特有パターン(視覚的マーカー、単調なリズム、マニュアル的構成、非コミット姿勢、抽象語の濫用、 定型メタファー)を正規表現ベースで検出し、0-100のAI臭スコアを算出。3つの人間化技法 (バランスを崩す・客観を崩す・論理を崩す)でリライトを実行する。 Note: 検出スクリプトは日本語テキスト専用。英語テキストの場合はClaude自身がreferences/を参照して分析・リライトする。

中文简介正在准备中。当前显示原文说明。

takusaotome/claude-skills-library102026年10月5日 更新

Generate audit-ready internal control design documents from As-Is business process inventories. Produces control IDs, assertion mappings, procedures, SoD analysis, KPIs, materiality thresholds, and implementation roadmaps. Use when building internal controls for new audit engagements, SOX/J-SOX compliance, or process improvement initiatives.

中文简介正在准备中。当前显示原文说明。

takusaotome/claude-skills-library102026年10月5日 更新

Review audit-related documents (control design documents, bottleneck analyses, requirements definitions, etc.) for quality, scoring them 0-100 with a severity-rated findings list. Use when reviewing audit documents, checking control design quality, or verifying cross-document consistency. Supports documents governed by US GAAP, IFRS, or J-GAAP.

中文简介正在准备中。当前显示原文说明。

takusaotome/claude-skills-library102026年10月5日 更新

查看 takusaotome 的全部技能

报告此技能的问题