feat(omo): retire opencode and move its skills and commands to omo

- Move the vendored skills from .config/opencode/skills to
  .config/omo/skills, with provenance and local changes in its README
- Rewrite Impeccable's script paths to ~/.omo/agent/skills/impeccable so
  its detector and live-server verbs resolve under omo
- frontend-workflow hands screenshots to a visual-engineering task
  instead of opencode run
- Move the notes commands and /impeccable to .config/omo/prompts as omo
  prompt templates; setup-mcp stays behind because it writes
  opencode.json
- Archive DEVELOPMENT-WORKFLOW.md and UI-WORKFLOW.md under
  .config/omo/archive; nothing loads them
- link-ai-configs.sh links the skills into omo and Claude Code only and
  stops linking OpenCode's config, TUI, plugins and workflow docs
- setup-mac.sh and Brewfile.apps stop installing OpenCode; README and
  .withcontextconfig.jsonc follow the new layout

~/.config/opencode/AGENTS.md stays linked: omo's rules engine reads it
before ~/.claude/CLAUDE.md and stops at the first hit, so it carries the
shared preferences and keeps OMC's instructions out of omo.
This commit is contained in:
David Ibia
2026-10-10 14:56:27 +01:00
parent 12f283e7c9
commit ea570af409
150 changed files with 165 additions and 161 deletions
+18 -28
View File
@@ -31,16 +31,6 @@ sources=(
.config/claude/omc.json
.config/claude/CLAUDE.md
.config/claude/settings.json
.config/opencode/opencode.json
.config/opencode/tui.json
.config/opencode/plugin/strip-omc-mcp.ts
.config/opencode/plugin/strip-claude-only-commands.ts
.config/opencode/plugin/lib/claude-only-command-registry.ts
.config/opencode/UI-WORKFLOW.md
.config/opencode/DEVELOPMENT-WORKFLOW.md
.config/opencode/skills/frontend-workflow
.config/opencode/skills/impeccable
.config/opencode/skills/web-design-guidelines
)
targets=(
.config/ai/AGENTS.md
@@ -49,26 +39,26 @@ targets=(
.claude/.omc-config.json
.claude/CLAUDE.md
.claude/settings.json
.config/opencode/opencode.json
.config/opencode/tui.json
.config/opencode/plugin/strip-omc-mcp.ts
.config/opencode/plugin/strip-claude-only-commands.ts
.config/opencode/plugin/lib/claude-only-command-registry.ts
.config/opencode/UI-WORKFLOW.md
.config/opencode/DEVELOPMENT-WORKFLOW.md
.config/opencode/skills/frontend-workflow
.config/opencode/skills/impeccable
.config/opencode/skills/web-design-guidelines
)
# Marketing and copy skills vendored from coreyhaines31/marketingskills (see
# .config/opencode/README.md), linked for OpenCode, Claude Code and OMO.
marketing_skills=(product-marketing copywriting copy-editing emails cold-email content-strategy seo-audit ai-seo launch social)
for skill in "${marketing_skills[@]}"; do
for target_dir in .config/opencode/skills .claude/skills .omo/agent/skills; do
sources+=(".config/opencode/skills/$skill")
targets+=("$target_dir/$skill")
done
# ~/.config/opencode/AGENTS.md above is OmO's global-rules path, not an OpenCode
# file. OmO's rules engine reads it before ~/.claude/CLAUDE.md and stops at the
# first hit, so this link both supplies the shared preferences and keeps Claude
# Code's OMC orchestration text out of OmO. Keep it after OpenCode is gone.
# Skills vendored from upstream repos; provenance, verification and upgrade
# steps are in .config/omo/skills/README.md. frontend-workflow is the OmO
# delegation process skill and is not linked into Claude Code; the rest are
# shared by both harnesses.
omo_skills=(frontend-workflow impeccable web-design-guidelines product-marketing copywriting copy-editing emails cold-email content-strategy seo-audit ai-seo launch social)
claude_skills=(impeccable web-design-guidelines product-marketing copywriting copy-editing emails cold-email content-strategy seo-audit ai-seo launch social)
for skill in "${omo_skills[@]}"; do
sources+=(".config/omo/skills/$skill")
targets+=(".omo/agent/skills/$skill")
done
for skill in "${claude_skills[@]}"; do
sources+=(".config/omo/skills/$skill")
targets+=(".claude/skills/$skill")
done
# Preflight the entire manifest before changing any live file.