OpenWriterControle/plugins/claude-code/commands/oac-status.md
Darren Hinde f84f32b7b3
fix: overhaul Claude Code plugin for correctness and spec compliance (#225)
- 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
2026-02-19 20:16:17 +00:00

110 lines
3.6 KiB
Markdown

---
name: oac:status
description: Show OpenAgents Control plugin installation status and context
---
# OpenAgents Control Status
## Plugin Information
**Plugin**: OpenAgents Control (OAC)
**Version**: !`jq -r '.version' ${CLAUDE_PLUGIN_ROOT}/.claude-plugin/plugin.json 2>/dev/null || cat ${CLAUDE_PLUGIN_ROOT}/.claude-plugin/plugin.json | grep '"version"' | sed 's/.*: "\(.*\)".*/\1/'`
**Repository**: https://github.com/darrenhinde/OpenAgentsControl
---
## Context Installation Status
!`PLUGIN_CONTEXT="${CLAUDE_PLUGIN_ROOT}/context"
MANIFEST="${CLAUDE_PLUGIN_ROOT}/.context-manifest.json"
if [ -f "$MANIFEST" ]; then
echo "✅ **Context Installed**"
echo ""
echo "### Manifest Details"
cat "$MANIFEST" | sed 's/^/ /'
echo ""
echo "### Installed Context Files"
if [ -d "$PLUGIN_CONTEXT" ]; then
echo ""
echo "**Core Context**:"
find "$PLUGIN_CONTEXT/core" -type f -name "*.md" 2>/dev/null | wc -l | xargs -I {} echo " - {} files"
echo ""
echo "**Categories**:"
find "$PLUGIN_CONTEXT" -type d -mindepth 1 -maxdepth 1 2>/dev/null | xargs -I {} basename {} | sed 's/^/ - /'
fi
else
echo "❌ **Context Not Installed**"
echo ""
echo "Run \`/install-context\` to download context files from GitHub."
fi`
---
## Active Sessions
!`if [ -d ".tmp/sessions" ]; then
SESSION_COUNT=$(find .tmp/sessions -maxdepth 1 -type d ! -path .tmp/sessions | wc -l | tr -d ' ')
if [ "$SESSION_COUNT" -gt 0 ]; then
echo "**Active Sessions**: $SESSION_COUNT"
echo ""
find .tmp/sessions -maxdepth 1 -type d ! -path .tmp/sessions -exec basename {} \; | sed 's/^/ - /'
else
echo "**Active Sessions**: None"
fi
else
echo "**Active Sessions**: None"
fi`
---
## Available Components
### Custom Subagents
- `task-manager` - Break down complex features into atomic subtasks
- `context-scout` - Discover relevant context files for tasks
- `coder-agent` - Execute coding subtasks with context awareness
- `test-engineer` - Generate comprehensive test suites
- `code-reviewer` - Review code for quality and standards
### Skills
- `/using-oac` - Main 6-stage workflow orchestrator
- `/context-discovery` - Guide context discovery process
- `/task-breakdown` - Guide task breakdown process
- `/code-execution` - Guide code execution process
- `/test-generation` - Guide test generation process
- `/code-review` - Guide code review process
### Commands
- `/install-context` - Download context files from GitHub
- `/oac:help` - Show usage guide and available skills
- `/oac:status` - Show this status information
- `/oac:cleanup` - Clean up old temporary files
---
## Recommendations
!`if [ ! -f "${CLAUDE_PLUGIN_ROOT}/.context-manifest.json" ]; then
echo "⚠️ **Action Required**: Run \`/install-context\` to install context files"
elif [ -d ".tmp/sessions" ]; then
SESSION_COUNT=$(find .tmp/sessions -maxdepth 1 -type d ! -path .tmp/sessions | wc -l | tr -d ' ')
if [ "$SESSION_COUNT" -gt 5 ]; then
echo "💡 **Cleanup Suggested**: You have $SESSION_COUNT active sessions. Consider cleaning up old sessions in \`.tmp/sessions/\`"
else
echo "✅ **All Good**: Plugin is properly configured and ready to use"
fi
else
echo "✅ **All Good**: Plugin is properly configured and ready to use"
fi`
---
## Quick Start
To start using OpenAgents Control:
1. **Ensure context is installed**: Run `/install-context` if not already done
2. **Invoke the main workflow**: Use `/using-oac` or let Claude auto-invoke it
3. **Get help**: Run `/oac:help` for detailed usage guide
For more information, see the [README](../README.md) or visit the [repository](https://github.com/darrenhinde/OpenAgentsControl).