name: oac:setup description: Download OpenAgents Control context files from GitHub repository argument-hint: "[--core|--all|--category=]"
Download context files from the OpenAgents Control repository to enable context-aware development.
!${CLAUDE_PLUGIN_ROOT}/scripts/download-context.sh $ARGUMENTS
The setup script has downloaded context files to .opencode/context/ in your project directory.
--core - Download only core context files (standards, workflows, patterns)--all - Download all context files including examples and guides--category=<name> - Download specific category (e.g., --category=standards)The context files have been validated and a manifest has been created at:
plugins/claude-code/.context-manifest.json
You can customize OAC behavior by creating a .oac configuration file in your project root or ~/.oac for global settings.
Copy the example config:
cp ${CLAUDE_PLUGIN_ROOT}/.oac.example .oac
Context Settings:
context.auto_download - Auto-download context on first use (default: false)context.categories - Default categories to download (default: core,openagents-repo)context.update_check - Check for context updates (default: true)context.cache_days - Days to cache external context (default: 7)Cleanup Settings:
cleanup.auto_prompt - Prompt for cleanup on session start (default: true)cleanup.session_days - Days before suggesting session cleanup (default: 7)cleanup.task_days - Days before suggesting task cleanup (default: 30)cleanup.external_days - Days before suggesting external context cleanup (default: 7)Workflow Settings:
workflow.auto_approve - Skip approval gates - DANGEROUS (default: false)workflow.verbose - Show detailed workflow steps (default: false)External Scout Settings:
external_scout.enabled - Enable external documentation fetching (default: true)external_scout.cache_enabled - Cache fetched documentation (default: true)external_scout.sources - Documentation sources to use (default: context7)Configuration is automatically loaded on session start. To manually load:
bash ${CLAUDE_PLUGIN_ROOT}/scripts/load-config.sh
.oac.example to .oac and customize settings/oac:help to see what OAC can do/using-oac to begin context-aware development/oac:status to verify installationIf the download fails:
--core first for minimal setupIf automatic download doesn't work, you can manually clone the context:
git clone --depth 1 --filter=blob:none --sparse \
https://github.com/darrenhinde/OpenAgentsControl.git temp-oac
cd temp-oac
git sparse-checkout set .opencode/context
cp -r .opencode/context /path/to/your/project/.opencode/
cd ..
rm -rf temp-oac
Note: Context files are cached locally. Re-run this command to update to the latest version.