lovable-agent-skills
AGENTS.md23 starsChanged 4 months agoMITView on GitHub
This repository contains the Lovable Agent Skills plugin and its Claude Code compatibility layer. These instructions are the provider-neutral source of truth for Codex, Claude Code, and other coding agents. 1. Read .lovable-agent/config.json for repository-safe defaults. 2. Read the relevant skill under plugins/lovable/skills/ before changing a workflow. 3. Preserve the Claude Code commands in plugins/lovable/commands/ and hooks in plugins/lovable/hooks/ unless a change explicitly updates their compatibility behavior. - Canonical user-project state lives in .lovable-agent/. - AGENTS.md is the neutral instruction…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 35,266 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repositoryOne other file it gives its agents.
- CLAUDE.mdCLAUDE.md
The file
We split this AGENTS.md into the rules it gives an agent
6 rules. About 1 is common, 1 is distinctive, and 4 are very specific to this project.
≈1
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 9
Read .lovable-agent/config.json for repository-safe defaults.
- Very specific: line 10
Read the relevant skill under plugins/lovable/skills/ before changing a workflow.
- Common: line 21
Never put preview tokens, API keys, OAuth credentials, or secret values in tracked files, generated context, logs, MCP messages, or commit …
- Very specific: line 24
Prefer the official Lovable MCP at https://mcp.lovable.dev.
- Very specific: line 29
Keep version values synchronized in plugins/lovable/.codex-plugin/plugin.json, plugins/lovable/.claude-plugin/plugin.json, …
- Distinctive: line 34
Run these checks before publishing changes:
≈ “Common” is an estimate: at least 1 in 5 of the 45,344 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Lovable Agent Instructions
This repository contains the Lovable Agent Skills plugin and its Claude Code compatibility layer. These instructions are the provider-neutral source of truth for Codex, Claude Code, and other coding agents.
Start here
- Read
.lovable-agent/config.jsonfor repository-safe defaults. - Read the relevant skill under
plugins/lovable/skills/before changing a workflow. - Preserve the Claude Code commands in
plugins/lovable/commands/and hooks inplugins/lovable/hooks/unless a change explicitly updates their compatibility behavior.
Project contracts
- Canonical user-project state lives in
.lovable-agent/. AGENTS.mdis the neutral instruction file.CLAUDE.mdis a compatibility shim and may retain Claude-specific repository notes.- The legacy
.claude/lovable-claude/test/workspace remains supported. Useplugins/lovable/scripts/migrate-workspace.pyto migrate it to.lovable-agent/tests/. - Never put preview tokens, API keys, OAuth credentials, or secret values in tracked files,
generated context, logs, MCP messages, or commit messages. The only token file is the ignored
.lovable-agent/preview-token.local(with the legacy path supported during migration). - Prefer the official Lovable MCP at
https://mcp.lovable.dev; fall back to browser automation, then provide a manual prompt. Confirm destructive database operations before submission. - Codex discovers the bundled
plugins/lovable/hooks/hooks.jsonby convention. It includesSessionStart/Stopevents plus the existing ClaudeStartcompatibility event; review and trust hooks before enabling them. - Keep version values synchronized in
plugins/lovable/.codex-plugin/plugin.json,plugins/lovable/.claude-plugin/plugin.json,.claude-plugin/marketplace.json, andCHANGELOG.md.
Validation
Run these checks before publishing changes:
python3 scripts/validate_skills.py
python3 /Users/felipematossardinhapinto/.codex/skills/.system/plugin-creator/scripts/validate_plugin.py plugins/lovable
python3 -m unittest discover -s tests -vThe repository's Codex marketplace entry is .agents/plugins/marketplace.json; its plugin source
is ./plugins/lovable. The Claude marketplace entry remains .claude-plugin/marketplace.json and
points to the same plugin directory.
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.

