Skip to content
Back to skills

Omk Harness Loop

ASecurity

Route OMK harness loop work through built-in identical-loop, tool-pair repair, prompt presets, /goal continuation, artifact spill, and omk sdk session inspect/send. Use when the user asks about identical tool loops, compaction orphans, durable goals, per-model prompt presets, truncated read/bash artifacts, or external session control.

  • 145 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 19, 2026
ai-agentsgobashsecurity

Works with

  • cli

Security analysis

A100/100

Scanned September 19, 2026

npx -y skills add dmae97/omk --skill omk-harness-loop --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Omk Harness Loop?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Omk Harness Loop
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/dmae97-omk-harness-loop/badge)](https://www.skillsdirectory.com/skills/dmae97-omk-harness-loop)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: omk-harness-loop
description: Route OMK harness loop work through built-in identical-loop, tool-pair repair, prompt presets, /goal continuation, artifact spill, and omk sdk session inspect/send. Use when the user asks about identical tool loops, compaction orphans, durable goals, per-model prompt presets, truncated read/bash artifacts, or external session control.
---

# OMK harness loop

Use the shipped built-ins. Do not copy senpi/gajae plugins into core.

## Route

1. Identical `tool+args` streaks → built-in `identical-loop` (`OMK_IDENTICAL_LOOP=0` to disable). Warn at 3, block at 6.
2. Compaction orphans → built-in `tool-pair-repair` on `context`.
3. Kimi / K3 / GLM / Grok phrasing → built-in `prompt-preset` on `before_agent_start`.
4. Durable goal → `/goal [objective]`. Active goals continue from `agent_end` until the round limit.
5. Truncated `bash` → sidecar path. Legacy `read` → use `fullOutputPath` when present; otherwise continue with offsets.
6. External controllers → `omk sdk session status|tail|inspect|send`.

## Done

- The matching built-in or CLI path is named.
- Security, permission, and sandbox code stay untouched.
- New loop policy lives in a skill or thin built-in, not another 5k-line `AgentSession` method.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.