A novel hybrid six-bar mechanism with non-circular gear constraints and its optimal synthesis method for complex multi-pose rigid body guidance tasks are proposed. An innovative optimization module is proposed to optimize the non-circularity and smoothness of non-circular gear pitch curves. The optimization synthesis of this mechanism is divided into two steps. The first step is to conduct multi-objective constraint optimization with pose error and non-circular gear pitch curve as optimization objectives to obtain the required diversified non-inferior solution set. Secondly, a set of solutions are selected from the solution set to construct the optimization function of non-circular gear pitch curves The non-circularity and smoothness of the pitch curve are optimized to the maximum extent, and the pose change is ensured to be small. Finally, the multi-pose picking and planting of vegetable pot seedlings were realized using the proposed mechanism and optimization synthesis method. The final optimization design results show that the error between the actual pose and the required pose of the compact hybrid mechanism is small. The optimization effect of non-circularity and smoothness of non-circular gear pitch curves is pronounced. The effectiveness of the mechanism is verified via kinematic simulation.