<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://ephemerawiki.space/index.php?action=history&amp;feed=atom&amp;title=Help%3AEphemera_Agent%2FContext_Tab</id>
	<title>Help:Ephemera Agent/Context Tab - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://ephemerawiki.space/index.php?action=history&amp;feed=atom&amp;title=Help%3AEphemera_Agent%2FContext_Tab"/>
	<link rel="alternate" type="text/html" href="https://ephemerawiki.space/index.php?title=Help:Ephemera_Agent/Context_Tab&amp;action=history"/>
	<updated>2026-05-19T13:23:43Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.42.3</generator>
	<entry>
		<id>https://ephemerawiki.space/index.php?title=Help:Ephemera_Agent/Context_Tab&amp;diff=693&amp;oldid=prev</id>
		<title>EphemeraAdmin: New page: Context tab features (inspector, stub field, POST, EXPAND, custom pages)</title>
		<link rel="alternate" type="text/html" href="https://ephemerawiki.space/index.php?title=Help:Ephemera_Agent/Context_Tab&amp;diff=693&amp;oldid=prev"/>
		<updated>2026-04-09T19:17:56Z</updated>

		<summary type="html">&lt;p&gt;New page: Context tab features (inspector, stub field, POST, EXPAND, custom pages)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{DISPLAYTITLE:Ephemera Agent — Context Tab}}&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;&amp;#039;CONTEXT&amp;#039;&amp;#039;&amp;#039; tab is the third main view in the Ephemera Agent interface (alongside AGENT and BROWSER). It has two purposes:&lt;br /&gt;
&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;Inspect&amp;#039;&amp;#039;&amp;#039; — shows the context package assembled by &amp;lt;code&amp;gt;agent.php&amp;lt;/code&amp;gt; for the most recent agent task: which instruction, encyclopedia, source, talk, and Wikipedia pages were included, how many tokens they used, and what task type was detected.&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;Compose&amp;#039;&amp;#039;&amp;#039; — provides a stub/prompt field and a set of tools for assembling custom context and triggering content generation without writing a task prompt manually.&lt;br /&gt;
&lt;br /&gt;
== Context Panel (right side) ==&lt;br /&gt;
&lt;br /&gt;
After every context-aware agent run, the panel updates with:&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Task type&amp;#039;&amp;#039;&amp;#039; — the classifier&amp;#039;s determination (e.g. &amp;lt;code&amp;gt;create_stub&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;stub_expansion&amp;lt;/code&amp;gt;)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Token counts&amp;#039;&amp;#039;&amp;#039; — total, instructions, encyclopedia, sources&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Page list&amp;#039;&amp;#039;&amp;#039; — all pages that were included, grouped by section (ENCYCLOPEDIA, INSTRUCTIONS, SOURCES, TALK PAGES, WIKIPEDIA). Click any page to load it in the Browser tab.&lt;br /&gt;
&lt;br /&gt;
== Custom Pages Section ==&lt;br /&gt;
&lt;br /&gt;
Pages manually added via the &amp;#039;&amp;#039;&amp;#039;+ CONTEXT&amp;#039;&amp;#039;&amp;#039; button (in the Browser toolbar) appear here under &amp;#039;&amp;#039;&amp;#039;CUSTOM PAGES&amp;#039;&amp;#039;&amp;#039;. These pages are force-included in the context package for every subsequent agent call, regardless of what the classifier selects.&lt;br /&gt;
&lt;br /&gt;
Use &amp;#039;&amp;#039;&amp;#039;CLEAR ALL&amp;#039;&amp;#039;&amp;#039; to remove all custom pages, or click ✕ on any individual page.&lt;br /&gt;
&lt;br /&gt;
== Stub / Prompt Field ==&lt;br /&gt;
&lt;br /&gt;
A textarea at the top of the Context tab. It is populated in two ways:&lt;br /&gt;
&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;Auto-populate&amp;#039;&amp;#039;&amp;#039; — when you browse to a short page (under 1,500 characters) or a page containing &amp;lt;nowiki&amp;gt;{{stub}}&amp;lt;/nowiki&amp;gt;, the field is filled automatically with that page&amp;#039;s wikitext and the page title is noted below the field.&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;Manual&amp;#039;&amp;#039;&amp;#039; — paste any text directly into the field.&lt;br /&gt;
&lt;br /&gt;
=== POST ↑ ===&lt;br /&gt;
&lt;br /&gt;
Posts the stub field content directly to the wiki as a new or updated page — no LLM involved. If any Custom Pages are loaded, they are appended as a &amp;lt;code&amp;gt;== See also ==&amp;lt;/code&amp;gt; section.&lt;br /&gt;
&lt;br /&gt;
Requires a known page title (auto-populated from browsing). The button is disabled if no title is set.&lt;br /&gt;
&lt;br /&gt;
=== EXPAND ↵ ===&lt;br /&gt;
&lt;br /&gt;
Sends the stub field content to the LLM agent with the task type &amp;lt;code&amp;gt;stub_expansion&amp;lt;/code&amp;gt;, using the full context assembly pipeline (plus any custom pages). After the agent finishes, the browser switches to the newly expanded page.&lt;br /&gt;
&lt;br /&gt;
See [[Help:Ephemera Agent/Stub Workflow]] for the complete workflow.&lt;br /&gt;
&lt;br /&gt;
[[Category:Help]]&lt;br /&gt;
[[Category:EphemeraAgent]]&lt;/div&gt;</summary>
		<author><name>EphemeraAdmin</name></author>
	</entry>
</feed>