github-aw-memory

Persist workflow state across GitHub agent runs using cache, repo, or comment memory.

3|1|Updated Apr 12, 2026
One-click install
npx skills add https://github.com/Cogni-AI-OU/cogni-ai-agent-skills --skill github-aw-memory
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-aw-memory
Source: https://github.com/Cogni-AI-OU/cogni-ai-agent-skills/tree/main/github-aw-memory
Command: npx skills add https://github.com/Cogni-AI-OU/cogni-ai-agent-skills --skill github-aw-memory

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

github-aw-memory solves the challenge of keeping GitHub agent workflows consistent and non-duplicative by persisting workflow state across multiple runs.

Core Features & Use Cases

  • Cache-memory deduplication: Use ephemeral persistence for short-lived progress tracking, incremental processing, and metric baselines that expire safely.
  • Repo-memory auditable knowledge: Use long-lived persistence for state that must survive cache eviction, knowing it creates Git commits and needs Claude/custom engines.
  • Comment-memory scoped notes: Persist workflow notes directly on the triggering issue/PR to keep context close to the source.
  • Use Case: Track which PRs were already processed for a daily triage workflow so reruns don’t repeat work, while keeping sensitive secrets out of persisted state.

Quick Start

Ask an AI agent to store deduplication state using cache-memory for previously processed PR identifiers while avoiding unsafe cache keys with colon timestamps.

Frequently Asked Questions about github-aw-memory

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

FAQPage Schema
How do I persist GitHub agent state across multiple workflow runs?

You can persist GitHub agent state across runs by applying cache-memory for ephemeral tracking, repo-memory for long-lived Git commits, or comment-memory for notes attached to issues and PRs. This ensures workflows avoid repeating previously completed tasks.

What is the best way to prevent GitHub agentic workflows from repeating work?

Prevent GitHub agentic workflows from repeating work by implementing deduplication using stable identifiers. Store these identifiers in cache-memory or repo-memory so subsequent runs can safely check the persistent workflow state before executing tasks.

Can I use cache-memory for incremental processing in GitHub workflows?

Yes, you can use cache-memory for incremental processing in GitHub workflows. It provides ephemeral persistence ideal for short-lived progress tracking and metric baselines that expire safely, allowing incremental tasks to resume without duplicating previous steps.

How do I persist workflow notes directly on a GitHub issue or PR?

To persist workflow notes directly on a GitHub issue or PR, use the comment-memory strategy. This approach scopes the context to the triggering source, keeping the persistent state closely tied to the specific issue or pull request.

When should I use repo-memory instead of cache-memory for GitHub agents?

Use repo-memory instead of cache-memory when workflow state must survive cache eviction and require auditable Git commits. Repo-memory provides long-lived persistence for GitHub agentic workflows, whereas cache-memory is designed for short-lived, ephemeral data.

Why do cache keys with colon timestamps cause Windows artifact failures in GitHub workflows?

Cache keys with colon timestamps cause Windows artifact failures because colons are restricted characters in Windows file paths. To prevent this, enforce filename and key timestamp formats that avoid unsafe characters when persisting GitHub agent state.