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.5 | $0.00000 | $0.00476 |
| Sonnet 5.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 2mo 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.
- 2mo 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 (434 stars, last pushed yesterday), 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.
ark-create-crd compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ark-create-crdmckinsey/agents-at-scale-ark | Command | 434 | yesterday | Apache-2.0 | A | 0 | Claude Code |
| flow-nexus-app-storeruvnet/ruflo | Command | 81k | yesterday | MIT | A | 13 | Claude Code |
| migrate-architectureTheLobbi/claude | Command | 21 | 7d ago | MIT | A | 0 | Claude Code |
| cccs-guidanceGRCEngClub/claude-grc-engineering | Command | 430 | 5d ago | none | A | 9 | Claude Code |
| abp-background-workersmss123/ABP-ai-skills | Command | 6 | 6d ago | GPL-3.0 | A | 0 | Claude Code |
| ts-live-statusvedanta/the-system | Command | 9 | 8mo ago | LGPL-3.0 | A | 0 | Claude Code |
| ts-deployvedanta/the-system | Command | 9 | 8mo ago | LGPL-3.0 | A | 0 | Claude Code |