ecc-harness-patterns

ecc-harness-patterns is a skill for Claude Code from strikersam/autonomous-ai-agency. It costs 21 tokens per session (1,003 once invoked), scanned A, original, MIT.

A set of patterns for running coding agents consistently across different assistant systems, such as Claude Code, Cursor, Codex, OpenCode, Gemini, Zed, and GitHub Copilot.

In plain words
What is it for?
Detecting the active assistant platform, normalizing requests, handling session lifecycle events, persisting memory, and routing work by capability.
Why use it?
It hides differences between assistant platforms so requests, session events, and capabilities can use a common structure.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths; mentions Claude Code; mentions Codex.

Good fit Detecting the active assistant platform, normalizing requests, handling session lifecycle events, persisting memory, and routing work by capability.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/strikersam/autonomous-ai-agency/ecc-harness-patterns
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add strikersam/autonomous-ai-agency --skill ecc-harness-patterns
Clone the repo
git clone --depth 1 https://github.com/strikersam/autonomous-ai-agency

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ecc-harness-patterns

README.md
[![agentmods](https://agentmods.dev/badge/skills/strikersam/autonomous-ai-agency/ecc-harness-patterns/github.svg)](https://agentmods.dev/skills/strikersam/autonomous-ai-agency/ecc-harness-patterns)
Your own site
<a href="https://agentmods.dev/skills/strikersam/autonomous-ai-agency/ecc-harness-patterns"><img src="https://agentmods.dev/badge/skills/strikersam/autonomous-ai-agency/ecc-harness-patterns/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ecc-harness-patterns

Your own site · 80×15
<a href="https://agentmods.dev/skills/strikersam/autonomous-ai-agency/ecc-harness-patterns"><img src="https://agentmods.dev/badge/skills/strikersam/autonomous-ai-agency/ecc-harness-patterns.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,003 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Agent Snooping · line 96
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00021 $0.01003
Opus 5 $0.00010 $0.00502
Sonnet 5 $0.00004 $0.00201
Haiku 4.5 $0.00002 $0.00100

Measured 7d ago against content hash 2b11b4a39093, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

ecc-harness-patterns scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/ecc-harness-patterns/SKILL.md · 109 lines

How it starts

The opening of the file, as written. The whole thing — 109 lines — stays where its author put it; the contents beside it link to each section on GitHub.

ECC Harness Patterns Skill

Inspired by: ECC — the definitive cross-harness agent orchestration system

Purpose: Integrate multi-harness patterns from ECC into local-llm-server's agent orchestration layer.

What's Unique About ECC

ECC is a production-grade system supporting 7+ agent harnesses (Claude Code, Cursor, Codex, OpenCode, Gemini, Zed, GitHub Copilot) with:

  • Harness abstraction layer — normalize API differences
  • Hook lifecycle — session start/pause/stop/resume
  • Memory persistence — skills learned across sessions
  • Cross-harness routing — intelligent model/capability selection
  • 182K+ stars — battle-tested in real workflows

Patterns to Adopt

1. Harness Detection & Adaptation

# agents/harness_adapter.py
class HarnessAdapter:
    HARNESSES = {
        "claude_code": {"context_key": "workspace", "supports": ["streaming"]},
        "cursor": {"context_key": "editor", "supports": ["streaming", "streaming_chunks"]},
        "codex": {"context_key": "project", "supports": ["completion"]},
    }
    
    def normalize_request(self, harness_id: str, request: dict) -> dict:
        """Convert harness-native request to local-llm-server format"""

2. Session Lifecycle Hooks

ECC's /hooks/session-* pattern applied to local-llm-server:

.claude/hooks/
  ├── session-start/
  │   ├── 10-detect-harness.sh       # Identify active harness
  │   ├── 20-load-harness-prefs.sh   # Load harness-specific settings
  │   └── 30-emit-telemetry.sh       # Send harness telemetry
  ├── session-pause/
  │   └── 10-checkpoint-state.sh
  └── session-stop/
      └── 10-summarize-session.sh

3. Cross-Harness Model Selection

Extend router/model_router.py to consider harness capabilities:

class CrossHarnessRouter(ModelRouter):
    def select_model(self, task: TaskRequest, harness: str) -> str:
        """Route considering harness limits and preferences"""
        # Claude Code + reasoning task → deepseek-r1 (powerful)
        # Cursor + quick fix → qwen3-coder (fast)
        # Codex + completion → fastest available

Read the full file on GitHub · 109 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 109 lines · 21 tokens per session scan A 2b11b4a39093

Subscribe to this mod's changes

ecc-harness-patterns is a skill published in the GitHub repository strikersam/autonomous-ai-agency (8 stars, last pushed today), licensed MIT. It adds 21 tokens to every session and 1,003 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

assimilate-popular-workflows

This skill should be used when the user asks to "find skills in the wild", "assimilate popular workflows", "discover SKILL.md files in repos", "research external skills", "find workflow patterns", "survey the skill landscape", "what skills exist out there", or wants to investigate public repositories for extractable…

a5c-ai/babysitter · 110 tokens

process-builder

Scaffold new babysitter process definitions following SDK patterns, proper structure, and best practices. Guides the 3-phase workflow from research to implementation.

a5c-ai/babysitter · 32 tokens

mcp-app-verification

Comprehensive verification checklists for MCP Apps. Tests with basic-host reference, validates handler-before-connect, text fallback, resource URI linking, single-file bundling, host styling, CSP, and legacy pattern detection.

a5c-ai/babysitter · 48 tokens

mcp-app-scaffolding

Scaffolds MCP App project structure with correct directory layout, dependencies, entry points, and framework-specific templates. Handles React (useApp hook), Vanilla JS, Vue, Svelte, Preact, and Solid.

a5c-ai/babysitter · 50 tokens

mcp-csp-investigation

Comprehensive Content Security Policy audit for MCP Apps in sandboxed iframes. Discovers all network origins, traces them to source, and generates CSP configuration for registerAppResource.

a5c-ai/babysitter · 43 tokens

frontmatter-parsing

YAML frontmatter parsing and manipulation for .planning/ documents. Provides read, write, update, query, and validation operations on frontmatter blocks in GSD markdown artifacts.

a5c-ai/babysitter · 40 tokens