Agent skill

Corp Doctor

by serejaris in serejaris/personal-corp-os

A skill your agent uses when a Personal Corp operating loop needs setup, repair, a new department, or task routing: HQ files and agent rules, GitHub issue workflow, corp- owner map, department…

MITAuto-check passedAgent Workflows

Install Corp Doctor

skills CLI
$ npx skills add serejaris/personal-corp-os --skill corp-doctor -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install serejaris/personal-corp-os corp-doctor --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/serejaris/personal-corp-os.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/corp-doctor .claude/skills/corp-doctor && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
corp-doctor
GitHub stars
229
Token cost
~1.6k tokens
SKILL.md length
726 words
Files
3
Skills in repo
36
Repo updated
First seen
Licence
MIT

At a glance

A skill your agent uses when a Personal Corp operating loop needs setup, repair, a new department, or task routing: HQ files and agent rules, GitHub issue workflow, corp- owner map, department…

  • Works in 6 steps: Меню → Диагностика → Починить → …
  • A Personal Corp operating loop needs setup
  • SKILL.md covers Phase 0 — Меню, 1. Диагностика, 2. Починить and 3. Новый отдел, plus 5 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Corp Doctor is an agent skill from serejaris/personal-corp-os. Use when a Personal Corp operating loop needs setup, repair, a new department, or task routing: HQ files and agent rules, GitHub issue workflow, corp- owner map, department repositories, or deciding which repo an issue belongs to. Triggers: "corp doctor", "почини контур", "заведи отдел", "куда положить задачу", "настрой штаб", "проверь операционку". Replaces corp-init, corp-new and task-routing.

Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `README.md` and `README.ru.md`).

It sits in Agent Workflows, covering Agent instruction files. It works with GitHub. The repository describes itself as: Personal Corp OS — управление личной компанией через AI-агентов: задачи вне головы, отделы вместо памяти, недельное ретро. Открытые скиллы для Claude Code и Codex. The licence is MIT.

When your agent uses it

  • A Personal Corp operating loop needs setup
  • A new department
  • Task routing: HQ files and agent rules
  • GitHub issue workflow

Example prompts

  • “corp doctor”
  • “/corp-doctor”

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Меню
  2. Диагностика
  3. Починить
  4. Новый отдел
  5. Маршрут задачи
  6. Собрать с нуля

What it can do on your machine

Read from SKILL.md and the folder at commit 95e36c3. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are yaml).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Corp Doctor loads about 1.6k tokens when it runs. Until then it costs about 103 tokens; SKILL.md has 726 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~103
When it runs · the whole SKILL.md, loaded when a task matches
~1.6k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from serejaris/personal-corp-os at commit 95e36c3, republished under its MIT licence (© serejaris). 726 words, ~1,580 tokens.

Download SKILL.mdSave it as .claude/skills/corp-doctor/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
corp-doctor
description
Use when a Personal Corp operating loop needs setup, repair, a new department, or task routing: HQ files and agent rules, GitHub issue workflow, corp-* owner map, department repositories, or deciding which repo an issue belongs to. Triggers: "corp doctor", "почини контур", "заведи отдел", "куда положить задачу", "настрой штаб", "проверь операционку". Replaces corp-init, corp-new and task-routing.

Corp Doctor

Один вход во все операции над контуром Personal Corp: диагностика, ремонт, новый отдел, маршрутизация задачи.

Скилл не собирает систему вслепую. Сначала он выясняет, что уже есть, потом чинит недостающее.

Phase 0 — Меню

Первое действие: показать меню и дождаться явного выбора. До ответа человека ничего не читать и не создавать.

text
Что делаем?

1. Диагностика — посмотреть контур и показать расхождения без правок
2. Починить — закрыть найденные расхождения по согласованному плану
3. Новый отдел — приватный corp-* репозиторий и запись о нём в штабе
4. Маршрут задачи — определить, в какой репозиторий кладётся issue
5. Собрать с нуля — HQ, правила агента, задачи, карта отделов

"всё" = 1 + 2

Если человек уже сформулировал запрос ("заведи отдел под продажи"), назвать выбранный пункт вслух и идти дальше без меню.


