1. If the equations
$$
x^{2}+b x+1=0 \text { and } x^{2}-x-b=0
$$

have a common root, find the value of $b$.
Prompt: Example 1. Use the substitution method to find the common root \( x_{0}=-1 \).

Translate the text above into English, please retain the original text's line breaks and format, and output the translation result directly.