In Maya 2014, I am creating an IK setup for the arm which automatically rotates both the clavicle and scapula, so that when the arm is raised overhead, the shoulder also raises. The final setup would have two bones in the shoulder, controlled by set-driven keys. I can’t make it work properly.
Here is simpler setup which has the same problem:

The problem is that connecting the position of the elbow to the rotation of the shoulder creates cyclic dependencies in the IK solver, causing jittery motion when the IK handle is posed.
It is possible to use the IK handle position to drive the shoulder rotation, but this is not anatomically correct: the rotation of the shoulder is not dependent on the position of the wrist, rather it is dependent on the position of the elbow.
This thread discusses using the IK handle position to drive the shoulder rotation (which is as I mentioned anatomically inaccurate):
http://forums.cgsociety.org/archive/index.php/t-92283.html
