export-config

export-config is a skill for Claude Code from luiseiman/dotforge. It costs 25 tokens per session (1,427 once invoked), scanned C, original, MIT.

A project-configuration exporter that converts dotforge settings into formats used by Cursor, Codex, Windsurf, or OpenClaw, which are AI coding tools.

In plain words
What is it for?
Use it to read the current project's CLAUDE.md, rule files, and settings, then create a compatible configuration file for a selected tool.
Why use it?
It removes the need to rewrite project instructions, rules, permissions, and command-safety guidance for each coding tool.

Skill for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

Part of the dotforge plugin — 25 skills, 25 commands, 7 agents, 8 hooks shipped together

Good fit Use it to read the current project's CLAUDE.md, rule files, and settings, then create a compatible configuration file for a selected tool.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/luiseiman/dotforge/export-config
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 luiseiman/dotforge --skill export-config
Clone the repo
git clone --depth 1 https://github.com/luiseiman/dotforge

Made for: Claude Code.

Or install dotforge, the plugin that ships this one along with the rest of its 25 skills, 25 commands, 7 agents, 8 hooks.

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 export-config

README.md
[![agentmods](https://agentmods.dev/badge/skills/luiseiman/dotforge/export-config/github.svg)](https://agentmods.dev/skills/luiseiman/dotforge/export-config)
Your own site
<a href="https://agentmods.dev/skills/luiseiman/dotforge/export-config"><img src="https://agentmods.dev/badge/skills/luiseiman/dotforge/export-config/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 export-config

Your own site · 80×15
<a href="https://agentmods.dev/skills/luiseiman/dotforge/export-config"><img src="https://agentmods.dev/badge/skills/luiseiman/dotforge/export-config.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,427 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00025 $0.01427
Opus 5.5 $0.00010 $0.00571
Sonnet 5.5 $0.00005 $0.00285
Haiku 4.5 $0.00003 $0.00143

Measured 1mo ago against content hash a429aec77af7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

export-config scanned grade C with 1 finding 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 1mo 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

4. Convert hooks to text instructions: "Before executing bash commands, check for destructive patterns: rm -rf, DROP TABLE, force push"
skills/export-config/SKILL.md · 133 lines

How it starts

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

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:

  1. Extract content from CLAUDE.md (skip forge markers)
  2. Append all rules from .claude/rules/*.md (strip YAML frontmatter — globs:, paths:, alwaysApply:, etc. — keep content)
  3. Convert deny list to text: "DO NOT: read/modify files matching: .env, *.key, *.pem, credentials"
  4. Convert hooks to text instructions: "Before executing bash commands, check for destructive patterns: rm -rf, DROP TABLE, force push"
  5. 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.md is a symlink to AGENTS.md, or already contains an @AGENTS.md line: skip — the project is already sharing one file; say so and stop.
  • If AGENTS.md exists without an import: warn that Claude ignores it (a CLAUDE.md is present) and that regenerating creates a second drifting copy. Recommend adding @AGENTS.md to CLAUDE.md and moving the shared content into AGENTS.md instead of exporting.
  • Never include the .claude/settings.json permission lists in AGENTS.md when Claude will load it — they are enforced natively and only add stale duplicates.

Generate AGENTS.md at project root:

  1. Start with project context from CLAUDE.md (skip forge markers)
  2. Append rules as "## Rules" section
  3. Convert permissions to "## Permissions" section: list allowed and denied commands — Codex-only; omit when AGENTS.md will also be read by Claude (see above)
  4. Add "## Workflow" section from agent orchestration rules if present
  5. Format as flat markdown (Codex expects simple instructions)

Read the full file on GitHub · 133 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. 1mo ago Changed · +5 lines a429aec77af7
  2. 3mo ago First seen · 128 lines · 25 tokens per session scan C 472b8df7bee1

Subscribe to this mod's changes

export-config is a skill published in the GitHub repository luiseiman/dotforge (8 stars, last pushed 26d ago), licensed MIT. It adds 25 tokens to every session and 1,427 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

export-config compared with skills from other repositories

export-config next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
export-configluiseiman/dotforgeSkill826d agoMITC25Claude Code
zephermineDannykkh/skill-olympusSkill96d agoMITA97Codex
design-planDannykkh/skill-olympusSkill96d agoMITA108Codex
agent-teamDannykkh/skill-olympusSkill96d agoMITA132Claude Code, Codex
clioDannykkh/skill-olympusSkill96d agoMITA107Claude Code, Codex
frontend-designDannykkh/skill-olympusSkill96d agoMITA92Claude Code, Codex
argosDannykkh/skill-olympusSkill96d agoMITA89Claude Code, Codex