kimss-diagnose

kimss-diagnose is a command for Claude Code from kimss-ai/kimss-python-sdk. It costs 30 tokens per session (358 once invoked), scanned A, original, MIT.

A troubleshooting guide for Kimss connections, accounts, agents, credits, permissions, and common API errors.

In plain words
What is it for?
Use it to check identity, confirm the environment, interpret error responses, and diagnose failed agent calls.
Why use it?
It helps distinguish invalid keys, missing permissions, exhausted credits, rate limits, and disabled features so you do not apply the wrong fix or retry unsafely.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md).

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 commands/kimss-ai/kimss-python-sdk/kimss-diagnose
Clone the repo
git clone --depth 1 https://github.com/kimss-ai/kimss-python-sdk

Made for: Claude Code.

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 kimss-diagnose

README.md
[![agentmods](https://agentmods.dev/badge/commands/kimss-ai/kimss-python-sdk/kimss-diagnose.svg)](https://agentmods.dev/commands/kimss-ai/kimss-python-sdk/kimss-diagnose)
Your own site
<a href="https://agentmods.dev/commands/kimss-ai/kimss-python-sdk/kimss-diagnose"><img src="https://agentmods.dev/badge/commands/kimss-ai/kimss-python-sdk/kimss-diagnose.svg" alt="Measured on agentmods" height="20"></a>
Per session 30 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 358 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.1 $0.00030 $0.00358
Opus 5 $0.00015 $0.00179
Sonnet 5 $0.00006 $0.00072
Haiku 4.5 $0.00003 $0.00036

Measured 5d ago against content hash 6b3f1d83e158, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

kimss-diagnose 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.

commands/kimss-diagnose.md · 17 lines

What it actually says

Kimss — diagnose integration issues

  1. MCP process: If tools never appear, verify uvx/kimss-mcp-server and KIMSS_API_KEY in MCP env; restart the MCP client.
  2. Identity (HTTP): With the same API key, GET https://api.kimss.ai/whoami (or staging host) should return JSON describing account/plan context — use this to confirm the key is valid and environment matches KIMSS_BASE_URL. Do not paste full responses into logs if they contain PII.
  3. Agent listing: SDK client.chat-style listing is via legacy assistant list endpoints in product; for quick validation prefer a known assistant_id from the user or a successful kimss_run_agent / kimss_chat call.
  4. 429 credit / subscription: Map to KimssCreditExhausted / KimssSubscriptionRequired in SDK; advise workspace billing or wait — no tight retry loops.
  5. 429 rate limit: Honor Retry-After; backoff and retry.
  6. 404 feature_disabled: Gateway feature may be off for that workspace — not fixable client-side by changing host away from canonical api.kimss.ai / stg.kimss.ai.
  7. 403 on mutate: Agent may be shared or key lacks scope — align with owned agents and management keys for create/update/function tools.

Reference: docs/llm-context.md.

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 · 17 lines · 30 tokens per session scan A 6b3f1d83e158

Subscribe to this mod's changes

kimss-diagnose is a command published in the GitHub repository kimss-ai/kimss-python-sdk (1 stars, last pushed 2d ago), licensed MIT. It adds 30 tokens to every session and 358 once invoked, about $0.0002 per session on Opus 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-08-31.