Context builder

From glebis/claude-skills · View interactive version

Context builder is an AI agent skill from the GitHub repository glebis/claude-skills. Generate interactive AI transformation context-builder prompts for consulting clients. Use when creating structured discovery session prompts that guide a company through context gathering about their business, pain points, tech stack, and AI opportunities. Produces a resumable, multi-section prompt

How to use this skill

Skill file

Context Builder

Generate interactive context-building prompts for consulting clients. These prompts are designed to be run in Claude Code -- they guide a team through structured questions using AskUserQuestion, generate output files per section, and compile everything into a reusable CLAUDE.md.

Workflow

Phase 1: Intake (AskUserQuestion)

Ask all intake questions using AskUserQuestion with closed-list options. Gather:

Question 1: Company identifier

Question 2: Who will use this prompt?

Question 3: Primary consulting focus (multiSelect)

Question 4: Industry

Question 5: Existing context in vault?

Question 6: Session language

Phase 2: Research (automated)

Run these research steps in parallel where possible:

  1. Web research: Use WebSearch and WebFetch (via Task agent) to gather:
  1. Vault search: Search the Obsidian vault for:
  1. Transcript analysis (if found): Extract from call transcripts:

Phase 3: Section Selection (AskUserQuestion)

Present a curated set of sections based on the consulting focus. Use AskUserQuestion with multiSelect to let the user pick which sections to include.

Section Library

Draw from references/section-library.md for the full section catalog. Default section sets by focus:

AI Automation focus:

  1. Process Inventory, 2. Pain Points & Waste, 3. Current Tech Stack, 4. AI Opportunity Mapping, 5. People & Org, 6. Data Reality Check, 7. Quick Wins

Existential Strategy focus:

  1. Revenue & Service Map, 2. The Existential Question, 3. Client Value Chain, 4. New Business Models, 5. Data & Knowledge Assets, 6. People & Org, 7. Quick Wins & Pilots

Full Assessment (both):

All 10 sections from the library.

After section selection, ask:

Express mode grouping: Present a suggested grouping of selected sections into 4 Express mega-sections. Let user confirm or adjust.

Phase 4: Generation

Generate two files:

1. The Context-Builder Prompt

Save to: Claude-Drafts/{company-slug}-context-prompt.md

Structure (follow the template in references/prompt-template.md):

---
created_date: '[[YYYYMMDD]]'
type: draft
topic: consulting, AI transformation, {industry}
for: {contact person or team name}
---

# AI Transformation Context Builder -- {Company Name}

## About {Company}
  [Generated from research -- company description, size, market, positioning]

## Current State
  **What's working:** [from research + transcript]
  **The gap:** [from research + transcript]
  [If existential concerns found: **Existential context:**]

## Mode Selection
  [Express vs Deep Dive with section descriptions]

## How This Works
  [Standard interactive session instructions]

## Session Resumability
  [Standard resumability logic]

## Interactive Flow
  [Selected sections with tailored questions]

## Output Files
  [One file per section + final CLAUDE.md]

## Relevant Frameworks
  [Selected from references/frameworks.md based on focus]
2. Instruction File (optional)

If the prompt will be sent to someone external, generate a short instruction file:

Claude-Drafts/{company-slug}-context-instructions.md

Containing:

Phase 5: Delivery (AskUserQuestion)

Question: What to do with the generated files?

If Telegram: ask for the recipient handle/name, then send using the telegram skill (intro message + file).

Key Principles

Resources

references/

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.