Create a skill
Creates a workspace skill with the supplied file tree. Skills support file entries only — linked agent/skill entries are rejected.
Cleanup is best-effort: if the initial commit fails the empty repo is deleted, but a transport failure during rollback can leave an orphan repo with no commits. Subsequent creates with the same name will then 409; delete the orphan and retry.
Authorizations
LangSmith API key (lsv2_...).
Body
Skill name and initial file tree
Response
Created
Content hash of the current skill revision.
"9f1e2d3c4b5a"
Omitted on the lightweight list (include_files=false): commit_id is not on the upstream repos-list contract, only commit_hash is.
"c_8a7b6c5d"
"2026-01-15T09:30:00Z"
Short summary derived from the skill's SKILL.md front matter.
"Researches a topic across the web and writes a brief."
File tree keyed by path; populated only when include_files=true.
"skill_3f9a2b1c"
"web-research"
"2026-01-15T09:30:00Z"
Who can see the skill: private, workspace, or public.
"workspace"

