beyin-doktor

beyin-doktor is a skill for Claude Code, Codex from avenoxai/avenoxbeyin. It costs 114 tokens per session (2,455 once invoked), scanned A, original, MIT.

A read-only health check for an agent’s working memory system, including its hooks, scripts, logs, build status, and stored files.

In plain words
What is it for?
Use it to inspect the memory setup, classify each check as healthy, uncertain, or failed, and list a correction for each failed check.
Why use it?
It helps reveal silent failures, such as a hook that no longer runs or logs that have become outdated.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md; mentions Claude Code; installed under .agents/ (shared by several agents).

Good fit Use it to inspect the memory setup, classify each check as healthy, uncertain, or failed, and list a correction for each failed check.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/avenoxai/avenoxbeyin/beyin-doktor
About the project

AvenoxBeyin is a local memory system for AI agents that stores persistent information, decisions, and tasks in Markdown files and makes them searchable across sessions and supported AI clients. It is for people who want an AI assistant's working context to survive a new session or a switch between clients, with notes that can also be opened in Obsidian or another text editor. The catalogue entries support this workflow through skills, hooks, and settings.

avenoxai/avenoxbeyin · 1,015 stars · on GitHub

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.

Any agent
npx skills add avenoxai/avenoxbeyin --skill beyin-doktor
Clone the repo
git clone --depth 1 https://github.com/avenoxai/avenoxbeyin

Made for: Claude Code, Codex.

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 beyin-doktor

