On many occasions, clients have mentioned that the contact summary screen loses a lot of prime space to the communication preferences and demographics sections.
“Is there no way to collapse them by default like you can with custom data? They are rarely used but are needed”
They’re aware that demographics and communication preferences can be removed via the UI (/civicrm/admin/setting/preferences/display?reset=1)
This is a simple extension that collapses both the communication preferences and demographics sections by default on the summary page.