skill validate, skill push, skill list, skill rollback, skill install, skill publish, and skill hooks install. Run atlanai doctor and atlanai auth status before investigating. Most failures trace back to a failed health check or an expired credential.
skill validate reports schema errors
The skill configuration does not meet the required format.
Cause
One or more fields inSKILL.md or the skill configuration violate the schema. The CLI validates the full document and reports every failure in a single run.
Solution
The error output lists each failing field and the constraint it violates.- Read the error output to identify each failing field and constraint.
- Fix the reported fields in
SKILL.mdor the skill configuration. - Rerun
skill validatebefore pushing.
skill push reports a workspace mismatch
The active workspace context does not match the workspace the skill was previously published to.
Cause
The CLI compares the active workspace context against the skill’s registered workspace. A mismatch causes the push to stop before writing anything.Solution
Confirm the active workspace before retargeting the push.- Run
atlanai context showto confirm the active workspace. - Switch context with
atlanai context use, or pass--workspace <id>explicitly to target the correct workspace. - Retry
skill push.
Push rejected with an authentication error
The stored credential has expired or lacks publish permission.Cause
Publishing requires write permission on the target workspace. An expired token or an account without publish access causes the push to be rejected.Solution
Re-authenticate and confirm the account has the required permission.- Run
atlanai auth loginto re-authenticate. - Confirm the session is valid with
atlanai auth status. - Verify the account has publish permission on the target workspace.
- Retry
skill push.
skill list returns no results
The active workspace has no published skills, or the workspace context points to the wrong workspace.
Cause
The CLI lists skills in the active workspace only. A wrong context or a workspace with no published skills returns an empty result.Solution
Confirm the workspace context before investigating further.- Run
atlanai context showto confirm the active workspace. - Switch with
atlanai context useif the context points to the wrong workspace. - Rerun
skill list.
skill rollback dry-run shows the wrong version
The version ordinal passed to --to does not match the intended version.
Cause
Version ordinals are assigned in publishing order and may not match semantic version numbers. Passing the wrong ordinal targets the wrong snapshot.Solution
List all published versions before running the rollback.- Run
atlanai skill versions skill_123to list all published versions. - Confirm the correct ordinal for the intended snapshot.
- Rerun the rollback with the correct
--tovalue.
Approve or archive action fails
The authenticated account does not have the required permission for this workspace.Cause
Approve and archive operations require elevated permissions. Regular contributors do not have these permissions by default.Solution
Confirm the required permission with your workspace administrator.- Confirm your current role with the workspace administrator.
- Ask the administrator to grant the required permission.
- Retry the operation after the permission is updated.
skill install stops with a lockfile conflict
The lockfile is missing or its digests do not match the current .atlan/package.json.
Cause
skill install verifies every skill against the lockfile before copying it. A missing or mismatched lockfile causes the command to stop.
Solution
Resolve the lockfile before retrying the install.- Run the lockfile update command described in Sync skills from GitHub.
- Retry
skill install.
skill publish --changed-since publishes unexpected skills
The base commit reference resolves to a broader diff than expected.
Cause
The commit reference includes more changed files than intended. This can happen when a stale or ambiguous reference is used.Solution
Preview the diff before running publish.- Run
git diff <commit> --name-onlyto preview the files included in the reference. - Use the merge base commit for pull request jobs, or
HEAD~1for post-merge jobs. - Confirm the diff contains only the expected changes.
- Run
skill publish --changed-sincewith the confirmed reference.
See also
- Validate and publish skill: Validate and push skills to the Registry.
- Inspect and restore skills: List, inspect, roll back, and archive published skills.
- Manage packages: Install and wire skill dependencies for a repository-managed coding agent.
- Run diagnostics: Inspect installation, daemon logs, and authentication state.