AI Briefing
KO

Show GN: oh-my-customcode — A tool that "compiles" Claude Code agents instead of "configuring" them

·2026.04.18 23:56

Key point

Introducing a runtime/router tool that compiles an agent stack for Claude Code.

Details

When you stitch together multiple agents using Claude Code, you end up repeating skill docs, agent YAML, rules, routing, and CLAUDE.md conflicts on every project. oh-my-customcode is a tool built by treating this as a problem of compilation rather than configuration.

The core structure has two axes.

  • .claude/skills/ are knowledge and workflows treated like reusable source code.
  • .claude/agents/ are expert agents that are the build artifacts assembled from skills.
  • mgr-sauron acts as the compiler that validates the structure.
  • .claude/rules/ are the spec holding constraints and build rules.
  • The routing skill is the linker that connects tasks to agents.

Thanks to this separation, skills can evolve independently, and agents can be recompiled at any time with updated skills. In other words, the design keeps the runtime's starting point itself decoupled.

When a task comes in that has no registered expert agent, it doesn't fail — it switches to on-the-fly generation. For example, if a Terraform module review request comes in and there's no dedicated expert, routing detects the absence, and mgr-creator finds relevant skills and guides to create a new expert agent, which then immediately performs the review. The generated agent persists for subsequent calls too. This is viewed not as a simple fallback but as a designed build flow.

The default scope provided is quite large. A single omcustom init installs 48 agents / 107 skills / 22 rules / 39 guides.

The key design decisions are as follows.

  • The main conversation is handled only by a singleton orchestrator.
  • It doesn't write files directly; all tasks are delegated to dedicated agents via routing.
  • Task responsibilities are separated to reduce context confusion.
  • Model tiering is explicitly applied.
    • Architecture/research: opus
    • Implementation/agent generation: sonnet
    • Search/count verification: haiku
  • Independent tasks are processed in parallel, batched up to 4 per message.
  • Safety hooks work in an advisory manner rather than blocking.
    • secret-filter, audit-log, schema-validator, PostCompact (re-injects rules after compaction)
  • RTK is installed by default, reducing CLI output tokens by 60-90%.

The author respects existing Claude Code plugin ecosystems as well, but emphasizes that oh-my-customcode is not a collection of templates but an implementation weighted toward being a runtime where a compiler, router, and manager actually run. GitHub and npm links have been shared together, and the author is also taking questions on why a singleton orchestrator was chosen, why sauron was separated into its own agent, and how the model tiering heuristics were determined.

This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.

Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.