Make your computer a home for your AI partner. Avibe is the local-first Agent OS: Vibey, its built-in AI partner, works out of the box, and Claude Code, Codex & OpenCode run unchanged beside it — reach them from your browser, phone, or any chat app.
Python agentagent-osaiai-agentsai-partnerchatopsclaudeclaude-codecodexdevtoolsdiscord-botlark-botllmlocal-firstlong-term-memoryopencodeslack-botvibe-codingvibeywechat
fix(skills): reuse loaded managed skill context (#1859)
Call White36c6793ceaec
diff --git a/core/managed_skills.py b/core/managed_skills.pyindex da4ede483..6f54d3b98 100644--- a/core/managed_skills.py+++ b/core/managed_skills.py@@ -1169,6 +1169,8 @@ def render_skill_catalog_prompt(skills: Sequence[ManagedSkill]) -> str:"\n\n## Skills\n\n""If the user requests a skill by exact name, run ""`vibe skill load -- <name>` before proceeding.\n"+ "When these rules require an Avibe-managed Skill, reuse an earlier successful "+ "`vibe skill load -- <name>` result for that name if it remains in the current context.\n""Otherwise, do not guess skill names.")return ""@@ -1184,6 +1186,8 @@ def render_skill_catalog_prompt(skills: Sequence[ManagedSkill]) -> str:"Skills provide specialized instructions and workflows for specific tasks.\n""When a task matches a skill's description, run `vibe skill load -- <name>` before proceeding.\n""If the user requests a skill by exact name, load that name directly.\n"+ "When these rules require an Avibe-managed Skill, reuse an earlier successful "+ "`vibe skill load -- <name>` result for that name if it remains in the current context.\n""Otherwise, only load skill names listed here or returned by `vibe skill list`; do not guess names.\n\n"f"{later_page_guidance}""### Available skills\n"diff --git a/docs/plans/managed-skills.md b/docs/plans/managed-skills.mdindex 4a09d88a6..4d60ff478 100644--- a/docs/plans/managed-skills.md+++ b/docs/plans/managed-skills.md@@ -184,6 +184,7 @@ When model-invocable Skills exist, Avibe injects this shape:Skills provide specialized instructions and workflows for specific tasks.When a task matches a skill's description, run `vibe skill load -- <name>` before proceeding.If the user requests a skill by exact name, load that name directly.+When these rules require an Avibe-managed Skill, reuse an earlier successful `vibe skill load -- <name>` result for that name if it remains in the current context.Otherwise, only load skill names listed here or returned by `vibe skill list`; do not guess names.Use `vibe skill list --page 2` only when more discovery is useful; ordinary tasks do not require scanning every page.@@ -206,6 +207,7 @@ and retains only exact-name guidance:## SkillsIf the user requests a skill by exact name, run `vibe skill load -- <name>` before proceeding.+When these rules require an Avibe-managed Skill, reuse an earlier successful `vibe skill load -- <name>` result for that name if it remains in the current context.Otherwise, do not guess skill names.```diff --git a/tests/test_managed_skills.py b/tests/test_managed_skills.pyindex 68da52ea9..bbe96acaf 100644--- a/tests/test_managed_skills.py+++ b/tests/test_managed_skills.py@@ -537,6 +537,10 @@ def test_catalog_paginates_stably_without_exposing_directories(tmp_path: Path) -assert "`vibe skill list --page 2`" in promptassert "ordinary tasks do not require scanning every page" in promptassert "load that name directly" in prompt+ assert (+ "When these rules require an Avibe-managed Skill, reuse an earlier successful "+ "`vibe skill load -- <name>` result for that name if it remains in the current context."+ ) in promptassert render_skill_list(skills, page=2) == "- skill-25: Description 25"assert str(tmp_path) not in promptassert render_skill_catalog_prompt([]) == ""@@ -582,6 +586,10 @@ def test_manual_only_skill_is_loadable_but_not_advertised(tmp_path: Path) -> Nonassert render_skill_list([manual]) == ""manual_prompt = render_skill_catalog_prompt([manual])assert "`vibe skill load -- <name>`" in manual_prompt+ assert (+ "When these rules require an Avibe-managed Skill, reuse an earlier successful "+ "`vibe skill load -- <name>` result for that name if it remains in the current context."+ ) in manual_promptassert "- manual:" not in manual_promptassert "Run only when explicitly requested." not in manual_prompt