agent-modules
v1.5.0
Published
Pluggable capability modules for coding agents
Readme
Agent Modules
Agent Modules — skills and rules for coding agents (Cursor, Claude Code, Codex, GitHub Copilot, and others), sourced from Git.
Installation
1. Install Git and Node.js
Install Git and Node.js (LTS, 18+).
2. Install and initialize
Run the following in order in macOS Terminal, Linux, Git Bash, or PowerShell. Lines starting with # are comments (you can paste them as-is in Bash-like shells; in Command Prompt, run only the npm and agent-modules lines).
# Install the Agent Modules CLI from the npm registry.
npm install -g agent-modules
# One-time setup: create ~/.agentModules and install bundled agent-modules* skill links
# into each detected agent’s global skills folder (Cursor, Claude Code, Copilot CLI, Codex).
agent-modulesAfter this, you do not need to run agent-modules again for day-to-day updates—use /agent-modules-sync in your agent instead.
3. Add skill repositories
In Cursor or another supported agent, run /agent-modules-add to subscribe to a Git repository—for example agent-modules-demo. Choose global or project scope when prompted.
Do not edit ~/.agentModules by hand; use /agent-modules-add and /agent-modules-sync.
Official example repository
agent-modules-demo shows a small layout for a dependency repo (skills/, optional rules/). Subscribe with /agent-modules-add, then run /agent-modules-sync.
