kiali AGENTS.md

kiali AGENTS.md is an instructions file for Codex, OpenCode from kiali/kiali. It costs 18,233 tokens per session, scanned B, original, Apache-2.0.

A coding-agent development guide for Kiali, a web interface for managing and observing service-mesh applications. It covers supported branches, coding standards, builds, tests, local development, cluster environments, and operator work.

In plain words
What is it for?
Use it when modifying Kiali, building or testing it, developing with Minikube, KinD, or OpenShift, or working on its operator.
Why use it?
It gathers the project’s development rules and commands in one place, reducing errors when working across local and cluster-based setups.

Instructions file for CodexOpenCode

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.

agentmods
npx agentmods add instructions/kiali/kiali/agents-md
Clone the repo
git clone --depth 1 https://github.com/kiali/kiali

Made for: Codex, OpenCode.

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 kiali AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/kiali/kiali/agents-md.svg)](https://agentmods.dev/instructions/kiali/kiali/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/kiali/kiali/agents-md"><img src="https://agentmods.dev/badge/instructions/kiali/kiali/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 18,233 This file is loaded in full into every session.
When invoked 18,233 The same file — it is already loaded in full.
Security scan B 2 findings. Scan, not verified.
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 $0.18233 $0.18233
Opus 5 $0.09116 $0.09116
Sonnet 5 $0.03647 $0.03647
Haiku 4.5 $0.01823 $0.01823

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

Security

Grade B, and why

kiali AGENTS.md scanned grade B with 2 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

sudo setenforce 0

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

3. **Kiali is running locally** — check with `curl -s http://localhost:20001/kiali/api`
AGENTS.md · 2,102 lines

How it starts

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

AI Agent Development Guide for Kiali

This guide provides coding standards, development workflows, and common commands for AI agents and developers contributing to the Kiali project. It complements the existing CONTRIBUTING.md, STYLE_GUIDE.adoc, and CODE_OF_CONDUCT.md.

Table of Contents


Supported Branches

The currently supported Kiali release branches (which receive backports and security fixes) are:

OSSM Branch Kiali Version
3.4 v2.27 2.27
3.3 v2.22 2.22
3.2 v2.17 2.17
3.1 v2.11 2.11
3.0 v2.4 2.4

In addition, master is the active development branch for the next release.


Quick Reference

Essential Commands

# Build everything
make build-ui build test

# Run Kiali locally with hot-reload
make build-ui
make run-backend    # In one terminal
make run-frontend   # In another terminal

# Build and push dev images to cluster (example for minikube with profile "ci")
make CLUSTER_TYPE=minikube MINIKUBE_PROFILE=ci build-ui build test cluster-push

# Deploy to cluster (ensure CLUSTER_TYPE is set - see cluster-specific sections below)
make CLUSTER_TYPE=minikube MINIKUBE_PROFILE=minikube cluster-push         # Example for minikube
make CLUSTER_TYPE=minikube MINIKUBE_PROFILE=minikube operator-create      # Example for minikube
make CLUSTER_TYPE=minikube MINIKUBE_PROFILE=minikube kiali-create        # Example for minikube

# Format and lint
make format lint

# Run tests
make test                       # Unit tests
make cypress-gui               # Frontend integration tests (GUI)
make cypress-run               # Frontend integration tests (headless)

Read the full file on GitHub · 2,102 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 · 2,102 lines · 18,233 tokens per session scan B c559fca43512

Subscribe to this mod's changes

kiali AGENTS.md is an instructions file published in the GitHub repository kiali/kiali (3,633 stars, last pushed today), licensed Apache-2.0. It adds 18,233 tokens to every session, about $0.0912 per session on Opus 5. A static security scan graded it B with 2 findings (asks for root, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.