Skip to content
Back to skills

Configuration

ASecurity

"Use this RAGs sub-skill to inspect, edit, update, delete, and

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 9, 2026
ai-agentspythonbash

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill configuration --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Configuration?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Configuration
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-configuration-8c9115f9/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-configuration-8c9115f9)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: configuration
description: "Use this RAGs sub-skill to inspect, edit, update, delete, and
  troubleshoot generated RAG agent configuration and cache state."
disable-model-invocation: true
metadata:
  disco-role: operating
license: MIT
---

# RAGs Configuration

Use this sub-skill when a RAGs agent already exists and the task is to inspect
or change its settings, understand persisted cache state, recover from stale
cache issues, or delete an agent safely.

## Read This When

- The user is on the RAG Config page or mentions `Update Agent`, `Delete Agent`,
  `agent_id`, `top_k`, `chunk_size`, `embed_model`, `llm`, or additional tools.
- The sidebar shows an agent but loading, updating, or deleting it fails.
- The task involves `AgentCacheRegistry`, `ParamCache`, `agent_ids.json`,
  `cache.json`, or vector-index `storage`.
- The app was upgraded and old cache files appear to break launch.

For initial bot construction, read [`../builder/SKILL.md`](../builder/SKILL.md).
For asking questions to an existing bot, read [`../chat/SKILL.md`](../chat/SKILL.md).

## Core Workflow

1. Confirm an agent is selected. The config page only exposes editable controls
   when the current state has an `agent_builder` and cache.
2. Inspect current fields: agent ID, system prompt, loaded data summary,
   summarization flag, additional tools, `top_k`, `chunk_size`, embed model,
   and LLM.
3. Before editing cache files directly, run the read-only inspector:

   ```bash
   python sub-skills/configuration/scripts/inspect_agent_cache.py --cache-dir cache/agents
   ```

4. Use the app's `Update Agent` path for normal changes. It deletes the old
   cache entry, updates selected fields, reconstructs the agent, and saves the
   new cache.
5. Use the app's delete route for unwanted agents. Manual deletion is a last
   resort for stale or corrupt cache directories.

Read [`references/configuration.md`](references/configuration.md) for field
semantics and update/delete workflows. Read
[`references/cache-registry.md`](references/cache-registry.md) before editing or
inspecting persisted cache. Read
[`references/troubleshooting.md`](references/troubleshooting.md) for known
failure modes.

## Important Operating Facts

- The cache root is conceptually `cache/agents` relative to a RAGs checkout.
- `AgentCacheRegistry.get_agent_ids()` returns an empty list when
  `agent_ids.json` is absent.
- `ParamCache.save_to_disk` requires a vector index and writes both serialized
  cache metadata and vector-index storage.
- `RAGAgentBuilder.update_agent` deletes the old cache for the current agent ID,
  sets the requested fields, calls `set_rag_params`, updates tools when
  provided, and then calls `create_agent`.
- Additional tools are currently limited to `web_search`.

## Safety Boundaries

The bundled cache inspector is read-only. Do not delete cache directories or
rewrite `agent_ids.json` unless the user explicitly asks for destructive
recovery and understands that generated agents may need to be rebuilt.

Files in this skill

  • SKILL.md3 KB
  • references/cache-registry.md2.4 KB
  • references/configuration.md2.9 KB
  • references/troubleshooting.md2.5 KB
  • scripts/inspect_agent_cache.py4.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.