README.md
[![agentmods](https://agentmods.dev/badge/skills/avenoxai/avenoxbeyin/beyin-doktor/github.svg)](https://agentmods.dev/skills/avenoxai/avenoxbeyin/beyin-doktor)
Your own site
<a href="https://agentmods.dev/skills/avenoxai/avenoxbeyin/beyin-doktor"><img src="https://agentmods.dev/badge/skills/avenoxai/avenoxbeyin/beyin-doktor/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 beyin-doktor

Your own site · 80×15
<a href="https://agentmods.dev/skills/avenoxai/avenoxbeyin/beyin-doktor"><img src="https://agentmods.dev/badge/skills/avenoxai/avenoxbeyin/beyin-doktor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 114 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,455 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.00114 $0.02455
Opus 5.5 $0.00046 $0.00982
Sonnet 5.5 $0.00023 $0.00491
Haiku 4.5 $0.00011 $0.00246

Measured 4d ago against content hash 40023d7c12c4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

beyin-doktor 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 4d 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.

template/.agents/skills/beyin-doktor/SKILL.md · 43 lines

How it starts

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

Beyin doktoru

Bu dosyayı düzenleme, yerel ekleri .agents/skills-local/beyin-doktor.md dosyasına yaz. Varsa eki oku ve uygula, güvenlik ve onay kuralları dışında ek önceliklidir.

Vault kökündeki beyin.py ile çalış. macOS/Linux: python3 beyin.py doctor; Windows: py -3 beyin.py doctor. Eski Bash hook listelerini veya başka bir kullanıcının yollarını kopyalama.

Çıktıdaki sürüm, bekleyen/başarısız işler, son sync, kaynak çakışmaları ve skill durumunu oku. Komut exit 0 olsa bile boş lifecycle geçmişini 'istemci bağlantısı doğrulandı' diye yorumlama. Hata loglarını veya özel notları sohbete dökmeden, arızayı ve en küçük düzeltmeyi açıkla.

Kaynak değişikliği indekslenmemişse python3 beyin.py sync; yönetilen skill'e ek yazılmışsa doctor'ın gösterdiği satırları ek dosyasına taşı. Diğer skill kopyaları farklıysa python3 beyin.py skill-sync ile kontrollü uzlaştır. İki taraf da değişmişse dosyaları koru ve hangi sürümün seçilmesi gerektiğini belirt. Güncelleme yarım kaldıysa beyin-guncelle yolunu kullan; runtime veritabanını veya kullanıcı dosyalarını silerek sağlık göstergesini yeşile çevirme.

İstemci bağlantısını doğrulamak gerektiğinde özel veri içermeyen bir deneme notu kullan. Yeni gerçek oturumda yalnız hook bağlamından bu nottaki bilgiyi istemek, dosyanın varlığını kontrol etmekten daha güçlü kanıttır. Codex'te doğru proje ve /hooks güvenini, Claude'da yeni proje oturumunu, Antigravity headless kullanımında --add-dir VAULT bağını, Kiro IDE/CLI V3'te vault klasörünü ve .kiro/hooks/beyin-v3.json dosyasını, OpenCode'da vault klasöründe açılmasını ve .opencode/plugins/beyin-v3.js dosyasını, OMP'de vault klasöründe açılmasını ve .omp/hooks/pre/beyin-v3.ts dosyasını kontrol et. Pi'de .pi/extensions/beyin-v3.ts, proje güveni ve yeni oturumu kontrol et; dış projede yalnız açık --beyin-project-root kapsamlı bridge'i kullan (docs/v3/PI.md ürün belgesi). OpenBot'ta açık CLI için sentetik notla context --harness openbot çağrısını doğrula. İsteğe bağlı yerel köprü kullanılıyorsa ajan klasöründeki AGENTS.md bloğunu ve iki yönetilen beceriyi denetle (docs/v3/OPENBOT.md). Güven hashlerini yazma ve bypass ile alınan sonucu normal kurulum kanıtı sayma.

companion_hygiene bölümü companion dosyalarının karakter sayısını gösterir. over_limit içinde Last-Session.md veya Threads.md varsa bu bir hafıza hijyeni bulgusudur, senkronizasyon arızası değildir: python3 beyin.py companion-compact --dry-run ile planı göster, uygunsa companion-compact çalıştır. Komut eski bölümleri kelimesi kelimesine Arşiv/ altına taşır, hiçbir metni silmez. Kurallar.md, Core.md ve Journal.md bilerek birikir; boyutları yalnız bilgi olarak raporlanır.

state_storage vault dışındaki yerel indeksin boyutunu, boş sayfalarını, olay kaydı sayısını ve kalmış eski geçici dosyaları gösterir; bilgi amaçlıdır. compact_suggested: true ise kullanıcıya iki sayıyı söyle ve python3 beyin.py state-compact --dry-run ile planı göster; uygunsa state-compact çalıştır. Komut yalnız saklama süresini geçmiş olay kayıtlarını ve eski geçici dosyaları siler, sonra indeksi VACUUM ile küçültür; vault dosyalarına dokunmaz. memory.sqlite3 dosyasını elle silme.

companion_rules_opening Claude Code açılışının Kurallar.md'den ne kadarını tam gösterdiğini hook'un kendi hesabıyla verir. status: clipped ise kural metni (chars) bu ayarlarla açılışın tam gösterebildiği share karakterini aşıyor ve aradaki kurallar her oturumda atlanıyor; bu bir arıza değildir. Kullanıcıya iki sayıyı söyle, kuralları kısaltmayı ve uzun gerekçeyle ayrıntıyı ayrı bir nota (ör. Kurallar-Detay.md) taşımayı öner. Kurallar.md'yi kendiliğinden yeniden yazma.

companion_rules_opening.pinned_omitted, <!-- beyin:pin --> ile sabitlenip açılışa sığmayan madde sayısıdır; sabitlenenler kural payının en fazla yarısını kullanır, kullanıcıya işareti en önemli birkaç maddeye indirmeyi öner. project_rules proje klasörlerindeki Kurallar.md dosyalarından yalnız kırpılanları (clipped) ve sync sonrası değişenleri (stale) listeler; project_rules_checked ve project_rules_total ölçülen ve bulunan dosya sayısıdır (tek çağrıda en fazla 50 dosya ölçülür). Bunlar da bilgi amaçlıdır; kural dosyalarını kendiliğinden yeniden yazma.

Read the full file on GitHub · 43 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. 4d ago Changed · +4 lines 40023d7c12c4
  2. 7d ago Changed · +2 lines 67b81f18f518
  3. 22d ago Changed · +56 tokens per session 8ff3197eda74
  4. 27d ago Changed · +2 lines 0bfe1f03b73c
  5. 1mo ago Changed · +2 lines 51acec32499e
  6. 1mo ago Changed 10dda39b04cf
  7. 1mo ago Changed · +2 lines 22b9e635f53a
  8. 1mo ago Changed · +6 lines 46a76ed23fb6
  9. 2mo ago Changed · +4 lines c2900cbe2663
  10. 2mo ago First seen · 21 lines · 58 tokens per session scan A 86f285b7a9d9

Subscribe to this mod's changes

beyin-doktor is a skill published in the GitHub repository avenoxai/avenoxbeyin (1,015 stars, last pushed yesterday), licensed MIT. It adds 114 tokens to every session and 2,455 once invoked, about $0.0005 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-30.

Related

beyin-doktor compared with skills from other repositories

beyin-doktor next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
beyin-doktoravenoxai/avenoxbeyinSkill1.0kyesterdayMITA114Claude Code, Codex
knowledge-ingestopenclaw/openclawSkill396ktodayMITA80Claude Code, Codex
mem0-oss-to-platformmem0ai/mem0Skill70kyesterdayApache-2.0A217Claude Code, Codex
forgetasgeirtj/system_prompts_leaksSkill74kyesterdayCC0-1.0A0Claude Code, Codex
Cortexdanielmiessler/LifeOSSkill21k17d agoMITA184Claude Code
ha-data-storesshiwenwen/hope-agentSkill1.9kyesterdayMITA115Claude Code, Codex
memoryopensquilla/opensquillaSkill7.2k9d agoApache-2.0A44Claude Code, Codex