# `Spectre.Skill`
[🔗](https://github.com/elchemista/spectre/blob/0.3.0/lib/spectre/skill.ex#L1)

Organizational DSL for reusable, scoped Spectre behavior.

Skills use the same flow, policy, prompt, and handler declarations as an
Agent. They inherit runtime infrastructure from the Agent that mounts them;
they do not create sessions, execute tools directly, or introduce workflow
semantics.

    defmodule MyApp.Skills.Support do
      use Spectre.Skill,
        id: :support,
        prompt_root: "priv/skills/support/prompts"

      flow :support do
        on :question, regex: ~r/support/i do
          ask :answer
        end
      end
    end

# `__using__`
*macro* 

Initializes a Skill definition using the shared Spectre DSL compiler.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
