Browse Campaigns and Workflows
The Marketplace page appears under Updates in the CAO dashboard. It provides a read-only view of campaign packages and individual workflows from an ordered set of registries. New CAO policies include both the official CAO catalog and the Agentics collection. Selecting a package shows its published README beside an About panel carrying its normalized metadata, provenance, contents, and immutable source coordinate, with an Add button above both.
A package README is the README.md published beside its aw.yml manifest. A
package without one simply shows no README preview.
Agentics workflow previews use their matching docs/NAME.md documentation, or
the workflow prompt body when no documentation is available.
The browser never contacts registries. Local and hosted resolvers read registries only through their trusted server-side adapters; the local dashboard’s web server receives only normalized catalog metadata.
In the authorized local dashboard, Add opens an approval dialog showing the
exact command. Confirm it to install into the checkout where gh cao dashboard
is running. Both CAO packages and individual workflow entries use gh cao add,
which calls gh aw add for installation:
gh cao add OWNER/REPOSITORY[/PATH]@COMMITFor an individual workflow, the coordinate points to its Markdown source:
gh cao add OWNER/REPOSITORY/PATH/WORKFLOW.md@COMMITOnly one GitHub source pinned to a full commit can execute through this local action. It accepts no extra options, including overwrite, publication, or auto-merge flags. The native CLI performs installation and validation. Existing file conflicts and missing runtime requirements are reported, not bypassed. Follow the result in Maintenance > Commands.
If runtime files are missing, the local dashboard offers Prepare CAO runtime
first and shows the checkout’s repository. This separate approval runs
gh cao setup runtime and rechecks the checkout before offering Add; it
does not install the package or change monitoring, policy, or credentials.
An unverifiable checkout blocks both actions. A hosted dashboard cannot inspect
or write your local checkout: run the displayed preparation command there,
then continue with the local dashboard or copy the exact Add command.
Registry discovery still requires its existing Marketplace configuration.
Installation may download sources and compile workflows. It does not commit,
push, enable workflows, or dispatch a run. Review the installed sources, generated
files, triggers, credentials, and CAO policy. Commit and publish the prepared
runtime separately through your normal review process before expecting an Actions
run; Add does not publish it. Publishing a scheduled workflow can start
future executions.
A workflow listed in Marketplace is not necessarily ready for CAO-governed
cross-repository execution. gh cao add requires the CAO standalone control
import before registering an individual workflow. See Configuration
and Try your first automation.
Other dashboard modes retain command copying; this local action does not extend
hosted installation permissions. When copying, run the reviewed command separately
from the intended trusted checkout.
gh cao add and gh aw add install packages without using AI. AI is used only
when installed agentic workflows run; copying or running an add command does
not start those workflows.
The marketplace presents a declarative list of package cards from the resolved marketplace table, without search, filters, or ranking controls.
Each package declares an icon in its aw.yml using a supported Primer
Octicon in gh-aw’s quoted, colon-wrapped syntax, such as icon: ":dependabot:",
icon: ":shield:", or icon: ":meter:". Both resolvers normalize these to bare
Octicon names for the package card and detail page. Official campaign packages
use the same icon as their configured dashboard navigation entry. Packages
without an explicit icon retain the default workflow icon.
Public stars and forks are shown only when GitHub confirms public visibility. Missing repository data does not imply zero stars or forks.
Configure registries
Section titled “Configure registries”Declare registries in .github/workflows/cao.json. Array order defines
precedence: when registries publish the same package coordinate, the first
registry wins.
{ "control-plane": { "marketplace": { "cache-ttl-seconds": 900, "registries": [ { "id": "official", "name": "Official CAO catalog", "repository": "githubnext/gh-cao", "ref": "main", "auth": { "type": "none" } }, { "id": "agentics", "name": "Agentics workflows", "repository": "githubnext/agentics", "path": "workflows", "format": "workflows", "ref": "main", "auth": { "type": "none" } }, { "id": "internal", "name": "Internal campaigns", "repository": "acme/cao-packages", "path": "packages", "ref": "stable", "api-url": "https://github.acme.example/api/v3", "auth": { "type": "pat", "secret": "CAO_INTERNAL_REGISTRY_PAT" } } ] } }}The official registry is ordinary configuration. Remove its entry to omit it,
or replace it with public, private, or GitHub Enterprise registries. Registry
IDs must be unique and stable.
For existing control repositories, add the Agentics entry above to enable its
discovery. format defaults to packages for existing registries; workflows
discovers Markdown workflows directly under the configured path, not nested
shared fragments. Registry discovery never enrolls repositories or enables
workflow execution.
Authenticate private registries
Section titled “Authenticate private registries”Registry authentication is scoped to that registry:
noneneeds no credential.patreferences one environment secret withsecret.github-appreferencesapp-id-secret,private-key-secret, andinstallation-id-secret.
Configuration contains secret names, never secret values. Make those referenced secrets available only to the trusted Activity, local, or hosted resolver. Credentials, installation tokens, and authentication headers are excluded from marketplace rows, browser storage, dashboard state, and diagnostics.
Set api-url on each GitHub Enterprise registry. Do not use it as a global
GitHub API override.
Resolution modes
Section titled “Resolution modes”All dashboard backends expose the same package fields through the data worker:
- The Activity backend resolves registries during data collection and retains normalized rows in the dashboard’s IndexedDB database.
- The local
gh cao dashboardserver resolves registries on demand through a private operator adapter. A short-lived__marketplaceresolver subprocess receives the configured registry environment; the web server receives only normalized packages and diagnostics. The adapter caches the whole resolver output forcache-ttl-seconds(five minutes when unset) and drops it when the policy file changes. The web server calls this adapter only over plainhttpon a numeric loopback address with an explicit port. The request does not use an ambient proxy, does not follow redirects, and has a two-minute deadline. Any status other than200, an oversized or malformed response, or a transport failure shows the local marketplace as unavailable without failing the page. - The hosted Go backend resolves registries at runtime and caches safe, normalized results in Redis. Cache entries are isolated by registry and source generation.
Resolvers turn mutable refs into commit identities when possible. The copied add command uses that normalized source coordinate rather than rebuilding it from presentation state.
Troubleshoot unavailable packages
Section titled “Troubleshoot unavailable packages”One unavailable registry does not hide packages from healthy registries. Registry diagnostics report safe status information without credential values. Check, in order:
- the registry
repository, optionalpath,ref, andapi-url; - that every referenced secret exists in the trusted resolver environment;
- token or GitHub App access to commits, trees, and package manifests;
- that package manifests use supported gh-aw package metadata; and
- registry order when a duplicate package is resolved from an earlier entry.
Package installation and rollout policy remain separate reviewed operations.