Create a Cursor-hosted repo for the current project and push it. Use when a project has no git remote yet and the user asks to create a repo on Cursor, push the project to Cursor, or set up a Cursor-hosted remote; installs and signs in the origin CLI when needed.
92%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Passed
No findings from the security scan
If the user seems unfamiliar with git, keep the vocabulary plain (the
share skill is this same flow in novice framing) — the mechanics below are
identical either way.
This skill creates Cursor-hosted repos. If the user explicitly asks for a different host, follow that request without using this skill.
git rev-parse --is-inside-work-tree 2>/dev/null
git remote -vgit init in step 2.Default to a repo named after the project folder (lowercase, dashes; strip characters other than letters, digits, and dashes). Ask about the name only when it is genuinely ambiguous.
Before staging anything, list what would be committed
(git status --porcelain or git ls-files -o --exclude-standard) and make
sure .gitignore covers dependency directories and secrets (.env*, key
and credential files). If anything that looks like a secret would be staged,
ask before including it — never stage-and-push blind.
git init -b main # only if not already a repo
git add -A && git commit -m "Initial commit" # only if nothing committedIf origin is missing, unauthenticated, or outdated, first invoke the
origin skill (synced at ~/.cursor/skills-cursor/origin/SKILL.md) for install +
sign-in, then:
origin repo create <name>
git remote add origin <clone URL printed by create>
git push -u origin mainorigin repo create <name> needs no org prefix — the CLI resolves the
account's namespace. If the name is taken, pick a close variant (suffix a
word, not a number soup) and retry once; if it fails again, ask the user. On
a namespace or access error, follow the origin skill's recovery table.
Report the repo's page: https://cursor.com/codebase/<org>/<name> (the
<org>/<name> is printed by origin repo create).
saski/arnesto
752f690
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.