dotagents

작성자: sentry

dotagents를 사용하여 에이전트 스킬 의존성을 관리합니다. "스킬 추가", "스킬 설치", "스킬 제거", "dotagents init", "agents.toml" 등의 요청이 있을 때 사용합니다.

npx skills add https://github.com/getsentry/dotagents --skill dotagents

Manage dependencies declared in agents.toml. dotagents resolves skills, subagents, plugins, MCP servers, and hooks so agent tools (Claude Code, Cursor, Codex, GitHub Copilot, Grok, VS Code, OpenCode, Pi) can use shared global or project config.

Running dotagents

Always use npx @sentry/dotagents to run commands. Unqualified commands are global by default. Add --project whenever the user asks to manage the current repository. Do not infer project intent merely because the current directory contains agents.toml.

Apply this literally: “add this skill” with no repository-local wording means npx @sentry/dotagents add ..., even inside a repository that has agents.toml. “Add this skill to this repository/project” means npx @sentry/dotagents --project add ....

Global add bootstraps ~/.agents/agents.toml when it is missing. Do not run a separate global init or install before or after add unless the user independently requested it.

References

Read the relevant reference when the task requires deeper detail:

DocumentRead When
references/cli-reference.mdFull command options, flags, examples
references/configuration.mdEditing agents.toml, source formats, trust, MCP, hooks, wildcards, scopes
references/config-schema.mdExact field names, types, and defaults

Quick Start

# Initialize global state (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 plugin
npx @sentry/dotagents add getsentry/agent-plugins review-tools

# Add a pinned skill
npx @sentry/dotagents add getsentry/warden@v1.0.0

# Install or refresh all dependencies from agents.toml
npx @sentry/dotagents install

# List installed skills
npx @sentry/dotagents list

For repository-local management, keep --project on every command:

npx @sentry/dotagents --project init
npx @sentry/dotagents --project add getsentry/skills find-bugs
npx @sentry/dotagents --project install
npx @sentry/dotagents --project list
npx @sentry/dotagents --project doctor --fix

Commands

CommandDescription
npx @sentry/dotagents initInitialize global config and managed directories
npx @sentry/dotagents installInstall all dependencies from agents.toml
npx @sentry/dotagents add <specifier> [names...]Discover and add plugins, otherwise skills
npx @sentry/dotagents remove <name>Remove a skill or plugin
npx @sentry/dotagents syncReconcile state (adopt orphans, prune stale managed artifacts, repair configs)
npx @sentry/dotagents listShow declared skills, plugins, and status
npx @sentry/dotagents mcpAdd, remove, or list MCP server declarations
npx @sentry/dotagents trustAdd, remove, or list trusted sources
npx @sentry/dotagents doctorCheck global health and fix issues

All commands default to global scope (~/.agents/). --project selects the current repository (or current directory outside Git). --global is an explicit global spelling, and --user is its compatibility alias. Never combine --project with a global alias.

Adding Plugins

Use the same add command for plugins. Git and local sources are checked for plugins first; when any plugin is found, that source is treated as plugin-only. Well-known HTTPS sources remain skill-only.

# Add a plugin to this repository
npx @sentry/dotagents --project add getsentry/agent-plugins review-tools

add installs immediately, so do not follow it with a redundant install. For plugins, --all records a snapshot of every plugin currently found. For skills, --all creates a wildcard that can include future skills. Re-adding an identical declaration refreshes its installation without changing agents.toml; conflicting declarations still fail.

For full options and flags, read references/cli-reference.md.

Safe Removal and Trust

Use remove instead of manually deleting managed files or editing agents.lock. For a project dependency, keep explicit scope: npx @sentry/dotagents --project remove <name>. When a wildcard provides the skill, let remove add the name to the wildcard's exclude list so the next install does not restore it.

When trust blocks a source, inspect syntax without mutation using npx @sentry/dotagents trust add --help. Then show the exact scoped command, such as npx @sentry/dotagents trust add git.corp.example.com, and explicitly ask approval before running it. Never enable allow_all or add a trusted source without explicit user intent.

Source Formats

FormatExampleDescription
GitHub shorthandgetsentry/skillsOwner/repo (resolves to GitHub HTTPS)
GitHub pinnedgetsentry/warden@v1.0.0With tag, branch, or commit
GitHub SSHgit@github.com:owner/repo.gitSSH clone URL
GitHub HTTPShttps://github.com/owner/repoFull HTTPS URL
Git URLgit:https://git.corp.dev/team/skillsAny non-GitHub git remote
Well-known HTTPShttps://cli.sentry.devHTTP source using .well-known/skills/
Local pathpath:./my-skills/customRelative to the selected scope root

Key Concepts

  • Managed paths live under ~/.agents/ globally or .agents/ in project scope
  • agents.toml declares dependencies; agents.lock tracks managed skills, subagents, and plugins
  • Symlinks: agent skill directories point to the selected scope's managed skills directory
  • 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
  • Subagents: [[subagents]] declarations install portable or native subagent files
  • Plugins: [[plugins]] declarations install canonical bundles and generate runtime-specific plugin outputs
  • Gitignore: In project scope, managed skills, subagents, and plugin bundles are gitignored; custom in-place sources are tracked
  • Global scope: the default; manages dependencies in ~/.agents/ shared across projects, including plugins
  • Project scope: --project manages repository-local agents.toml, agents.lock, and .agents/
  • Updates: Run npx @sentry/dotagents install to refresh managed skills, subagents, and plugins; there is no update command

sentry의 다른 스킬

architecture-review
sentry
직원 수준의 코드베이스 건강 검토. 모놀리식 모듈, 무음 실패, 타입 안전성 격차, 테스트 커버리지 구멍, LLM 친화성 문제를 찾습니다.
pi-agent-integration
sentry
Integrate `@mariozechner/pi-agent-core` as the agent abstraction inside another library or runtime. Use when implementing or refactoring Pi Agent wrappers,…
sentry-debug-issue
sentry
Sentry 이슈를 디버깅하고 수정합니다 — (링크, ID 또는 검색으로) 찾고, 전체 컨텍스트(스택 트레이스, 브레드크럼, 트레이스, 로그)를 가져오고, 선택적으로 Seer 근본 원인 분석을 실행합니다…
sentry-svelte-sdk
sentry
Svelte 및 SvelteKit을 위한 완전한 Sentry SDK 설정입니다. "Svelte에 Sentry 추가", "SvelteKit에 Sentry 추가", "@sentry/sveltekit 설치" 또는 구성 요청 시 사용하세요.
sentry-svelte-sdk
sentry
Svelte 및 SvelteKit을 위한 완전한 Sentry SDK 설정입니다. "Svelte에 Sentry 추가", "SvelteKit에 Sentry 추가", "@sentry/sveltekit 설치" 또는 구성 요청 시 사용하세요.
skill-scanner
sentry
에이전트 스킬의 보안 문제를 스캔합니다. "스킬 스캔" 요청 시 사용하세요.
prompt-optimizer
sentry
에이전트 프롬프트, 시스템 프롬프트, 개발자 프롬프트 및 재사용 가능한 프롬프트 템플릿을 생성, 최적화, 반복적으로 개선합니다. 개선 요청 시 사용합니다.
commit
sentry
commit — AI 에이전트를 위한 설치 가능한 스킬로, getsentry/sentry-docs에서 게시했습니다.