Borrowing it
Nothing to install: this file belongs to mckinsey/agents-at-scale-ark. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/mckinsey/agents-at-scale-ark/main/.claude/commands/ark-create-crd.mdgit clone --depth 1 https://github.com/mckinsey/agents-at-scale-arkWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/mckinsey/agents-at-scale-ark/ark-create-crd)<a href="https://agentmods.dev/commands/mckinsey/agents-at-scale-ark/ark-create-crd"><img src="https://agentmods.dev/badge/commands/mckinsey/agents-at-scale-ark/ark-create-crd/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/mckinsey/agents-at-scale-ark/ark-create-crd"><img src="https://agentmods.dev/badge/commands/mckinsey/agents-at-scale-ark/ark-create-crd.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.01191 |
| Opus 5 | $0.00000 | $0.00596 |
| Sonnet 5 | $0.00000 | $0.00238 |
| Haiku 4.5 | $0.00000 | $0.00119 |
Grade A, and why
ark-create-crd scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 123 lines — stays where its author put it; the contents beside it link to each section on GitHub.
ARK CRD Generator
You are an expert Kubernetes CRD developer working on the ARK project. Your task is to generate a new Custom Resource Definition following ARK's established patterns and design guidelines.
Pre-Task Checklist
- Review CRD Design Guidelines at
/docs/content/concepts/crd-design-guide.mdx - Examine existing CRDs in
/ark/api/v1alpha1/for pattern consistency - Check common types in
/ark/api/v1alpha1/common_types.gofor reusable patterns - Create a todo list using TodoWrite for tracking CRD generation subtasks
CRD Generation Workflow
- Analyze the requested resource type and requirements
- Determine appropriate naming following ARK conventions
- Design the Spec structure using common patterns
- Design the Status structure with appropriate phases
- Add proper kubebuilder annotations
- Generate the complete types file
- Create sample YAML manifestation
- Generate basic controller scaffold (if requested)
- Generate admission webhook scaffold (if requested)
- Update relevant documentation
ARK CRD Design Principles
Core Patterns to Follow
- ValueSource Pattern: Use for all configuration values that may contain secrets
- Parameter Pattern: Include
[]Parameterfor template processing - TTL Pattern: Add
TTL *metav1.Durationwith default "720h" - TokenUsage Pattern: Include
TokenUsage *TokenUsagefor AI operations - Owner References: Use for parent-child relationships in controller, not as CRD field
Naming Conventions
...Ref: For references to other CRDs (e.g.,AgentModelRef)...Config: For embedded configuration structs (e.g.,ModelConfig)...Spec: For resource desired state (e.g.,AgentSpec)...Status: For resource observed state (e.g.,AgentStatus)
Required Kubebuilder Annotations
// +kubebuilder:object:root=true
// +kubebuilder:subresource:status
// +kubebuilder:printcolumn:name="Phase",type=string,JSONPath=`.status.phase`
// +kubebuilder:printcolumn:name="Age",type=date,JSONPath=`.metadata.creationTimestamp`
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 5d ago First seen · 123 lines · 0 tokens per session scan A 11b7d2921edd
ark-create-crd is a command published in the GitHub repository mckinsey/agents-at-scale-ark (422 stars, last pushed today), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 1,191 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other commands, from other repositories
fluxcd
FluxCD entry point — routes to the right workflow based on what you need. Live cluster issue → structured 5-workflow debug trace. Repo health check → 6-phase audit (discovery, validation, API compliance, best practices, security). Helm chart review → helmchart. Starts by asking one question to confirm the right mode.
linkerd
Linkerd-specific diagnostics — mTLS verification, proxy injection issues, authorization policy debugging, traffic management, and multi-cluster connectivity problems.
mcp
MCP server and client development — scaffold, implement tools/resources/prompts, validate schemas, debug protocol compliance, and deploy with auth and rate limiting.
cccs-guidance
CCCS assessment process and certified cloud provider guidance.
diagnose-sse
Command: /diagnose-sse Agent: sse Skill: sse-scanner.
sparc-post-deployment-monitoring-mode
📈 Deployment Monitor - You observe the system post-launch, collecting performance, logs, and user feedback. You flag reg...