task-observer

Detects reusable workflow patterns and routes skill improvements through Prime Agent's continual harness.

Updated Sep 6, 2026
One-click install
npx skills add https://github.com/oxie/prime-agent-skills --skill task-observer-oxie
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: task-observer
Source: https://github.com/oxie/prime-agent-skills/tree/main/task-observer
Command: npx skills add https://github.com/oxie/prime-agent-skills --skill task-observer-oxie

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires PyYAML, and includes scripts (resource) and references (resource) components.

What problem does it solve? AI agent sessions repeatedly make the same mistakes because corrections, reusable procedures, and user preferences are lost when a session ends. This Skill observes tool-using work, identifies durable lessons, and persists them through Prime Agent's continual harness so future sessions benefit. ## Core Features & Use Cases - Continuous observation: Loads at session start and silently watches for user corrections, repeated failures, reusable multi-step procedures, and skill gaps without blocking the user's task. - Single persistence path: Routes evidence-backed lessons through the native refine.run harness with explicit local/global scoping, avoiding duplicate or parallel observation databases. - Approval-gated skill maintenance: Turns strong observations into tested proposal commits on isolated Git branches, with validation, secret scans, and explicit user approval before merging or pushing. - Use Case: A user corrects the agent twice about a deployment preference; the observer schedules a global refinement so the preference persists across all future sessions. ## Quick Start Load the task-observer skill at the start of any tool-using session and let it monitor for reusable lessons automatically.

Frequently Asked Questions about task-observer

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

FAQPage Schema
How do I make an AI agent remember corrections across sessions?▼

Load task-observer at session start; it detects user corrections and repeated failures, then schedules a refine.run call with global_=True so the lesson persists in Prime Agent's global harness store for future sessions.

How does task-observer improve installed skills?▼

It creates a tested proposal commit on an isolated observer/<skill> branch in a separate worktree, runs validation and secret scans, and reports the diff. Merging into main and pushing require explicit user approval.

Does task-observer run background jobs or daemons?▼

No. Observation happens only during user-started sessions. It explicitly forbids schedules, heartbeats, autonomous runs, retained workers, and background evaluation loops.

What is the difference between local and global harness scope?▼

Global scope persists reviewed reusable lessons and durable preferences across sessions via refine.run with global_=True. Local scope holds temporary task state, blockers, and worker handles that should not survive the session.

When should task-observer not create a refinement?▼

It skips one-off task facts, transient guesses, weak hypotheses, and lessons already present in the harness. Only strong, evidence-backed, nonduplicate signals that generalize qualify for refinement.