
Kira
io.github.aibenyclaude-coder由 GitHub 帳號 aibenyclaude-coder 發布v0.11.0更新於 Oct 24, 2026
Skills and Scars for AI agents - your agent records its failures and never repeats them.
概覽
Kira 讓 AI 助理把自己的失敗記錄成本地「傷疤」,並在執行類似工作前提醒,避免重複犯錯。
- 可以做什麼
- Kira 是一套以失敗記憶為核心的 MCP 伺服器。kira_record_failure 等工具會把重試或例外記錄成本地個人傷疤,kira_personal_brief 與 kira_premortem 則在 session 或任務開始時把這些傷疤呈現出來。目錄層提供 kira_lookup、kira_get 與 kira_route,可依關鍵字或目標檢索社群技能與失敗警告;kira_share_scar、kira_report 以及 kira_consent/kira_status 負責分享、回饋與遙測控制。
- 適用情境
- 當助理在不同 session 中反覆撞上相同的建置、部署、驗證或設定問題時適用,可讓這些經驗自動被回想起來,不必手寫進專案規則檔。它比一般記憶伺服器更窄,兩者可以同時使用。
- 執行需求
- 透過 npx 以 stdio 在本機執行(npm 套件 kira-mcp),需要 Node.js 以及下載套件的網路連線。選用環境變數:KIRA_HOME 指定本機狀態目錄,KIRA_PRO_KEY 用於 Pro 版本,KIRA_TELEMETRY 與 KIRA_TELEMETRY_URL 控制遙測。免費版不需要帳號。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Kira,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Kira
[CI] [npm] [npm downloads] [scars absorbed] [License: MIT]
Your agent stops repeating its own mistakes.
Every failed retry, every exception, every "wait — we hit this exact wall last week" is knowledge your agent throws away when the session ends. Kira keeps it. One MCP install and your agent records what burned it (a scar), sees its scars before it works again, and stops paying for the same mistake twice.
Privacy by design. Personal scars and the lookup-miss log are local-only — never uploaded, on any tier. Community telemetry is opt-in and redacts secrets, paths, and identifiers locally before write AND server-side before storage. Run
npm run demo:privacyto see exactly what leaves your machine. Full wire format and opt-out in PRIVACY.md.
Install (10 seconds)
Add this snippet to your MCP host config:
That's it. Your agent now has Kira.
Per-client paths (click)
The snippet above works as-is in every one of them — just paste it under mcpServers (or the equivalent key for your client).
The loop, in 30 seconds
Not a hypothetical — this is the actual first scar in the database, recorded by the agent that built this feature, about a mistake it made while building it. The next three scars came the same day. The loop works on day one, for a single user, with zero network effects required. FLYWHEEL.md documents the full improvement loop.
Tools (10)
Auto-firing: you don't call Kira — Kira's MCP instructions tell your agent when to. Japanese queries are first-class (CJK bigram matching).
When nothing matches
A lookup miss is not a dead end — it's demand data. Kira returns the closest scored matches, records the miss locally (with what almost matched), and the weekly flywheel digest turns repeated misses into alias fixes and new-skill candidates. The catalog learns what people actually ask for.
The catalog layer (community skills & scars)
38 community skills across deploy / database / auth / payments / UI / testing / CI / infra / mobile / CMS, and 45 community scars — real failure patterns like "Vercel deploy succeeds but the app crashes: missing env vars" or "Auth.js v5 signIn imported from the wrong side". kira_route turns a goal ("build a web app") into an ordered plan with the right skill and scars per step.
Community scars are where personal scars graduate to — and the flow is live. Ask your agent to run kira_share_scar(scar_id): it re-sanitizes your personal scar, generalizes it, and hands you a prefilled submission link (nothing uploads until you click). An intake bot validates the JSON; a human reviews the content; on merge it ships to every Kira user. Prefer forms? Submit a scar directly.
Every accepted scar earns contributor status — sharing is how you get the fresh feed for free (see Contributing below).
How it works
Skills are natural language Markdown — no executable code, no injection risk.
Why not just CLAUDE.md?
Not another "memory MCP"?
There are excellent memory servers (knowledge graphs, session recall, context handoff). Kira is deliberately narrower:
- Failure-first, not everything-first. General memory stores what happened; Kira stores what must never happen again, in a shape built for avoidance:
mistake→instead, severity, recurrence count. A pre-task heat-map (kira_premortem) exists only because the data is failures. - Recurrence is measured, not assumed. Re-recording a similar failure folds into the same scar and bumps
hit_count— the corpus learns which walls actually get hit, and honest counts are enforced by review. - The commons compounds. Your scar, sanitized and human-reviewed, ships to every install — and earns you the fresh feed (RECIPROCITY.md). Memory servers make one agent smarter; a scar corpus makes every agent immune.
- Trust is engineered, not implied. Corpus text is injected into agents' contexts, so every entry passes a sanitizer-stability gate in CI, natural-language-only rules, and human review (SECURITY.md).
If you need general episodic memory, run one of those servers alongside Kira — they don't compete for the same job.
Telemetry
Personal scars (~/.kira/personal-scars/) and the miss log (~/.kira/misses.log) are local-only and never uploaded. Community telemetry is separate and consent-gated:
Full schema, redaction rules, retention, and opt-out instructions: PRIVACY.md.
Share a scar, or subscribe, or wait
The corpus is MIT and everything in it eventually becomes free. Freshness is the only premium — failure knowledge decays as models retrain, so the newest scars carry the value:
Currently in grace mode: the fresh feed is open to everyone until the corpus reaches 100 community scars. Full policy: RECIPROCITY.md.
Contributing
The first 1,000 contributors get permanent free access to all Kira features (fresh feed included) — see the reciprocity table above.
See CONTRIBUTING.md for how to add Skills and Scars.
Links
- npm
- The Flywheel — how the improvement loop runs
- Design Philosophy
- Business Plan
- Usage Guide
- Troubleshooting
Where agents shine — by remembering where they got burned.
A B Button Corporation project.
來源:README.md,提交 822fb1d
工具
0版本歷史
1- v0.11.0最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分