I wish but according to IRS rule, any home repair can't be tax deductible unless it is an improvement to the home; but in special case of selling the home, the IRS allow you to deduct any repair or improvement but the repair or improvement has to have been done 90 days before your closing date. In my case, at the closing date I have to credit or give $35k to Opendoor for them to repair the house in the future. I believe this is a tough answer. Are you all accountants or CPA?
I agree with @Carl11_2 and @Anonymous_. The repair credit is a sales expense and can be subtracted from your gross proceeds when you calculate your capital gain.
You might find this web reference useful.
https://www.nolo.com/legal-encyclopedia/when-home-sellers-can-reduce-capital-gains-tax-using-expenses-sale.html#:~:text=You%20are%20allowed%20to%20deduct,appraisal%20fees
I am not a CPA or accountant. This is a TurboTax users' forum. I can tell you that most of the users who answer questions on this forum have been doing so for several years and are quite knowledgeable about income tax issues.