# `Nous.Plugins.Skills`
[🔗](https://github.com/nyo16/nous/blob/v0.17.1/lib/nous/plugins/skills.ex#L1)

Plugin that integrates the Skills system into the agent lifecycle.

This plugin bridges `Nous.Skill` definitions into the existing plugin
pipeline, handling skill discovery, activation, and injection of
instructions and tools.

## Automatic Inclusion

When `skills: [...]` is provided to `Nous.Agent.new/2`, this plugin is
automatically added to the plugins list.

## Lifecycle

1. **init** — resolves skill specs, builds registry, auto-activates `:auto` skills
2. **system_prompt** — injects instructions from all active skills
3. **tools** — provides tools from all active skills
4. **before_request** — matches user input against skills for dynamic activation

## Example

    agent = Agent.new("openai:gpt-4",
      skills: [
        MyApp.Skills.CodeReview,
        "priv/skills/",
        {:group, :testing}
      ]
    )

---

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