coding-agent-fabric is a universal CLI for managing AI coding-agent resources across multiple agents and platforms. It provides a unified way to discover, install, and manage skills, subagents, and other extensions.
You can install the CLI globally:
npm install -g @coding-agent-fabric/cliOr run it directly without installation using npx:
npx @coding-agent-fabric/cli <command>- Skills: Modular instructions and capabilities (e.g.,
.mdor.mdcfiles) that enhance agent behavior. - Subagents: Specialized agent definitions (e.g., YAML or JSON) that can be invoked for specific tasks.
The fabric automatically detects and manages resources for:
- Claude Code (
.claude/) - Cursor (
.cursor/rules/) - Gemini CLI (Codex) (
.codex/)
Manage AI agent rules
# Install rules from a source
caf rules add owner/repo
# List installed rules
caf rules list
# Remove a rule
caf rules remove rule-name
# Update all rules
caf rules updateManage AI agent skills
# Install skills from a source
caf skills add owner/repo
# List installed skills
caf skills list
# Remove a skill
caf skills remove skill-name
# Update all skills
caf skills updateManage AI subagents
# Install subagents from a source
caf subagents add owner/repo
# List installed subagents
caf subagents list
# Remove a subagent
caf subagents remove subagent-name
# Update all subagents
caf subagents updateManage coding-agent-fabric plugins
# Install a third-party plugin
caf plugin add owner/repo
# List installed plugins
caf plugin list
# Remove a plugin
caf plugin remove plugin-idSystem management commands
# Check the health of your installation
caf doctor
# Check for updates across all resources
caf check
# Update all resources to their latest versions
caf updateThe following packages are part of the coding-agent-fabric ecosystem:
| Package | Description |
|---|---|
@coding-agent-fabric/cli |
Command-line interface |
@coding-agent-fabric/core |
Core logic and agent registry |
@coding-agent-fabric/common |
Shared types and utilities |
@coding-agent-fabric/plugin-api |
API for building plugins |
@coding-agent-fabric/plugin-claude-code-hooks |
Plugin for Claude Code hooks |
@coding-agent-fabric/plugin-cursor-hooks |
Plugin for Cursor hooks |
@coding-agent-fabric/plugin-mcp |
Plugin for MCP server management |
- Hooks Plugin: Manage agent-specific hooks (Pre/Post tool use).
- MCP Plugin: Manage Model Context Protocol (MCP) server configurations.
- Remote Plugin Installation: Install plugins directly from npm or GitHub.
- Auto-Updates: Check for and install updates for managed resources.
- Registry: A central repository for sharing skills and subagents.
Interested in contributing? Please read our CONTRIBUTING.md guide to set up your development environment.
Apache License 2.0