The key lives in the vault
NanoClaw’s rule is that agent containers never hold raw keys. Your PostSyncer key sits in OneCLI on the host, and OneCLI adds it to requests bound for postsyncer.com. The --env and --headers options of ncl are for values that aren’t secret, so leave the key out of them.
Only the groups you grant
A new agent group gets its model credential and nothing else. Attach the PostSyncer secret to each group that should post, and leave it off the rest: a group without the grant gets access_restricted from the vault rather than your calendar.
Your assistant can ask to add it
Agents can run ncl from inside their containers. A write command from there doesn’t run straight away: an admin gets a card in their DM showing the exact command, and it runs once approved. Your assistant never needs the key itself, so it shouldn’t ask you for one in the chat.
Its tasks repeat, our posts publish
NanoClaw tasks run your recurring asks, like the morning list of what goes out. Scheduled posts don’t depend on them: PostSyncer publishes each one at its time, whether or not the NanoClaw host is running. The model behind the group, whether Claude Code, Cursor, Codex or OpenCode, calls the same tools.