<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def account_post_init(remote, token=None):
 """Perform post initialization."""

    gh = GitHubAPI(user_id=token.remote_account.user_id)
    repos = [r.id for r in gh.api.repositories() if r.permissions['admin']]
    sync_hooks.delay(token.remote_account.user_id, repos)