Agent Skill¶
aj ships an azure-jobs Agent Skill with templates, job operations, quota,
log, and Kubernetes diagnosis guidance. It supports GitHub Copilot, OpenAI
Codex, and Claude Code.
See Agent Skill lifecycle design for ownership, transaction, and filesystem-safety rules.
Install¶
The default target is all Agents in the current user's home:
Select one Agent:
Project scope installs at the detected Git root:
Paths:
| Agent | User scope | Project scope |
|---|---|---|
| GitHub Copilot | ~/.copilot/skills/azure-jobs |
.github/skills/azure-jobs |
| OpenAI Codex | ~/.agents/skills/azure-jobs |
.agents/skills/azure-jobs |
| Claude Code | ~/.claude/skills/azure-jobs |
.claude/skills/azure-jobs |
Claude user scope honors CLAUDE_CONFIG_DIR. --root PATH overrides the
detected Git root or user home and appends the Agent-specific directory:
aj skill install copilot --project --root /path/to/repository
aj skill install codex --user --root /path/to/home
Status and update¶
Status values:
| Status | Meaning |
|---|---|
not_installed |
destination does not exist |
current |
installed files match this aj version |
outdated |
an unchanged older managed copy is installed |
modified |
files changed after installation |
unmanaged |
destination exists without a matching aj manifest |
invalid |
destination contains an unsafe link or non-regular entry |
Upgrade azure-jobs first to obtain a newer bundled Skill, then run
aj skill update. A modified managed copy is preserved unless replacement is
explicit:
Missing Agent copies are left unchanged; use install to add them.
Uninstall¶
Uninstall is idempotent for missing copies. It refuses unmanaged or invalid
directories, even with --force. A locally modified aj-managed copy requires:
JSON¶
Place the global flag first:
Status emits a table envelope. Install, update, and uninstall emit one
command_result envelope with a result for each selected Agent. Manager
failures also emit a failed command_result and exit nonzero.