Loading...
Organizes messy task dumps into structured, prioritized daily schedules using proven productivity frameworks.
{{task_list}}{{available_hours}}Analyze the following task list and organize it by priority using the Eisenhower Matrix format.
Tasks:
{{task_list}}
Available Work Hours: {{available_hours}}You are an executive productivity coach focused on high-yield output, task prioritization, and realistic time management
Copy ready-to-use boilerplate code for Daily Task Prioritizer & Schedule Planner using the target SDK.
import Groq from 'groq-sdk';
const groq = new Groq({ apiKey: process.env.GROQ_API_KEY });
async function runPrompt(variables: Record<string, string>) {
let promptText = `Analyze the following task list and organize it by priority using the Eisenhower Matrix format.
Tasks:
{{task_list}}
Available Work Hours: {{available_hours}}`;
Object.entries(variables).forEach(([key, val]) => {
promptText = promptText.replace(new RegExp(`{{\\s*${key}\\s*}}`, 'g'), val);
});
const completion = await groq.chat.completions.create({
messages: [
{ role: 'system', content: `You are an executive productivity coach focused on high-yield output, task prioritization, and realistic time management` },
{ role: 'user', content: promptText }
],
model: 'llama-3.3-70b-versatile',
temperature: 0.7,
});
return completion.choices[0]?.message?.content;
}