new-repo

new-repo is a skill for Cursor from saski/arnesto. It costs 63 tokens per session (694 once invoked), scanned A, original, Unlicense.

A workflow for creating a repository hosted on Cursor and pushing the current project to it.

In plain words
What is it for?
It is for turning a local project into a Cursor-hosted git repository.
Why use it?
It removes the setup work involved in checking git state, preparing files, and configuring the first remote.

Skill for Cursor

Written for Cursor: installed under .cursor/.

Good fit It is for turning a local project into a Cursor-hosted git repository.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/saski/arnesto/new-repo
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add saski/arnesto --skill new-repo
Clone the repo
git clone --depth 1 https://github.com/saski/arnesto

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for new-repo

README.md
[![agentmods](https://agentmods.dev/badge/skills/saski/arnesto/new-repo/github.svg)](https://agentmods.dev/skills/saski/arnesto/new-repo)
Your own site
<a href="https://agentmods.dev/skills/saski/arnesto/new-repo"><img src="https://agentmods.dev/badge/skills/saski/arnesto/new-repo/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for new-repo

Your own site · 80×15
<a href="https://agentmods.dev/skills/saski/arnesto/new-repo"><img src="https://agentmods.dev/badge/skills/saski/arnesto/new-repo.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 694 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00063 $0.00694
Opus 5 $0.00032 $0.00347
Sonnet 5 $0.00013 $0.00139
Haiku 4.5 $0.00006 $0.00069

Measured 6d ago against content hash 2d08d7daea09, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

new-repo scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/skills-cursor/new-repo/SKILL.md · 75 lines

How it starts

The opening of the file, as written. The whole thing — 75 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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 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.

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 committed

3. 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 main

origin 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.

Read the full file on GitHub · 75 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 75 lines · 63 tokens per session scan A 2d08d7daea09

Subscribe to this mod's changes

new-repo is a skill published in the GitHub repository saski/arnesto (5 stars, last pushed 4d ago), licensed Unlicense. It adds 63 tokens to every session and 694 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.