Desktop app that records your on-screen work session and uses the GitHub Copilot SDK to reconstruct it as an intent + ordered steps, then builds a reusable Skill or Automation for Microsoft Autopilots like Scout, Microsoft Copilot Cowork, or Copilot Studio.
TypeScript agent-skillsai-agentsautomationcopilotcopilot-clicopilot-coworkcopilot-studioelectronmicrosoft-scoutscreen-recording
Show a short title in the sessions list, the full goal on the detail
adilei9fb82cfc3737
diff --git a/electron/describer/instructions.ts b/electron/describer/instructions.tsindex 25a948e..ab872ec 100644--- a/electron/describer/instructions.ts+++ b/electron/describer/instructions.ts@@ -74,8 +74,11 @@ All times are **\`atMs\` = milliseconds since the recording started**.## Output schema (submit_analysis)- **title**: a SHORT 2–5 word label for the task, in Title Case with no trailing period,- e.g. "Research Habit Articles", "Extract Invoice Data", "Compare Pricing Plans". This is- the session's name in lists, so make it scannable — name the task, not the apps used.+ under ~40 characters, e.g. "Research Habit Articles", "Extract Invoice Data", "Compare+ Pricing Plans". This is the session's name in lists, so make it scannable — name the+ task, not the apps used. It must be a **fresh short name, NOT the intent sentence+ truncated**. (e.g. intent "Copy the last few messages of a Teams chat into a new Apple+ Note" → title "Save Teams Chat To Notes".)- **intent**: one sentence naming the user's goal, e.g. "Research and comparearticles on building better habits" or "Submit an expense report".- **intentConfidence**: "high" | "medium" | "low".diff --git a/electron/describer/tools.ts b/electron/describer/tools.tsindex 72bff96..a81993d 100644--- a/electron/describer/tools.ts+++ b/electron/describer/tools.ts@@ -272,7 +272,7 @@ export function createDescriberTools(ctx: ToolContext): Tool[] {title: {type: "string",description:- 'A short 2–5 word label for this task in Title Case, no trailing period, e.g. "Research habit articles" or "Extract invoice data". Used as the session name in lists.',+ 'A short 2–5 word label for this task in Title Case, under ~40 characters, no trailing period, e.g. "Research Habit Articles" or "Save Teams Chat To Notes". Used as the session name in lists. Write a fresh, scannable name — do NOT just truncate the intent sentence.',},intent: { type: "string", description: "One sentence naming the user's overall goal." },intentConfidence: { type: "string", enum: ["high", "medium", "low"] },diff --git a/src/App.css b/src/App.cssindex 5e400b0..ea808be 100644--- a/src/App.css+++ b/src/App.css@@ -911,12 +911,10 @@ button:focus-visible,gap: 12px;}-/* The one-sentence goal, shown under the short title. */-.summary-goal {- margin: 0;- font-size: 14px;- color: var(--text);- line-height: 1.5;+/* Small helper text under an edit field, e.g. where the Name shows up. */+.edit-hint {+ font-size: 11.5px;+ color: var(--faint);}.summary-edit {diff --git a/src/Library.tsx b/src/Library.tsxindex e731f17..09cc7d5 100644--- a/src/Library.tsx+++ b/src/Library.tsx@@ -2,7 +2,7 @@ import { useCallback, useEffect, useRef, useState } from "react";import type { Analysis } from "../common/analysis";import type { AnalyzeProgress, SessionSummary } from "../common/ipc";-import { formatDur, formatMs, formatWhen } from "./format";+import { formatDur, formatMs, formatWhen, shortLabel } from "./format";export function Library() {const [sessions, setSessions] = useState<SessionSummary[]>([]);@@ -145,7 +145,9 @@ function SessionsList({) : null}</div><div className="sess-intent">- {s.analysis?.title?.trim() || s.analysis?.intent || "Not analyzed yet"}+ {s.analysis+ ? s.analysis.title?.trim() || shortLabel(s.analysis.intent)+ : "Not analyzed yet"}</div><div className="sess-sub">{s.durationMs != null && <span>{formatDur(s.durationMs)}</span>}@@ -380,6 +382,7 @@ function AnalysisWorkspace({} else if (e.key === "Escape") setEditing(false);}}/>+ <span className="edit-hint">Appears in your sessions list</span></label><label className="edit-field"><span className="edit-label">Goal</span>@@ -404,10 +407,7 @@ function AnalysisWorkspace({</div>) : (<>- <h2 className="summary-text">{analysis.title?.trim() || analysis.intent}</h2>- {analysis.title?.trim() && (- <p className="summary-goal">{analysis.intent}</p>- )}+ <h2 className="summary-text">{analysis.intent}</h2>{analysis.intentRationale && (<p className="summary-why">{analysis.intentRationale}</p>)}diff --git a/src/format.ts b/src/format.tsindex ac080d4..6f4606d 100644--- a/src/format.ts+++ b/src/format.ts@@ -13,6 +13,20 @@ export function formatDur(ms: number): string {return `${Math.floor(s / 60)}m ${s % 60}s`;}+/**+ * Compact one-line label derived from a full intent sentence. Used as the+ * sessions-list name when an analysis has no short `title` (older analyses saved+ * before the describer produced one). Trims to a word boundary near 44 chars so+ * the list stays scannable instead of wrapping the whole goal sentence.+ */+export function shortLabel(intent: string): string {+ const clean = intent.trim().replace(/\s+/g, " ").replace(/[.\s]+$/, "");+ if (clean.length <= 44) return clean;+ const cut = clean.slice(0, 44);+ const sp = cut.lastIndexOf(" ");+ return (sp > 24 ? cut.slice(0, sp) : cut).replace(/[,;:]+$/, "") + "…";+}+/** Human timestamp for a saved session, e.g. "Jul 25, 1:05 AM". */export function formatWhen(ms: number | null): string {if (ms == null) return "—";