# Enrich

> Use when the agent needs access to information beyond its training data — knowledge sources, RAG pipelines, or grounding data.

- **Type:** Skill
- **Install:** `agentstack add skill-sharpdeveye-maestro-enrich`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [sharpdeveye](https://agentstack.voostack.com/s/sharpdeveye)
- **Installs:** 0
- **Category:** [AI & ML](https://agentstack.voostack.com/c/ai-and-ml)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [sharpdeveye](https://github.com/sharpdeveye)
- **Source:** https://github.com/sharpdeveye/maestro/tree/main/source/skills/enrich
- **Website:** https://maestroskills.dev

## Install

```sh
agentstack add skill-sharpdeveye-maestro-enrich
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

## MANDATORY PREPARATION

Invoke /agent-workflow — it contains workflow principles, anti-patterns, and the **Context Gathering Protocol**. Follow the protocol before proceeding — if no workflow context exists yet, you MUST run /teach-maestro first.
Consult the knowledge-systems reference in the agent-workflow skill for RAG architecture, chunking strategies, and retrieval patterns.

---

Add knowledge sources to ground the workflow in facts. Without grounding, agents hallucinate. With grounding, they cite sources.

### Knowledge Source Assessment

Identify what knowledge the workflow needs:

| Knowledge Type | Source | Update Frequency | Access Pattern |
|---------------|--------|-----------------|----------------|
| Domain docs | Internal docs, specs | Monthly | Semantic search |
| Code context | Codebase | Real-time | Code search |
| User data | Database, CRM | Real-time | Structured query |
| External data | APIs, web | Real-time | API call |
| Historical | Logs, past interactions | Daily | Time-range query |

### Add RAG Pipeline

For document-based knowledge (consult the knowledge-systems reference in the agent-workflow skill):

1. **Select documents**: Identify the authoritative source documents
2. **Chunk strategy**: Choose chunking based on document type (semantic > token-based)
3. **Embed**: Use appropriate embedding model for the domain
4. **Index**: Store in vector database with metadata
5. **Retrieve**: Implement hybrid search (semantic + keyword)
6. **Inject**: Add retrieved context to the prompt with source attribution

### Add Structured Data

For database-backed knowledge:

1. **Define the query interface**: Natural language → structured query
2. **Add guardrails**: Read-only access, query complexity limits
3. **Format results**: Transform raw data into context the model can use
4. **Attribute**: Include data source and freshness in the context

### Add Real-Time Data

For live information:

1. **Identify APIs**: What external services provide the needed data
2. **Cache strategy**: How often does the data change? Cache accordingly
3. **Fallback**: What happens when the API is down?
4. **Attribution**: Include data timestamp and source

### Enrichment Checklist

- [ ] Every knowledge source has attribution (source, date, confidence)
- [ ] Retrieval quality tested independently of generation quality
- [ ] Chunk sizes tested and optimized for the document types
- [ ] Fallbacks exist for all external knowledge sources
- [ ] Knowledge base has a refresh/update strategy
- [ ] PII is handled appropriately in knowledge sources

### Recommended Next Step

After enrichment, run `/evaluate` to test retrieval quality, or `/iterate` to set up continuous monitoring of knowledge freshness.

**NEVER**:

- Index everything without curation (garbage in = garbage out)
- Skip source attribution (hallucination without attribution is undetectable)
- Build RAG without testing retrieval quality first
- Use fixed chunk sizes for all document types
- Assume embedding similarity equals relevance

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [sharpdeveye](https://github.com/sharpdeveye)
- **Source:** [sharpdeveye/maestro](https://github.com/sharpdeveye/maestro)
- **License:** MIT
- **Homepage:** https://maestroskills.dev

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-sharpdeveye-maestro-enrich
- Seller: https://agentstack.voostack.com/s/sharpdeveye
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