1. Диагностика

Только чтение. Ничего не создавать и не менять.

Проверить и показать таблицей "есть / нет / расходится":

Штаб

  • AGENTS.md существует и содержит правила агента, границы и карту отделов
  • CLAUDE.md подключает те же правила
  • есть файл владельца штаба с контекстом человека
  • есть точка старта по задачам
  • карта отделов совпадает с папками, которые лежат рядом

Операционный слой

  • определён источник состояния задач: файлы или трекер
  • один и тот же факт не лежит в двух местах одновременно
  • закрытые задачи не висят активными в планах

Отделы

  • каждый corp-* репозиторий из карты существует и доступен
  • у каждого отдела есть свои правила
  • нет отдела без домена и нет домена без владельца

Результат фазы: список расхождений, каждое с одной строкой "что сломано" и одной строкой "как чинится". Дальше остановиться и спросить, чинить ли.


2. Починить

Работать только по расхождениям из фазы 1 и только после согласия человека.

Порядок:

  1. Показать план правок списком: файл, что меняется, зачем.
  2. Дождаться подтверждения.
  3. Внести правки по одной, не смешивая независимые изменения.
  4. Повторить диагностику и показать, что закрылось.

Не переписывать чужие формулировки ради стиля. Чинится расхождение, а не вкус.


3. Новый отдел

Отдел это папка и репозиторий, которые отвечают за один домен и копят по нему опыт. Отдел заводится, когда у работы появилась повторяемость.

Вводные

Спросить недостающее:

ЗначениеПо умолчанию
Название отделаспросить
Домен: за что отвечаетспросить
Владелец на GitHubспросить
Корень локальных репозиториев~/Documents/GitHub
Файл штаба с картой отделовспросить
Префикс репозиторияcorp-
Preflight, только чтение
  1. Проверить, что папка с таким именем ещё не занята.
  2. Проверить, что репозитория с таким именем нет у владельца.
  3. Проверить, что в карте отделов нет строки с этим доменом.
  4. Показать результат проверки и сухой план: что будет создано.
Дальше только после подтверждения
  1. Создать локальную папку из шаблона отдела.
  2. Инициализировать git.
  3. Создать приватный репозиторий. Публичная видимость не предлагается.
  4. Первый коммит с правилами и README отдела.
  5. Добавить одну строку в карту отделов штаба: название, домен, путь.

Репозитории отдела приватные по умолчанию. Публиковать только по явному требованию человека и отдельным решением.


4. Маршрут задачи

Задача кладётся туда, где живёт её домен. Одна задача существует в одном месте.

Шаг 1. Прочитать карту

Найти карту отделов в правилах текущей папки или в штабе. Формат:

yaml
routing:
  - pattern: "бот, рассылка, онбординг"
    repo: owner/bot-repo
  - pattern: "контент, уроки"
    repo: owner/content-repo
  - pattern: "стратегия, сквозное"
    repo: owner/main-repo
Show full SKILL.md (292 more words)Show less
Шаг 2. Сопоставить

Найти отдел по ключевым словам задачи. Совпадений нет: спросить человека, а не угадывать.

Шаг 3. Проверить дубли

Поискать в целевом репозитории похожие задачи. Дубль найден: обновить существующую задачу вместо создания новой.

Шаг 4. Создать

Создать задачу с понятным условием завершения. Проверить, что нужные метки существуют в целевом репозитории.

Красные флаги, остановиться
  • Задача подходит сразу к двум отделам: спросить владельца, а не выбирать самому.
  • Домена нет ни в одном отделе: возможно, нужен новый отдел, пункт 3 меню.
  • Задача сформулирована без результата: сначала уточнить, что должно стать правдой.

5. Собрать с нуля

Порядок сборки. Каждый шаг заканчивается проверкой у человека.

  1. Штаб. Скопировать шаблон штаба, заполнить владельца, оставить карту отделов пустой.
  2. Правила агента. Заполнить таблицу "где живёт правда" под реальные файлы человека.
  3. Задачи. Начать с первого уровня: один файл с задачами на сегодня.
  4. Первый отдел. Завести один отдел под самый болезненный повторяемый процесс. Не заводить пять сразу.
  5. Ритм. Договориться, в какой день недели проходит ретро и планирование.

