
Init
Sets up or refreshes a Lovable project's local agent config, AGENTS.md and CLAUDE.md
Init is an open-source agent skill for developer tools. It is available on Claude Code.
- Scripts
- None
- Platforms
- Claude Code
- GitHub stars
- 23
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Init
This skill prepares a Lovable-hosted project for local coding agents. It creates or refreshes a .lovable-agent configuration and context files, an AGENTS.md instruction section, and a CLAUDE.md shim that points to the neutral files. Re-running it is meant to be safe: existing settings, custom instructions, tests and local credentials are kept rather than reset.
The workflow reads existing instruction and config files, inspects package metadata, Git remotes, app directories, Edge Functions and migrations, and runs a bundled architecture detection script when available. It records secret names and status only, never values, and avoids guessing project URLs or backends. It also sets default YOLO and auto-push flags to off for new projects, and reports the effective YOLO status and files changed afterwards.
It expects a Lovable project checkout and a Python 3 interpreter for its helper scripts. It also refers to shared reference documents bundled in the plugin for instruction boundaries, prompt authorization, credit efficiency and drafts.
When your agent uses it
Initialize or reinitialize a Lovable project for coding agents. Create or refresh .lovable-agent configuration and context, AGENTS.md, and the Claude compatibility shim while preserving project settings, custom instructions, tests, and local credentials.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 1 file (5 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the lovable plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add 10K-Digital/lovable-agent-skills
/plugin install lovable@10k-digitalOr copy only this skill to ~/.claude/skills/init:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/10K-Digital/lovable-agent-skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/init &&
cp -R "$tmp/plugins/lovable/skills/init" ~/.claude/skills/init &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/init inside it instead.
Copy the skill folder to ~/.agents/skills/init to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/10K-Digital/lovable-agent-skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/init &&
cp -R "$tmp/plugins/lovable/skills/init" ~/.agents/skills/init &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/init inside it instead.
Copy the skill folder to ~/.cursor/skills/init to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/10K-Digital/lovable-agent-skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/init &&
cp -R "$tmp/plugins/lovable/skills/init" ~/.cursor/skills/init &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/init inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/10K-Digital/lovable-agent-skills.git --path plugins/lovable/skills/initOr copy the folder to ~/.gemini/skills/init yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/init:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/10K-Digital/lovable-agent-skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/init &&
cp -R "$tmp/plugins/lovable/skills/init" ~/.copilot/skills/init &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/init inside it instead.
Get the folder:
git clone --depth 1 https://github.com/10K-Digital/lovable-agent-skills.gitThen copy lovable-agent-skills/plugins/lovable/skills/init into your agent's skills folder as init. Agents that support SKILL.md read one folder per skill.
What it does
- Project config setup
- Creates or merges the .lovable-agent configuration while keeping existing values and custom fields intact.
- Agent instruction sections
- Writes one delimited AGENTS.md section with rules for local agents and Lovable prompt authorization.
- Claude compatibility shim
- Keeps a CLAUDE.md file that points to the neutral agent instruction files.
- Secret-safe inspection
- Records secret names and status only and keeps tokenized URLs out of generated context.
- Legacy workspace migration
- Uses a bundled script to move a legacy test workspace while preserving canonical tests and ignored tokens.
- Validation and reporting
- Checks JSON validity, reviews the diff for preserved settings and reports files updated.
Good for
- Set up a new Lovable project for local coding agents
- Refresh AGENTS.md and CLAUDE.md after project changes
- Update the .lovable-agent config without losing custom settings
- Migrate a legacy Lovable test workspace
- Check that YOLO rules are consistent across config and instruction files
Init FAQ
Does running init submit a Lovable prompt or deploy the project?
No. The skill describes initialization as local setup only. It does not itself submit a Lovable prompt, deploy or publish.
What happens to existing settings when I run Init again?
Reinitialization preserves existing values, including explicit false settings and custom or unknown configuration fields. Malformed JSON is reported and left in place rather than reset.
Are secret values stored in the generated files?
The skill records secret names and status only, never values, and it does not place tokenized URLs in generated context.
What are the default YOLO and auto-push settings for a new project?
For new projects, YOLO, auto-push and deploy.use_drafts default to off unless the user requests otherwise.
How do I install Init in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/init to use it in all your projects, or to .claude/skills/init in one project. Or install the lovable plugin, which includes it: /plugin marketplace add 10K-Digital/lovable-agent-skills, then /plugin install lovable@10k-digital.
Does Init run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Init?
Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.
What are the best alternatives to Init?
The closest alternatives to Init are Lovable project, Lovable deploy, Yolo, Lovable sync and Lovable.
Where this comes from
- Description: from the skill's own SKILL.md.
More from 10K-Digital/lovable-agent-skills

Guides a coding agent through Lovable.dev projects, edge function deploys and migrations
- Open source
- 23 GitHub stars
- Developer tools

Guides an agent through deploying Lovable backend changes and verifying the result
- Open source
- 23 GitHub stars
- Cloud and infrastructure

Lets a coding agent create, build in, review and accept Lovable drafts safely
- Open source
- 23 GitHub stars
- Developer tools

Gives agents project context for Lovable.dev repos: Vite SPA vs TanStack Start, config
- Open source
- 23 GitHub stars
- Developer tools

Guides safe two-way sync between a Lovable project and its GitHub main branch
- Open source
- 23 GitHub stars
- Developer tools

Lets an agent plan, run and maintain Lovable Preview test suites in your project
- Open source
- 23 GitHub stars
- Developer tools

