Integrate standard agent skills

This commit is contained in:
Georg Bauer
2026-08-29 21:12:40 +02:00
parent f2772f20c5
commit c0681dedb9
2 changed files with 244 additions and 1 deletions

View File

@@ -412,6 +412,10 @@ impl App {
prompt.push_str("\n\n");
prompt.push_str(agents);
}
if let Some(skills) = crate::agent::agent_skills_prompt() {
prompt.push_str("\n\n");
prompt.push_str(&skills);
}
prompt
}
@@ -725,6 +729,7 @@ impl App {
if let Some(skills) = self.dev_brain_skills_prompt() {
reminders.push(skills);
}
reminders.extend(crate::agent::agent_skills_prompt());
if self.config.a2ui_enabled {
reminders.push(crate::a2ui::SYSTEM_PROMPT.to_owned());
}
@@ -1291,6 +1296,10 @@ impl App {
child_turn.system_prompt.push_str("\n\n");
child_turn.system_prompt.push_str(&skills);
}
if let Some(skills) = crate::agent::agent_skills_prompt() {
child_turn.system_prompt.push_str("\n\n");
child_turn.system_prompt.push_str(&skills);
}
tools
.lock()
.unwrap_or_else(|poisoned| poisoned.into_inner())