원클릭으로
rag-agent-creator
Create RAG-enhanced Claude Code agents with structured knowledge bases, retrieval strategies, and domain expertise
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Create RAG-enhanced Claude Code agents with structured knowledge bases, retrieval strategies, and domain expertise
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
Create Claude Code CLI agents (subagents) following best practices - proper Task tool configuration, agent specialization, workflow integration, and RAG-enhanced knowledge bases
Create Claude Code CLI hooks following best practices - proper JSON schema, event types, matchers, error handling, and file organization
SOC 직업 분류 기준
| name | rag-agent-creator |
| description | Create RAG-enhanced Claude Code agents with structured knowledge bases, retrieval strategies, and domain expertise |
Expert-level RAG (Retrieval-Augmented Generation) agent creation for Claude Code CLI.
This skill is automatically invoked when:
RAG (Retrieval-Augmented Generation) agents combine:
Add RAG when your agent needs:
.claude/skills/{agent-name}/
skill.md # Main skill definition
context/ # Knowledge base
README.md # Knowledge index
PROTOCOL.md # Agent protocols (optional)
architecture/ # Architecture docs
patterns/ # Code/workflow patterns
examples/ # Example implementations
rag/ # RAG-specific config
README.md # Retrieval strategy
RETRIEVAL_MATRIX.md # Keyword mappings
workflows/
README.md
rag-orchestrator-agent.md # RAG coordination
rag-implementation-agent.md # RAG implementation
basetab-pattern.md)context/
README.md # Index: lists all files
PROTOCOL.md # Core rules for agent
architecture/
README.md # Architecture overview
database-schema.md # Database structure
api-design.md # API patterns
patterns/
README.md # Pattern index
error-handling.md # Error patterns
validation.md # Input validation
caching.md # Cache strategies
examples/
README.md # Example index
feature-implementation.md # Complete feature
api-endpoint.md # API example
test-suite.md # Testing example
Map keywords to specific knowledge files:
## Retrieval Matrix
| Keyword Pattern | Files to Load | Priority |
|-----------------|---------------|----------|
| "authentication" | `patterns/auth.md`, `examples/auth.md` | High |
| "database" | `architecture/database.md`, `patterns/repository.md` | Medium |
| "testing" | `patterns/testing.md`, `examples/test-example.md` | High |
| "error" | `patterns/error-handling.md` | Medium |
Start specific, broaden if needed:
patterns/auth.md)architecture/security.md)examples/auth-implementation.md)Group knowledge by domain:
## Categories
### Backend
- `architecture/api-design.md`
- `patterns/repository.md`
- `patterns/service-layer.md`
### Frontend
- `architecture/component-structure.md`
- `patterns/state-management.md`
- `patterns/form-handling.md`
### Testing
- `patterns/unit-testing.md`
- `patterns/e2e-testing.md`
- `examples/test-suite.md`
Load based on task importance:
## Priority Levels
### Always Load (P1)
- `PROTOCOL.md` - Core rules
- `architecture/README.md` - Overview
### Load for Implementation (P2)
- Relevant `patterns/*.md`
- Relevant `architecture/*.md`
### Load for Examples (P3)
- `examples/*.md` - When needed
What expertise does this agent need?
## Domain: E-commerce Backend
### Topics Covered
- Product management
- Order processing
- Inventory tracking
- Payment integration
- User authentication
mkdir -p .claude/skills/my-agent/context/{architecture,patterns,examples,rag}
Each file should be self-contained:
# Pattern: Repository
## Purpose
Encapsulate data access logic.
## Implementation
[Code examples]
## When to Use
[Scenarios]
## Anti-patterns
[What to avoid]
# Knowledge Base Index
## Architecture
| File | Description |
|------|-------------|
| `database.md` | Database schema and relationships |
| `api-design.md` | REST API conventions |
## Patterns
| File | Description |
|------|-------------|
| `repository.md` | Data access layer pattern |
| `service.md` | Business logic layer |
## Examples
| File | Description |
|------|-------------|
| `crud-endpoint.md` | Complete CRUD example |
Create context/rag/RETRIEVAL_MATRIX.md:
# Retrieval Matrix
## Keyword Mappings
| User Says | Load Files | Priority |
|-----------|------------|----------|
| "add endpoint" | `patterns/api-design.md`, `examples/crud-endpoint.md` | High |
| "database query" | `architecture/database.md`, `patterns/repository.md` | High |
| "fix bug" | `patterns/error-handling.md`, `patterns/debugging.md` | Medium |
---
name: my-rag-agent
description: Domain expert for [area]
---
# My RAG Agent
## Knowledge Base
This agent has access to:
- Architecture documentation
- Implementation patterns
- Working examples
## Retrieval Strategy
1. Parse user request for keywords
2. Load matching knowledge files
3. Apply to current context
4. Generate informed response
## Available Knowledge
See `context/README.md` for full index.
.claude/skills/agent-creator/.claude/skills/README.md