Agent skill

Doctrine

by telagod in telagod/code-abyss

The operating doctrine, self-contained in this folder. An agent skill from telagod/code-abyss.

MITAuto-check passedAgent Workflows

Install Doctrine

skills CLI
$ npx skills add telagod/code-abyss --skill doctrine -a claude-code

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

GitHub CLI
$ gh skill install telagod/code-abyss doctrine --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/telagod/code-abyss.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/_kernel/doctrine .claude/skills/doctrine && 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
doctrine
GitHub stars
243
Token cost
~674 tokens
SKILL.md length
226 words
Files
9
Skills in repo
38
Repo updated
First seen
Licence
MIT

At a glance

The operating doctrine, self-contained in this folder. An agent skill from telagod/code-abyss.

  • Tasks that involve Subagents
  • SKILL.md covers Route by moment, Dispatch pre-send checklist… and Quick reference
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Tasks that involve Agent instruction files

What it does

Doctrine is an agent skill from telagod/code-abyss. The operating doctrine, self-contained in this folder. Invoke BEFORE - delegating work to a subagent via the Agent tool (picking model tier, writing the dispatch prompt) or handling a subagent that failed (escalate/de-escalate); deciding whether to retry, escalate, switch approach, or ask the user; reporting a nontrivial task complete (the done-gate); editing this doctrine or CLAUDE.md; recording a lesson about the harness.

Its SKILL.md is about 670 tokens, which your agent loads only when the skill is triggered. The skill folder holds 8 other files (for example `00-diagnosis.md`, `01-model-dispatch.md` and `02-judgment.md`).

It sits in Agent Workflows, covering Subagents and Agent instruction files. The repository describes itself as: Give your AI coding agent a personality. Composable persona + style + skills for Claude Code, Codex, Gemini CLI & OpenClaw. Ships Tech Persona Card v1.0 spec. The licence is MIT.

When your agent uses it

  • Tasks that involve Subagents
  • Tasks that involve Agent instruction files

Example prompts

  • “/doctrine”

What it can do on your machine

Read from SKILL.md and the folder at commit 2544577. 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.

    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

Doctrine loads about 674 tokens when it runs. Until then it costs about 109 tokens; SKILL.md has 226 words of instructions outside code blocks.

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

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 telagod/code-abyss at commit 2544577, republished under its MIT licence (© telagod). 226 words, ~674 tokens.

