Plugins & Skills Overview
Yunque Agent uses a Plugin + Skill dual-layer architecture. Plugins bundle related skills and domain prompts.
Three Skill Sources
| Source | Location | Loading |
|---|---|---|
| Go Built-in Plugins | plugins/general/, plugins/education/ | Compiled-in |
| Script Plugins | data/plugins/ | File scan + hot-reload |
| File-based Skills | data/skills/ | SkillFileLoader scan + hot-reload |
Built-in Plugins
General (plugins/general/)
| Skill | Description |
|---|---|
| Web Search | Brave/Tavily/SearXNG/DuckDuckGo search |
| Code Generation | Generate and execute code (E2B cloud-first, local sandbox fallback) |
| Image Generation | DALL-E/SD image generation |
| Translation | Multi-language translation |
| Document Parsing | PDF, CSV, JSON, HTML parsing |
| Browser | Headless Chrome automation |
| File Search | Knowledge base file search |
| Desktop Sandbox | E2B Desktop cloud desktop (VNC streaming, per-tenant isolation) |
Education (plugins/education/)
| Skill | Description |
|---|---|
| Course Planning | Generate lesson plans and learning paths |
| Quiz | Create quizzes and assessments |
| Grading | Evaluate student assignments |
Script Plugins (data/plugins/)
Executable plugins written in Python/Node.js/Shell:
data/plugins/
my-plugin/
plugin.json # name, description, language, skills
handler.py # Python handler script- Auto-scan + 5-second hot-reload interval
- Create, edit, delete via Web UI
/v1/plugins/reload— manual reload trigger
File-based Skills (data/skills/)
LLM instruction skills defined via SKILL.md:
data/skills/
my-skill/
SKILL.md # (required) LLM instructions
meta.json # (optional) name, description, parameters, tags
scripts/ # (optional) helper scripts
helper.py- SkillFileLoader auto-scan + hot-reload
/v1/skills/scan— manual scan trigger- Scan button available in the Skills UI page
Skill Market
Install skills from online markets via Web UI:
| Market | Description |
|---|---|
| ClawHub | Community skill market |
| ToriHub | Official curated skills |
| GitHub | Install from any owner/repo |
Dynamic Skills
The Agent can auto-discover and create new skills during conversations (SkillGrow), requiring user approval before activation.