Kai Network Quality logo

Kai Network Quality

Organization
linkease
kai-network-quality

使用 FastNet 测量和诊断 Linux/iStoreOS 的公网、目标下载路径、IPv4/IPv6、NAT 与设备间 LAN 质量,并为软件安装或下载失败提供结构化证据;不修改网络配置。

Overview

Publisherlinkease
Repositorykai-skills
Skill namekai-network-quality
Stars
26
Forks
4
Bundled files
3
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 3 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by linkease on GitHub. Read the source before you install it.

Installation

Install the Kai Network Quality AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/linkease/kai-skills/tree/main/components/system-packs/linux/skills/kai-network-quality
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/linkease/kai-skills.git /tmp/kai-skills
mkdir -p .claude/skills
cp -r /tmp/kai-skills/components/system-packs/linux/skills/kai-network-quality .claude/skills/kai-network-quality
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Kai Network Quality in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Kai Network Quality on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Kai Network Quality is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Kai Network Quality

The machine wrapper requires full jq, Linux setsid, and native zsetup capture (or Linux timeout) in addition to a compatible FastNet. Prepare missing tools through the local kai-tool-bootstrap resource. Each operation first performs a bounded schema-1 capabilities check; legacy menus and malformed output are incompatibility failures, even on exit 0. Single-result operations validate their JSON envelope. Native JSONL monitoring and LAN server streams retain FastNet's progress and cancellation behavior.

Use FastNet as the network evidence and diagnosis owner. Preserve its existing human menu, commands, and Web UI; this skill uses the additional machine interface. FastNet observes and assesses. It does not authorize or perform a network remediation.

Workflow

  1. Run sh scripts/network.sh inspect. This is local-only, does not contact an external endpoint, and does not run a bandwidth test.
  2. Choose the smallest operation:
    • Installation or target download failed: construct a bounded request and run validate, then diagnose for the exact metadata/artifact endpoints.
    • General experience: measure quick.
    • WAN capacity: measure wan or measure multi.
    • NAT or IPv6 only: measure nat or measure ipv6.
    • Confirmed peer: measure lan HOST:PORT [PARALLEL].
    • Recurring target health: monitor REQUEST STORE [INTERVAL] [COUNT].
    • Authenticated peer session: lan-serve HOST:PORT TOKEN_FILE [TTL] on the server, then lan-test HOST:PORT TOKEN_FILE [PARALLEL] [DURATION].
  3. Before diagnose or any measure, explain the external endpoints and wait for confirmation. WAN, quick, multi, and LAN may saturate the link. Execute with KAIPLUS_CONFIRMED=1 only after confirmation.
  4. Report condition and findings first, then evidence and limitations. An unhealthy finding means the diagnosis succeeded. It is not a FastNet tool failure.
  5. A remediation remains with its owner. Repeat the same profile, targets, budget and operationId afterward. Retry the owning install/download action at most once, and only when comparable verification improved.

Installation handoff

For a bounded diagnosis, start from the complete request example. Put the owning operation ID in metadata.operationId and the byte limit in budget.maxResponseBytes; the time limit is budget.timeoutSeconds. There is no top-level operationId or maxTransferBytes field. Replace the example's target and ID with the explicitly authorized values. Never drop the ID to make validation pass. If the request is rejected, correct its fields before any external execution; do not reverse-engineer the executable or try unrelated payloads.

validate returns command: "fastnet agent validate" without starting network traffic. This skill's diagnose entry calls the supported agent execute JSON interface, so its result uses command: "fastnet agent execute". The returned result.operationId must equal the request's metadata.operationId. A successful diagnosis without that correlation does not complete an installation handoff. Confirmation for this wrapper is KAIPLUS_CONFIRMED=1.

Read the installation handoff contract before using FastNet from kai-software or kai-download-acceleration. Never infer targets from an unbounded log. Use endpoints from the owning plan or structured native failure, remove URL credentials, and keep request files mode 0600. Do not put a token, signed query, LAN token, or complete request body in the response.

DNS, TCP, TLS, transport timeout, advertised-but-broken IPv6, HTTP 429/5xx, and target-path degradation may justify diagnosis. HTTP 401/403/404, missing dependencies, unsupported architecture, signature/hash policy, and package conflicts remain with the software owner unless separate transport evidence exists.

Platform and installation boundaries

  • Resolve the target's FastNet binary; do not use a controller binary for a remote target.
  • On iStoreOS, install the packaged FastNet application through kai-software.
  • On supported ordinary Linux targets, use the source-qualified zsetup:fastnet candidate through kai-software after inspecting and confirming its plan. Do not run an ad-hoc curl installer here.
  • The currently published FastNet installer does not establish macOS or Windows support. Do not invent an installation path for those systems.
  • A router-side result does not prove client Wi-Fi quality. Compare a router measurement, client measurement, and trusted LAN peer when localization needs that distinction.
  • Route FastNet Web UI/service lifecycle failures to the target's service and log owner. The CLI does not require the Web UI service to run.

Commands

sh
sh scripts/network.sh inspect
sh scripts/network.sh validate REQUEST.json
KAIPLUS_CONFIRMED=1 sh scripts/network.sh diagnose REQUEST.json
KAIPLUS_CONFIRMED=1 sh scripts/network.sh measure quick
KAIPLUS_CONFIRMED=1 sh scripts/network.sh monitor REQUEST.json HISTORY.jsonl 5m 12
sh scripts/network.sh history compare --store HISTORY.jsonl --before RUN1 --after RUN2 --json

Monitoring performs only bounded target diagnosis, never saturation testing. FastNet creates history as private JSONL and compares only matching network context, profile, and targets.

For legacy LAN measurement authentication, pass the token in FASTNET_LAN_TOKEN. Prefer the expiring lan-serve/lan-test session, whose token travels in a mode-0600 file and is never printed or placed in argv.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Kai Network Quality AI skill do?

使用 FastNet 测量和诊断 Linux/iStoreOS 的公网、目标下载路径、IPv4/IPv6、NAT 与设备间 LAN 质量,并为软件安装或下载失败提供结构化证据;不修改网络配置。

Why use Kai Network Quality on TypingMind?

Because you install it once and use it with any model. Kai Network Quality is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Kai Network Quality in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/linkease/kai-skills/tree/main/components/system-packs/linux/skills/kai-network-quality. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Kai Network Quality?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Kai Network Quality?

As many as you like. As long as a model supports skills, you can use Kai Network Quality with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Kai Network Quality AI skill free?

It is published on GitHub by linkease. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