diff --git a/.claude/skills/cfe-borrow/scripts/cfe-borrow.ps1 b/.claude/skills/cfe-borrow/scripts/cfe-borrow.ps1
index d0eb3dfd..e8c49180 100644
--- a/.claude/skills/cfe-borrow/scripts/cfe-borrow.ps1
+++ b/.claude/skills/cfe-borrow/scripts/cfe-borrow.ps1
@@ -509,6 +509,8 @@ function Borrow-Form {
$autoCmdXml = $autoCmdXml -replace 'true', 'false'
# Strip ExcludedCommand (references to standard commands invalid in extension)
$autoCmdXml = [regex]::Replace($autoCmdXml, '\s*[^<]*', '')
+ # Strip DataPath in AutoCommandBar buttons (e.g. Объект.Ref — invalid in extension)
+ $autoCmdXml = [regex]::Replace($autoCmdXml, '\s*[^<]*', '')
}
# ChildItems: copy full tree, clean up base-config references
diff --git a/.claude/skills/cfe-borrow/scripts/cfe-borrow.py b/.claude/skills/cfe-borrow/scripts/cfe-borrow.py
index 3fd990fc..f8dc220b 100644
--- a/.claude/skills/cfe-borrow/scripts/cfe-borrow.py
+++ b/.claude/skills/cfe-borrow/scripts/cfe-borrow.py
@@ -680,6 +680,8 @@ def main():
auto_cmd_xml = auto_cmd_xml.replace('true', 'false')
# Strip ExcludedCommand (references to standard commands invalid in extension)
auto_cmd_xml = re.sub(r'\s*[^<]*', '', auto_cmd_xml)
+ # Strip DataPath in AutoCommandBar buttons (e.g. Объект.Ref — invalid in extension)
+ auto_cmd_xml = re.sub(r'\s*[^<]*', '', auto_cmd_xml)
# ChildItems: copy full tree, clean up base-config references
child_items_xml = ""