agent-platform-rag-engine-management

agent-platform-rag-engine-management is a skill for Claude Code, Codex from hamzabellouch/agent-skills. It costs 85 tokens per session (2,042 once invoked), scanned A, a copy of agent-platform-rag-engine-management, MIT.

A skill for managing Google Agent Platform RAG Engine corpora and retrieving information from them. A corpus is a searchable collection of uploaded files, and retrieval finds relevant passages for a question.

In plain words
What is it for?
Use it to list or inspect corpora and files, search a corpus for relevant context, or generate content grounded in that retrieved material.
Why use it?
It provides a defined way to inspect corpora and obtain context from their files instead of relying only on general model knowledge. It uses the Google Vertex AI Python SDK for these operations.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to list or inspect corpora and files, search a corpus for relevant context, or generate content grounded in that retrieved material.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hamzabellouch/agent-skills/agent-platform-rag-engine-management
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add hamzabellouch/agent-skills --skill agent-platform-rag-engine-management
Clone the repo
git clone --depth 1 https://github.com/hamzabellouch/agent-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for agent-platform-rag-engine-management

README.md
[![agentmods](https://agentmods.dev/badge/skills/hamzabellouch/agent-skills/agent-platform-rag-engine-management/github.svg)](https://agentmods.dev/skills/hamzabellouch/agent-skills/agent-platform-rag-engine-management)
Your own site
<a href="https://agentmods.dev/skills/hamzabellouch/agent-skills/agent-platform-rag-engine-management"><img src="https://agentmods.dev/badge/skills/hamzabellouch/agent-skills/agent-platform-rag-engine-management/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for agent-platform-rag-engine-management

Your own site · 80×15
<a href="https://agentmods.dev/skills/hamzabellouch/agent-skills/agent-platform-rag-engine-management"><img src="https://agentmods.dev/badge/skills/hamzabellouch/agent-skills/agent-platform-rag-engine-management.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 85 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,042 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00085 $0.02042
Opus 5 $0.00043 $0.01021
Sonnet 5 $0.00017 $0.00408
Haiku 4.5 $0.00009 $0.00204

Measured 10d ago against content hash 9c5eef7e2c29, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

agent-platform-rag-engine-management scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to agent-platform-rag-engine-management — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

AI API and Agent Platform/agent-platform-rag-engine-management/SKILL.md · 247 lines

How it starts

The opening of the file, as written. The whole thing — 247 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Agent Platform RAG Engine Management

This skill provides instructions on how to interact with Agent Platform RAG Engine using the Agent Platform Python SDK. You MUST use the vertexai Python SDK to perform RAG Engine operations, rather than raw REST calls or MCP tools, because this code is intended to be run by external clients.

Safety & Confirmation Tiers (CRITICAL)

Before executing any commands or scripts on behalf of the user, you must adhere to the following safety tiers based on the action requested:

  1. Tier R: Read-only (list_corpora, list_files, get_corpus, retrieval_query)
    • No confirmation needed. Execute immediately to gather information or retrieve grounded contexts.
  2. Tier RC: Read-only but consumes Compute Resources (client.models.generate_content)
    • Requires interactive confirmation with 'Yes'/'No' options before executing grounded content generation. The confirmation prompt MUST clearly explain the proposed generation execution and its key parameters (e.g., target corpus ID, query text, target model). Natural-language paraphrases without specifying exact parameters are insufficient, as explicit parameter listing is required to ensure unambiguous user approval of the specific resource and configuration.
    • Same-turn restriction: Do not execute the generation code in the same turn as presenting the confirmation prompt. Stop and wait for the user's reply; only execute after explicit 'Yes' / approval.
    • Gold Standard Example:

      I will perform grounded content generation with the following parameters. Please confirm this information before I proceed:

      • Target Corpus ID: projects/123/locations/us/ragCorpora/abc
      • Target Model: gemini-2.5-pro
      • Query Text: "What are the company policies on remote work?" Do you confirm? [Yes/No]

Phase 0: Environment Setup

CRITICAL: Before running any of the Python snippets below, you must ensure the environment is correctly initialized by following these steps:

Read the full file on GitHub · 247 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 247 lines · 85 tokens per session scan A 9c5eef7e2c29

Subscribe to this mod's changes

agent-platform-rag-engine-management is a skill published in the GitHub repository hamzabellouch/agent-skills (4 stars, last pushed 1mo ago), licensed MIT. It adds 85 tokens to every session and 2,042 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to agent-platform-rag-engine-management, differing in 0 lines, and is treated as a copy.