GitHub Action to install and run the ailloy CLI — a package manager for AI instructions.
| Input | Required | Default | Description |
|---|---|---|---|
version |
No | latest |
Release version tag to install (e.g. v0.6.10). Ignored when ref is set. |
ref |
No | — | Branch, tag, or commit SHA to build from source. Takes precedence over version. |
token |
No | github.token |
GitHub token for API requests (avoids rate limits). |
args |
No | — | Arguments passed to ailloy after installation (e.g. assay ./CLAUDE.md --format json). When omitted, only installs ailloy. |
| Output | Description |
|---|---|
version |
The installed version string reported by ailloy --version. |
- uses: nimble-giant/ailloy-action@main
- run: ailloy cast github.com/my-org/my-mold@v1.0.0- uses: nimble-giant/ailloy-action@main
with:
version: v0.6.9# From a branch
- uses: nimble-giant/ailloy-action@main
with:
ref: main
# From a feature branch
- uses: nimble-giant/ailloy-action@main
with:
ref: feature/my-branch
# From a specific commit SHA
- uses: nimble-giant/ailloy-action@main
with:
ref: a1b2c3d4All ailloy command aliases work with the args input — use whichever form you prefer:
| Canonical command | Alias(es) |
|---|---|
assay |
lint |
cast |
install |
temper |
validate |
forge |
blank, template |
anneal |
configure |
smelt |
package |
# These are equivalent:
args: assay . --format json
args: lint . --format jsonUse assay to enforce quality standards on CLAUDE.md, AGENTS.md, Cursor rules, and other AI instruction files. Gate a PR on the result by setting --fail-on.
name: Lint AI instructions
on: [pull_request]
jobs:
assay:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: nimble-giant/ailloy-action@main
with:
version: v0.6.10
args: assay . --format json --fail-on warningOutput format options: json (machine-readable) or markdown (human-readable summary).
Failure threshold options: warning or suggestion.
Use temper to verify a mold's manifest, file references, template syntax, and flux schema before publishing or distributing it.
name: Validate mold
on: [pull_request]
jobs:
temper:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: nimble-giant/ailloy-action@main
with:
args: temper .Install a mold into the workspace as part of a workflow — useful for bootstrapping AI instructions on ephemeral runners.
- uses: nimble-giant/ailloy-action@main
with:
args: cast github.com/my-org/my-mold@v1.0.0 --set project.organization=mycompanyWith a values file:
- uses: nimble-giant/ailloy-action@main
with:
args: cast github.com/my-org/my-mold@v1.0.0 -f ./config/flux-overrides.yamlDry-run a mold render and write output to a directory — useful for validating rendered content in a PR.
- uses: nimble-giant/ailloy-action@main
with:
args: forge github.com/my-org/my-mold@v1.0.0 -o ./previewBuild a distributable artifact from a mold as part of a release workflow.
name: Release mold
on:
push:
tags: ["v*"]
jobs:
smelt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: nimble-giant/ailloy-action@main
with:
args: smelt . --output-format tar --output ./dist
- uses: softprops/action-gh-release@v2
with:
files: ./dist/*.tar.gzname: Mold CI
on: [pull_request]
jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install ailloy
id: ailloy
uses: nimble-giant/ailloy-action@main
with:
version: v0.6.10
- name: Validate mold structure
run: ailloy temper .
- name: Lint AI instruction files
run: ailloy assay . --format json --fail-on warning
- name: Preview rendering
run: ailloy forge . -o ./preview| OS | Architecture |
|---|---|
| Linux | amd64, arm64 |
| macOS | amd64 (Intel), arm64 (Apple Silicon) |
| Windows | amd64 |
When ref is used (source build), the action requires a Go toolchain and builds for the current runner's platform automatically.
Contributions are welcome! See CONTRIBUTING.md for guidelines and CODE_OF_CONDUCT.md for community standards.
Apache License 2.0 — see LICENSE for details.