tune-agentic-rag — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited tune-agentic-rag (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
| Source | Default Priority | When to Use | Cost per Call |
|---|---|---|---|
| AI Search (KB) | 1 (primary) | Internal knowledge, policy, docs | ~$0.003 |
| Bing Web Search | 2 (fallback) | Current events, external info | ~$0.005 |
| SQL Database | 3 (specific) | Customer data, order status | ~$0.001 |
| Custom API | 4 (specialized) | Domain-specific real-time data | Varies |
Routing optimization:
| Parameter | Conservative | Balanced | Aggressive |
|---|---|---|---|
max_retrieval_hops | 5 | 3 | 1 |
min_groundedness | 0.95 | 0.85 | 0.75 |
early_stop_confidence | 0.98 | 0.92 | 0.85 |
| Quality | Highest | Good | Fastest |
| Cost | Highest | Moderate | Lowest |
| Latency | Highest | Moderate | Lowest |
Tuning methodology:
| Setting | Description | Impact |
|---|---|---|
| Strict (0.95) | Agent almost always iterates | High quality, high cost |
| Moderate (0.85) | Agent stops when reasonably grounded | Good balance |
| Relaxed (0.75) | Agent stops early, faster responses | Lower quality, lower cost |
Anti-patterns:
| Parameter | Default | Range | Impact |
|---|---|---|---|
| Similarity threshold | 0.92 | 0.85-0.98 | Lower = more hits, risk wrong cache |
| TTL | 1 hour | 5min-24hr | Longer = more hits, stale risk |
| Max entries | 50K | 10K-500K | More = higher Redis cost |
| Embedding model | text-embedding-3-small | small/large | Small = faster lookup |
Expected savings: 40-60% cost reduction on repeated query patterns.
| Scenario | Hops | Sources | Cache | Cost |
|---|---|---|---|---|
| Simple FAQ (cache hit) | 0 | 0 | ✅ | ~$0.00 |
| Simple FAQ (cache miss) | 1 | KB only | No | ~$0.01 |
| Standard query | 2 | KB + 1 more | No | ~$0.03 |
| Complex multi-source | 3 | KB + Web + DB | No | ~$0.05 |
| Max iteration | 5+ | All sources | No | ~$0.10+ |
Monthly estimate (10K queries/day):
After tuning, compare:
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.