haops_get_skill_history
Retrieve the complete version history of any skill, including full content and optional diffs, to audit changes, recover from errors, or review lineage.
Instructions
Returns the full version history of a named skill (GET /api/skills/[name]/history). Each entry contains the version number, publication timestamp, author, lifecycle state, and full content at that point in time. When diff=true the server computes unified diffs between consecutive versions and includes a diff field per entry (empty for v1, which has no predecessor). Use to audit content changes, recover from a bad publish, or inspect the lineage before bumping a high-impact skill.
Administrative note: soft-deleted (deprecated) skills still have their history accessible via this endpoint — paranoid=false on the server join so full audit lineage is preserved.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | If true, return the raw JSON array verbatim instead of the formatted text table (default: false). | |
| diff | No | When true, the server computes unified diffs between consecutive versions and includes a `diff` field on each history entry. Omit or set false for metadata-only listing. | |
| name | Yes | Kebab-case skill name. | |
| scope | No | Scope of the target skill. Defaults to "system". | |
| projectSlug | No | Project slug — REQUIRED when scope="project"; MUST be omitted when scope="system". |