new-repo
Skill0 starsChanged 2 months agoMITView on GitHub
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.
- Reads credentials
- Commits and pushes
5 other projects use a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- peterpme/skillstheir own version, first seen Nov 8, 2026
- Crawford-Young/claude-configtheir own version, first seen Oct 25, 2026
- 0mlkrizzz655335v/claude-skills-zhtheir own version, first seen Oct 15, 2026
- JameMy0001/antigravity-skills-hubedited, first seen Oct 2, 2026
- roadhero/claude-code-setuptheir own version, first seen Sep 12, 2026
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 1
- JameMy0001/antigravity-skills-hub★ 191% same
Wrote their own version · 4
- roadhero/claude-code-setup★ 36same name
- peterpme/skills★ 28same name
- 0mlkrizzz655335v/claude-skills-zh★ 2same name
- Crawford-Young/claude-config★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository32 other files it gives its agents.
- .claude/CLAUDE.mdCLAUDE.md
- .cursor/rules/base-rule.mdcCursor rule
- .cursor/rules/bash-style.mdcCursor rule
- .cursor/rules/groovy-implicit-return.mdcCursor rule
- .cursor/rules/groovy-style.mdcCursor rule
- .cursor/rules/markdown-style.mdcCursor rule
- .cursor/rules/python-style.mdcCursor rule
- automateSkill
- autopilotSkill
- canvasSkill
- create-hookSkill
- create-ruleSkill
- create-skillSkill
- create-subagentSkill
- cursor-blameSkill
- git-messageSkill
- goalSkill
- loopSkill
- migrate-to-skillsSkill
- onboardSkill
- originSkill
- rename-chatSkill
- review-bugbotSkill
- review-securitySkill
- reviewSkill
- sdkSkill
- shareSkill
- shellSkill
- split-to-prsSkill
- statuslineSkill
- update-cli-configSkill
- update-cursor-settingsSkill
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 4 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 13
If the user seems unfamiliar with git, keep the vocabulary plain (the share skill is this same flow in novice framing) — the mechanics …
- Distinctive: line 30
Not a git repository yet → you will git init in step 2.
- Distinctive: line 32
Default to a repo named after the project folder (lowercase, dashes.
- Very specific: line 38
Before staging anything, list what would be committed (git status --porcelain or git ls-files -o --exclude-standard) and make sure …
- Very specific: line 51
If origin is missing, unauthenticated, or outdated, first invoke the origin skill (synced at ~/.cursor/skills-cursor/origin/SKILL.md) for …
- Distinctive: line 71
Never create a repo when the project already has a remote.
- Distinctive: line 72
Never delete repos, and never change existing remotes.
“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
new-repo — create a repo for this project and push it
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.
1. Inspect the workspace first (always)
git rev-parse --is-inside-work-tree 2>/dev/null
git remote -v- A remote already exists → this project already has a repo. Say which remote, offer to commit/push instead, and stop. Never create a second repo for a project that has one, and never change existing remotes.
- Not a git repository yet → you will
git initin 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.
2. Prepare the project
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 committed3. Create and push the Cursor-hosted repo
If 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).
Hard limits
- Never create a repo when the project already has a remote.
- Never delete repos, and never change existing remotes.
- Cursor-hosted repos are not public — access is managed from the repo page, not from this skill, so do not promise public visibility.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

