AIFlare
VisionDocs
Sign inStart free
Getting Started
  • Introduction
  • Quickstart
Features
  • Project Dashboard
  • Project Settings
  • Timeline
  • Team Collaboration
Skills
  • Skills Overview
  • Context Capture
  • Code Intent Lookup
  • Context Inject
  • Daily Digest
  • Weekly Digest
  • Session Compare
  • Session Summary
  • Prompt Evaluation
Administration
  • Members & Invitations
  • Account Settings
Features

Context Inject

Inject a saved report from a previous session (produced by /summarize) into the current Claude Code session's LLM context with a single sessionId. Past intent, rejected alternatives, and changed files flow into subsequent answers — no need to re-read git log or code to reconstruct earlier decisions.

Overview

Context Inject takes a sessionId copied from the AIFlare web dashboard and injects that session's latest saved report (the output of /summarize) into the current LLM context. It pairs with /summarize as a closed loop — when starting a new Claude Code session, you bring in the previous decision trail explicitly while keeping token cost under control.

Use Cases

Particularly effective in the following situations.

01
Resume Work

Pick up where you left off days ago by injecting that session's report and continuing from the same context.

02
Code Review Context

A reviewer takes the author's sessionId, loads that session's intent and alternatives into their own session, and reviews on the same footing.

03
Onboard New Members

Inject reports of recent key sessions into a newcomer's session so the prior decision trail transfers without context loss.

04
Troubleshooting

Reference the intent and rejected alternatives of a past session that handled the same or similar problem to avoid repeating the same pitfalls.

Usage Guide

Command Syntax

Run the following command in Claude Code. sessionId is required and can be copied from the session detail page on the web dashboard.

/context-inject <sessionId>

Parameters

NameTypeRequiredDefaultDescription
sessionIdstringRequiredNoneID of the past session to inject. Must point to a past session for which a report has already been saved via /summarize, not the current session. There is no fallback — it must be specified explicitly.

Execution Flow

1The skill validates the sessionId argument and prints input guidance if it is missing.
2The get_saved_session_report MCP tool calls the backend's latest-report endpoint.
3The response body (Markdown) is printed verbatim and loaded into the LLM context.
4An injection-confirmation line is appended at the end, and subsequent questions are answered against the injected report.

Error Reference

Missing sessionId

You ran /context-inject with no argument. Copy a sessionId from the web dashboard and pass it as the argument.

No Saved Report

No report exists for the given sessionId. Run /summarize in that session first to save one.

API Key Not Configured

aiflare.yml is missing at the project root or its api_key value is empty.

Related Commands

Context Inject closes the loop with /summarize. Save a report with /summarize, then inject it with /context-inject so subsequent sessions carry forward the same context.

/summarize

Compresses the current session into a one-page report and saves it to the server — producing the asset that the next session will pull in via /context-inject.

/context-inject

Injects a saved report into a new session's LLM context, carrying intent and decision context forward intact.

On this page

AIFlare
Made with ♥ in Seoul
© 2026 AIFlare. All rights reserved.
Product
SkillDocs
Company
Vision
Resources
PrivacyTerms
Connect
GitHub