journey-rag

Solid

Use as the RAG build stage of the Butterbase journey. Implements the RAG section of 02-plan.md by delegating to rag-dev. Calls manage_rag_content (create_collection, ingest_document). Skipped if the plan has no knowledge-base feature.

AI & Automation 424 stars 40 forks Updated today MIT

Install

View on GitHub

Quality Score: 85/100

Stars 20%
88
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
90
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Journey: RAG Stage 3g of the guided journey. Create RAG collections and ingest initial documents. ## When to use - Dispatched by `journey` when `current_stage: rag`. - Directly via `/butterbase-skills:journey-rag`. - Skipped (annotated `(n/a)`) if the plan has no RAG section. ## Preflight If `docs/butterbase/03-preflight.md` is missing, older than 24 hours, or `00-state.md` has `app_id: null`, invoke `butterbase-skills:journey-preflight` first. Wait for it to return successfully before proceeding. ## Inputs - `docs/butterbase/02-plan.md` — the RAG section. - `docs/butterbase/00-state.md` — for `app_id`. ## Procedure 0. **Refresh docs.** Call `butterbase_docs` with `topic: "rag"`. For ingestion + retrieval patterns, also WebFetch `https://docs.butterbase.ai/ai/rag`. Skip if cache is fresh. 1. Read the RAG section. Print it back: `"About to set up RAG: collections=<list>. Proceed?"`. Wait for `yes`. 2. Invoke `butterbase-skills:rag-dev` via the Skill tool with the RAG plan and `app_id`. The wrapped skill calls `manage_rag_content action: create_collection`, then `ingest_document` for any seed sources the user provides. 3. Smoke: call `rag_query` with a representative question and show the user the top hit. 4. Append one line to `docs/butterbase/04-build-log.md`: `<ISO timestamp> rag manage_rag_content ok` 5. Tick `- [x] rag` in `00-state.md`, set `current_stage:` to the next unchecked stage. 6. Return to `journey` orchestrator (or ask `"Continue to the next st...

Details

Author
butterbase-ai
Repository
butterbase-ai/butterbase-skills
Created
1 months ago
Last Updated
today
Language
N/A
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

rag-dev

Use when building knowledge bases, ingesting documents, running semantic search, or adding LLM-synthesized Q&A over private content with Butterbase RAG

424 Updated today
butterbase-ai
AI & Automation Solid

journey-ai

Use as the AI build stage of the Butterbase journey. Implements the AI section of 02-plan.md by delegating to the ai skill. Calls manage_ai (update_config) to set defaults and optionally BYOK. Skipped if the plan has no LLM/embeddings usage.

424 Updated today
butterbase-ai
AI & Automation Solid

journey-plan

Use as stage 2 of the Butterbase journey, after journey-idea has written 01-idea.md. Translates the idea + capability map into a concrete Butterbase plan — tables (with columns/types/RLS shape), auth providers, function list (name + trigger), storage buckets, AI/RAG/realtime/durable usage, and the chosen frontend stack. In hackathon mode, ruthlessly cuts scope into a "ship now" vs "post-hackathon" split. Produces docs/butterbase/02-plan.md.

424 Updated today
butterbase-ai
AI & Automation Solid

journey-rls

Use as the RLS build stage of the Butterbase journey, after journey-schema. Implements the RLS section of 02-plan.md by delegating to debug-rls policy patterns (for proactive creation, not debugging). Calls manage_rls (create_user_isolation, enable, create_policy). Folded into journey-schema when hackathon_mode is true.

424 Updated today
butterbase-ai
AI & Automation Solid

journey-storage

Use as the storage build stage of the Butterbase journey. Implements the Storage section of 02-plan.md by delegating to the storage skill. Calls manage_storage (update_config) for bucket setup; uploads are exercised at frontend integration time, not here. Skipped if the plan has no file uploads.

424 Updated today
butterbase-ai