agent-zero/plugins/_skills
Alessandro 724df66cc6 Add profile skill visibility policies
Extend _skills with sparse allow/block rules and an explicit default for future skills, using the existing layered plugin configuration and skill-entry normalization.

Enforce the policy across discovery, loading, and chat activation while preserving loaded history, legacy hidden-skill behavior, and canonical name/path identity.
2026-08-05 10:54:17 +02:00
..
api Load skills into chat history 2026-07-08 01:52:22 +02:00
extensions/webui/initFw_end Unify WebUI icons and fix message collapsing 2026-07-31 13:32:41 +00:00
helpers Improve active skills management and simplify Skills UI 2026-04-21 05:47:22 +02:00
webui Unify WebUI icons and fix message collapsing 2026-07-31 13:32:41 +00:00
__init__.py add built-in Skills selector plugin 2026-04-08 14:02:09 +02:00
AGENTS.md Add profile skill visibility policies 2026-08-05 10:54:17 +02:00
default_config.yaml Make skills cap configurable 2026-05-26 17:01:13 +02:00
hooks.py Improve active skills management and simplify Skills UI 2026-04-21 05:47:22 +02:00
LICENSE add built-in Skills selector plugin 2026-04-08 14:02:09 +02:00
plugin.yaml Add profile skill visibility policies 2026-08-05 10:54:17 +02:00
README.md Add profile skill visibility policies 2026-08-05 10:54:17 +02:00

Skills

Skills is a built-in Agent Zero plugin that manages current-chat skill loading and layered skill visibility, including profile-level policy from Agent Editor.

What It Does

  • loads selected skills into current-chat history
  • hides noisy skills from the model-facing available catalog, skill search, and load access
  • shows loaded skills without offering removal, because loaded skill bodies are part of chat history
  • lets users hide or show skills live per conversation
  • supports global/project settings plus profile-level Agent Editor visibility policy
  • links directly to the built-in Skills list
  • links directly to the active project's Skills section when a project is active

Why This Exists

Agent Zero already supports loading skills dynamically with skills_tool, and already has great built-in skill management surfaces. What it did not have was a lightweight way to use that same history-backed skill loading from the Skills screen.

Skills fills that gap as a bundled built-in plugin. The shared skill discovery and loaded-skill ledger live in helpers/skills.py, and this plugin focuses on catalog UI, chat loading, and visibility.

Notes

  • selected skills are appended to current-chat history using the same metadata shape as skills_tool
  • loaded skills are not removable from the UI; future context compaction may reattach their bodies from the loaded-skill ledger
  • hidden skills are stored as control data, not injected into the prompt
  • hidden skill paths are stored in normalized /a0/... form so configs stay portable across development and Docker-style layouts
  • if a configured hidden skill is not visible in the current agent scope, it is skipped quietly instead of breaking catalog builds
  • profile visibility uses sparse Allowed/Blocked exceptions with an explicit default for future skills; allowing a skill does not load or pin it