Pipeline Context
SkillMonitoring & opsLoad context for pipeline, cron, Lambda, OCR, and translation work. Use when starting any pipeline monitoring, debugging, or processing task.
Use Pipeline Context in Claude, ChatGPT or Ahel Desktop
Free. Sign in, add Pipeline Context and connect your AI. About a minute.
Also: Claude Code · Cursor · Codex
Then ask your AI: use the Pipeline Context skill
Details
Instructions available. Your AI can read the instructions. Execution depends on the setup they require.
Account requirements not reviewed. Check the skill instructions before use; Ahel provides instructions and does not run this skill.
No other account needed.
Add Ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.
What this skill tells your AI
The instructions your AI receives, as published by embassy-of-the-free-mind/sourcelibrary-v2 in .claude/skills/pipeline-context/SKILL.md and read by Ahel’s review.
Read these files before proceeding with pipeline work:
memory/pipeline-ops.md— Emergency controls, worker architecture, operational detailsmemory/lessons-learned.md— Operational postmortems and patterns.claude/docs/pipeline.md— Full processing pipeline (states, crons, prompts, costs).claude/docs/worker-architecture.md— Lambda worker details.claude/docs/page-lifecycle.md— Page processing states
Critical Rules
- Model selection: prefer
getModelForBook(book)fromsrc/lib/types/ai-models.tsover hardcoding. It routes BPH books and non-Latin-script languages togemini-3-flash-preview(full quality) and everything else togemini-3.1-flash-lite-preview(50% cheaper, comparable quality on Latin-script). Enrich-worker usesgemini-3.1-flash-lite-previewfor all phases (summary+index, chapters, quality scoring, collection assignment). Never use anything below Gemini v3 —gemini-2.xis deprecated. - NEVER use Gemini Batch API for translation — use Lambda workers (SQS FIFO)
- Any script overwriting
ocr.dataortranslation.dataMUST callcreateRevision()first - MongoDB Atlas saturates at ~40 concurrent Lambda jobs — global backpressure limit
- Emergency stop:
system_config._id: 'processing_control', setpaused: true
Audit Trail
All AI calls logged to gemini_usage collection via logGeminiCall() in src/lib/gemini-logger.ts.
- Book history timeline:
GET /api/books/[id]/history(assembles from 6 collections) - Dashboard:
GET /api/admin/processing-dashboard?provider=ia - Error classification:
src/lib/errors.ts→classifyError(error) cost_trackingcollection is DEPRECATED — usegemini_usagefor all cost queries
Staleness Check
After reading the memory files above, flag anything that contradicts what you observe in the codebase:
- File paths or function names that no longer exist
- Behavioral claims that don't match the current code
- Stats or counts with dates older than 14 days — note as potentially stale
- If you find contradictions, update the memory file immediately and tell the user what changed.
Also Relevant
- Batch processing (Gemini Batch API):
.claude/docs/batch-processing.md - Observability & audit trail:
.claude/docs/observability.md - First translation identification:
.claude/docs/first-translation-system.md
Signals
- GitHub stars
- 21
- Forks
- 4
- Last commit
- Oct 2026
Advanced
- Item type
- skill
- Key
pipeline-context- Source
- github.com/embassy-of-the-free-mind/sourcelibrary-v2
github.com/embassy-of-the-free-mind/sourcelibrary-v2
Related picks
Skill · mattpocock
The pick for TypeScripttypescript-pro
Skill · jeffallan
The pick for TypeScriptinternal-comms
Skill · anthropics
More in Monitoring & opsagent-eval
Skill · affaan-m
More in Monitoring & opspricing
Skill · coreyhaines31
More in Monitoring & opslark-okr
Skill · larksuite
More in Monitoring & ops