anthropic-skills
Official Anthropic skills collection including document processing, design tools, and development utilities
Summary
The anthropic-skills skill provides a unified CLI and cross-agent rule sync for managing development environments, including project bootstrapping, port collision prevention, and multi-project test orchestration.
- It helps developers standardize tooling across Claude Code, Cursor, Codex, Gemini, and Qwen, reducing setup overhead and ensuring consistency.
Overview
One CLI, every agent. Install rules, skills, and agents once. Set up new projects in seconds. Catch port collisions and test leaks before they bite. Cross-agent — Claude Code, Cursor, Codex, Gemini, Qwen.
git clone https://github.com/bernierllc/agents-environment-config.git
cd agents-environment-config
pip install -e .
aec installThis is a template repository. Project-specific content goes in each project's
AGENTINFO.md— not here.
What you get
| What it does | |
|---|---|
| Cross-agent rule sync | Write rules once. AEC ships them to Claude (CLAUDE.md), Cursor (.mdc w/ frontmatter), Codex (AGENTS.md), Gemini, and Qwen — formatted correctly for each, parity-checked on commit. |
| Catalog package manager | aec install / uninstall / list / search / outdated / upgrade for skills, rules, and agents. Semver dependencies, dismissals, and an automatic prompt to promote per-repo installs to a single global one once you've used it in N repos. |
| Project bootstrapper | aec setup drops agent files, lint/typecheck hooks (TS, Rust, Python, Go, Ruby), git essentials (.gitignore, CI, dependabot, PR/issue templates, LICENSE, CODEOWNERS), .aec.json, and Raycast launchers. |
| Multi-project ops | A central port registry (no more :3000 collisions), test framework detection, scheduled cross-project test runs (launchd, cron, Task Scheduler), profiling, leak detection, and opt-in parallel lanes. |
| Discovery + governance | aec discover finds the agent/skill/rule files you already had and brings them under management. Org admins can publish a single YAML of required, blocked, and pinned items. |
Cross-platform: macOS, Linux, Windows (NTFS junctions, no admin needed). All driven by one `agents.json` source of truth.
Quick start
New to Python/pip?
piprequires Python 3.10+. See the official pip installation guide.
git clone https://github.com/bernierllc/agents-environment-config.git
cd agents-environment-config
pip install -e .
aec install # full setup
aec install --dry-run # preview firstAfter aec install you'll have:
- •
~/.agent-tools/{rules,agents,skills,commands}/— central tooling shared by every agent - •Agent-specific symlinks for Claude (
~/.claude/) and Cursor (~/.cursor/) - •User preferences: projects directory, plans directory, port registry, test scheduler, report viewer
Then point aec at any project — new or existing:
aec setup my-new-project
aec setup /path/to/existing/project
aec setup --all # walk your projects directoryaec setup detects your stack, drops agent files, installs lint hooks, registers ports, finds existing skills/agents/rules, and offers to fill in missing git essentials.
Supported agents
AEC handles the format differences between agents automatically. You write rules once; each agent gets them in the format it expects.
| Agent | Instruction file | Detection | Hooks | Description |
|---|---|---|---|---|
| Claude Code | CLAUDE.md | claude command or ~/.claude | Yes | Anthropic's CLI coding agent |
| Cursor | .cursor/rules/*.mdc | cursor command or /Applications/Cursor.app | Yes | AI-first IDE with Cursor rules |
| Codex | AGENTS.md | codex command | No | OpenAI's coding agent |
| Gemini CLI | GEMINI.md | gemini command | Yes | Google's CLI coding agent |
| Qwen Code | QWEN.md | qwen command | No | Alibaba's coding agent |
All non-Cursor agents read .agent-rules/*.md (plain markdown). Cursor reads .cursor/rules/*.mdc (with YAML frontmatter). AEC keeps both in sync from a single source. See Rules architecture.
Adding another agent is one JSON entry — see Adding agent support.
Solo, team, or org
- •Solo. Clone,
aec install, done. Every project picks up a coherent set of rules, agents, skills, and MCP servers. - •Team. Share
.agent-rules/and.cursor/rules/across machines. AEC's parity check catches drift between formats. - •Org. IT/admin teams publish an org config — a single YAML describing required, recommended, blocked, and pinned items, plus default preferences. Users enroll with
aec org enroll <path>. AEC never hosts org configs; each org publishes their own. (Phase 1, behindpip install aec[org-configs-preview].) See Org configs for users and Authoring org configs.
Command cheat sheet
# Install / update
aec install # full setup
aec install <type> <name> # one skill / rule / agent
aec update && aec upgrade # fetch + apply upgrades
aec doctor # health check
# Projects
aec setup [path] # track a project
aec setup --all # track everything in your projects dir
aec list # show installed items
aec search <term> # search catalog
# Ports
aec ports list | check | register | unregister | validate
# Tests
aec test run [-g] # local / scheduled cross-project
aec test schedule # set up automated daily runs
aec test report [-g] # latest results
# Discovery
aec discover [-g] # find existing items matching the catalogFull reference: CLI commands.
Documentation
Using AEC
- •CLI reference
- •Catalog: installing skills, rules, agents
- •Discovery
- •Lint hooks
- •Port registry
- •Test runner & scheduler
- •Git essentials phase
- •`.aec.json` schema
- •Preferences & local config
- •Org configs
- •Raycast integration
- •Rules architecture
- •Troubleshooting
Contributing
- •Architecture
- •Generation pipeline
- •Testing
- •Adding agent support
- •Adding hook language
- •Adding git provider
- •Adding test framework
Repository layout
agents-environment-config/
├── aec/ # Python CLI package
├── .agent-rules/ # Rules without Cursor frontmatter (generated)
├── .cursor/rules/ # Rules with frontmatter (source of truth)
├── .claude/{agents,skills}/ # Submodules: agency-agents, skills
├── agents.json # Single source of truth for agent definitions
├── templates/ # Files copied into your projects (CLAUDE.md, etc.)
├── scripts/ # Setup, hooks, validators
├── raycast_scripts/ # Raycast launchers (parity-checked with scripts/)
└── docs/ # User & contributor docsTrade-offs
| Benefit | Cost |
|---|---|
| Consistent rules across every agent | Maintain two file versions (.mdc + .md) |
| ~5% token savings per rule for non-Cursor agents | Pre-commit parity validation |
User-extension points in ~/.agent-tools/ | A directory layout to learn |
Related repos
- •agency-agents — agent definitions
- •skills — skill definitions
Security
- •Never commit
.envfiles. API keys go in.env(copy from.env.template). - •Review API key permissions — use least-privilege access.
Hook key repair
Earlier versions of AEC wrote .claude/settings.json with camelCase hook keys (e.g., postToolUse) instead of the PascalCase keys Claude Code requires (PostToolUse). AEC automatically detects and fixes this in all tracked repos when you run aec install, aec update && aec upgrade, or aec doctor. No manual editing needed.
Install & Usage
mkdir -p .claude/skillsmkdir -p .claude/skills && curl -o .claude/skills/anthropic-skills.md https://raw.githubusercontent.com/bernierllc/agents-environment-config/main/SKILL.md/anthropic-skillsUse Cases
Usage Examples
Install the anthropic-skills package and sync rules to all agents: aec install && aec sync
Bootstrap a new TypeScript project with linting, gitignore, and CI: aec setup --lang typescript
Check for outdated skill packages and upgrade them: aec outdated && aec upgrade
Security Audits
Frequently Asked Questions
What is anthropic-skills?
The anthropic-skills skill provides a unified CLI and cross-agent rule sync for managing development environments, including project bootstrapping, port collision prevention, and multi-project test orchestration. It helps developers standardize tooling across Claude Code, Cursor, Codex, Gemini, and Qwen, reducing setup overhead and ensuring consistency.
How to install anthropic-skills?
To install anthropic-skills: create the skills directory (mkdir -p .claude/skills), then run: mkdir -p .claude/skills && curl -o .claude/skills/anthropic-skills.md https://raw.githubusercontent.com/bernierllc/agents-environment-config/main/SKILL.md. Finally, /anthropic-skills in Claude Code.
What is anthropic-skills best for?
anthropic-skills is a skill categorized under Development. It is designed for: documentation, design, skills, documents, development. Created by Bernier LLC.
What can I use anthropic-skills for?
anthropic-skills is useful for: Sync custom rules and skills across multiple AI coding agents (Claude Code, Cursor, Codex, Gemini, Qwen) with a single command.; Bootstrap a new project with preconfigured linting, type-checking, gitignore, CI/CD, and agent-specific configuration files.; Prevent port collisions in monorepos or multi-project setups using a central port registry and automatic detection.; Run scheduled cross-project test suites with profiling, leak detection, and parallel execution lanes.; Discover, install, and manage skill packages with semver dependencies and automatic upgrade prompts.; Promote per-repo skill installations to a global setup after repeated use across multiple repositories..