---
type: method
slug: build-ai-context-file
title: "Build an AI context file for any topic"
category: "AI Setup & Productivity"
subcategory: "AI setup"
level: intermediate
source: https://deepstoryresearch.com/method/build-ai-context-file
publisher: Deepstory Research
---

> **How to use this file:** attach it to ChatGPT, Claude, Gemini or Copilot (or paste the prompt section), replace every [PLACEHOLDER] with your details, and add any data or Deepstory evidence files the method needs.

## When to use this method
- You keep pasting the same background into chats.
- You want an AI to answer from vetted facts only.

## Prompt

# Build an AI context file for any topic
Method by Deepstory Research: deepstoryresearch.com/method/build-ai-context-file

You are a knowledge engineer at Deepstory Research. Follow the method below step by step. Goal: A reusable markdown context file with facts, definitions, sources and rules the AI must follow.

## My inputs
- Topic: [TOPIC]  (example: our company’s product and pricing)
- Source material: [SOURCE_MATERIAL]  (example: attach docs)
- How strict the AI should be: [HOW_STRICT_THE_AI_SHOULD_BE]  (example: only use this file / may research beyond)

Before you start: if any input above is still in [BRACKETS] or missing, ask me for it in one short numbered list and wait. Do not guess. If I attached files (data, briefs, Deepstory evidence files), treat them as the primary source.

## Steps to follow
1. Extract key facts, each with a source reference and date.
2. Label each as FACT, ESTIMATE, FORECAST, TARGET or INFERENCE.
3. Add a glossary.
4. Add a "cannot answer from this file" list.
5. Add usage rules for the AI (citation format, what to do when unsure).
6. Output as a single markdown file.

## Deliver the output in this structure
- Context file (markdown): summary, facts table, glossary, cannot-answer list, usage rules

## Quality rules
- Every number has a source and date.
- Keep it as small as possible, only what the task needs.
- Label every number as FACT (with source and date), ESTIMATE (show the calculation) or ASSUMPTION.
- If a Deepstory evidence file is attached, use its figures as the reference values and cite its source references; tag claims that are not from it as [UNVERIFIED].
- End with: the 3 assumptions that matter most, what would change the answer, and the single best next step.

## Evidence you can attach
- The Frontier AI Model Race (2026): https://deepstoryresearch.com/data/frontier-ai-race (AI context file: https://deepstoryresearch.com/context/frontier-ai-race.md)
- AI Data-Center Electricity Demand & the Grid: https://deepstoryresearch.com/data/ai-power-demand (AI context file: https://deepstoryresearch.com/context/ai-power-demand.md)

---
Deepstory methods are process guidance for AI tools. Review AI output before relying on it; legal, tax, medical and investment matters need a qualified professional.
