{
"id": "interaction-primitive:slash-branch",
"_kind": "InteractionPrimitive",
"_file": "agent-stack/interaction-primitives/claude-code-slash-commands-extended.yaml",
"_cluster": "agent-stack",
"attributes": {
"displayName": "/branch",
"description": "Branch the conversation off a specific turn into a named branch.\nAlias /fork. Branches are returnable via /resume.\n",
"kind": "slash-command",
"surface": "slash-command",
"category": "interaction-primitive-category:control",
"availableInModes": [
"chat"
],
"requiresPermission": false
},
"outgoingEdges": [
{
"from": "interaction-primitive:slash-branch",
"to": "interaction-primitive-category:control",
"kind": "in_category",
"attributes": {}
},
{
"from": "interaction-primitive:slash-branch",
"to": "layer:10-interaction",
"kind": "realizes",
"attributes": {}
}
],
"incomingEdges": [
{
"from": "agent-ui-impl:claude-code.ui@current",
"to": "interaction-primitive:slash-branch",
"kind": "supports_interaction_primitive",
"attributes": {
"attributes": {
"mechanism": "slash-command",
"invocationToken": "/branch"
}
}
}
]
}