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/skills/chainsaw/SKILL.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/skills/mckinsey/agents-at-scale-ark/chainsaw)<a href="https://agentmods.dev/skills/mckinsey/agents-at-scale-ark/chainsaw"><img src="https://agentmods.dev/badge/skills/mckinsey/agents-at-scale-ark/chainsaw/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/skills/mckinsey/agents-at-scale-ark/chainsaw"><img src="https://agentmods.dev/badge/skills/mckinsey/agents-at-scale-ark/chainsaw.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00035 | $0.01132 |
| Opus 5.5 | $0.00014 | $0.00453 |
| Sonnet 5.5 | $0.00007 | $0.00226 |
| Haiku 4.5 | $0.00003 | $0.00113 |
Grade A, and why
ark-chainsaw-testing 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 — 162 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Ark Chainsaw Testing
Run and write Chainsaw e2e tests for Ark resources.
Running Tests
# Run all standard tests
(cd tests && chainsaw test --selector 'standard')
# Run specific test
chainsaw test ./tests/query-parameter-ref --fail-fast
# Debug mode - keep resources on failure
chainsaw test ./tests/query-parameter-ref --skip-delete --pause-on-failure
Writing Tests
Reference tests/CLAUDE.md for comprehensive patterns.
For a complete working example that shows the correct patterns for writing tests, see examples.md.
Test Structure
tests/my-test/
├── chainsaw-test.yaml # Test definition
├── mock-llm-values.yaml # Mock LLM config (if needed)
├── README.md # Required documentation
└── manifests/
├── a03-model.yaml # Model before Agent
├── a04-agent.yaml # Agent before Query
└── a05-query.yaml # Query last
Antipatterns
kubectl wait for CRD conditions
Never use kubectl wait --for=condition=Established to check CRD readiness. This command crashes with a type error when .status.conditions is nil (a known kubectl bug: kubernetes/kubernetes#66439):
error: .status.conditions accessor error: <nil> is of the type <nil>, expected []interface{}
Use a chainsaw assert with JMESPath instead — it polls gracefully and waits for the field to appear:
# Bad - crashes if .status.conditions is nil
- script:
content: |
kubectl apply -f my-crd.yaml
kubectl wait --for=condition=Established crd/my-crd.example.com --timeout=60s
# Good - polls until condition appears, no nil crash
- script:
content: |
kubectl apply -f my-crd.yaml
- assert:
resource:
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: my-crd.example.com
status:
(conditions[?type == 'Established']):
- status: "True"
This pattern converts a brittle timeout into an explicit condition check. The same applies to any resource whose .status.conditions may start as nil.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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 · 162 lines · 35 tokens per session scan A a6a23a255bfe
ark-chainsaw-testing is a skill published in the GitHub repository mckinsey/agents-at-scale-ark (434 stars, last pushed yesterday), licensed Apache-2.0. It adds 35 tokens to every session and 1,132 once invoked, about $0.0001 per session on Opus 5.5. 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-chainsaw-testing compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ark-chainsaw-testingmckinsey/agents-at-scale-ark | Skill | 434 | yesterday | Apache-2.0 | A | 35 | Claude Code |
| container-manager-kubernetes-operationsKnuckles-Team/container-manager-mcp | Skill | 6 | yesterday | MIT | A | 189 | Claude Code, Codex |
| kubernetes-mesh-provisionerKnuckles-Team/container-manager-mcp | Skill | 6 | yesterday | MIT | C | 60 | Claude Code, Codex |
| k8s-opsjingyanjiang/k8s-mcp | Skill | 3 | 5mo ago | MIT | A | 77 | Claude Code |
| aiq-deployNVIDIA/skills | Skill | 3.9k | yesterday | Apache-2.0 | A | 27 | Claude Code |
| cdf-orchestration-setupNVIDIA/skills | Skill | 3.9k | yesterday | Apache-2.0 | A | 105 | Codex |
| dynamo-recipe-runnerNVIDIA/skills | Skill | 3.9k | yesterday | Apache-2.0 | A | 49 | Claude Code, Codex |