ワンクリックで
export-config
Export dotforge configuration to other AI code editors (Cursor, Codex, Windsurf, OpenClaw).
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Export dotforge configuration to other AI code editors (Cursor, Codex, Windsurf, OpenClaw).
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Audits the Claude Code configuration of a project against the dotforge template. Generates a report with score and gaps.
Sync all GitHub-backed git repos on this machine with origin. Pulls behind repos, pushes ahead repos, reports dirty/non-main/conflict cases for Claude to resolve.
Generate a Claude Code plugin package from the current project's dotforge configuration, ready for marketplace submission.
Fetch official Anthropic/Claude Code docs, detect changes relevant to dotforge, report deltas.
Process the practices inbox, evaluate, incorporate into dotforge, and suggest propagation to projects.
Restore a project's .claude/ directory to the dotforge template from scratch, with backup and rollback option.
| name | export-config |
| description | Export dotforge configuration to other AI code editors (Cursor, Codex, Windsurf, OpenClaw). |
Convert the current project's dotforge configuration into formats compatible with other AI coding tools.
$ARGUMENTS contains the target format: cursor, codex, windsurf, or openclaw.
If no argument provided, show available targets and ask.
Read these files from the current project:
CLAUDE.md — project instructions.claude/rules/*.md — contextual rules (strip YAML frontmatter).claude/settings.json — permissions and hooksIf none exist, error: "No dotforge configuration found. Run /forge bootstrap first."
cursor → .cursorrulesGenerate a single .cursorrules file at project root:
CLAUDE.md (skip forge markers).claude/rules/*.md (strip YAML frontmatter — globs:, paths:, alwaysApply:, etc. — keep content)codex → AGENTS.mdGenerate AGENTS.md at project root:
CLAUDE.mdwindsurf → .windsurfrulesGenerate .windsurfrules at project root:
.cursorrules — single markdown fileopenclaw → ~/.openclaw/skills/{project}/SKILL.md + workspace agent configGenerate an OpenClaw workspace skill for the current project:
~/.openclaw/skills/{project-slug}/SKILL.md with frontmatter:
---
name: {project-slug}
description: "AI assistant for {project-name} — {stack description}"
user-invocable: true
metadata: {"openclaw":{"requires":{"bins":["claude"]}}}
---
CLAUDE.md (skip forge markers, keep substance)globs: frontmatter)## 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 review
| 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 |
Before writing:
.cursorrules.dotforge)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."