Пустые файлы под будущие отчёты, решения и словари не создавать. Их создаст соответствующий скилл, когда появится содержание.


Границы

  • Не выдумывать факты о контуре. Не найден источник, сказать "не знаю" и назвать, чего не хватает.
  • Не создавать второй источник состояния, если у темы уже есть владелец.
  • Не публиковать приватное и не расширять доступ без явного решения человека.
  • Не смешивать независимые правки в одном шаге.
  • Секреты и токены в файлы контура не попадают.

Условия остановки

Остановиться и спросить человека, если:

  • выбранный пункт меню требует удаления существующих материалов;
  • один и тот же факт найден в двух местах и непонятно, какое главное;
  • домен задачи не совпал ни с одним отделом;
  • запрошено создание публичного репозитория.

Связанные скиллы

  • manager — синхронизация работы сессии с задачами.
  • weekly-retro — недельный срез и подъём паттернов в правила.
  • weekly-planning — приоритеты следующей недели.

© serejaris, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files in skills/corp-doctor of serejaris/personal-corp-os.

  • SKILL.md
  • README.md
  • README.ru.md

Open the folder on GitHubat commit 95e36c3

Compare with similar skills

Corp Doctor next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Corp Doctor compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Corp Doctor this skillserejaris/personal-corp-os229—~1.6kAutomated safety check: PassMIT
AI Self ImprovementJocysCom/FocusLogger213—~1.1kAutomated safety check: PassGPL-3.0
Setup Matt Pocock Skillsywwynm/EverythingDone1448 repos~1.7kAutomated safety check: PassGPL-3.0
AI Readyjohnpapa/ai-ready226—~5.4kAutomated safety check: PassMIT
Arandu Featurearandu-io/arandu281—~2.5kAutomated safety check: PassMIT
Attmcojp Claude Mdnatsukium/dotfiles106—~1.3kAutomated safety check: NotesCC0-1.0

Similar skills

  • AI Self Improvement

    JocysCom/FocusLogger

    Update, create, improve, and synchronise this repository's AI agent instructions and related assets (including skills).

    213 GitHub stars~1.1k tokensUpdated 3 mo ago
    Agent WorkflowsAuto-check passed
  • Setup Matt Pocock Skills

    ywwynm/EverythingDone

    Sets up an Agent skills block in AGENTS.md/CLAUDE.md and docs/agents/ so the engineering skills know this repo's issue tracker (GitHub or local markdown), triage label vocabulary, and domain doc…

    144 GitHub starsUsed in 8 repos~1.7k tokens
    Agent WorkflowsAuto-check passed
  • AI Ready

    johnpapa/ai-ready

    ANALYSIS SKILL — Analyze any repository and generate AI-ready configuration — a canonical AGENTS.md, thin per-tool pointer files, skills, CI workflows, issue templates.

    226 GitHub stars~5.4k tokensUpdated 13 days ago
    Agent WorkflowsAuto-check passed
  • Arandu Feature

    arandu-io/arandu

    Start here for any change to an Arandu (Go) application that adds or changes behaviour -- "add invoices", "let users publish a post", "send a weekly report", "call the payment provider", "expose…

    281 GitHub stars~2.5k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Attmcojp Claude Md

    natsukium/dotfiles

    Change the org-level CLAUDE.md that governs every attmcojp repository.

    106 GitHub stars~1.3k tokensUpdated today
    Agent WorkflowsAuto-check: notes
  • Workflow Creator

    nicepkg/ai-workflow

    Create complete Claude Code workflow directories with curated skills.

    285 GitHub stars~2.6k tokensUpdated 8 mo ago
    Agent WorkflowsAuto-check passed

More from serejaris/personal-corp-os

