See
grep
the full_name
field to get a list of all the reposcut
the relevant details to extract a neat listxargs
with substitution to clone the reposcurl "https://api.github.com/{user|orgs}/{username|orgname}/repos?page=1&per_page=100" \
-H "Accept: application/vnd.github.v3+json" \
-H"Authorization: token YOUR_TOKEN" \
| grep -e 'full_name' \
| cut -d \" -f 4 \
| xargs -L1 -I{} git clone git@github.com:{}