OpenWriterControle/plugins
Darren Hinde 9e5e70a12d
fix(plugin): fix hooks and add missing skills for reliable skill invocation (#227)
* fix: overhaul Claude Code plugin for correctness and spec compliance

- Fix critical bugs: coder-agent name (CoderAgent→coder-agent), manifest
  path in session-start.sh, /oac:setup ghost command replaced with /install-context
- Fix hooks.json: add timeout/async, add description, restore matcher
- Fix session-start.sh: dual-format output (Claude Code + Cursor/OpenCode),
  remove invalid JSON escapes for $ and backtick
- Fix agent spec compliance: disallowedTools on read-only agents, WebFetch
  on external-scout, haiku model on context-scout, example blocks on 3 agents
- Fix skill descriptions: triggering conditions only (no workflow summaries)
  per superpowers empirical testing — prevents Claude shortcutting skill content
- Add Red Flags + Rationalization tables to 4 discipline skills
- Add install-context skill + command replacing oac-setup/oac-plan/oac-add-context
- Add cleanup-tmp.sh (was missing, broke /oac:cleanup)
- Add TypeScript installer (install-context.ts/js) with profile-based download
- Update plugin.json: keywords, homepage for marketplace discoverability
- Update README: correct skill count, fix structure diagram, remove stale refs
- Remove obsolete files: FIRST-TIME-SETUP.md, INSTALL.md, QUICK-START.md,
  download-context.sh, verify-context.sh, load-config.sh, context-manager skill,
  oac-setup/oac-plan/oac-add-context commands

* add TypeScript and OpenCode context standards files

Adds three new context files covering universal TypeScript patterns,
OpenCode-specific patterns (fn() wrapper, namespaces, Instance.state()),
and context-system-specific TypeScript coding standards.

* fix(plugin): fix hooks and add missing skills for reliable skill invocation

- Rewrite using-oac skill with always-on skill-check rule (was conditional on dev task detection)
- Update session-start.sh to dynamically inject full skill catalogue at session start
- Add brainstorming skill: intercepts creative/build work before any implementation
- Add systematic-debugging skill: 4-phase root cause process before any fix
- Add verification-before-completion skill: evidence-before-claims gate
- Add /brainstorm and /debug slash commands as pure skill shortcuts
- Fix oac-help to use disable-model-invocation:true (pure shortcut, not self-rendering)
- Fix oac-status to be simpler bash-based status check
2026-02-19 21:12:20 +00:00
..
claude-code fix(plugin): fix hooks and add missing skills for reliable skill invocation (#227) 2026-02-19 21:12:20 +00:00
README.md feat: Add Claude Code Plugin (BETA) (#219) 2026-02-16 10:51:41 +00:00

OpenAgents Control - IDE Plugins

This directory contains IDE-specific plugin implementations for OpenAgents Control.

Structure

plugins/
└── claude-code/          # Claude Code plugin
    ├── .claude-plugin/   # Plugin manifest
    ├── skills/           # Claude-specific skills
    ├── agents/           # Claude-specific agents
    ├── hooks/            # Event-driven automation
    ├── commands/         # Custom slash commands
    ├── context/          # Symlink to .opencode/context/
    └── README.md         # Plugin documentation

Available Plugins

Claude Code (claude-code/)

Plugin Name: oac

Installation:

# From GitHub marketplace
/plugin marketplace add darrenhinde/OpenAgentsControl
/plugin install oac

# Local testing
claude --plugin-dir ./plugins/claude-code

Features:

  • Intelligent code review with security analysis
  • TDD test generation
  • Automated documentation
  • Smart task breakdown
  • Context-aware agents

Documentation: See claude-code/README.md

Future Plugins

  • Cursor - Planned
  • Windsurf - Planned
  • VS Code - Planned

Development

Each plugin is self-contained and can be developed/tested independently.

Adding a New Plugin

  1. Create plugin directory: plugins/your-ide/
  2. Add plugin manifest (IDE-specific format)
  3. Symlink to shared context: ln -s ../../.opencode/context context
  4. Add skills/agents/commands
  5. Update .claude-plugin/marketplace.json if applicable
  6. Document in plugin's README.md

Last Updated: 2026-02-16