SuperAPIAI Directory

agent-config

github.com · AI coding

Agent Config is an open-source configuration package for AI coding agents, licensed under MIT and installed via npm. It writes skills, rules, slash commands, and subagents into the user-level configuration of each AI coding tool, so that agents plan, test, and verify before declaring "done." It supports 20 AI coding tools, and on Claude Code it can block a turn from ending when files were changed but no checks were run. After installation, by default it does not write skills or rules into the repository; it only generates agents/overrides/ in the repository for users to modify themselves. The official documentation states that the trade-off is higher token consumption, and some benchmark results have been published.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsmacOS · Linux

About this tool

Agent Config is a collection of skills, rules, slash commands, and subagents written into the configuration of AI coding tools, with the goal of making AI coding agents check their own work before saying "done." It is not itself an agent and does not change model capabilities; rather, it changes what agents are asked to do.

Purpose and main capabilities After a single installation, the user's existing AI coding tools gain a set of skills, agent rules, and slash commands. Rules that apply to every task are always active, while narrower rules load when a task requires them. On Claude Code, if an agent changed files but ran no checks, the turn can be blocked from ending; on other tools these rules are only instructions and cannot enforce a block.

Installation and usage Requires Node 22.6 or newer, and supports macOS 12.3+, Linux, and WSL2; native PowerShell and cmd do not support file installation, so WSL2 is required. The install command is npx -y @event4u/agent-config init. In a desktop environment, a browser wizard opens; select a role and tools and click finish, and nothing is written until the wizard completes. init detects installed AI tools and selects them automatically; in CI, without a terminal, or when using --yes or --tools=<ids>, the wizard is skipped. install is an alias for the same wizard. By default it installs to the user's home directory (such as ~/.event4u/agent-config/ and each tool's user-level directory), and the repository only gets agents/overrides/ and a few gitignored record files; agent-config init --project generates only these contents in the repository.

Other capabilities Provides a read-only checker, production-validator, which can be asked whether a branch is truly complete; it reads the code about to be released, looks for mocks and placeholders, and requires evidence of runs, without modifying anything. agent-config code-graph map --open generates an offline repository call graph, preserving file:line. agent-config doctor helps diagnose missing PATH entries, version mismatches, and leftover issues; agent-config routing:doctor reports which checks are active and why. agent-config config opens the settings interface; agent-config uninstall --global removes only its own entries.

Use cases and limitations Intended for developers whose AI coding agents declare "done" too early. Skill coverage is deepest for Laravel and modern PHP (Pest, PHPStan, Rector, Eloquent, Livewire), followed by Symfony, Next.js, and React; cross-stack skills cover API design, testing, security, databases, Docker, Git, CI, review, threat modeling, and prompt engineering; coverage of other stacks is officially described as promising but unproven. The official disclosure states that the discipline improvement from a full installation on Claude Haiku is not significant, with no improvement on Claude Sonnet, and only the core rule set retains a significant improvement on Haiku; after installation, token consumption is 7.8 times that of running without rules, and 2.9 times with only the core rules. By default, no data leaves the local machine except for the daily npm update check and querying whether a PR has been merged via the user's gh login; telemetry is off; the second-opinion feature is off by default, and when enabled it sends work content to other AI providers using the user's own API key and incurs costs. Claude Code cloud sessions start from a fresh clone and cannot see the home directory installation, so they will not load these skills, rules, and hooks. The EU/DE legal skill set is for research and drafting assistance only and does not constitute legal advice.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools