everything-claude-code-harness by aradotso/trending-skills
npx skills add https://github.com/aradotso/trending-skills --skill everything-claude-code-harness由 ara.so 提供的技能 — Daily 2026 技能集。
Everything Claude Code (ECC) 是一个面向 AI 智能体运行环境的生产就绪性能优化系统。它提供专门的子智能体、可复用的技能、自定义斜杠命令、持久化记忆钩子、安全扫描和特定语言规则——所有这些都源自 10 多个月的日常实际使用经验。适用于 Claude Code、Cursor、Codex、OpenCode 和 Antigravity。
# 在 Claude Code 中运行:
/plugin marketplace add affaan-m/everything-claude-code
/plugin install everything-claude-code@everything-claude-code
git clone https://github.com/affaan-m/everything-claude-code.git
cd everything-claude-code
# 为你的语言栈安装规则
./install.sh typescript
# 多语言:
./install.sh typescript python golang swift
# 针对特定 IDE:
./install.sh --target cursor typescript
Claude Code 插件无法自动分发规则——需要通过 ./install.sh 手动安装,或从 rules/ 目录复制到项目的 .claude/rules/ 目录。
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
everything-claude-code/
├── .claude-plugin/ # 插件和市场清单文件
│ ├── plugin.json
│ └── marketplace.json
├── agents/ # 专门的子智能体(规划师、架构师等)
├── commands/ # 斜杠命令(/plan, /security-scan 等)
├── skills/ # 可复用的技能模块
├── hooks/ # 生命周期钩子(SessionStart, Stop, PostEdit 等)
├── rules/
│ ├── common/ # 语言无关的通用规则
│ ├── typescript/
│ ├── python/
│ ├── golang/
│ └── swift/
├── scripts/ # 设置和实用脚本
└── install.sh # 交互式安装程序
安装后,使用带命名空间的形式(插件安装)或简短形式(手动安装):
# 规划与架构
/everything-claude-code:plan "添加 OAuth2 登录流程"
/everything-claude-code:architect "设计一个多租户 SaaS 系统"
# 研究优先的开发
/everything-claude-code:research "Node.js 中速率限制的最佳方法"
# 安全
/everything-claude-code:security-scan
/everything-claude-code:harness-audit
# 智能体循环与编排
/everything-claude-code:loop-start
/everything-claude-code:loop-status
/everything-claude-code:quality-gate
/everything-claude-code:model-route
# 多智能体工作流
/everything-claude-code:multi-plan
/everything-claude-code:multi-execute
/everything-claude-code:multi-backend
/everything-claude-code:multi-frontend
# 会话与记忆
/everything-claude-code:sessions
/everything-claude-code:instinct-import
# PM2 编排
/everything-claude-code:pm2
# 包管理器设置
/everything-claude-code:setup-pm
手动安装时,去掉
everything-claude-code:前缀:使用/plan、/sessions等。
ECC 钩子在智能体生命周期事件时触发。无需编辑文件即可在运行时控制严格程度:
# 设置钩子严格程度配置文件
export ECC_HOOK_PROFILE=minimal # 侵入性最小
export ECC_HOOK_PROFILE=standard # 默认
export ECC_HOOK_PROFILE=strict # 最大强制执行
# 通过 ID 禁用特定钩子(逗号分隔)
export ECC_DISABLED_HOOKS="pre:bash:tmux-reminder,post:edit:typecheck"
涵盖的钩子事件:SessionStart、Stop、PostEdit、PreBash、PostBash 等。
ECC 按以下优先级链自动检测你的包管理器:
CLAUDE_PACKAGE_MANAGER 环境变量.claude/package-manager.json(项目级)package.json → packageManager 字段package-lock.json、yarn.lock、pnpm-lock.yaml、bun.lockb)~/.claude/package-manager.json(全局)# 通过环境变量设置
export CLAUDE_PACKAGE_MANAGER=pnpm
# 全局设置
node scripts/setup-package-manager.js --global pnpm
# 按项目设置
node scripts/setup-package-manager.js --project bun
# 检测当前设置
node scripts/setup-package-manager.js --detect
技能是智能体加载以获取领域专业知识的 Markdown 模块。可以单独或批量安装。
# 在提示中显式引用技能
"在实现之前,使用 search-first 技能来寻找正确的缓存方法"
# 或通过斜杠命令触发
/everything-claude-code:research "API 响应的内容哈希策略"
| 技能 | 用途 |
|---|---|
search-first | 编码前进行研究——避免臆想的 API |
cost-aware-llm-pipeline | 优化跨模型调用的令牌消耗 |
content-hash-cache-pattern | 通过内容哈希进行缓存失效 |
skill-stocktake | 审计哪些技能已加载并处于活动状态 |
frontend-slides | 零依赖的 HTML 演示文稿构建器 |
configure-ecc | 引导式交互 ECC 设置向导 |
swift-actor-persistence | Swift 并发 + 持久化模式 |
regex-vs-llm-structured-text | 决定何时使用正则表达式 vs LLM 解析 |
创建 skills/my-skill.md:
---
name: my-skill
description: 此技能的作用
triggers:
- "激活此技能的短语"
---
# 我的技能
## 何时使用
...
## 模式
\`\`\`typescript
// 具体示例
\`\`\`
## 规则
- 规则一
- 规则二
直觉是从会话中提取的模式,保存以供重用。它们带有置信度分数,并随时间演变。
/everything-claude-code:instinct-import
---
name: prefer-zod-for-validation
confidence: 0.92
extracted_from: session-2026-02-14
---
# 行动
在 TypeScript 项目中始终使用 Zod 进行运行时模式验证。
# 证据
在会话期间捕获了 3 个仅靠 TypeScript 会遗漏的运行时类型错误。
# 示例
\`\`\`typescript
import { z } from 'zod'
const UserSchema = z.object({
id: z.string().uuid(),
email: z.string().email(),
role: z.enum(['admin', 'user'])
})
type User = z.infer<typeof UserSchema>
\`\`\`
规则按语言强制执行编码标准。只安装你的技术栈需要的部分。
# TypeScript + Python
./install.sh typescript python
# 检查已安装内容
ls .claude/rules/
rules/
├── common/ # 适用于所有语言
│ ├── research-first.md
│ ├── security-baseline.md
│ └── verification-loops.md
├── typescript/
│ ├── no-any.md
│ ├── zod-validation.md
│ └── strict-mode.md
├── python/
│ ├── type-hints.md
│ └── django-patterns.md
└── golang/
└── error-wrapping.md
智能体是编排器委派给的专业角色:
# 在你的提示中,显式引用一个智能体
"将架构决策委派给架构师智能体"
"使用规划师智能体将此功能分解为任务"
可用的智能体包括:planner、architect、researcher、verifier、security-auditor 等。每个都位于 agents/<name>.md 中,包含其自己的系统提示、工具列表和约束。
直接从 Claude Code 运行安全扫描:
/everything-claude-code:security-scan
这将调用 AgentShield 扫描器(1282 个测试,102 条规则)对你的代码库进行扫描,并显示:
ECC 钩子自动保存和恢复会话上下文:
// hooks/session-start.js — 在新会话时加载先前的上下文
const fs = require('fs')
const path = require('path')
const memoryPath = path.join(process.env.HOME, '.claude', 'session-memory.json')
if (fs.existsSync(memoryPath)) {
const memory = JSON.parse(fs.readFileSync(memoryPath, 'utf8'))
console.log('已恢复会话上下文:', memory.summary)
}
// hooks/stop.js — 在退出时保存会话摘要
const summary = {
timestamp: new Date().toISOString(),
summary: process.env.ECC_SESSION_SUMMARY || '',
skills_used: (process.env.ECC_SKILLS_USED || '').split(',')
}
fs.writeFileSync(memoryPath, JSON.stringify(summary, null, 2))
| 平台 | 支持情况 |
|---|---|
| Claude Code | 完整(智能体、命令、技能、钩子、规则) |
| Cursor | 完整(通过 --target cursor 安装器标志) |
| OpenCode | 完整(插件系统,20+ 钩子事件类型,3 个原生工具) |
| Codex CLI | 完整(通过 /codex-setup 生成 codex.md) |
| Codex App | 完整(基于 AGENTS.md) |
| Antigravity | 完整(通过 --target antigravity 安装器标志) |
"在实现支付 webhook 处理器之前,使用 search-first 技能来
验证当前 Stripe webhook 验证的最佳实践。"
# 将简单任务路由到更便宜的模型
/everything-claude-code:model-route "为这个纯函数编写单元测试"
# 使用后台进程进行长时间分析
/everything-claude-code:harness-audit
# 为并行智能体任务创建隔离的工作树
git worktree add ../feature-auth -b feature/auth
git worktree add ../feature-payments -b feature/payments
# 每个 Claude Code 会话在其自己的工作树中运行
# 完成后合并
/everything-claude-code:loop-start # 开始跟踪循环
# ... 智能体执行工作 ...
/everything-claude-code:loop-status # 检查进度
/everything-claude-code:quality-gate # 在合并前强制执行通过标准
安装后找不到插件命令
/plugin list everything-claude-code@everything-claude-code
# 如果为空,重新运行:/plugin install everything-claude-code@everything-claude-code
规则未应用
# 规则需要手动安装——插件系统无法分发它们
cd everything-claude-code && ./install.sh typescript
# 验证:
ls ~/.claude/rules/ # 或项目根目录的 .claude/rules/
钩子未触发
# 检查配置文件设置
echo $ECC_HOOK_PROFILE
# 检查禁用列表
echo $ECC_DISABLED_HOOKS
# 重置为默认值
unset ECC_HOOK_PROFILE
unset ECC_DISABLED_HOOKS
直觉导入丢失内容 确保你使用的是 v1.4.1+ 版本。早期版本存在一个 bug,parse_instinct_file() 会静默丢弃 Action/Evidence/Examples 部分。拉取最新版本并重新运行。
使用了错误的包管理器
node scripts/setup-package-manager.js --detect
export CLAUDE_PACKAGE_MANAGER=pnpm # 显式覆盖
ecc-universalecc-agentshield每周安装数
442
代码仓库
GitHub 星标数
10
首次出现
8 天前
安全审计
安装于
amp438
gemini-cli438
codex438
kimi-cli438
cursor438
opencode438
Skill by ara.so — Daily 2026 Skills collection.
Everything Claude Code (ECC) is a production-ready performance optimization system for AI agent harnesses. It provides specialized subagents, reusable skills, custom slash commands, memory-persisting hooks, security scanning, and language-specific rules — all evolved from 10+ months of daily real-world use. Works across Claude Code, Cursor, Codex, OpenCode, and Antigravity.
# Inside Claude Code, run:
/plugin marketplace add affaan-m/everything-claude-code
/plugin install everything-claude-code@everything-claude-code
git clone https://github.com/affaan-m/everything-claude-code.git
cd everything-claude-code
# Install rules for your language stack
./install.sh typescript
# Multiple languages:
./install.sh typescript python golang swift
# Target a specific IDE:
./install.sh --target cursor typescript
Claude Code plugins cannot auto-distribute rules — install them manually via ./install.sh or copy from rules/ into your project's .claude/rules/ directory.
everything-claude-code/
├── .claude-plugin/ # Plugin and marketplace manifests
│ ├── plugin.json
│ └── marketplace.json
├── agents/ # Specialized subagents (planner, architect, etc.)
├── commands/ # Slash commands (/plan, /security-scan, etc.)
├── skills/ # Reusable skill modules
├── hooks/ # Lifecycle hooks (SessionStart, Stop, PostEdit, etc.)
├── rules/
│ ├── common/ # Language-agnostic rules
│ ├── typescript/
│ ├── python/
│ ├── golang/
│ └── swift/
├── scripts/ # Setup and utility scripts
└── install.sh # Interactive installer
After installation, use the namespaced form (plugin install) or short form (manual install):
# Planning & architecture
/everything-claude-code:plan "Add OAuth2 login flow"
/everything-claude-code:architect "Design a multi-tenant SaaS system"
# Research-first development
/everything-claude-code:research "Best approach for rate limiting in Node.js"
# Security
/everything-claude-code:security-scan
/everything-claude-code:harness-audit
# Agent loops and orchestration
/everything-claude-code:loop-start
/everything-claude-code:loop-status
/everything-claude-code:quality-gate
/everything-claude-code:model-route
# Multi-agent workflows
/everything-claude-code:multi-plan
/everything-claude-code:multi-execute
/everything-claude-code:multi-backend
/everything-claude-code:multi-frontend
# Session and memory
/everything-claude-code:sessions
/everything-claude-code:instinct-import
# PM2 orchestration
/everything-claude-code:pm2
# Package manager setup
/everything-claude-code:setup-pm
With manual install, drop the
everything-claude-code:prefix:/plan,/sessions, etc.
ECC hooks fire at agent lifecycle events. Control strictness at runtime without editing files:
# Set hook strictness profile
export ECC_HOOK_PROFILE=minimal # Least intrusive
export ECC_HOOK_PROFILE=standard # Default
export ECC_HOOK_PROFILE=strict # Maximum enforcement
# Disable specific hooks by ID (comma-separated)
export ECC_DISABLED_HOOKS="pre:bash:tmux-reminder,post:edit:typecheck"
Hook events covered: SessionStart, Stop, PostEdit, PreBash, PostBash, and more.
ECC auto-detects your package manager with this priority chain:
CLAUDE_PACKAGE_MANAGER environment variable.claude/package-manager.json (project-level)package.json → packageManager fieldpackage-lock.json, yarn.lock, pnpm-lock.yaml, bun.lockb)~/.claude/package-manager.json (global)# Set via environment
export CLAUDE_PACKAGE_MANAGER=pnpm
# Set globally
node scripts/setup-package-manager.js --global pnpm
# Set per-project
node scripts/setup-package-manager.js --project bun
# Detect current setting
node scripts/setup-package-manager.js --detect
Skills are markdown modules the agent loads to gain domain expertise. Install individually or in bulk.
# Reference a skill explicitly in your prompt
"Use the search-first skill to find the right caching approach before implementing"
# Or trigger via slash command
/everything-claude-code:research "content hashing strategies for API responses"
| Skill | Purpose |
|---|---|
search-first | Research before coding — avoids hallucinated APIs |
cost-aware-llm-pipeline | Optimizes token spend across model calls |
content-hash-cache-pattern | Cache invalidation via content hashing |
skill-stocktake | Audits which skills are loaded and active |
frontend-slides | Zero-dependency HTML presentation builder |
configure-ecc |
Create skills/my-skill.md:
---
name: my-skill
description: What this skill does
triggers:
- "phrase that activates this skill"
---
# My Skill
## When to Use
...
## Pattern
\`\`\`typescript
// concrete example
\`\`\`
## Rules
- Rule one
- Rule two
Instincts are session-extracted patterns saved for reuse. They carry confidence scores and evolve over time.
/everything-claude-code:instinct-import
---
name: prefer-zod-for-validation
confidence: 0.92
extracted_from: session-2026-02-14
---
# Action
Always use Zod for runtime schema validation in TypeScript projects.
# Evidence
Caught 3 runtime type errors that TypeScript alone missed during session.
# Examples
\`\`\`typescript
import { z } from 'zod'
const UserSchema = z.object({
id: z.string().uuid(),
email: z.string().email(),
role: z.enum(['admin', 'user'])
})
type User = z.infer<typeof UserSchema>
\`\`\`
Rules enforce coding standards per language. Install only what your stack needs.
# TypeScript + Python
./install.sh typescript python
# Check what's installed
ls .claude/rules/
rules/
├── common/ # Applies to all languages
│ ├── research-first.md
│ ├── security-baseline.md
│ └── verification-loops.md
├── typescript/
│ ├── no-any.md
│ ├── zod-validation.md
│ └── strict-mode.md
├── python/
│ ├── type-hints.md
│ └── django-patterns.md
└── golang/
└── error-wrapping.md
Agents are specialized personas the orchestrator delegates to:
# In your prompt, reference an agent explicitly
"Delegate architecture decisions to the architect agent"
"Use the planner agent to break this feature into tasks"
Available agents include: planner, architect, researcher, verifier, security-auditor, and more. Each lives in agents/<name>.md with its own system prompt, tools list, and constraints.
Run security scans directly from Claude Code:
/everything-claude-code:security-scan
This invokes the AgentShield scanner (1282 tests, 102 rules) against your codebase and surfaces:
ECC hooks automatically save and restore session context:
// hooks/session-start.js — loads prior context on new session
const fs = require('fs')
const path = require('path')
const memoryPath = path.join(process.env.HOME, '.claude', 'session-memory.json')
if (fs.existsSync(memoryPath)) {
const memory = JSON.parse(fs.readFileSync(memoryPath, 'utf8'))
console.log('Restored session context:', memory.summary)
}
// hooks/stop.js — saves session summary on exit
const summary = {
timestamp: new Date().toISOString(),
summary: process.env.ECC_SESSION_SUMMARY || '',
skills_used: (process.env.ECC_SKILLS_USED || '').split(',')
}
fs.writeFileSync(memoryPath, JSON.stringify(summary, null, 2))
| Platform | Support |
|---|---|
| Claude Code | Full (agents, commands, skills, hooks, rules) |
| Cursor | Full (via --target cursor installer flag) |
| OpenCode | Full (plugin system, 20+ hook event types, 3 native tools) |
| Codex CLI | Full (codex.md generated via /codex-setup) |
| Codex App | Full (AGENTS.md-based) |
| Antigravity | Full (via --target antigravity installer flag) |
"Before implementing the payment webhook handler, use the search-first skill to
verify current Stripe webhook verification best practices."
# Route to cheaper model for simple tasks
/everything-claude-code:model-route "Write a unit test for this pure function"
# Use background processes for long analysis
/everything-claude-code:harness-audit
# Create isolated worktrees for parallel agent tasks
git worktree add ../feature-auth -b feature/auth
git worktree add ../feature-payments -b feature/payments
# Each Claude Code session operates in its own worktree
# Merge when both complete
/everything-claude-code:loop-start # Begin tracked loop
# ... agent does work ...
/everything-claude-code:loop-status # Check progress
/everything-claude-code:quality-gate # Enforce pass criteria before merge
Plugin commands not found after install
/plugin list everything-claude-code@everything-claude-code
# If empty, re-run: /plugin install everything-claude-code@everything-claude-code
Rules not applied
# Rules require manual install — plugin system cannot distribute them
cd everything-claude-code && ./install.sh typescript
# Verify:
ls ~/.claude/rules/ # or .claude/rules/ in project root
Hooks not firing
# Check profile setting
echo $ECC_HOOK_PROFILE
# Check disabled list
echo $ECC_DISABLED_HOOKS
# Reset to defaults
unset ECC_HOOK_PROFILE
unset ECC_DISABLED_HOOKS
Instinct import drops content Ensure you're on v1.4.1+. Earlier versions had a bug where parse_instinct_file() silently dropped Action/Evidence/Examples sections. Pull latest and re-run.
Wrong package manager used
node scripts/setup-package-manager.js --detect
export CLAUDE_PACKAGE_MANAGER=pnpm # Override explicitly
ecc-universalecc-agentshieldWeekly Installs
442
Repository
GitHub Stars
10
First Seen
8 days ago
Security Audits
Gen Agent Trust HubWarnSocketPassSnykWarn
Installed on
amp438
gemini-cli438
codex438
kimi-cli438
cursor438
opencode438
React 组合模式指南:Vercel 组件架构最佳实践,提升代码可维护性
106,200 周安装
| Guided interactive ECC setup wizard |
swift-actor-persistence | Swift concurrency + persistence patterns |
regex-vs-llm-structured-text | Decides when to use regex vs LLM parsing |