  We derive and compute effective valence-space shell-model interactions from
ab-initio coupled-cluster theory and apply them to open-shell and neutron-rich
oxygen and carbon isotopes. Our shell-model interactions are based on
nucleon-nucleon and three-nucleon forces from chiral effective-field theory. We
compute the energies of ground and low-lying states, and find good agreement
with experiment. In particular our calculations are consistent with the N=14,
16 shell closures in oxygen-22 and oxygen-24, while for carbon-20 the
corresponding N=14 closure is weaker. We find good agreement between our
coupled-cluster effective-interaction results with those obtained from standard
single-reference coupled-cluster calculations for up to eight valence neutrons.
