Agent skill

Omk Agent

by KaimingWan in KaimingWan/oh-my-kiro

Distill a top-level principle into knowledge/rules.md. An agent skill from KaimingWan/oh-my-kiro.

MITAuto-check passed

Install Omk Agent

skills CLI
$ npx skills add KaimingWan/oh-my-kiro --skill omk-agent -a claude-code

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

GitHub CLI
$ gh skill install KaimingWan/oh-my-kiro omk-agent --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/KaimingWan/oh-my-kiro.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/omk-agent .claude/skills/omk-agent && 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
omk-agent
GitHub stars
107
Token cost
~399 tokens
SKILL.md length
165 words
Files
1
Skills in repo
15
Repo updated
First seen
Licence
MIT

At a glance

Distill a top-level principle into knowledge/rules.md. An agent skill from KaimingWan/oh-my-kiro.

  • Works in 8 steps: If no input provided, ask user: "What… → Extract: trigger scenario + DO/DON'T… → Check dedup: grep -iw keywords in… → …
  • User says add rule
  • SKILL.md covers Trigger Examples, Input, Process and Rules
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Omk Agent is an agent skill from KaimingWan/oh-my-kiro. Distill a top-level principle into knowledge/rules.md. Trigger when user says 'add rule', 'new principle', 'enforce this', '@agent', or wants to codify an architectural decision, workflow principle, or behavioral guideline into persistent rules.

Its SKILL.md is about 400 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The licence is MIT.

When your agent uses it

  • User says add rule
  • Wants to codify an architectural decision
  • Workflow principle
  • Behavioral guideline into persistent rules

Example prompts

  • “add rule”
  • “new principle”
  • “enforce this”
  • “/omk-agent”

Workflow steps

8 steps, taken from the first numbered list in SKILL.md.

  1. If no input provided, ask user: "What principle should I capture?"
  2. Extract: trigger scenario + DO/DON'T action + keywords
  3. Check dedup: grep -iw keywords in knowledge/rules.md and knowledge/episodes.md
  4. Determine severity: 🔴 (critical, always inject) or 🟡 (relevant, keyword-matched)
  5. Find or create matching section header ## [keyword1,keyword2] in knowledge/rules.md
  6. Append rule under that section, format: 🔴 N. SUMMARY or 🟡 N. SUMMARY
  7. Cap: max 5 rules per section, max 30 rules total. Warn if approaching limit.
  8. Output: 📝 Captured → rules.md: 'SUMMARY'

What it can do on your machine

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

Omk Agent loads about 399 tokens when it runs. Until then it costs about 64 tokens; SKILL.md has 165 words of instructions outside code blocks.

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

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 KaimingWan/oh-my-kiro at commit ba228be, republished under its MIT licence (© KaimingWan). 165 words, ~399 tokens.

