agents

Skill from aRustyDev/agents

Agents — AI Context Library

Reusable Claude Code components: skills, agents, commands, rules, plugins, MCP server configurations, and a universal component management system.

Quick Start

BASH
just init          # Install deps, init knowledge graph, pull embedding model
just agents --help # CLI tool for component management

Architecture

context/               Component source of truth
├── skills/            SKILL.md files (130+)
├── agents/            Agent definitions (markdown + frontmatter)
├── commands/          Slash commands (markdown + frontmatter)
├── rules/             Instruction rules (markdown)
├── plugins/           Plugin bundles (.claude-plugin/plugin.json)
├── hooks/             Hook configurations
├── output-styles/     Output formatting templates
└── reference/         Reference documentation

cli/              TypeScript tooling (Bun + Citty)
├── bin/agents.ts      CLI entrypoint
├── commands/          CLI command trees (skill, mcp, component, plugin, ...)
├── lib/               Library modules
│   ├── component/     Universal component model (7 providers)
│   ├── skill-*.ts     Skill lifecycle (add/find/list/outdated/update/remove/info/init)
│   └── ...            Hash, lockfile, output, runtime, schemas, etc.
└── test/              bun:test suites (900+ tests)

settings/mcp/          MCP server configurations
docs/src/adr/          Architecture Decision Records

CLI Commands

Skill Management

BASH
just agents skill add owner/repo@skill   # Install a skill
just agents skill find "kubernetes"       # Search registries
just agents skill list                    # List installed skills
just agents skill list --agent claude-code # Filter by agent
just agents skill outdated                # Check for updates
just agents skill update                  # Update outdated skills
just agents skill remove skill-name       # Remove a skill
just agents skill info skill-name         # Detailed metadata
just agents skill init my-skill           # Scaffold new skill

MCP Server Management

BASH
just agents mcp search "postgres"                        # Search Smithery registry
just agents mcp add smithery://ns/server --client cursor  # Add to client config
just agents mcp list --client claude-desktop              # List in client config
just agents mcp remove server-name --client cursor        # Remove from client
just agents mcp info ns/server-name                       # Server details
just agents mcp publish --name ns/server --url https://...# Publish to Smithery
BASH
just agents component search "kubernetes"   # Search all types
just agents component list                  # List all installed
just agents component list --type agent     # Filter by type

Other Commands

BASH
just agents plugin check <name>    # Validate a plugin
just agents skill validate <name>  # Validate skill frontmatter
just kg-search "query"             # Semantic search (knowledge graph)

Component Model

All entity types flow through a universal ComponentProvider interface:

ProviderIDEntity TypesBackend
LocalProviderlocalskillFilesystem (wraps skill-* modules)
LocalAgentProviderlocal-agentagentcontext/agents/**/*.md
LocalPluginProviderlocal-pluginplugincontext/plugins/**/.claude-plugin/
LocalRuleProviderlocal-rulerulecontext/rules/**/*.md
LocalCommandProviderlocal-commandcommandcontext/commands/**/*.md
LocalOutputStyleProviderlocal-output-styleoutput_stylecontext/output-styles/**/*.md
SmitheryProvidersmitherymcp_serverregistry.smithery.ai API

The ComponentManager aggregates search across all providers, deduplicates results, and handles pagination.

AI Client Config Support

MCP servers can be installed to 19 AI client config files:

ClientMethodFormat
Claude DesktopfileJSON
Claude Codecommandclaude mcp add
CursorfileJSON
WindsurffileJSON
VS Codecommandcode --add-mcp
Cline, Roo Code, Continue, Zed, Goose, OpenCode, ...fileJSON/YAML/JSONC

Plugin Marketplace

Curated plugins at .claude-plugin/marketplace.json:

PluginDescription
homebrew-devHomebrew formula development
browser-extension-devCross-browser extension development
blog-workflowTechnical blog post creation
job-huntingJob hunting toolkit
swiftui-devSwiftUI development
design-to-codeDesign-to-code conversion

Dependencies

LayerToolConfig
System toolsHomebrewbrewfile
TypeScriptBuncli/package.json
Python (KG only)uvpyproject.toml
Task runnerjustjustfile
Issue trackingbeads (bd).beads/config.yaml

Development

BASH
just init                          # One-time setup
cd cli && bun test            # Run all tests
cd cli && bun test test/component/  # Component tests only
just agents skill validate <name>  # Validate a skill
just agents plugin check <name>    # Validate a plugin

License

MIT