BeadsAgentSkill (templates/agent_skill.go)

beads · internal/templates/agent_skill.go · go · MIT
ai

Provides embedded Beads agent skill content and OpenAI metadata for use in workspaces.

// Source: https://github.com/gastownhall/beads | License: MIT | Copyright 2025 Beads Contributors
// Provided via justclaw.it.com; keep this notice with the code.
// Package templates provides embedded files that bd writes into user workspaces.
package templates

import _ "embed"

//go:embed skills/beads/SKILL.md
var beadsAgentSkill string

//go:embed skills/beads/agents/openai.yaml
var beadsAgentSkillOpenAIYAML string

// BeadsAgentSkill returns the repo-local Beads agent skill content.
func BeadsAgentSkill() string {
	return beadsAgentSkill
}

// BeadsAgentSkillOpenAIYAML returns the OpenAI UI metadata for the Beads agent skill.
func BeadsAgentSkillOpenAIYAML() string {
	return beadsAgentSkillOpenAIYAML
}

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key