export-config
Skill8 starsChanged 7 months agoMITView on GitHub
Export dotforge configuration to other AI code editors (Cursor, Codex, Windsurf, OpenClaw).
- Reads credentials
- Deletes or force-pushes
1 other project uses a version of this.
Adopted by
Most recently taken up by
- Simone-Tarantino/godot-superpowerstheir own version, first seen Oct 11, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- Simone-Tarantino/godot-superpowers★ 2same 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 repository20 other files it gives its agents.
- .claude/rules/agents.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- audit-projectSkill
- bootstrap-projectSkill
- capture-practiceSkill
- diff-projectSkill
- domain-extractSkill
- forge-behaviorSkill
- init-projectSkill
- learn-projectSkill
- mcp-addSkill
- plugin-generatorSkill
- reset-projectSkill
- rule-effectivenessSkill
- scout-reposSkill
- session-insightsSkill
- sync-all-reposSkill
- sync-templateSkill
- update-practicesSkill
- watch-upstreamSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. About 0 are common, 8 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 13
If no argument provided, show available targets and ask.
- Distinctive: line 17
Read these files from the current project:
- Very specific: line 22
If none exist, error: "No dotforge configuration found.
- Very specific: line 38
If CLAUDE.md is a symlink to AGENTS.md, or already contains an @AGENTS.md line: skip — the project is already sharing one file.
- Distinctive: line 39
If AGENTS.md exists without an import: warn that Claude ignores it (a CLAUDE.md is present) and that regenerating creates a second drifting …
- Very specific: line 40
Never include the .claude/settings.json permission lists in AGENTS.md when Claude will load it — they are enforced natively and only add …
- Distinctive: line 43
Start with project context from CLAUDE.md (skip forge markers)
- Distinctive: line 46
Add "## Workflow" section from agent orchestration rules if present
- Distinctive: line 54
Add Windsurf-specific header: "You are an AI assistant working on this project."
- Very specific: line 61
Create skill directory: ~/.openclaw/skills/{project-slug}/
- Distinctive: line 112
Check if target file already exists
- Distinctive: line 113
If exists: show diff preview and ask user to confirm overwrite
- Very specific: line 114
If user declines: suggest alternative filename (e.g., .cursorrules.dotforge)
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill 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
Export Configuration
Convert the current project's dotforge configuration into formats compatible with other AI coding tools.
Input
$ARGUMENTS contains the target format: cursor, codex, windsurf, or openclaw.
If no argument provided, show available targets and ask.
Step 1: Read current configuration
Read these files from the current project:
CLAUDE.md— project instructions.claude/rules/*.md— contextual rules (strip YAML frontmatter).claude/settings.json— permissions and hooks
If none exist, error: "No dotforge configuration found. Run /forge bootstrap first."
Step 2: Transform based on target
cursor → .cursorrules
Generate a single .cursorrules file at project root:
- Extract content from
CLAUDE.md(skip forge markers) - Append all rules from
.claude/rules/*.md(strip YAML frontmatter —globs:,paths:,alwaysApply:, etc. — keep content) - Convert deny list to text: "DO NOT: read/modify files matching: .env, *.key, *.pem, credentials"
- Convert hooks to text instructions: "Before executing bash commands, check for destructive patterns: rm -rf, DROP TABLE, force push"
- Wrap in a single markdown document
codex → AGENTS.md
Claude Code reads AGENTS.md natively (v2.1.277+), so this file is no longer Codex-only — whatever you write here Claude may load too. Before generating:
- If
CLAUDE.mdis a symlink toAGENTS.md, or already contains an@AGENTS.mdline: skip — the project is already sharing one file; say so and stop. - If
AGENTS.mdexists without an import: warn that Claude ignores it (aCLAUDE.mdis present) and that regenerating creates a second drifting copy. Recommend adding@AGENTS.mdtoCLAUDE.mdand moving the shared content intoAGENTS.mdinstead of exporting. - Never include the
.claude/settings.jsonpermission lists inAGENTS.mdwhen Claude will load it — they are enforced natively and only add stale duplicates.
Generate AGENTS.md at project root:
- Start with project context from
CLAUDE.md(skip forge markers) - Append rules as "## Rules" section
- Convert permissions to "## Permissions" section: list allowed and denied commands — Codex-only; omit when
AGENTS.mdwill also be read by Claude (see above) - Add "## Workflow" section from agent orchestration rules if present
- Format as flat markdown (Codex expects simple instructions)
windsurf → .windsurfrules
Generate .windsurfrules at project root:
- Same content extraction as cursor
- Windsurf format is similar to
.cursorrules— single markdown file - Add Windsurf-specific header: "You are an AI assistant working on this project."
- Append all rules and converted hooks/permissions
openclaw → ~/.openclaw/skills/{project}/SKILL.md + workspace agent config
Generate an OpenClaw workspace skill for the current project:
- Create skill directory:
~/.openclaw/skills/{project-slug}/ - Generate
SKILL.mdwith frontmatter:--- name: {project-slug} description: "AI assistant for {project-name} — {stack description}" user-invocable: true metadata: {"openclaw":{"requires":{"bins":["claude"]}}} --- - Body content:
- Project context from
CLAUDE.md(skip forge markers, keep substance) - Build/test commands as executable instructions
- Rules converted to behavioral instructions (strip
globs:frontmatter) - Deny list as explicit "NEVER read or modify" instructions
- Hook logic as text: "Before executing commands, check for destructive patterns: ..."
- Agent roles summarized: "For architecture decisions, think like an architect. For security, scan for OWASP top 10."
- Project context from
- Add execution section:
## Execution When asked to work on this project: 1. cd to {project-path} 2. Use `claude --print "<task>"` to execute via Claude Code 3. Return the result formatted for the current channel
Additionally, if the project has specific commands (.claude/commands/*.md), list them as available actions:
## Available commands
- /audit — audit project configuration
- /health — health check
- /debug — assisted debugging
- /review — code reviewWhat OpenClaw export preserves vs loses
| Feature | Preserved | How |
| Project context | ✅ | CLAUDE.md content in skill body |
| Rules | ✅ | Converted to text instructions |
| Deny list | ✅ | "NEVER read/modify" instructions |
| Hook logic | ⚠️ Partial | Text instructions (no enforcement) |
| Agent orchestration | ⚠️ Partial | Summarized as behavioral guidance |
| Audit scoring | ✅ | Via claude --print "/forge audit" bridge |
| Session metrics | ❌ | OpenClaw sessions don't generate dotforge metrics |
| Stack-specific auto-loading | ❌ | All rules flattened into single skill |
Step 3: Handle conflicts
Before writing:
- Check if target file already exists
- If exists: show diff preview and ask user to confirm overwrite
- If user declines: suggest alternative filename (e.g.,
.cursorrules.dotforge)
Step 4: Report
Show:
Export complete: {{target}}
Output: {{filename}}
Sources: CLAUDE.md, {{N}} rules, settings.json
Note: hooks and deny list converted to text instructions (no enforcement outside Claude Code)Warn: "Exported rules are advisory only. Hook enforcement (destructive command blocking) only works in Claude Code."
Limitations
- Hooks cannot be enforced outside Claude Code — converted to text instructions
- Agent orchestration is Claude Code-specific — simplified to workflow instructions
- Stack-specific rules are included but glob-based auto-loading is Claude Code-only
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.

