⚠️ Experimental — Looks up a Guild manual skill by name (exact match, provider=manual) or by id. Use when referencing a skill created elsewhere without managing it in this root.
# When to use: Look up a manual Guild skill by name (exact match) before wiring
# it onto an agent that does not manage the skill in the same root.
data "sg_skill" "kubectl" {
name = "kubectl-readonly"
}
# Or look up by UUID when you already have the id:
# data "sg_skill" "by_id" {
# id = "00000000-0000-4000-8000-000000000030"
# }
output "skill_name" {
value = data.sg_skill.kubectl.name
}
output "skill_id" {
value = data.sg_skill.kubectl.id
}
id (String) Skill UUID. When set, GetSkill is used directly; otherwise name is resolved via list provider=manual.name (String) Manual skill name to look up (exact match). Required when id is not set.body (String) Markdown body returned by the API.content_type (String) Content type of the stored skill document.created_at (String) Creation timestamp (RFC 3339).description (String) Skill description.file_path (String) Storage path of the skill document.flagged (Boolean) Whether security scanning flagged this skill.name_inferred (Boolean) True when Guild invented the name because front matter omitted name.source_id (String) Owning skill source UUID (zero UUID for manual).synced_at (String) Last sync timestamp (RFC 3339).tags (List of String) Tags associated with the skill.updated_at (String) Last modification timestamp (RFC 3339).