All 36 skills in this repo
  • Weekly Planning

    serejaris/personal-corp-os

    A skill your agent uses when the user is transitioning from a completed retro into a weekly plan, choosing weekly outcomes, scheduling a full ISO week, or asking for "план на неделю", "weekly…

    229 GitHub stars~2.4k tokensUpdated 3 days ago
    Auto-check passed
  • Gh Issues

    serejaris/personal-corp-os

    A skill your agent uses when creating, searching, updating, or managing GitHub issues via CLI.

    229 GitHub stars~1.8k tokensUpdated 3 days ago
    Auto-check passed
  • Product Data Audit

    serejaris/personal-corp-os

    A skill your agent uses when auditing a product, business, or project ecosystem — analyzing data sources, decision loops, bottlenecks, and implementation contours.

    229 GitHub stars~1.3k tokensUpdated 3 days ago
    Auto-check passed
  • Tg Bot Ops

    serejaris/personal-corp-os

    A skill your agent uses when operating, debugging, deploying, or monitoring a Telegram bot or Telegram-to-agent gateway.

    229 GitHub stars~1.6k tokensUpdated 3 days ago
    Auto-check: notes
  • Audit Agent Rules

    serejaris/personal-corp-os

    Audits the agent rules in the current folder (AGENTS.md, nested AGENTS.md files) and the skill descriptions the agent sees at start, then reports what to cut, move or rewrite and edits only after…

    229 GitHub stars~2.3k tokensUpdated 3 days ago
    Auto-check passed
  • Make Landing

    serejaris/personal-corp-os

    Создаёт несколько вариантов дизайна 2D-поверхности (лендинг, герой, обложка, слайды): свой визуальный референс и автор на вариант, полный design.md с UTC/SHA-256 до кода, проверка в браузере…

    229 GitHub stars~2.1k tokensUpdated 3 days ago
    Auto-check passed

Works with

Categories

Questions about Corp Doctor

What does Corp Doctor do?

A skill your agent uses when a Personal Corp operating loop needs setup, repair, a new department, or task routing: HQ files and agent rules, GitHub issue workflow, corp- owner map, department…. Corp Doctor is an agent skill from serejaris/personal-corp-os. Use when a Personal Corp operating loop needs setup, repair, a new department, or task routing: HQ files and agent rules, GitHub issue workflow, corp- owner map, department repositories, or deciding which repo an issue belongs to.

When should I use Corp Doctor?

Corp Doctor fits situations like: A Personal Corp operating loop needs setup; A new department; task routing: HQ files and agent rules; GitHub issue workflow.

How do I install Corp Doctor in Claude Code?

Run `npx skills add serejaris/personal-corp-os --skill corp-doctor -a claude-code`. Or copy the skill folder (skills/corp-doctor in serejaris/personal-corp-os) into .claude/skills/corp-doctor in your project. Claude Code loads it when a task matches its description.

How do I install Corp Doctor in Codex?

Run `npx skills add serejaris/personal-corp-os --skill corp-doctor -a codex`. Or copy the skill folder (skills/corp-doctor in serejaris/personal-corp-os) into .agents/skills/corp-doctor in your project. Codex loads it when a task matches its description.

Can I use Corp Doctor in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add serejaris/personal-corp-os --skill corp-doctor -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/corp-doctor, .gemini/skills/corp-doctor, .github/skills/corp-doctor and .opencode/skills/corp-doctor in your project.

What does Corp Doctor need to run?

SKILL.md names no scripts, command-line tools or credentials: Corp Doctor is instructions for the agent only.

Does Corp Doctor access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Corp Doctor safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Corp Doctor use?

Corp Doctor is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Corp Doctor use?

About 1.6k tokens (SKILL.md is roughly 6.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Corp Doctor?

Skills that share tags, products or a category with Corp Doctor: AI Self Improvement (JocysCom/FocusLogger, 213 stars), Setup Matt Pocock Skills (ywwynm/EverythingDone, 144 stars), AI Ready (johnpapa/ai-ready, 226 stars) and Arandu Feature (arandu-io/arandu, 281 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Corp Doctor?

serejaris (a GitHub user) maintains it in serejaris/personal-corp-os, which has 229 GitHub stars. The repository holds 36 skills in this directory. The repository was last updated on October 7, 2026.

Source: serejaris/personal-corp-os on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.