driverag
Installation
SKILL.md
Google Drive RAG CLI Skill
When to use
Use this skill when the user asks you to search their personal documents via the Google Drive RAG API. This includes questions like "What is my Aetna ID?", "Search my drive for...", "Sync my drive", "What is the status of my sync?", "What is the service account email?", or "Renew my token".
Setup and Initialization
This skill includes a self-contained Python CLI tool in its directory.
Before running any commands, you MUST verify the environment is set up:
- Check if
~/.agents/skills/driverag/.envexists.- If it DOES NOT exist, you MUST ask the user to provide their
API_URLandJWT_TOKEN. - Once they provide them, create the
.envfile in the skill directory (~/.agents/skills/driverag/.env) with those values.
- If it DOES NOT exist, you MUST ask the user to provide their
- Check if the virtual environment exists (
~/.agents/skills/driverag/venv).- If it DOES NOT exist, create it:
cd ~/.agents/skills/driverag && python3 -m venv venv - Then install the requirements:
source venv/bin/activate && pip install -r requirements.txt
- If it DOES NOT exist, create it:
Instructions
Once the environment is validated and the .env file is created, you can interact with the RAG system using the CLI tool.