The agent kit for teams to share how they work with AI — together.
Manage vaults of reusable skills, instructions, MCP servers, and profiles. Install them to Claude Code, GitHub Copilot, Gemini, OpenCode, and more — all from an interactive TUI.
v0.3.0 is the Team-Ready Profiles release. A profile becomes a portable, versioned environment blueprint that bundles an AI agent, its skills, MCP servers, and a structured prompt. Teams distribute profiles through vaults; a new developer installs one profile and is ready to code in 30 seconds. This release also adds native Claude Code agent profiles and multi-provider LLM support.
- Claude Code agent profiles —
agk profile createnow supportsclaude-codeas a provider, generating.claude/agents/<name>.mdagent markdown with full frontmatter (name, description, tools, model, permission_mode, skills, mcp_servers, hooks, etc.) - Multi-provider LLM support — configure Ollama, LM Studio, Anthropic, and OpenAI as model servers.
agk llm list/add/remove/healthmanages providers.LlmProviderPortis a sibling to the existingProviderPort(different role: model server vs agent harness) - Hexagonal provider boundaries — agent providers (claude-code, opencode) and LLM providers are isolated; an architecture test enforces that concrete LLM adapters are only imported from the composition root
- Multi-stage Docker — slim runtime image (~50MB) for production, full CI image for the test matrix
- Slim-build regression guard — the binary still builds with
--no-default-features --features tuionly
- Profile wizard with 6 archetype templates (Code Reviewer, Feature Implementer, Security Auditor, Documentation Writer, Test Generator, Custom) — structured prompts replace raw Q&A
- Token estimation with green/yellow/red badges — know your prompt cost before launching
- Vault-discoverable MCPs & profiles —
mcps/andprofiles/directories in vaults are scanned automatically - 5 MCP providers — Claude Code, OpenCode, GitHub Copilot, Gemini CLI, and AMP
- Auto-install on launch —
agk p startresolves missing skills and MCPs from vaults before starting - Profile export/import — share profiles as JSON files across machines or with contractors
- GHES vault support — attach GitHub Enterprise Server vaults with SSO token resolution
- MCP security scorecard — heuristic flags for broad filesystem access, network egress, arbitrary execution
- Profile diff — detect drift between your local profile and its vault source with
agk profile diff - Parallel vault scanning — rayon-powered concurrent scan across
skills/,instructions/,mcps/,profiles/ - Telemetry — track template selections and profile launches; export as CSV
- Multi-provider support — Install to Claude Code, GitHub Copilot, Gemini, Letta, Snowflake, Firebender, AMP, and OpenCode
- Local, GitHub & ClawHub vaults — Source skills from local directories, GitHub repositories (including GHES), or the ClawHub community marketplace
- Interactive TUI — Browse, search, install, and update assets with keyboard navigation
- Headless mode — All operations available as CLI commands with
--json,--quiet, and deterministic exit codes for CI/CD - Team-ready profiles — Create, share, and launch complete AI agent environments from vaults or JSON export files
- MCP server registry — Register, test, and enable MCP servers for 5 providers with a JSON-RPC handshake and security assessment
- Skill bundling — Meta-skills with
requires:inSKILL.mdfrontmatter auto-install dependency trees - Change detection — SHA-based hashing detects when vault assets have been updated
- Scoped configuration — Global settings for vaults, workspace-level settings for providers and installed assets
- Batch operations — Update all installed assets at once with
F5 - Smart provider lifecycle — Deactivating the last provider prompts before wiping installed assets; re-activating a provider re-opens the config-folder selector
- Clean config management — Empty vault sections and arrays are auto-pruned from TOML; empty configs are removed entirely
brew tap dkthezero/agk
brew install agkcargo install agkDownload pre-built binaries from the Releases page.
Launch the TUI:
agk- Press
0to switch to the Vaults tab - Press
F2to attach a new vault - Enter a local path (
./my-vault) or GitHub URL (owner/repo) - Follow the prompts for branch, subfolder, and vault name
- GitHub URLs ask for branch and subfolder first
- GHES URLs are auto-detected and use the enterprise API endpoint
- All paths ask for a custom vault name (defaults to folder or repo name)
- Press
5to switch to the Profiles tab - Vault-discovered profiles appear with a
[Vault]badge - Press
Spaceon a vault profile — agk batch-installs all referenced skills, instructions, and MCPs - Press
Enterto start the profile — agk auto-resolves any remaining missing dependencies, then launches the provider
That's it. One profile, one keypress, fully configured AI agent.
- Press
5to switch to the Profiles tab, thenF2 - Pick a template — Code Reviewer, Feature Implementer, Security Auditor, Documentation Writer, Test Generator, or Custom
- Fill in the structured prompts (template pre-fills most fields)
- Select skills, MCPs, tools, and permissions
- Review — see the composed prompt with token count estimate
- Save and launch with
Enter
ClawHub is a community marketplace for agent skills. agk integrates with it out of the box:
- Press
0to switch to the Vaults tab — ClawHub appears as an inactive vault by default - Press
Spaceon ClawHub to activate it (agk will help you install theclawhubCLI via Homebrew if needed) - Press
1to switch to the Skills tab and start typing to search - agk searches your local vaults and ClawHub in parallel — remote results appear in gray with owner, downloads, and star counts
- Press
Spaceon a remote skill to install it
- Press
1to switch to the Skills tab - Navigate with arrow keys, press
Spaceto install - The skill is copied to all active providers
- Press
4to switch to the Providers tab - Press
Spaceto toggle providers on/off - When deactivating the last provider with installed assets, agk shows a confirmation popup to prevent accidental data loss
- Re-activating a provider always re-opens the config-folder selector
- Press
2to switch to the MCP Servers tab - Press
F2to register a new MCP server - Fill in: Name, Command, Arguments, Transport (
stdioorsse), Description - Confirm the security warning — agk will tell you exactly what it'll execute on your machine
- agk auto-runs the MCP
initializehandshake test. If it passes, the server appears in the list with[✓] - Security flags appear automatically —
[!]for high-risk patterns (broad filesystem, network egress, arbitrary execution)
# Export a profile to JSON
agk profile export web-app-team --file ./web-app-team.agk.json
# Import on another machine
agk profile import ./web-app-team.agk.json# Compare your local profile against the vault source
agk profile diff web-app-team
# Output: added/removed skills, MCPs, tools, permission mode differencesIn the TUI, profiles that differ from their vault source show a [⇄] drift badge.
| Key | Action |
|---|---|
1–5 |
Skills, MCP Servers, Instructions, Providers, Profiles |
0 |
Vaults tab |
Up/Down |
Navigate list |
Space |
Install/uninstall asset, toggle provider/vault/MCP, install profile |
Enter |
Update selected asset, start profile |
F2 |
Attach vault / register MCP / create profile (context-aware) |
F3 |
Edit selected profile |
F4 |
Refresh all vaults from source |
F5 |
Update all installed assets |
Ctrl+E |
Export profile |
Ctrl+I |
Import profile |
Tab |
Toggle between Global and Workspace scope |
Type |
Search/filter by name (searches ClawHub in parallel when active) |
Esc |
Clear search / cancel / quit |
agk expects vaults to follow this layout:
my-vault/
├── skills/
│ ├── my-skill/
│ │ ├── SKILL.md # Required
│ │ └── ... # Supporting files
│ └── another-skill/
│ └── SKILL.md
├── instructions/
│ └── my-instruction/
│ ├── AGENTS.md # Required
│ └── ...
├── mcps/ # NEW in v0.3
│ └── filesystem/
│ └── MCP.md # MCP server definition
├── profiles/ # NEW in v0.3
│ └── web-app-team/
│ └── PROFILE.md # Team profile blueprint
└── README.md
Skills and instructions support optional YAML frontmatter for metadata:
---
name: my-skill
version: 1.0.0
---
# My Skill
...Skills can declare dependencies with requires::
---
name: acme-company-pack
version: 1.0.0
requires:
- clawhub/react-parser
- clawhub/css-linter
requires_optional:
- clawhub/storybook-scaffold
---When someone installs acme-company-pack, agk recursively resolves and installs all dependencies. Circular dependencies are detected and rejected. Diamond dependencies are deduplicated.
---
name: filesystem
version: 1.0.0
command: npx
args:
- "-y"
- "@modelcontextprotocol/server-filesystem"
- "."
transport: stdio
description: File system access via MCP
------
name: web-app-team
version: 1.2.0
provider: opencode
description: Full-stack web development profile
skills:
- acme-org/react-skills
- acme-org/typescript-linter
instructions:
- acme-org/web-app-guidelines
mcps:
- filesystem
- github-api
---Installing a vault profile is atomic — all referenced skills, instructions, and MCPs are installed together, or none are.
agk uses two configuration scopes:
| Scope | Path | Purpose |
|---|---|---|
| Global | ~/.config/agk/config.toml |
Vaults, enabled providers |
| Workspace | .agk/config.toml |
Installed assets per workspace |
MCP servers are stored separately:
| File | Purpose |
|---|---|
~/.config/agk/mcp.toml |
Registered MCP servers with activation state per provider |
Profile sessions write to provider-specific directories:
| Provider | Agent Path |
|---|---|
| Claude Code | .claude/agents/<name>.md |
| OpenCode | .opencode/agents/<name>.md |
agk clean # Remove workspace config
agk clean --global # Remove global config| Provider | Skills | Instructions | MCP | Profiles |
|---|---|---|---|---|
| Claude Code | ~/.claude/skills/ |
.claude/instructions/ |
.claude/mcp.json |
✅ |
| OpenCode | ~/.config/opencode/skills/ |
(Claude-compatible paths) | Flat mcp.<name> in opencode.json |
✅ |
| GitHub Copilot | ~/.copilot/ |
.github/ |
~/.copilot/mcp-config.json |
— |
| Gemini CLI | .gemini/ |
.ai/ |
~/.gemini/settings.json |
— |
| AMP | .amp/ |
— | .amp/settings.json |
— |
| Letta | Provider-specific | Provider-specific | — | — |
| Snowflake | Provider-specific | Provider-specific | — | — |
| Firebender | Provider-specific | Provider-specific | — | — |
agk works in CI/CD and automation without a terminal:
# Sync all configured assets (team onboarding)
agk sync
# Install a specific skill
agk install clawhub/web-browser
# Validate installed assets against source vaults
agk validate
# Pack a skill for distribution
agk pack my-skill --target claude-desktop
# Register an MCP server
agk mcp add --name fs --command npx \
--args "@modelcontextprotocol/server-filesystem /tmp" \
--transport stdio
# Enable MCP for a provider
agk mcp enable fs --provider claude-code --scope workspace
# Create a profile from a template
agk profile create my-reviewer \
--provider claude-code \
--template code-reviewer \
--skills rust-patterns:clawhub,docker:ecc \
--scope workspace
# List configured profiles
agk profile list
# Start a profile session
agk p start my-reviewer
# Export/import profiles
agk profile export my-reviewer --file ./reviewer.agk.json
agk profile import ./reviewer.agk.json
# Check drift between local and vault
agk profile diff my-reviewerAll commands support --quiet, --verbose, and --json.
agk uses the clawhub CLI for all remote operations. When you activate the ClawHub vault, agk will:
- Check if
clawhubis on your$PATH - Offer to install it via Homebrew (
brew install clawhub) if available - Display a manual install link if Homebrew is not available
Skills installed from ClawHub are cached in ~/.config/agk/clawhub/ and treated like any other vault source.
# Build
cargo build
# Run TUI
cargo run
# Test
cargo test
# Format (CI-enforced)
cargo fmt
# Lint
cargo clippy -- -D warningsIf you find agk useful, consider supporting its development: