scafctl#
Define, discover, and deliver configuration as code using CEL-powered solutions.
scafctl is a CLI tool that lets you declaratively gather data from any source (APIs, files, environment, Git, and more), transform it with CEL expressions, and execute side-effect workflows — all defined in a single Solution file.
Quick Install#
brew install oakwood-commons/tap/scafctlOr download a binary from GitHub Releases .
30-Second Example#
apiVersion: scafctl.io/v1
kind: Solution
metadata:
name: hello
spec:
resolvers:
greeting:
provider: cel
expression: "'Hello, ' + 'world!'"scafctl run solution -f hello.yaml -o yaml
# greeting: "Hello, world!"Documentation#
- Getting Started — Install scafctl and run your first solution
- Tutorials — Step-by-step guides for resolvers, actions, CEL, catalogs, and more
- State Tutorial – Persist resolver values across executions
- Design — Architecture, design docs, and contributor guides
Examples#
Runnable examples are located in the /examples
directory:
examples/actions/— Action workflow examplesexamples/config/— Configuration examplesexamples/exec/— Shell execution examplesexamples/mcp/— MCP server integration examplesexamples/providers/— Provider examplesexamples/resolvers/— Resolver examplesexamples/snapshots/— Snapshot examplesexamples/solutions/— Complete solution examplesexamples/plugins/— Plugin examplesexamples/serve/— REST API server examples
Browse examples from the CLI:
scafctl get examples
scafctl get examples resolvers/hello-world.yaml