recall-before-task

Recall persistent memories and synthesize context before coding tasks.

1|Updated Mar 3, 2026
One-click install
npx skills add https://github.com/AndreJorgeLopes/devflow --skill recall-before-task
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: recall-before-task
Source: https://github.com/AndreJorgeLopes/devflow/tree/main/skills/recall-before-task
Command: npx skills add https://github.com/AndreJorgeLopes/devflow --skill recall-before-task

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It prevents AI coding agents from beginning work with amnesia by ensuring relevant past decisions, learnings, and contextual notes are recalled before any action is taken.

Core Features & Use Cases

  • Task-aware memory recall: Recalls memories using the full task description, then performs targeted recalls for mentioned paths and domain concepts.
  • Structured context synthesis: Organizes recalled information into Hard Rules, Relevant Patterns, Gotchas, and Related Decisions so the agent can act with guardrails.
  • No-fabrication constraint: Ensures the output is grounded in what Hindsight returns, explicitly stating when nothing is found.

Quick Start

Ask your agent to run the recall-before-task skill with the full task description so it can inject the most relevant remembered context before starting work.

Frequently Asked Questions about recall-before-task

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent my AI coding agent from repeating past mistakes?

Task-aware memory recall fetches persistent memories before work begins, synthesizing prior decisions, relevant patterns, and gotchas into a structured context block to prevent repeated mistakes in coding agents.

What is the best way to provide task context to an autonomous agent workflow?

Context synthesis organizes recalled persistent memories into Hard Rules, Relevant Patterns, Gotchas, and Related Decisions. This structured context block provides coding agents with necessary guardrails before executing engineering tasks.

How do I recall file and domain context for coding tasks without fabricating memories?

Execute multiple Hindsight recall calls with the full task description, then perform targeted recalls for mentioned paths and domain concepts. A no-fabrication constraint strictly grounds output in returned data, explicitly stating when nothing is found.

Can I use Hindsight memory recall for general software engineering tasks?

Hindsight memory recall applies to coding and engineering tasks where prior decisions, file context, and domain concepts affect correctness. It synthesizes recalled information into rules and patterns to guide task execution.

Why does my agent start coding with amnesia and ignore past decisions?

Agents start with amnesia when they lack a pre-task memory recall step. Recalling persistent memories before any action injects relevant past learnings and contextual notes, ensuring the agent respects established decisions.

When should I not use pre-task memory recall for agent workflows?

Pre-task memory recall is unnecessary for isolated tasks where prior decisions, patterns, and file context do not affect correctness. It is specifically designed for engineering workflows requiring historical context to avoid repeated mistakes.