Skip to content

The standard fabric for AI agent resources: Manage, sync, and update across Cursor, Claude Code, and more."

License

Notifications You must be signed in to change notification settings

yu-iskw/coding-agent-fabric

Repository files navigation

coding-agent-fabric

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.

Installation

You can install the CLI globally:

npm install -g @coding-agent-fabric/cli

Or run it directly without installation using npx:

npx @coding-agent-fabric/cli <command>

Core Resources

  • Skills: Modular instructions and capabilities (e.g., .md or .mdc files) that enhance agent behavior.
  • Subagents: Specialized agent definitions (e.g., YAML or JSON) that can be invoked for specific tasks.

Supported Agents

The fabric automatically detects and manages resources for:

  • Claude Code (.claude/)
  • Cursor (.cursor/rules/)
  • Gemini CLI (Codex) (.codex/)

CLI Examples

Rules

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 update

Skills

Manage 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 update

Subagents

Manage 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 update

Plugins

Manage 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-id

System

System 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 update

Packages

The 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

Roadmap

  • 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.

Contributing

Interested in contributing? Please read our CONTRIBUTING.md guide to set up your development environment.

License

Apache License 2.0

About

The standard fabric for AI agent resources: Manage, sync, and update across Cursor, Claude Code, and more."

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages