Skip to content

Commit 47b176c

Browse files
authored
feat(canvas): add "Optimize your AI usage" new-task suggestion
Add a starter-prompt card to CHANNEL_TASK_SUGGESTIONS that kicks off a task to review recent agent/task usage and find efficiency improvements — reusable skills, memory-file tuning, and token-cost reductions. Generated-By: PostHog Code Task-Id: e5484dae-c3c0-473b-a1ea-12f4cc3d9ab5
1 parent d9ec3c8 commit 47b176c

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

packages/ui/src/features/canvas/channelTaskSuggestions.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import {
66
Cube,
77
CurrencyDollar,
88
Flask,
9+
Gauge,
910
Wrench,
1011
} from "@phosphor-icons/react";
1112
import type { SuggestedPrompt } from "@posthog/ui/features/task-detail/components/SuggestedPromptCard";
@@ -72,6 +73,15 @@ export const CHANNEL_TASK_SUGGESTIONS: SuggestedPrompt[] = [
7273
prompt:
7374
"Interpret the results of an experiment — explain what the metrics show, whether it's significant, and what to do next.\n\n\nUser input:\n- Experiment name or key:\n- What decision are you trying to make (optional):",
7475
},
76+
{
77+
label: "Optimize your AI usage",
78+
description: "Cut token spend with skills & memory tuning",
79+
icon: Gauge,
80+
color: "cyan",
81+
mode: "auto",
82+
prompt:
83+
"Review my recent agent and task usage to find ways to work more efficiently. Look for repeated work a reusable skill would capture, memory files that could be tightened or split, and prompt patterns that burn tokens. Recommend concrete improvements — new skills, memory edits, or best practices — to reduce token cost.\n\n\nUser input:\n- Time period to review (optional):\n- What to prioritize (cost, speed, accuracy — optional):",
84+
},
7585
{
7686
label: "Fix a bug",
7787
description: "Track down and fix a problem in the code",

0 commit comments

Comments
 (0)