Summary:\n- updated README and CLAUDE docs for unified marketplace structure\n- documented shared MCP server tools and ethics kernel\n- added updated repo tree covering claude, codex, google, and mcp
3.2 KiB
CLAUDE.md
This file guides Claude Code when working inside the Host UK core-agent repository.
Overview
core-agent is a unified marketplace hosting Claude and Codex plugin suites plus the Gemini CLI extension. A shared MCP server powers marketplace discovery and ethics checks across tools.
Marketplace
Install everything via the unified marketplace:
claude plugin add host-uk/core-agent
Install a specific Claude plugin:
claude plugin add host-uk/core-agent/claude/code
The marketplace manifest lives at core-agent/.claude-plugin/marketplace.json.
Shared MCP Server
The vendor-neutral MCP server is registered in core-agent/.mcp.json and runs via stdio:
go run ./mcp/
Tools exposed:
marketplace_list— returns the full marketplace registry as structured datamarketplace_plugin_info— returns plugin metadata, commands, and skills by namecore_cli— runs approvedcoreCLI commands (dev,go,php,buildonly)ethics_check— returns the ethics modal and axioms kernel
Ethics Kernel
The Axioms of Life ethics kernel is first-class and lives at:
core-agent/codex/ethics/MODAL.mdcore-agent/codex/ethics/kernel/axioms.json
Repository Structure
core-agent/
├── .claude-plugin/ # Unified marketplace manifest
├── .mcp.json # MCP server registry
├── claude/ # Claude plugin suite
├── codex/ # Codex plugin suite + ethics kernel
├── google/ # Gemini CLI extension
├── mcp/ # Shared MCP stdio server
├── CLAUDE.md
└── README.md
Plugin Suites
Claude plugins:
claude/apiclaude/ciclaude/codeclaude/collectclaude/coolifyclaude/coreclaude/issueclaude/perfclaude/qaclaude/reviewclaude/verify
Codex plugins:
codex/awarenesscodex/ethicscodex/guardrailscodex/apicodex/cicodex/codecodex/collectcodex/coolifycodex/corecodex/issuecodex/perfcodex/qacodex/reviewcodex/verify
Gemini extension:
google/gemini-cli
Core CLI Philosophy
Always use core CLI instead of raw commands. The core binary handles the full E2E development lifecycle for Go and PHP ecosystems.
Command Mappings
| Instead of... | Use... |
|---|---|
go test |
core go test |
go build |
core build |
go fmt |
core go fmt |
golangci-lint |
core go lint |
composer test |
core php test |
./vendor/bin/pint |
core php fmt |
./vendor/bin/phpstan |
core php stan |
Development
Adding a new Claude plugin:
- Create
claude/<name>/.claude-plugin/plugin.json - Add commands to
claude/<name>/commands/ - Register in
.claude-plugin/marketplace.json
Adding a new Codex plugin:
- Create
codex/<name>/.codex-plugin/plugin.json - Add commands to
codex/<name>/commands/ - Register in
.claude-plugin/marketplace.json
Coding Standards
- UK English: colour, organisation, centre
- Shell scripts: use
#!/bin/bash, read JSON withjq - Hook output: JSON with
decision(approve/block) and optionalmessage - License: EUPL-1.2 CIC