kimss-diagnose

kimss-diagnose is a command for Claude Code, Cursor 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 CodeCursor

Written for Cursor and Claude Code: shipped in a Cursor plugin, but also a Claude Code command (commands/*.md).

Part of the kimss plugin — 3 skills, 3 commands, 1 MCP server shipped together

Good fit Use it to check identity, confirm the environment, interpret error responses, and diagnose failed agent calls.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/kimss-ai/kimss-python-sdk/kimss-diagnose
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.

Clone the repo
git clone --depth 1 https://github.com/kimss-ai/kimss-python-sdk

Made for: Claude Code, Cursor.

Or install kimss, the plugin that ships this one along with the rest of its 3 skills, 3 commands, 1 MCP server.

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

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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. 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.00030 $0.00358
Opus 5.5 $0.00012 $0.00143
Sonnet 5.5 $0.00006 $0.00072
Haiku 4.5 $0.00003 $0.00036

Measured 2mo ago against content hash 6b3f1d83e158, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2mo 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. 2mo 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 7d ago), licensed MIT. It adds 30 tokens to every session and 358 once invoked, about $0.0001 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-08-31.

Related

kimss-diagnose compared with commands from other repositories

kimss-diagnose next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
kimss-diagnosekimss-ai/kimss-python-sdkCommand17d agoMITA30Claude Code, Cursor
gen-agenthigress-group/higressCommand9.7ktodayApache-2.0A0Claude Code
nyann:retrofitthettwe/nyannCommand76d agoMITA61Claude Code
diagnosecirwel/unitaresCommand6todayApache-2.0A11Claude Code
autopilotcirwel/unitaresCommand6todayApache-2.0A12Claude Code
nyann:diagnosethettwe/nyannCommand76d agoMITA38Claude Code
bifrost-debugneXenio/bifrost-pluginCommand511d agoMITA18Claude Code