Let $ X $ be a smooth projective variety (over $ \mathbb{C} $) of dimension $ n $ and $ x : \operatorname{Spec} \mathbb{C} \rightarrow X $ a point. How can I compute the complex $ \operatorname{\mathbf{R}Hom}^{\bullet} ( \mathbb{C}(x), \mathbb{C}(x) ) $ for the skyscraper sheaf $ \mathbb{C}(x) $ at $ x $? In general, if $ i : Y \rightarrow X $ is a variety of codimension $ d $, how can I compute $ \operatorname{\mathbf{R}Hom}^{\bullet} ( i_* \mathcal{O}_Y , i_* \mathcal{O}_Y ) $? To make the second question better, I probably need to add that $ i $ is a regular embedding.
I recieved some hints from my advisor on the first question. Because $ X $ is smooth, the point $ x $ can be cut out by $ n $ equations on an affine open $ U $ around $ x $ - so that a 'Koszul complex' exists locally. But I don't see how this gives an answer on $ X $, this just seems to compute it locally.