agent-config-setup

A setup tool that creates instruction files for several coding-agent tools by examining a project's files. It can create formats such as CLAUDE.md, AGENTS.md, Cursor rules, and Copilot instructions.

In plain words
What is it for?
Use it when starting or documenting a project for AI agents, including TypeScript, React, Next.js, Python, Go, Docker, and monorepos, or when generating files in automated scripts.
Why use it?
It avoids writing the same project guidance separately for each coding assistant. It detects the project's languages, frameworks, tests, and other tools so the files reflect the project.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/ofershap/create-agent-config/agent-config-setup
Any agent
npx skills add ofershap/create-agent-config --skill agent-config-setup
Clone the repo
git clone --depth 1 https://github.com/ofershap/create-agent-config

Made for: Claude Code, Codex.

Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 356 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00043 $0.00356
Opus 5 $0.00022 $0.00178
Sonnet 5 $0.00009 $0.00071
Haiku 4.5 $0.00004 $0.00036

Measured 2d ago against content hash 5791dfd3308a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

agent-config-setup scanned grade A with 0 findings 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 2d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/agent-config-setup/SKILL.md · 46 lines

What it actually says

Agent Config Setup

Use this skill to generate AI agent configuration files for a project. One command detects the stack and writes config for every major AI coding tool.

Usage

npm create agent-config

Or with npx:

npx create-agent-config [directory]

Supported Formats

Format Agent
.cursor/rules/*.mdc Cursor
CLAUDE.md Claude Code
AGENTS.md Universal standard
.github/copilot-instructions.md GitHub Copilot
.windsurfrules Windsurf
.clinerules Cline

What It Does

  1. Scans your project for stack signals (package.json, tsconfig, Dockerfile, etc.)
  2. Detects frameworks, languages, test tools, CI setup
  3. Asks which config formats you want
  4. Writes tailored config files with project-specific conventions

Key Patterns

  • Auto-detects: TypeScript, React, Next.js, Python, Go, Docker, Monorepos, and 20+ more
  • Each format gets the same project knowledge, adapted to the tool's config syntax
  • Safe to run on existing projects — won't overwrite files without confirmation
  • Non-interactive mode: npx create-agent-config --yes for CI/scripting
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. 2d ago First seen · 46 lines · 43 tokens per session scan A 5791dfd3308a

Subscribe to this mod's changes

agent-config-setup is a skill published in the GitHub repository ofershap/create-agent-config (2 stars, last pushed 6d ago), licensed MIT. It adds 43 tokens to every session and 356 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

skillcraft

Skill "skillcraft" from cloudroad-io/skillcraft, covering skillcraft, install, or: pip install skillcraft, commands and how it works.

cloudroad-io/skillcraft · 0 tokens

agents-sync

Generate and sync AI context files (AGENTS.md, CLAUDE.md, .cursorrules, copilot-instructions.md, GEMINI.md, .windsurfrules, .clinerules, .roomodes, CONVENTIONS.md, .kiro/steering/, .trae/rules/) from your codebase. One canonical source, every tool stays current.

googlarz/agents-sync · 82 tokens

tokrepo-search

Search and install AI assets from TokRepo — the open registry for skills, prompts, MCP configs, scripts, and workflows. Use when the user asks to find, search, discover, or install AI tools, MCP servers, Claude skills, cursor rules, prompts, or workflows.

henu-wang/tokrepo-search-skill · 60 tokens

tokrepo-search

Search and install AI assets from TokRepo — the open registry for skills, prompts, MCP configs, scripts, and workflows. Use when the user asks to find, search, discover, or install AI tools, MCP servers, Claude skills, cursor rules, prompts, or workflows.

henu-wang/tokrepo-search-skill · 60 tokens

tokrepo-search

Search and install AI assets from TokRepo — the open registry for skills, prompts, MCP configs, scripts, and workflows. Use when the user asks to find, search, discover, or install AI tools, MCP servers, Claude skills, cursor rules, prompts, or workflows.

henu-wang/tokrepo-search-skill · 60 tokens

macos-test-triage

Triage macOS tests across Xcode and SwiftPM. Use when narrowing failures, explaining assertions or crashes, or separating setup from regressions.

robinebers/openusage · 36 tokens