koda-tshark

koda-tshark is a skill for Claude Code, Codex from XCode-NLP/KodaSkills. It costs 136 tokens per session (4,898 once invoked), scanned A, original, MIT.

A command-line workflow for examining network-capture files with Wireshark tools such as tshark. Network-capture files contain recorded traffic between devices or programs.

In plain words
What is it for?
Use it to analyze saved captures, capture live traffic, calculate session statistics, and trim, combine, decompress, or recompress capture files.
Why use it?
It lets you inspect traffic, filter channels, extract fields and payloads, and prepare captures without writing a custom parser.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to analyze saved captures, capture live traffic, calculate session statistics, and trim, combine, decompress, or recompress capture files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xcode-nlp/kodaskills/koda-tshark
Install

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.

Any agent
npx skills add XCode-NLP/KodaSkills --skill koda-tshark
Clone the repo
git clone --depth 1 https://github.com/XCode-NLP/KodaSkills

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for koda-tshark

README.md
[![agentmods](https://agentmods.dev/badge/skills/xcode-nlp/kodaskills/koda-tshark/github.svg)](https://agentmods.dev/skills/xcode-nlp/kodaskills/koda-tshark)
Your own site
<a href="https://agentmods.dev/skills/xcode-nlp/kodaskills/koda-tshark"><img src="https://agentmods.dev/badge/skills/xcode-nlp/kodaskills/koda-tshark/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.

agentmods 80×15 button for koda-tshark

Your own site · 80×15
<a href="https://agentmods.dev/skills/xcode-nlp/kodaskills/koda-tshark"><img src="https://agentmods.dev/badge/skills/xcode-nlp/kodaskills/koda-tshark.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 136 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,898 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00136 $0.04898
Opus 5.5 $0.00054 $0.01959
Sonnet 5.5 $0.00027 $0.00980
Haiku 4.5 $0.00014 $0.00490

Measured 5d ago against content hash dd5242af593f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

koda-tshark 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 5d 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.

skills/koda-tshark/SKILL.md · 305 lines

How it starts

The opening of the file, as written. The whole thing — 305 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Разбор снимков трафика через tshark

Навык описывает работу утилитами Wireshark из командной строки: как найти нужный канал в снятом обмене, вытащить из него кадры и поля, посчитать статистику, снять новый снимок и подготовить его к разбору.

Если разбор должен работать без установленного tshark, повторяемо и в автоматических проверках, лучше проигнорировать этот анвык и написать собственный парсер.

tshark удобен для исследования, а не как зависимость готового инструмента.

Когда применять

  • Нужно быстро посмотреть, что лежит в снимке, и не писать ради этого код.
  • Нужно вытащить кадры одного канала или одной команды в текстовом виде.
  • Нужно снять трафик с живого устройства или интерфейса и сразу ограничить его по времени или длине.
  • Нужно обрезать, склеить, распаковать или пересжать готовые снимки перед разбором.
  • Нужно сверить гипотезу о формате кадра с тем, как его разбирает сам Wireshark.

Проверка окружения

tshark -v                            # версия и поддерживаемые форматы
tshark -G protocols | grep -i usb    # какие диссекторы включены
tshark -G fields | grep -i usb       # какие поля есть в этой версии
dumpcap -D                           # интерфейсы для живого захвата

Набор полей и вид вывода меняются между версиями, поэтому команды ниже стоит сверять с -G fields, а не считать вечными.

Утилиты

Утилита Назначение
tshark чтение, фильтрация, статистика, короткая съёмка
dumpcap долгая запись, кольцевой буфер, ограничение длины кадра
editcap обрезка по времени, слияние дублей, смена формата, сжатие
mergecap склейка файлов в хронологическом порядке
capinfos паспорт файла: число кадров, длительность, интерфейсы

Порядок работы

  1. Сними паспорт файла. capinfos покажет число кадров, длительность, формат и список интерфейсов, и по нему сразу видно, стоит ли читать файл целиком.
  2. Посмотри иерархию протоколов. -z io,phs отвечает на вопрос, что вообще в файле: один транспорт, несколько или служебные записи вперемешку с данными.
  3. Найди участников обмена. -z endpoints даёт адреса и объём по каждому, -z conv — разбивку по направлениям и парам. Рабочий канал прикладного обмена обычно тот, где много кадров одинаковой длины.
  4. Отдели полезную нагрузку от метаданных. Служебные записи и пустые завершения отсекаются фильтром по непустым данным.
  5. Вытащи кадры в текстовом виде. Сначала -T fields с полями адреса, длины и данных, затем сузьте выборку фильтром по каналу и коду команды.
  6. Посчитай статистику. -z io,stat по интервалу показывает частоту кадров, а -z expert — битые и обрезанные пакеты.
  7. Сверь вывод с разбором Wireshark. -V или -O <протокол> на одном кадре показывает, как инструмент трактует поля; расхождение с гипотезой — повод перепроверить смещения.

Read the full file on GitHub · 305 lines

Changes

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.

  1. 5d ago First seen · 305 lines · 136 tokens per session scan A dd5242af593f

Subscribe to this mod's changes

koda-tshark is a skill published in the GitHub repository XCode-NLP/KodaSkills (27 stars, last pushed 5d ago), licensed MIT. It adds 136 tokens to every session and 4,898 once invoked, about $0.0005 per session on Opus 5.5. 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-11-25.

Related

koda-tshark compared with skills from other repositories

koda-tshark next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
koda-tsharkXCode-NLP/KodaSkillsSkill275d agoMITA136Claude Code, Codex
gke-ai-troubleshooting-tpu-dynamic-slices-monitoringgoogle/skillsSkill25ktodayApache-2.0A107Claude Code, Codex
gke-ai-troubleshooting-tpu-vbar-oomgoogle/skillsSkill25ktodayApache-2.0A125Claude Code, Codex
analyze-kernel-bottleneckpjt222/agent-almanacSkill462d agoMITA77Claude Code
error-message-explainerwedsamuel1230/arduino-skillsSkill243mo agoMITA80Claude Code
circuit-debuggerwedsamuel1230/arduino-skillsSkill243mo agoMITA74Claude Code
i2c-bringup-diagnosticianwedsamuel1230/arduino-skillsSkill243mo agoMITA64Claude Code