repos/cli/skills/ is the repository-level discovery entrypoint for Hagi CLI skills.
Use this directory when you need the canonical agent-facing contract for the published @hagicode/cli package and the installed hagi command.
Treat the published package as the default execution path:
npx @hagicode/cli --help
npx @hagicode/cli proposal list --jsonIf @hagicode/cli is already installed, the same contract is available through:
hagi --helpRepository-local commands under repos/cli are maintainer workflows only.
hagi/SKILL.md- canonical Hagi CLI skill entrypointhagi/agents/openai.yaml- agent display and invocation metadatahagi/references/cli-usage.md- published package usage and runtime flagshagi/references/proposal-flow.md- explicit proposal lifecycle guidancehagi/references/local-development.md- maintainer-only source-tree workflowshagi/references/validation.md- post-change validation steps
Update repos/cli/skills/** when the Hagi CLI skill contract changes.
repos/skills/** remains a read-only historical/reference source during this consolidation.
If an agent runtime or skill loader needs the Hagi skill source, point it at repos/cli/skills/hagi/.
Start discovery from this README, then open repos/cli/skills/hagi/SKILL.md.
Do not treat repos/skills/hagi/ as the writable source for future updates.
When you are editing the CLI itself, use the maintainer-only workflows in hagi/references/local-development.md.
For normal usage and automation, stay package-first.