Manage agent skill dependencies declared in agents.toml. dotagents resolves, installs, and symlinks skills so multiple agent tools (Claude Code, Cursor, Codex, VS Code, OpenCode) discover them from .agents/skills/.
Running dotagents
Always use npx @sentry/dotagents to run commands. For example: npx @sentry/dotagents sync.
References
Read the relevant reference when the task requires deeper detail:
| Document |
Read When |
| references/cli-reference.md |
Full command options, flags, examples |
| references/configuration.md |
Editing agents.toml, source formats, trust, MCP, hooks, wildcards, scopes |
| references/config-schema.md |
Exact field names, types, and defaults |
Quick Start
# Initialize a new project (interactive TUI)
npx @sentry/dotagents init
# Add a skill from GitHub
npx @sentry/dotagents add getsentry/skills find-bugs
# Add multiple skills at once
npx @sentry/dotagents add getsentry/skills find-bugs code-review commit
# Add all skills from a repo
npx @sentry/dotagents add getsentry/skills --all
# Add a pinned skill
npx @sentry/dotagents add getsentry/warden@v1.0.0
# Install all dependencies from agents.toml
npx @sentry/dotagents install
# List installed skills
npx @sentry/dotagents list
Commands
| Command |
Description |
npx @sentry/dotagents init |
Initialize agents.toml and .agents/ directory |
npx @sentry/dotagents install |
Install all skills from agents.toml |
npx @sentry/dotagents add <specifier> |
Add a skill dependency |
npx @sentry/dotagents remove <name> |
Remove a skill |
npx @sentry/dotagents sync |
Reconcile state (adopt orphans, repair symlinks, fix configs) |
npx @sentry/dotagents list |
Show installed skills and their status |
npx @sentry/dotagents mcp |
Add, remove, or list MCP server declarations |
npx @sentry/dotagents trust |
Add, remove, or list trusted sources |
npx @sentry/dotagents doctor |
Check project health and fix issues |
All commands accept --user to operate on user scope (~/.agents/) instead of the current project.
For full options and flags, read references/cli-reference.md.
Source Formats
| Format |
Example |
Description |
| GitHub shorthand |
getsentry/skills |
Owner/repo (resolves to GitHub HTTPS) |
| GitHub pinned |
getsentry/warden@v1.0.0 |
With tag, branch, or commit |
| GitHub SSH |
git@github.com:owner/repo.git |
SSH clone URL |
| GitHub HTTPS |
https://github.com/owner/repo |
Full HTTPS URL |
| Git URL |
git:https://git.corp.dev/team/skills |
Any non-GitHub git remote |
| Local path |
path:./my-skills/custom |
Relative to project root |
Key Concepts
.agents/skills/ is the canonical home for all installed skills
agents.toml declares dependencies; agents.lock tracks managed skills
- Symlinks:
.claude/skills/, .cursor/skills/ point to .agents/skills/
- Wildcards:
name = "*" installs all skills from a source, with optional exclude list
- Trust: Optional
[trust] section restricts which sources are allowed
- Hooks:
[[hooks]] declarations write tool-event hooks to each agent's config
- Gitignore: Managed skills are always gitignored; custom in-place skills are tracked
- User scope:
--user flag manages skills in ~/.agents/ shared across all projects
1---2name: dotagents3description: Manage agent skill dependencies with dotagents. Use when asked to "add a skill", "install skills", "remove a skill", "dotagents init", "agents.toml", "agents.lock", "sync skills", "list skills", "set up dotagents", "configure trust", "add MCP server", "add hook", "wildcard skills", "user scope", "dotagents doctor", or any dotagents-related task.4metadata:5 source: https://skillmd.com/skills/bishal-pdmsft/dotagents6---78Manage agent skill dependencies declared in `agents.toml`. dotagents resolves, installs, and symlinks skills so multiple agent tools (Claude Code, Cursor, Codex, VS Code, OpenCode) discover them from `.agents/skills/`.910## Running dotagents1112Always use `npx @sentry/dotagents` to run commands. For example: `npx @sentry/dotagents sync`.1314## References1516Read the relevant reference when the task requires deeper detail:1718| Document | Read When |19|----------|-----------|20| [references/cli-reference.md](references/cli-reference.md) | Full command options, flags, examples |21| [references/configuration.md](references/configuration.md) | Editing agents.toml, source formats, trust, MCP, hooks, wildcards, scopes |22| [references/config-schema.md](references/config-schema.md) | Exact field names, types, and defaults |2324## Quick Start2526```bash27# Initialize a new project (interactive TUI)28npx @sentry/dotagents init2930# Add a skill from GitHub31npx @sentry/dotagents add getsentry/skills find-bugs3233# Add multiple skills at once34npx @sentry/dotagents add getsentry/skills find-bugs code-review commit3536# Add all skills from a repo37npx @sentry/dotagents add getsentry/skills --all3839# Add a pinned skill40npx @sentry/dotagents add getsentry/warden@v1.0.04142# Install all dependencies from agents.toml43npx @sentry/dotagents install4445# List installed skills46npx @sentry/dotagents list47```4849## Commands5051| Command | Description |52|---------|-------------|53| `npx @sentry/dotagents init` | Initialize `agents.toml` and `.agents/` directory |54| `npx @sentry/dotagents install` | Install all skills from `agents.toml` |55| `npx @sentry/dotagents add <specifier>` | Add a skill dependency |56| `npx @sentry/dotagents remove <name>` | Remove a skill |57| `npx @sentry/dotagents sync` | Reconcile state (adopt orphans, repair symlinks, fix configs) |58| `npx @sentry/dotagents list` | Show installed skills and their status |59| `npx @sentry/dotagents mcp` | Add, remove, or list MCP server declarations |60| `npx @sentry/dotagents trust` | Add, remove, or list trusted sources |61| `npx @sentry/dotagents doctor` | Check project health and fix issues |6263All commands accept `--user` to operate on user scope (`~/.agents/`) instead of the current project.6465For full options and flags, read [references/cli-reference.md](references/cli-reference.md).6667## Source Formats6869| Format | Example | Description |70|--------|---------|-------------|71| GitHub shorthand | `getsentry/skills` | Owner/repo (resolves to GitHub HTTPS) |72| GitHub pinned | `getsentry/warden@v1.0.0` | With tag, branch, or commit |73| GitHub SSH | `git@github.com:owner/repo.git` | SSH clone URL |74| GitHub HTTPS | `https://github.com/owner/repo` | Full HTTPS URL |75| Git URL | `git:https://git.corp.dev/team/skills` | Any non-GitHub git remote |76| Local path | `path:./my-skills/custom` | Relative to project root |7778## Key Concepts7980- **`.agents/skills/`** is the canonical home for all installed skills81- **`agents.toml`** declares dependencies; **`agents.lock`** tracks managed skills82- **Symlinks**: `.claude/skills/`, `.cursor/skills/` point to `.agents/skills/`83- **Wildcards**: `name = "*"` installs all skills from a source, with optional `exclude` list84- **Trust**: Optional `[trust]` section restricts which sources are allowed85- **Hooks**: `[[hooks]]` declarations write tool-event hooks to each agent's config86- **Gitignore**: Managed skills are always gitignored; custom in-place skills are tracked87- **User scope**: `--user` flag manages skills in `~/.agents/` shared across all projects