brianlovin/agent-config 是从 https://github.com/brianlovin/agent-config. 导入的代理技能候选
概览
brianlovin/agent-config 是从 https://github.com/brianlovin/agent-config. 导入的代理技能候选
概述(AI 翻译)
这是我为Claude代码和Codex设置的代理配置。
快速开始
包含了什么
设定
settings.json- 全局权限和偏好设置statusline.sh- 显示令牌使用情况的自定义状态线
技能
这些功能是编码代理可以调用的。
| 技能 | 描述 |
|---|---|
agent-browser |
网页测试与交互的浏览器自动化 |
favicon |
从源图像生成法维孔 |
knip |
查找并删除未使用的文件、依赖和导出 |
rams |
运行无障碍与视觉设计评测 |
reclaude |
重构 CLAUDE.md 文件以实现渐进披露 |
simplify |
代码简化专家 |
deslop |
删除AI生成的代码杂乱 |
管理你的配置
有备份的安全操作
所有破坏性操作都会生成带时间戳的备份:
验证技能
技能必须有SKILL.md,前言包含name和description。
测试
测试使用Bats(Bash自动测试系统)。
测试是在隔离的临时目录中运行,不会影响你的实际 ~/.claude 配置。
测试还涵盖了~/.codex/skills中的Codex技能同步。
仅本地配置
本页由 AI 翻译,技术细节请以原文为准。
README
agent-config
My agent configuration for Claude Code and Codex.
Quick start
git clone https://github.com/brianlovin/agent-config.git
cd agent-config
./install.sh
What’s included
Settings
settings.json- Global permissions and preferencesstatusline.sh- Custom statusline showing token usage
Skills
Reusable capabilities that your coding agents can invoke.
| Skill | Description |
|---|---|
agent-browser |
Browser automation for web testing and interaction |
favicon |
Generate favicons from a source image |
knip |
Find and remove unused files, dependencies, and exports |
rams |
Run accessibility and visual design review |
reclaude |
Refactor CLAUDE.md files for progressive disclosure |
simplify |
Code simplification specialist |
deslop |
Remove AI-generated code slop |
Managing your config
# See what's synced vs local-only
./sync.sh
# Preview what install would do
./install.sh --dry-run
# Add a local skill to the repo
./sync.sh add skill my-skill
./sync.sh push
# Pull changes on another machine
./sync.sh pull
# Remove a skill from repo (keeps local copy)
./sync.sh remove skill my-skill
./sync.sh push
Safe operations with backups
All destructive operations create timestamped backups:
# List available backups
./sync.sh backups
# Restore from last backup
./sync.sh undo
Validate skills
./sync.sh validate
Skills must have a SKILL.md with frontmatter containing name and description.
Testing
Tests use Bats (Bash Automated Testing System).
# Install bats (one-time)
brew install bats-core
# Run all tests
bats tests/
# Run specific test file
bats tests/install.bats
bats tests/sync.bats
bats tests/validation.bats
Tests run in isolated temp directories and don’t affect your actual ~/.claude config.
Tests also cover Codex skills syncing in ~/.codex/skills.
Local-only config
Not everything needs to be synced. The install script only creates symlinks for what’s in this repo - it won’t delete your local-only skills.
Machine-specific permissions accumulate in ~/.claude/settings.local.json (auto-created by Claude, not synced).
Codex skills are also linked from this repo into ~/.codex/skills.
Creating your own
Fork this repo and customize! The structure is simple:
agent-config/
├── settings.json # Claude Code settings
├── statusline.sh # Optional statusline script
├── skills/ # Skills (subdirectories with SKILL.md)
├── agents/ # Subagent definitions
├── rules/ # Rule files
└── tests/ # Bats tests
See also
- Claude Code docs
- My dotfiles - Shell, git, SSH config
推荐工具
换一个关键词,或者移除筛选条件。
安装
npx skillfish add brianlovin/agent-config