Skip to content

Skills

You can teach the Turf™ CLI your own procedures by dropping SKILL.md files where turf looks for them. Each skill is a directory:

~/.turf/skills/<name>/SKILL.md # global: org best practices, migration playbooks
<project>/.turf/skills/<name>/SKILL.md # project: versioned alongside your infrastructure configuration

Your skills add to the infrastructure workflows the agent already knows; they don’t replace them.

turf scans only these two locations; TURF_HOME moves the global one. It never reads ~/.claude, ~/.codex or ~/.agents. A project skill overrides a global skill of the same name.

The project location is exactly <cwd>/.turf/skills. turf does not walk up the tree, so what loads is predictable from where you launch it.

A SKILL.md needs YAML frontmatter with at least name and description. The description is what turf matches a request against. Keep the body lean and push detail into supporting files, which load on demand:

~/.turf/skills/azure-migration/SKILL.md
---
name: azure-migration
description: Adopt hand-built Azure resources into managed state. Use when the user says "adopt" or "import our existing".
# context: fork # optional: run this skill as an isolated sub-agent
---
# Azure migration playbook
Adopt-then-reconcile; never create before importing.
1. Import each existing resource (ID formats: see references/import-ids.md).
2. Plan: an `adopt id=…` row with no change means clean adoption; `~` or `-/+` means drift to reconcile.
~/.turf/skills/azure-migration/
SKILL.md
references/
import-ids.md # loaded on demand when the skill needs it

context: fork in the frontmatter runs the skill as an isolated sub-agent.

For a working project skill you can copy, see the CLI configuration example.

These skills are the CLI’s. An agent you connect to the MCP server gets Turf’s own skills from the server (Skills and their references).

Turf™ is a trademark of Turf LLC. Terraform® is a trademark of HashiCorp. Ansible® is a trademark of Red Hat, LLC, registered in the United States and other countries. Helm®, Kubernetes®, Prometheus® and OpenTelemetry® are registered trademarks, and Jaeger™ is a trademark, of the Linux Foundation. OpenTofu® and Model Context Protocol® are registered trademarks of LF Projects, LLC. All other trademarks are the property of their respective owners. Turf is not affiliated with, endorsed by, or sponsored by HashiCorp, IBM, Red Hat, the Linux Foundation, LF Projects or the OpenTofu project.

© 2026 Turf LLC. Free for individuals, education and small businesses within the Community limits, under the Turf Community Edition License 1.0. Government and larger organizations need a commerciallicense.turf.build · Discord ·GitHub