Analyze the Ark codebase by cloning the repository to a temporary location...
This skill helps you analyze the Ark codebase by cloning the repository and examining its contents.
Use this skill when:
Clone the Ark repository to a temporary location:
git clone git@github.com:mckinsey/agents-at-scale-ark.git /tmp/ark-analysis
cd /tmp/ark-analysis
The Ark repository is organized as follows:
ark/ - Kubernetes operator and default executor (Go)
executors/completions/ - Built-in default execution enginelib/ark-sdk/ - Python SDK (generated + overlay)
BaseExecutor ABC and ExecutorApp for pluggable executor interfaceservices/ - Component services
ark-api/ - REST API gateway (Python/FastAPI)ark-broker/ - In-memory event bus (Node.js/Express)ark-dashboard/ - Web UI (Next.js/React)samples/ - Example YAML configurations
docs/ - Documentation site (Next.js/MDX)
ls ark/internal/controller/
grep -r "Reconcile" ark/internal/controller/
ls ark/config/crd/bases/
grep -r "kind: Agent" samples/
find . -path "*/a2a*" -type f
grep -r "A2AServer" .
# Use ripgrep or grep to search
rg "query controller" --type go
grep -r "team coordination" --include="*.go"
/tmp/ark-analysis to avoid cluttering the workspacecd /tmp/ark-analysis before running analysis commandsrg (ripgrep) or grep for code searchesCLAUDE.md filesrm -rf /tmp/ark-analysisgit clone git@github.com:mckinsey/agents-at-scale-ark.git /tmp/ark-analysis
cd /tmp/ark-analysis
cat ark/internal/controller/query_controller.go
grep -r "ExecuteQuery" ark/internal/genai/
cd /tmp/ark-analysis
find samples/a2a -name "*.py"
cat samples/a2a/simple-agent/src/simple_a2a_server/main.py
cat docs/content/developer-guide/building-a2a-servers.mdx
cd /tmp/ark-analysis
ls ark/api/v1alpha1/
cat ark/api/v1alpha1/agent_types.go