I am trying to write a skill for my agents to be able to use claude code on acp in persistent mode, but it is proving hard.
the agent is instructed by the skill to spawn the acp agent, it does it and injects the prompt. but the skill at some point guides the agent to change the set-mode from plan to build. it seems however that my agent cannot directly message the claude code session. it can send messages to the thread with message but claude code does not respond to his messages, just mine. messages sent with session_send do not even show up.
how can my agents control the acp thread or respond to the claude code based on the guidance of the skill I have made?