Download SKILL.mdSave it as .claude/skills/doctrine/SKILL.md (or your agent's skills folder). This skill also uses 8 other files; get the full folder from GitHub.
name
doctrine
description
The operating doctrine, self-contained in this folder. Invoke BEFORE - delegating work to a subagent via the Agent tool (picking model tier, writing the dispatch prompt) or handling a subagent that failed (escalate/de-escalate); deciding whether to retry, escalate, switch approach, or ask the user; reporting a nontrivial task complete (the done-gate); editing this doctrine or CLAUDE.md; recording a lesson about the harness.
user-invocable
false

Doctrine — the operating institution, one folder

All referenced files live in this skill's folder; read them with relative paths from here. The three always-on laws live in the user's ~/.claude/CLAUDE.md router; this bundle carries the depth. Content lives in the numbered files — this SKILL.md only routes; never duplicate rule text into it.

Route by moment

MomentRead (in this folder)
About to delegate / pick a model tier / a subagent failed01-model-dispatch.md, then fill a template from 03-delegation-templates.md
Retry? escalate? done? ask the user? direction feels wrong?02-judgment.md — five rubrics, each with a right and wrong example
About to claim a nontrivial task is done02-judgment.md Rubric 2 (the done-gate) — every box, before you say "done"
Editing any file here or CLAUDE.md; recording a lesson04-maintenance.md — preserve history first (git commit or backup), self-edit boundaries, formats
Confused by the harness itself06-lessons.md first (it may already be paid for), then 00-diagnosis.md
First session in a new environment, or sharing this bundleINSTALL.md
Why these rules exist; environment-specific warnings00-diagnosis.md, 05-letter.md

Dispatch pre-send checklist (all four, or don't send)

  • Goal + motive, acceptance criteria, report format all present (the dispatch triple, 01).
  • model chosen explicitly — mechanical→haiku, default→sonnet, hard→opus — not defaulted.
  • Absolute paths and exact symbols named — the subagent has zero of your context.
  • Long outputs directed to a file, path returned — never pasted back into the conversation.

Quick reference

Would raw output ≫ the answer?           → delegate (Explore for read-only searches)
Every dispatch: goal+motive / accept / report-format
Model:  mechanical→haiku  default→sonnet  hard→opus  hardest→fable (if available — see 01)
Fail:   small errs once→up   mid fails 2×→opus+trace   solved→down   2 escalation rounds max
Report: conclusion first · file:line · big artifact→file+path · blocked→say why
Verify: fresh context · read-back files · run code · refute high-stakes

© telagod, 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 8 other files in skills/_kernel/doctrine of telagod/code-abyss.

  • SKILL.md
  • 00-diagnosis.md
  • 01-model-dispatch.md
  • 02-judgment.md
  • 03-delegation-templates.md
  • 04-maintenance.md
  • 05-letter.md
  • 06-lessons.md
  • INSTALL.md

Open the folder on GitHubat commit 2544577

Compare with similar skills

Doctrine 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.

Doctrine compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Doctrine this skilltelagod/code-abyss243—~674Automated safety check: PassMIT
Task Observerrebelytics/one-skill-to-rule-them-all3.2k1 repos~12kAutomated safety check: PassCC-BY-4.0
Harness Agent Team Designerrevfactory/harness9.1k—~4.5kAutomated safety check: PassApache-2.0
Repo Task Proof LoopDenisSergeevitch/repo-task-proof-loop730—~3.8kAutomated safety check: PassApache-2.0
Rules Distillationaffaan-m/ECC276k2 repos~2.3kAutomated safety check: PassMIT
Claude Docs Consultantcentminmod/my-claude-code-setup2.7k—~959Automated safety check: PassMIT

Similar skills

  • Task Observer

    rebelytics/one-skill-to-rule-them-all

    Monitors task execution for skill improvement opportunities.

    3.2k GitHub starsUsed in 1 repo~12k tokens
    Agent WorkflowsAuto-check passed
  • Harness Agent Team Designer

    revfactory/harness

    Designs a project-specific agent harness: defines specialist agents, writes the skills they follow, picks an execution mode and model for each, and keeps the setup maintained.

    9.1k GitHub stars~4.5k tokensUpdated 11 days ago
    Agent WorkflowsAuto-check passed
  • Repo Task Proof Loop

    DenisSergeevitch/repo-task-proof-loop

    Repo-local workflow skill for large coding tasks. An agent skill from DenisSergeevitch/repo-task-proof-loop.

    730 GitHub stars~3.8k tokensUpdated 6 mo ago
    Agent WorkflowsAuto-check passed
  • Rules Distillation

    affaan-m/ECC

    Scans installed skills for principles that recur across them and proposes rule-file changes: append, revise, add a section, create a file or leave as covered.

    276k GitHub starsUsed in 2 repos~2.3k tokens
    Agent WorkflowsAuto-check passed
  • Claude Docs Consultant

    centminmod/my-claude-code-setup

    Consult official Claude Code documentation from code.claude.com using selective fetching.

    2.7k GitHub stars~959 tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Reference for writing Claude Code agent files: location, frontmatter fields, validation limits, tool and model choices, and the required content format.

    122 GitHub starsUsed in 2 repos~4k tokens
    Agent WorkflowsAuto-check passed

More from telagod/code-abyss

All 38 skills in this repo
  • Security Gate Scanner

    telagod/code-abyss

    Scans code with a bundled Node scanner for injection, secret leaks and other dangerous patterns, and requires documented decisions for accepted risks.

    243 GitHub stars~552 tokensUpdated 2 mo ago
    Auto-check: notes
  • Persona Voice Card Builder

    telagod/code-abyss

    Distills a recurring agent voice from conversations into a restricted Persona Voice Card, validates it for schema, safety and distinctness, and prepares it for community submission.

    243 GitHub stars~716 tokensUpdated 2 mo ago
    Auto-check: notes
  • Skill Cultivation Funnel

    telagod/code-abyss

    Distills repeated workflows into new skills, improves existing ones and promotes them through local, project and community tiers after a default-deny safety scan.

    243 GitHub stars~794 tokensUpdated 2 mo ago
    Auto-check: notes
  • DOCX Processing Toolkit

    telagod/code-abyss

    Routes Word document tasks to the right tool: pandoc for text, raw OOXML for structure and comments, docx-js for new files, and a mandatory redlining flow for edits to others' documents.

    243 GitHub stars~668 tokensUpdated 2 mo ago
    Auto-check: notes
  • PDF Processing Toolkit

    telagod/code-abyss

    Picks the right Python library or CLI tool for a PDF task, text and table extraction, merging, splitting, OCR, watermarking or form filling, and points to a matching recipe.

    243 GitHub stars~532 tokensUpdated 2 mo ago
    Auto-check: notes
  • Code Change Analysis Gate

    telagod/code-abyss

    Checks what a code change touched, how far its impact reaches and whether design docs, tests and README files kept up, before commit or in review.

    243 GitHub stars~532 tokensUpdated 2 mo ago
    Auto-check: notes

Categories

Questions about Doctrine

What does Doctrine do?

The operating doctrine, self-contained in this folder. An agent skill from telagod/code-abyss. Doctrine is an agent skill from telagod/code-abyss. The operating doctrine, self-contained in this folder.

When should I use Doctrine?

Doctrine fits situations like: tasks that involve Subagents; tasks that involve Agent instruction files.

How do I install Doctrine in Claude Code?

Run `npx skills add telagod/code-abyss --skill doctrine -a claude-code`. Or copy the skill folder (skills/_kernel/doctrine in telagod/code-abyss) into .claude/skills/doctrine in your project. Claude Code loads it when a task matches its description.

How do I install Doctrine in Codex?

Run `npx skills add telagod/code-abyss --skill doctrine -a codex`. Or copy the skill folder (skills/_kernel/doctrine in telagod/code-abyss) into .agents/skills/doctrine in your project. Codex loads it when a task matches its description.

Can I use Doctrine 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 telagod/code-abyss --skill doctrine -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/doctrine, .gemini/skills/doctrine, .github/skills/doctrine and .opencode/skills/doctrine in your project.

What does Doctrine need to run?

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

Does Doctrine 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 Doctrine 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 Doctrine use?

Doctrine 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 Doctrine use?

About 674 tokens (SKILL.md is roughly 2.7k 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 Doctrine?

Skills that share tags, products or a category with Doctrine: Task Observer (rebelytics/one-skill-to-rule-them-all, 3.2k stars), Harness Agent Team Designer (revfactory/harness, 9.1k stars), Repo Task Proof Loop (DenisSergeevitch/repo-task-proof-loop, 730 stars) and Rules Distillation (affaan-m/ECC, 276k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Doctrine?

telagod (a GitHub user) maintains it in telagod/code-abyss, which has 243 GitHub stars. The repository holds 38 skills in this directory. The repository was last updated on July 19, 2026.

Source: telagod/code-abyss on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.