mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-10-21 04:40:13 +00:00
Rename high-impact skills to task-oriented names and move plugin-owned skills into their owning plugin folders.\n\nAlign renamed skill frontmatter with the official SKILL.md standard by keeping trigger language in name/description metadata, replacing the old create-skill wizard with build-skill, and updating browser, A0 connector, computer-use, CLI setup, and scheduler skill references.\n\nTighten the recurring cross-provider guidance gaps surfaced by the evidence sweeps: memory requests now avoid promptinclude-file routing, scheduler prompts distinguish cron schedules from planned ISO dates, document questions prefer document_query, skills_tool search/read_file usage is clearer, normal notifications set info/priority 10, and local/host text editors preserve patch intent.\n\nUpdate regression tests for the renamed skills, plugin ownership, prompt budget reality, and standard frontmatter shape. |
||
|---|---|---|
| .. | ||
| extensions/python/system_prompt | ||
| helpers | ||
| prompts | ||
| webui | ||
| default_config.yaml | ||
| plugin.yaml | ||
| README.md | ||
Prompt Include
Automatically inject persistent behavioral rules and preferences into the system prompt from project files.
What It Does
This plugin scans a workspace for *.promptinclude.md files, applies gitignore-aware filtering and token budgets, and makes the collected content available for prompt injection.
Main Behavior
- Workspace scanning
- Recursively searches for files matching
*.promptinclude.md.
- Recursively searches for files matching
- Ignore support
- Respects ignore patterns derived from gitignore-style content.
- Budgeted inclusion
- Applies per-file and total token limits.
- Crops oversized files when they partially fit within the remaining token budget.
- Structured scan result
- Returns included file content together with path, token count, status, and skipped count.
Key Files
- Scanner
helpers/scanner.pyimplements file discovery, ignore handling, token budgeting, and trimming.
- Configuration
default_config.yamlcontains prompt-include scanning defaults.
- Prompts and UI
prompts/andwebui/provide integration with the broader app.
Configuration Scope
- Settings section:
agent - Per-project config:
true - Per-agent config:
true
Plugin Metadata
- Name:
_promptinclude - Title:
Prompt Include - Description: Persistent behavioral rules and preferences auto-injected into system prompt.