feat: add opencode ECC bundle

EC
4mo ago
+1549-0

Summary

Auto-generated ECC bundle from repository analysis.

What This Does

Merging this PR adds repo-local ECC artifacts for both Claude Code and Codex. The generated bundle captures repository patterns, Codex baseline config, and reusable workflow scaffolds derived from git history analysis.

Analysis Scope

  • Commit history patterns and conventions
  • Code architecture and structure
  • Testing patterns and coverage
  • Recurring workflows

Files

PathDescription
.claude/ecc-tools.jsonECC install manifest used for upgrades, repair, and uninstall.
.claude/skills/opencode/SKILL.mdRepository-specific Claude Code skill generated from git history.
.agents/skills/opencode/SKILL.mdCodex-facing copy of the generated repository skill.
.agents/skills/opencode/agents/openai.yamlCodex skill metadata so the repo skill appears cleanly in the skill interface.
.claude/identity.jsonSuggested identity.json baseline derived from repository conventions.
.codex/config.tomlRepo-local Codex MCP and multi-agent baseline aligned with ECC defaults.
.codex/AGENTS.mdCodex usage guide that points at the generated repo skill and workflow bundle.
.codex/agents/explorer.tomlRead-only explorer role config for Codex multi-agent work.
.codex/agents/reviewer.tomlRead-only reviewer role config focused on correctness and security.
.codex/agents/docs-researcher.tomlRead-only docs researcher role config for API verification.
.claude/homunculus/instincts/inherited/opencode-instincts.yamlContinuous-learning instincts derived from repository patterns.
.claude/commands/feature-development.mdWorkflow command scaffold for feature-development.
.claude/commands/refactoring.mdWorkflow command scaffold for refactoring.
.claude/commands/test-suite-addition-or-update.mdWorkflow command scaffold for test-suite-addition-or-update.
Optional: Continuous Learning (33 instincts)

This PR also includes instincts for the continuous-learning-v2 skill. These are optional and only useful if you use that skill.

Import after merging:

/instinct-import .claude/homunculus/instincts/inherited/opencode-instincts.yaml

Review Checklist

  • Verify detected patterns are accurate
  • Confirm generated config, commands, and skill metadata match the repo’s real workflow
  • Check best practices align with team standards before merging

ECC Tools | Everything Claude Code


Summary by cubic

Add a repo-local ECC bundle to standardize Claude Code and Codex workflows in opencode. This adds skills, workflow commands, multi-agent configs, and an identity baseline to make changes repeatable and easier to review.

  • New Features

    • Repo skills for Claude Code and Codex that capture opencode patterns and workflows.
    • Workflow commands: feature-development, refactoring, and test-suite-addition-or-update.
    • Codex baseline with MCP servers (e.g., @modelcontextprotocol/server-github, @playwright/mcp) and multi-agent roles (explorer, reviewer, docs researcher).
    • ECC manifest for management (.claude/ecc-tools.json) and optional continuous-learning instincts.
  • Migration

    • No runtime changes; merge-safe.
    • Use the new commands from Claude Code or Codex; Codex reads .codex/config.toml by default.
    • Optional: import instincts with /instinct-import .claude/homunculus/instincts/inherited/opencode-instincts.yaml.