The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Merge main, and raise the pinned CLI to 0.10.0
iyashjayesh036fa49779cc
diff --cc .claude-plugin/marketplace.jsonindex 4ade1b5de,b19c87b8d..bf0be321f--- a/.claude-plugin/marketplace.json+++ b/.claude-plugin/marketplace.json@@@ -11,8 -11,8 +11,8 @@@{"name": "ecc","source": "./",- "description": "Harness-native ECC operator layer - 68 agents, 287 skills, 95 legacy command shims, reusable hooks, rules, selective install profiles, and production-ready workflows for Claude Code, Codex, OpenCode, Cursor, and related agent harnesses",- "version": "2.2.1",- "description": "Harness-native ECC operator layer - 68 agents, 292 skills, 94 legacy command shims, reusable hooks, rules, selective install profiles, and production-ready workflows for Claude Code, Codex, OpenCode, Cursor, and related agent harnesses",++ "description": "Harness-native ECC operator layer - 68 agents, 293 skills, 95 legacy command shims, reusable hooks, rules, selective install profiles, and production-ready workflows for Claude Code, Codex, OpenCode, Cursor, and related agent harnesses",+ "version": "2.2.2","author": {"name": "Affaan Mustafa","email": "[email protected]"diff --cc .claude-plugin/plugin.jsonindex 9dc28739d,072edddfe..297ed9f8e--- a/.claude-plugin/plugin.json+++ b/.claude-plugin/plugin.json@@@ -1,7 -1,7 +1,7 @@@{"name": "ecc",- "version": "2.2.1",- "description": "Harness-native ECC plugin for engineering teams - 68 agents, 287 skills, 95 legacy command shims, reusable hooks, rules, MCP conventions, and operator workflows for Claude Code plus adjacent agent harnesses",+ "version": "2.2.2",- "description": "Harness-native ECC plugin for engineering teams - 68 agents, 292 skills, 94 legacy command shims, reusable hooks, rules, MCP conventions, and operator workflows for Claude Code plus adjacent agent harnesses",++ "description": "Harness-native ECC plugin for engineering teams - 68 agents, 293 skills, 95 legacy command shims, reusable hooks, rules, MCP conventions, and operator workflows for Claude Code plus adjacent agent harnesses","author": {"name": "Affaan Mustafa","url": "https://x.com/affaanmustafa"diff --cc AGENTS.mdindex 0391df9c5,17330b848..6943f2083--- a/AGENTS.md+++ b/AGENTS.md@@@ -1,8 -1,8 +1,8 @@@# Everything Claude Code (ECC) — Agent Instructions- This is a **production-ready AI coding plugin** providing 68 specialized agents, 287 skills, 95 commands, and automated hook workflows for software development.-This is a **production-ready AI coding plugin** providing 68 specialized agents, 292 skills, 94 commands, and automated hook workflows for software development.++This is a **production-ready AI coding plugin** providing 68 specialized agents, 293 skills, 95 commands, and automated hook workflows for software development.- **Version:** 2.2.1+ **Version:** 2.2.2## Core Principles@@@ -154,8 -154,8 +154,8 @@@ Troubleshoot failures: check test isola```agents/ — 68 specialized subagents- skills/ — 287 workflow skills and domain knowledge-skills/ — 292 workflow skills and domain knowledge-commands/ — 94 slash commands++skills/ — 293 workflow skills and domain knowledge+commands/ — 95 slash commandshooks/ — Trigger-based automationsrules/ — Always-follow guidelines (common + per-language)scripts/ — Cross-platform Node.js utilitiesdiff --cc README.mdindex ecf33fe0f,117552c2b..656b3ced5--- a/README.md+++ b/README.md@@@ -162,13 -138,13 +138,13 @@@ Instead of rebuilding that process in eECC is MIT-licensed open source. It works best with Claude Code today, has a supported Codex sync path, and provides capability-limited adapters for Cursor, OpenCode, Gemini, Zed, GitHub Copilot, Antigravity, Qwen, and other harnesses. See the [support status matrix](#platform-support) before assuming feature parity.- Access to 68 agents, 287 skills, and 95 legacy command shims, plus hooks, rules, memory, continuous learning, and AgentShield security scanning. The agents are specialized for planning, review, build repair, security, architecture, and domain work.-Access to 68 agents, 292 skills, and 94 legacy command shims, plus hooks, rules, memory, continuous learning, and AgentShield security scanning. The agents are specialized for planning, review, build repair, security, architecture, and domain work.++Access to 68 agents, 293 skills, and 95 legacy command shims, plus hooks, rules, memory, continuous learning, and AgentShield security scanning. The agents are specialized for planning, review, build repair, security, architecture, and domain work.| Included | Count | What it gives you || ---------------- | ----------: | ------------------------------------------------------------------------------------ || Agents | 68 agents | Planning, review, build repair, security, architecture, and domain work |- | Skills | 287 skills | TDD, research, security, docs, frontend, data, ML, operations, and more |-| Skills | 292 skills | TDD, research, security, docs, frontend, data, ML, operations, and more |-| Commands | 94 commands | Convenient entry points while ECC moves to a skills-first surface |++| Skills | 293 skills | TDD, research, security, docs, frontend, data, ML, operations, and more |+| Commands | 95 commands | Convenient entry points while ECC moves to a skills-first surface || Hooks and memory | Runtime | Enforcement, session summaries, continuous learning, instincts, and context controls || Rules | Selective | Always-loaded standards you choose by language or project || AgentShield | Included | Scanning for prompts, hooks, MCP config, permissions, secrets, and agent files |@@@ -1077,7 -821,7 +821,7 @@@ Stable graduation of the 2.0 line: cont```textECC/|-- agents/ # 68 specialized subagents for delegation- |-- skills/ # 284 reusable workflows loaded on demand-|-- skills/ # 292 reusable workflows loaded on demand++|-- skills/ # 293 reusable workflows loaded on demand|-- commands/ # 94 maintained slash-command shims|-- rules/ # opt-in common and language standards|-- hooks/ # runtime automation and enforcementdiff --cc README.zh-CN.mdindex 589032fd1,552d69b58..577cf32e4--- a/README.zh-CN.md+++ b/README.zh-CN.md@@@ -196,7 -196,7 +196,7 @@@ Copy-Item -Recurse rules/typescript "$H/plugin list ecc@ecc```- **完成!** 你现在可以使用 68 个代理、287 个技能和 95 个命令。-**完成!** 你现在可以使用 68 个代理、292 个技能和 94 个命令。++**完成!** 你现在可以使用 68 个代理、293 个技能和 95 个命令。### multi-* 命令需要额外配置diff --cc commands/token-card.mdindex 8c537b827,000000000..9c4f78abemode 100644,000000..100644--- a/commands/token-card.md+++ b/commands/token-card.md@@@ -1,28 -1,0 +1,28 @@@+---+description: Render a token-usage stat card from local agent session logs and commit it to the repo. Invokes the token-card skill.+argument-hint: [--out PATH] [--theme auto|light|dark] [--dry-run]+---++# Token Card++Thin compatibility shim. The workflow lives in the **token-card** skill+(`skills/token-card/SKILL.md`), which is the canonical surface; this command exists so the+slash-command harnesses can reach it.++## Usage++```+/token-card # write ./tokenchit.svg+/token-card --out docs/usage.svg # write somewhere else+/token-card --theme dark+/token-card --dry-run # report what would be written, write nothing+```++## What it does++Renders an SVG card of this machine's AI coding agent usage — tokens, equivalent cost,- streak, per-agent split — from local Claude Code, Codex and OpenCode session logs, and writes++streak, per-agent split — from local Claude Code, Codex, Gemini CLI and OpenCode session logs, and writes+it into the working tree as a file the README can reference.++Follow the skill for the full workflow, including the confirmation required before the first+registry download, the pinned CLI version, and the dry-run rules.diff --cc docs/tr/AGENTS.mdindex fec63aafb,a67004d7b..381834bd2--- a/docs/tr/AGENTS.md+++ b/docs/tr/AGENTS.md@@@ -1,8 -1,8 +1,8 @@@# Everything Claude Code (ECC) — Agent Talimatları- Bu, yazılım geliştirme için 68 özel agent, 287 skill, 95 command ve otomatik hook iş akışları sağlayan **üretime hazır bir AI kodlama eklentisidir**.-Bu, yazılım geliştirme için 68 özel agent, 292 skill, 94 command ve otomatik hook iş akışları sağlayan **üretime hazır bir AI kodlama eklentisidir**.++Bu, yazılım geliştirme için 68 özel agent, 293 skill, 95 command ve otomatik hook iş akışları sağlayan **üretime hazır bir AI kodlama eklentisidir**.- **Sürüm:** 2.2.1+ **Sürüm:** 2.2.2## Temel İlkeler@@@ -142,8 -142,8 +142,8 @@@ Başarısızlık sorunlarını giderin```agents/ — 68 özel subagent- skills/ — 287 iş akışı skillleri ve alan bilgisi-skills/ — 292 iş akışı skillleri ve alan bilgisi-commands/ — 94 slash command++skills/ — 293 iş akışı skillleri ve alan bilgisi+commands/ — 95 slash commandhooks/ — Tetikleyici tabanlı otomasyonlarrules/ — Her zaman uyulması gereken kurallar (ortak + dile özel)scripts/ — Platformlar arası Node.js yardımcı programlarıdiff --cc docs/zh-CN/AGENTS.mdindex 30598bfaf,31e1a3817..e016eb8fb--- a/docs/zh-CN/AGENTS.md+++ b/docs/zh-CN/AGENTS.md@@@ -1,8 -1,8 +1,8 @@@# Everything Claude Code (ECC) — 智能体指令- 这是一个**生产就绪的 AI 编码插件**,提供 68 个专业代理、287 项技能、95 条命令以及自动化钩子工作流,用于软件开发。-这是一个**生产就绪的 AI 编码插件**,提供 68 个专业代理、292 项技能、94 条命令以及自动化钩子工作流,用于软件开发。++这是一个**生产就绪的 AI 编码插件**,提供 68 个专业代理、293 项技能、95 条命令以及自动化钩子工作流,用于软件开发。- **版本:** 2.2.1+ **版本:** 2.2.2## 核心原则@@@ -147,8 -147,8 +147,8 @@@```agents/ — 68 个专业子代理- skills/ — 287 个工作流技能和领域知识-skills/ — 292 个工作流技能和领域知识-commands/ — 94 个斜杠命令++skills/ — 293 个工作流技能和领域知识+commands/ — 95 个斜杠命令hooks/ — 基于触发的自动化rules/ — 始终遵循的指导方针(通用 + 每种语言)scripts/ — 跨平台 Node.js 实用工具diff --cc docs/zh-CN/README.mdindex ce8704120,3228c6159..80520b6c2--- a/docs/zh-CN/README.md+++ b/docs/zh-CN/README.md@@@ -260,7 -260,7 +260,7 @@@ Copy-Item -Recurse rules/typescript "$H/plugin list ecc@ecc```- **搞定!** 你现在可以使用 68 个智能体、287 项技能和 95 个命令了。-**搞定!** 你现在可以使用 68 个智能体、292 项技能和 94 个命令了。++**搞定!** 你现在可以使用 68 个智能体、293 项技能和 95 个命令了。***@@@ -1173,8 -1173,8 +1173,8 @@@ opencod| 功能特性 | Claude Code | OpenCode | 状态 ||---------|---------------|----------|--------|| 智能体 | PASS: 68 个 | PASS: 12 个 | **Claude Code 领先** |-| 命令 | PASS: 94 个 | PASS: 35 个 | **Claude Code 领先** |-| 技能 | PASS: 292 项 | PASS: 37 项 | **Claude Code 领先** |+| 命令 | PASS: 95 个 | PASS: 35 个 | **Claude Code 领先** |- | 技能 | PASS: 287 项 | PASS: 37 项 | **Claude Code 领先** |++| 技能 | PASS: 293 项 | PASS: 37 项 | **Claude Code 领先** || 钩子 | PASS: 8 种事件类型 | PASS: 11 种事件 | **OpenCode 更多!** || 规则 | PASS: 29 条 | PASS: 13 条指令 | **Claude Code 领先** || MCP 服务器 | PASS: 14 个 | PASS: 完整 | **完全对等** |@@@ -1281,8 -1281,8 +1281,8 @@@ ECC 是**第一个最大化利用每个| 功能特性 | Claude Code | Cursor IDE | Codex CLI | OpenCode ||---------|-----------------------|------------|-----------|----------|| **智能体** | 68 | 共享 (AGENTS.md) | 共享 (AGENTS.md) | 12 |-| **命令** | 94 | 共享 | 基于指令 | 35 |-| **技能** | 292 | 共享 | 10 (原生格式) | 37 |+| **命令** | 95 | 共享 | 基于指令 | 35 |- | **技能** | 287 | 共享 | 10 (原生格式) | 37 |++| **技能** | 293 | 共享 | 10 (原生格式) | 37 || **钩子事件** | 8 种类型 | 15 种类型 | SessionStart(1 种类型) | 11 种类型 || **钩子脚本** | 20+ 个脚本 | 16 个脚本 (DRY 适配器) | 1 个 SessionStart 引导脚本 | 插件钩子 || **规则** | 34 (通用 + 语言) | 34 (YAML 前页) | 基于指令 | 13 条指令 |diff --cc skills/token-card/SKILL.mdindex be93c599e,000000000..453b16637mode 100644,000000..100644--- a/skills/token-card/SKILL.md+++ b/skills/token-card/SKILL.md@@@ -1,102 -1,0 +1,102 @@@+---+name: token-card- description: Render a token-usage stat card from local Claude Code, Codex, and OpenCode session logs and commit it into the repository as a file. Use when someone wants a current usage figure in a README, or asks for a shareable card of their coding-agent activity.++description: Render a token-usage stat card from local Claude Code, Codex, Gemini CLI, and OpenCode session logs and commit it into the repository as a file. Use when someone wants a current usage figure in a README, or asks for a shareable card of their coding-agent activity.+metadata:+ origin: community+---++# Token Card++Produce an SVG card summarising this machine's AI coding agent usage — total tokens,+equivalent API cost, current streak, and the split across agents — and write it into the+working tree as a file the README can reference.++The card is a committed artifact rather than a hosted image, so it renders from the+repository itself and does not depend on a third-party endpoint staying up.++## When to Use++- Someone wants a usage figure visible in a README or docs page.+- Someone asks for a shareable summary of their agent activity across tools.++Use `/cost-report` instead when the question is "what did I spend this week". The two read+different sources and produce different things:++| | `/cost-report` | Token Card |+|---|---|---|+| Source | `~/.claude/metrics/costs.jsonl`, written by ECC's `stop:cost-tracker` hook | The agents' own session logs |- | Agents | Claude Code | Claude Code, Codex, OpenCode |++| Agents | Claude Code | Claude Code, Codex, Gemini CLI, OpenCode |+| Output | Terminal summary, optional CSV | An SVG file committed to the repo |++## The tool this runs++`@tokenchit/cli`, MIT licensed: <https://github.com/iyashjayesh/tokenchit>++**Pinned to an exact version, deliberately.** `@latest` resolves to whatever the registry+currently serves, and this tool reads local session logs — so a compromised future release+would be executed with access to them before anyone had reviewed it. Pin, and raise the pin+knowingly:++```bash- TOKENCHIT_VERSION=0.7.0++TOKENCHIT_VERSION=0.10.0+```++To check the pinned artifact before running it the first time:++```bash- npm view @tokenchit/[email protected] dist.integrity dist.tarball++npm view @tokenchit/[email protected] dist.integrity dist.tarball+```++## Workflow++1. **Ask before the first download.** `npx` fetches the package from the npm registry and+ executes it. That is a remote download of code that will read local logs, so get explicit+ confirmation from the user before the first run on a machine. If they decline, stop here+ and say what would have run.++2. **Configure, unless this is a dry run.** If `.tokenchit.json` is absent, run:++ ```bash- npx -y @tokenchit/[email protected] init++ npx -y @tokenchit/[email protected] init+ ```++ It detects which agents have logs on this machine and records them. The file is meant to+ be committed and never contains a credential.++ **Skip this entirely when the user passed `--dry-run`**, and report that `.tokenchit.json`+ *would* be created. A preview that writes a config file is not a preview.++3. **Render the card:**++ ```bash- npx -y @tokenchit/[email protected] sync [--out PATH] [--theme auto|light|dark] [--dry-run]++ npx -y @tokenchit/[email protected] sync [--out PATH] [--theme auto|light|dark] [--dry-run]+ ```++ `sync` reads local files and sends nothing: no prompts, no code, no file contents leave+ the machine, and it transmits nothing to any server. The npx invocation around it is a+ registry download — that is the network access in this workflow, and step 1 is where it+ is agreed.++4. **Report and offer.** Print the figures it produced — tokens, equivalent cost, streak,+ per-agent split — and the path written. If the repository has a README that does not yet+ reference the card, offer to add:++ ```markdown+ + ```++ Do not edit the README without being asked.++Stop after step 4. Publishing to the public leaderboard is a separate `publish` command that+requires explicit opt-in, and is not part of this workflow — run it only if the user asks for+it by name. `unpublish` removes the row and the account again.++## Output++The path of the SVG, the figures it contains, and the markdown snippet for referencing it.+On a dry run: what would have been written, and nothing on disk changed.++## Notes++- Requires Node.js. Nothing is installed globally; `npx` fetches the pinned version per run.+- Reads token counts and timestamps only.