Is there a way to conditionally change the state of a collapsible field group in admin, ie without changing a template or module file? I want to move the Metatags, keywords and edit summary into collapsible field groups at the top of the node edit page, but keep it open the first time the node is created, but collapsed in subsequent edits.

Can some CSS or Javascript be used to accomplish that? I don't want to do it in the file system code, whether are module or a template file.. I'd prefer something using the Admin even if it means applying some PHP there. If a module like the Context module can be used to test whether it is a newly created record and change some settings that will be fine.
If you want it to be open on page creation, you can target the page using the node-add-CONTENTTYPE class on the body. Using some jQuery in document ready you can set it open.

Something like:

jQuery('body.page-node-add-&lt;YOUR-CONTENT-TYPE&gt; fieldset.#YOUR-ID-HERE').removeClass('collapsed').children('.fieldset-wrapper').show();