import-existing-ai-config

import-existing-ai-config is a skill for Claude Code from fabis94/universal-ai-config. It costs 37 tokens per session (5,082 once invoked), scanned B, original, MIT.

A converter for bringing configuration from Claude, Copilot, Cursor, or Codex into universal-ai-config templates. These configurations include instructions, skills, agents, and hooks—automatic actions triggered by events during an AI session.

In plain words
What is it for?
Use it to import rules, skills, agents, and event hooks from an existing AI coding setup.
Why use it?
It avoids rewriting existing AI-tool settings by hand when moving them into a shared format. You choose the source tool, and it scans the relevant configuration files.

Skill for Claude Code

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

Good fit Use it to import rules, skills, agents, and event hooks from an existing AI coding setup.

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

Made for: Claude Code.

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 import-existing-ai-config

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/fabis94/universal-ai-config/import-existing-ai-config"><img src="https://agentmods.dev/badge/skills/fabis94/universal-ai-config/import-existing-ai-config.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,082 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 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.00037 $0.05082
Opus 5.5 $0.00015 $0.02033
Sonnet 5.5 $0.00007 $0.01016
Haiku 4.5 $0.00004 $0.00508

Measured yesterday against content hash 11b72079aa9b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

import-existing-ai-config scanned grade B 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 yesterday.

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.

Reads MCP configurationmediumAgent snooping

mcp.json carries server URLs and auth tokens; reading it lets a mod discover and abuse other integrations.

| Copilot `.vscode/mcp.json` (legacy) | Rename `servers` → `mcpServers`. Drop `inputs`, `envFile`, `sandbox`, `sandboxEnabled` and `dev` — uac no longer writes them — and replace `${input:name}` references with `${ENV_VA
.universal-ai-config/skills/import-existing-ai-config/SKILL.md · 181 lines

How it starts

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

Import Existing AI Config

Convert existing target-specific AI configuration files into universal-ai-config templates. The user must specify which target to import from.

Usage

The user should specify the source target: claude, copilot, cursor, or codex.

Import Process

1. Identify Source Files

Scan the target's config directory for existing configuration files:

Claude (.claude/):

  • Instructions: .claude/rules/*.md — each file has description and optional paths frontmatter
  • Skills: .claude/skills/*/SKILL.md — skill directories with frontmatter (name, description, allowed-tools, disallowed-tools, model, context, agent, background, disable-model-invocation, user-invocable, argument-hint, when_to_use, arguments, effort, shell, hooks, paths). Skill directories may also contain extra supporting files (references, examples, scripts) alongside SKILL.md.
  • Agents: .claude/agents/*.md — agent files with frontmatter (name, description, tools, disallowedTools, permissionMode, skills, hooks, memory, model, autoCompactWindow, omitClaudeMd, experimental). tools may be a comma string (Read, Grep) — convert it to an array.
  • Hooks: .claude/settings.json → hooks key — JSON with PascalCase event names (see the hooks doc for the full list). Handler onFailure: "block"/"continue" → universal failClosed: true/false.
  • MCP: .mcp.json — JSON with mcpServers wrapper containing server configs (type, command, args, env, url, headers, timeout, …)
  • Commands (deprecated): .claude/commands/*.md — single-file slash commands with optional frontmatter (description, allowed-tools, argument-hint, model). May include subdirectories for namespacing (e.g. .claude/commands/frontend/component.md — command name is component). Body may use $ARGUMENTS placeholder, a "!" prefix for bash execution, and @ prefix for file references.

Copilot (.github/):

Read the full file on GitHub · 181 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. yesterday Changed · +25 lines 11b72079aa9b
  2. 2d ago Changed · -18 lines d116a52d79fd
  3. 2mo ago First seen · 174 lines · 37 tokens per session scan B 601271dd9a48

Subscribe to this mod's changes

import-existing-ai-config is a skill published in the GitHub repository fabis94/universal-ai-config (14 stars, last pushed 2d ago), licensed MIT. It adds 37 tokens to every session and 5,082 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads mcp configuration). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

import-existing-ai-config compared with skills from other repositories

import-existing-ai-config next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
import-existing-ai-configfabis94/universal-ai-configSkill142d agoMITB37Claude Code
imagegenopenai/codexSkill134ktodayApache-2.0A113Codex
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79ktodayMITA200Claude Code, Codex
playwright-climicrosoft/playwrightSkill99ktodayApache-2.0A19Claude Code
systematic-debuggingobra/superpowersSkill314k3d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143ktodayMITA95Claude Code
chat-pet-sprite-creationmicrosoft/vscodeSkill195ktodayMITA53Claude Code, Codex