Assuming you are on separate tickets, transfer depends on whether you only have hand luggage versus whether you have checked in luggage. For checked in luggage, you will need to negotiate with UA at SFO for them to check the luggage through, otherwise you will have to clear immigration and collect your bags in Singapore.
7KG is strictly enforced.