Documentation
¶
Overview ¶
Package agentskills installs the `beardrive` skill into the agent platforms a user works with, so their agent knows how to drive the CLI — including running `bdrive init` and `bdrive hooks install` itself, which is how hooks end up registered correctly without the user hand-copying commands.
SKILL.md is a cross-agent standard: every supported platform discovers skills the same way — a directory per skill under the platform's config dir, holding a SKILL.md with `name` + `description` frontmatter:
claude ~/.claude/skills/beardrive/SKILL.md codex ~/.codex/skills/beardrive/SKILL.md gemini ~/.gemini/skills/beardrive/SKILL.md hermes ~/.hermes/skills/beardrive/SKILL.md
Installs are user-level on purpose: the skill is about the CLI, not about one folder, and a synced project folder should never carry it. The skill is the binary's own copy (embedded at build time), so upgrading bdrive and re-running install refreshes it — writes are idempotent and report whether anything changed.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Agents = []string{"claude", "codex", "gemini", "hermes"}
Agents is the supported platforms, in the order they are reported.
Functions ¶
func Detect ¶
Detect reports which agent platforms are in use, judged — like agenthooks.Detect — by their config dirs existing in the project or the home directory.