Download SKILL.mdSave it as .claude/skills/omk-agent/SKILL.md (or your agent's skills folder).
name
omk-agent
description
Distill a top-level principle into knowledge/rules.md. Trigger when user says 'add rule', 'new principle', 'enforce this', '@agent', or wants to codify an architectural decision, workflow principle, or behavioral guideline into persistent rules.
argument-hint
[principle to capture]
disable-model-invocation
true

Trigger Examples

  • "@agent 所有 JSON 操作必须用 jq"
  • "add this as a permanent rule"
  • "enforce: never skip tests"
  • "把这个原则写进规则"
  • "@agent submodule 修改必须走 worktree"

Agent — Distill Top-Level Principle

Capture a principle into knowledge/rules.md as a staged rule.

Input

$ARGUMENTS

Process

  1. If no input provided, ask user: "What principle should I capture?"
  2. Extract: trigger scenario + DO/DON'T action + keywords
  3. Check dedup: grep -iw keywords in knowledge/rules.md and knowledge/episodes.md
    • Already in rules → tell user, skip
    • Already in episodes with same meaning → tell user, suggest upgrading to rule
  4. Determine severity: 🔴 (critical, always inject) or 🟡 (relevant, keyword-matched)
  5. Find or create matching section header ## [keyword1,keyword2] in knowledge/rules.md
  6. Append rule under that section, format: 🔴 N. SUMMARY or 🟡 N. SUMMARY
  7. Cap: max 5 rules per section, max 30 rules total. Warn if approaching limit.
  8. Output: 📝 Captured → rules.md: 'SUMMARY'

Rules

  • Summary must contain actionable DO/DON'T, not narrative
  • Keywords: 1-3 english technical terms, ≥4 chars each, comma-separated
  • Default severity: 🟡 (only use 🔴 for principles that should apply to EVERY conversation)

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

Files

Just SKILL.md in skills/omk-agent of KaimingWan/oh-my-kiro.

Open the folder on GitHubat commit ba228be

Compare with similar skills

Omk Agent 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.

Omk Agent compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Omk Agent this skillKaimingWan/oh-my-kiro107—~399Automated safety check: PassMIT
Rules Distillationaffaan-m/ECC275k2 repos~2.3kAutomated safety check: PassMIT
Principle Redesign From First Principlescursor/plugins10k8 repos~211Automated safety check: PassNone
Paperclip Distillpaperclipai/paperclip99k—~2.8kAutomated safety check: PassMIT
Taste Distillationaffaan-m/ECC275k—~2.3kAutomated safety check: PassMIT
Rules Distillaffaan-m/ECC275k—~1.5kAutomated safety check: PassMIT

Similar skills

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

    275k GitHub starsUsed in 2 repos~2.3k tokens
    Agent WorkflowsAuto-check passed
  • Paperclip Distill

    paperclipai/paperclip

    A skill your agent uses when an operation issue is a Paperclip cursor-window, distill, or backfill.

    99k GitHub stars~2.8k tokensUpdated today
    Productivity & AutomationAuto-check passed
  • Taste Distillation

    affaan-m/ECC

    Measure a set of reference videos into a reusable style pack - colour grade as a 3D LUT, cut rhythm as a shot-length distribution, hero stills, screen-blend overlay plates, and a text spec for a…

    275k GitHub stars~2.3k tokensUpdated 3 days ago
    Auto-check passed
  • Rules Distill

    affaan-m/ECC

    スキルをスキャンしてドメイン横断的な原則を抽出し、ルールに蒸留する——既存のルールファイルへの追記、修正、または新規作成

    275k GitHub stars~1.5k tokensUpdated 3 days ago
    Auto-check passed
  • Rules Distill

    affaan-m/ECC

    扫描技能以提取跨领域原则并将其提炼为规则——追加、修订或创建新的规则文件

    275k GitHub starsUsed in 1 repo~1.3k tokens
    Auto-check passed

More from KaimingWan/oh-my-kiro

All 15 skills in this repo
  • Omk Research

    KaimingWan/oh-my-kiro

    Multi-level research: built-in knowledge → web search → Tavily deep research API.

    107 GitHub stars~827 tokensUpdated 6 mo ago
    Auto-check passed
  • Omk Reviewing

    KaimingWan/oh-my-kiro

    Code and plan review with multi-angle dispatch. An agent skill from KaimingWan/oh-my-kiro.

    107 GitHub stars~1.9k tokensUpdated 6 mo ago
    Auto-check passed
  • Omk Skill Creation

    KaimingWan/oh-my-kiro

    Create high-quality, production-ready skills from scratch. An agent skill from KaimingWan/oh-my-kiro.

    107 GitHub stars~2k tokensUpdated 6 mo ago
    Auto-check passed
  • Omk Youtube

    KaimingWan/oh-my-kiro

    Extract and summarize YouTube video content via subtitle extraction.

    107 GitHub stars~381 tokensUpdated 6 mo ago
    Auto-check passed
  • Documentation Lookup

    KaimingWan/oh-my-kiro

    Fetch current library/framework documentation via Context7. An agent skill from KaimingWan/oh-my-kiro.

    107 GitHub stars~616 tokensUpdated 6 mo ago
    Auto-check passed
  • Omk Coding

    KaimingWan/oh-my-kiro

    Enforces coding best practices: deep-read before modify, LSP-first navigation, TDD red-green-refactor, minimal changes, self-review, verification.

    107 GitHub stars~2.4k tokensUpdated 6 mo ago
    Auto-check passed

Questions about Omk Agent

What does Omk Agent do?

Distill a top-level principle into knowledge/rules.md. An agent skill from KaimingWan/oh-my-kiro. Omk Agent is an agent skill from KaimingWan/oh-my-kiro.md.

When should I use Omk Agent?

Omk Agent fits situations like: user says add rule; wants to codify an architectural decision; workflow principle; behavioral guideline into persistent rules.

How do I install Omk Agent in Claude Code?

Run `npx skills add KaimingWan/oh-my-kiro --skill omk-agent -a claude-code`. Or copy the skill folder (skills/omk-agent in KaimingWan/oh-my-kiro) into .claude/skills/omk-agent in your project. Claude Code loads it when a task matches its description.

How do I install Omk Agent in Codex?

Run `npx skills add KaimingWan/oh-my-kiro --skill omk-agent -a codex`. Or copy the skill folder (skills/omk-agent in KaimingWan/oh-my-kiro) into .agents/skills/omk-agent in your project. Codex loads it when a task matches its description.

Can I use Omk Agent 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 KaimingWan/oh-my-kiro --skill omk-agent -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/omk-agent, .gemini/skills/omk-agent, .github/skills/omk-agent and .opencode/skills/omk-agent in your project.

What does Omk Agent need to run?

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

Does Omk Agent 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 Omk Agent 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 Omk Agent use?

Omk Agent 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 Omk Agent use?

About 399 tokens (SKILL.md is roughly 1.6k 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 Omk Agent?

Skills that share tags, products or a category with Omk Agent: Rules Distillation (affaan-m/ECC, 275k stars), Principle Redesign From First Principles (cursor/plugins, 10k stars), Paperclip Distill (paperclipai/paperclip, 99k stars) and Taste Distillation (affaan-m/ECC, 275k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Omk Agent?

KaimingWan (a GitHub user) maintains it in KaimingWan/oh-my-kiro, which has 107 GitHub stars. The repository holds 15 skills in this directory. The repository was last updated on April 2, 2026.

Source: KaimingWan/oh-my-kiro on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.