add infra for clever command.