Extracts durable insights from temp/ files to SoT during EPIC Phase E.

MITAuto-check passedAgent Workflows

Install Ghm Harvest

skills CLI
$ npx skills add mattgierhart/PRD-driven-context-engineering --skill ghm-harvest -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install mattgierhart/PRD-driven-context-engineering ghm-harvest --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/mattgierhart/PRD-driven-context-engineering.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/ghm-harvest .claude/skills/ghm-harvest && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
ghm-harvest
GitHub stars
180
Token cost
~1.1k tokens
SKILL.md length
435 words
Files
4 (incl. references, assets)
Skills in repo
45
Repo updated
First seen
Licence
MIT

At a glance

Extracts durable insights from temp/ files to SoT during EPIC Phase E.

  • Works in 4 steps: Enumerate Temp Files → Identify SoT-Worthy Content → Format SoT Entries → …
  • At EPIC completion
  • SKILL.md covers Workflow Overview, Core Output Template, Harvest Decision Matrix and Step 1: Enumerate Temp Files, plus 7 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Ghm Harvest is an agent skill from mattgierhart/PRD-driven-context-engineering. Extracts durable insights from temp/ files to SoT during EPIC Phase E. Triggers at EPIC completion or explicit /ghm-harvest invocation. Outputs new SoT entries and archive manifest.

Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including reference files and assets (for example `assets/harvest-log-template.md`, `references/examples.md` and `references/harvest-patterns.md`).

It sits in Agent Workflows. The repository describes itself as: PRD-Led Context Engineering — Memory as Infrastructure. An ontology layer for product teams building products that solve real problems — with AI agents that remember. Gated PRD… The licence is MIT.

When your agent uses it

  • At EPIC completion
  • Explicit /ghm-harvest invocation

Example prompts

  • “Use the ghm-harvest skill to extract durable insights from temp/ files to SoT during EPIC Phase E”
  • “/ghm-harvest”

Requirements

  • Pre-approved tools (allowed-tools): Read, Write, Edit, Glob, Grep

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Enumerate Temp Files
  2. Identify SoT-Worthy Content
  3. Format SoT Entries
  4. Archive and Cleanup

What it can do on your machine

Read from SKILL.md and the folder at commit 30ed1b0. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Write
    • Edit
    • Glob
    • Grep

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Ghm Harvest loads about 1.1k tokens when it runs, and up to ~4.4k if it reads all its reference files. Until then it costs about 49 tokens; SKILL.md has 435 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~49
When it runs · the whole SKILL.md, loaded when a task matches
~1.1k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~4.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from mattgierhart/PRD-driven-context-engineering at commit 30ed1b0, republished under its MIT licence (© mattgierhart). 435 words, ~1,147 tokens.

Download SKILL.mdSave it as .claude/skills/ghm-harvest/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
ghm-harvest
description
Extracts durable insights from temp/ files to SoT during EPIC Phase E. Triggers at EPIC completion or explicit `/ghm-harvest` invocation. Outputs new SoT entries and archive manifest.
allowed-tools
Read, Write, Edit, Glob, Grep
context
fork

Harvest

Extract durable insights from temporary files to Source of Truth during EPIC Phase E (Finish).

Workflow Overview

  1. Enumerate Temps → List all temp/ files from current EPIC
  2. Identify SoT-worthy → Determine what should persist
  3. Format Entries → Convert to proper SoT templates
  4. Archive → Move temps to archive, update manifest

Core Output Template

ElementDefinitionEvidence
Temp FilesFiles processedList with paths
New SoT EntriesIDs createdBR-XXX, UJ-XXX, etc.
Archive ManifestWhat was archivedPaths and dates
DiscardedWhat was not keptReason for each

Harvest Decision Matrix

Content TypeActionDestination
Business rule discoveredExtractSoT/SoT.BUSINESS_RULES.md
User flow documentedExtractSoT/SoT.USER_JOURNEYS.md
API design finalizedExtractSoT/SoT.API_CONTRACTS.md
Customer feedback capturedExtractSoT/SoT.customer_feedback.md
Session notesArchive onlyarchive/YYYY-MM/
Scratch workDiscardDelete after review

Step 1: Enumerate Temp Files

  1. Read EPIC Execution Plan for temp file references
  2. List all files in temp/ directory
  3. Match temps to EPIC (by date or naming)
Checklist
  • All EPIC-referenced temps identified
  • Temp directory scanned
  • Files categorized by content type

Step 2: Identify SoT-Worthy Content

For each temp file, evaluate:

QuestionIf YesIf No
Is this a business rule?Extract as BR-XXXContinue
Is this a user flow?Extract as UJ-XXXContinue
Is this an API design?Extract as API-XXXContinue
Is this customer evidence?Extract as CFD-XXXContinue
Is this useful context?ArchiveContinue
Is this scratch work?Discard-
Checklist
  • Each temp file evaluated
  • Extract/Archive/Discard decision made
  • Decisions documented

Step 3: Format SoT Entries

For each extracted item:

  1. Generate appropriate ID using ghm-id-register
  2. Format per SoT template
  3. Add cross-references
  4. Insert into correct SoT file
Show full SKILL.md (166 more words)Show less
Entry Template
markdown
### [ID]: [Title]

**Status**: Active
**Created**: YYYY-MM-DD
**Source**: temp/[filename].md (EPIC-XX)
**Cross-References**: [Related IDs]

[Extracted content, properly formatted]
Checklist
  • All extracts have valid IDs
  • Formatting matches SoT templates
  • Cross-references verified

Step 4: Archive and Cleanup

  1. Create archive directory: archive/YYYY-MM/
  2. Move processed temps to archive
  3. Generate manifest
  4. Update EPIC Phase E checklist
Archive Manifest Template
markdown
## Archive Manifest: EPIC-XX

**Date**: YYYY-MM-DD
**Archived To**: archive/YYYY-MM/

### Extracted to SoT
| Temp File | New ID | SoT File |
|-----------|--------|----------|
| temp/file.md | BR-XXX | SoT.BUSINESS_RULES.md |

### Archived Only
| Temp File | Reason |
|-----------|--------|
| temp/notes.md | Session context |

### Discarded
| Temp File | Reason |
|-----------|--------|
| temp/scratch.md | No durable value |

Quality Gates

Pass Checklist
  • All temps processed (none orphaned)
  • Extracted content has valid IDs
  • Archive manifest is complete
  • EPIC Phase E checklist updated
Testability Check
  • SoT entries are findable by ID
  • Archive manifest matches actual files
  • Temp directory is clean

Anti-Patterns

PatternExampleFix
Orphan tempsTemps not in manifest→ Process all files
Lost contextArchive without manifest→ Always create manifest
Over-extractionEverything becomes SoT→ Apply decision matrix
Under-extractionValuable insights lost→ Review before discard

Boundaries

DO:

  • Extract durable insights
  • Format per templates
  • Create complete manifests
  • Clean up temps

DON'T:

  • Create new analysis
  • Modify conclusions
  • Skip the manifest
  • Delete without review

Handoff

After harvest completes:

  • SoT files updated with new entries
  • Temps archived with manifest
  • EPIC Phase E marked complete
  • Ready to close EPIC

© mattgierhart, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files (references, assets) in .claude/skills/ghm-harvest of mattgierhart/PRD-driven-context-engineering.

  • SKILL.md
  • assets/harvest-log-template.md
  • references/examples.md
  • references/harvest-patterns.md

Open the folder on GitHubat commit 30ed1b0

Compare with similar skills

Ghm Harvest next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Ghm Harvest compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Ghm Harvest this skillmattgierhart/PRD-driven-context-engineering180—~1.1kAutomated safety check: PassMIT
Idea Refinementaddyosmani/agent-skills105k6 repos~2kAutomated safety check: PassMIT
Coherence AuditorGoogleChrome/modern-web-guidance-src1.1k—~864Automated safety check: PassApache-2.0
Agent Development SpecificationSmartSunruiyang/Agent-development-specification150—~2.5kAutomated safety check: PassMIT
Agent RelayAgentWorkforce/relay872—~1.7kAutomated safety check: PassApache-2.0
CE BrainstormEveryInc/compound-engineering-plugin25k—~1.9kAutomated safety check: PassMIT

Similar skills

  • Idea Refinement

    addyosmani/agent-skills

    Guides a conversation that takes a vague idea through divergent and convergent thinking and ends in a markdown one-pager covering scope and assumptions.

    105k GitHub starsUsed in 6 repos~2k tokens
    Agent WorkflowsAuto-check passed
  • Coherence Auditor

    GoogleChrome/modern-web-guidance-src

    Run a document coherence, link integrity, and git repository status audit across repository markdown files using a dedicated subagent.

    1.1k GitHub stars~864 tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Agent Development Specification

    SmartSunruiyang/Agent-development-specification

    Bootstraps the Day-0 agent-governance + documentation scaffold for ANY project on ANY stack.

    150 GitHub stars~2.5k tokensUpdated 4 mo ago
    Agent WorkflowsAuto-check passed
  • Agent Relay

    AgentWorkforce/relay

    A skill your agent uses when you need Codex to coordinate multiple agents through Agent Relay for peer-to-peer messaging, lead/worker handoffs, or shared status tracking across sub-agents and…

    872 GitHub stars~1.7k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • CE Brainstorm

    EveryInc/compound-engineering-plugin

    Turns a vague or ambitious feature idea into a requirements-only plan through dialogue with you, sized to the work, before any code is written.

    25k GitHub stars~1.9k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Extracting Requirements

    prime-radiant-inc/iterative-development

    Reads human-written spec documents and produces per-epic requirement files with proof obligations plus behavior scenarios with stable IDs, using parallel chunked extraction.

    181 GitHub stars~2.7k tokensUpdated 4 mo ago
    Agent WorkflowsAuto-check passed

More from mattgierhart/PRD-driven-context-engineering

All 45 skills in this repo
  • Ghm Gate Check

    mattgierhart/PRD-driven-context-engineering

    Validates gate criteria before PRD lifecycle advancement by delegating to the readiness scoring pipeline (scripts/readiness.py).

    180 GitHub stars~1.3k tokensUpdated 1 mo ago
    Auto-check: notes
  • Ghm Id Register

    mattgierhart/PRD-driven-context-engineering

    Validates and registers new SoT IDs with cross-reference integrity.

    180 GitHub stars~1.5k tokensUpdated 1 mo ago
    Auto-check passed
  • Ghm Sot Builder

    mattgierhart/PRD-driven-context-engineering

    Creates new Source of Truth (SoT) files when existing templates don't fit your needs.

    180 GitHub stars~2k tokensUpdated 1 mo ago
    Auto-check passed
  • Prd V01 Problem Framing

    mattgierhart/PRD-driven-context-engineering

    Transform vague product ideas into evidence-anchored problem statements for PRD v0.1 Spark.

    180 GitHub stars~1.7k tokensUpdated 1 mo ago
    Auto-check passed
  • Prd V01 User Value Articulation

    mattgierhart/PRD-driven-context-engineering

    Transform validated pain points into articulated user value statements for PRD v0.1 Spark.

    180 GitHub stars~1.6k tokensUpdated 1 mo ago
    Auto-check passed
  • Prd V02 Competitive Landscape Mapping

    mattgierhart/PRD-driven-context-engineering

    Map the competitive landscape before positioning your product for PRD v0.2 Market Definition.

    180 GitHub stars~2.3k tokensUpdated 1 mo ago
    Auto-check passed

Questions about Ghm Harvest

What does Ghm Harvest do?

Extracts durable insights from temp/ files to SoT during EPIC Phase E. Ghm Harvest is an agent skill from mattgierhart/PRD-driven-context-engineering. Extracts durable insights from temp/ files to SoT during EPIC Phase E.

When should I use Ghm Harvest?

Ghm Harvest fits situations like: at EPIC completion; explicit /ghm-harvest invocation.

How do I install Ghm Harvest in Claude Code?

Run `npx skills add mattgierhart/PRD-driven-context-engineering --skill ghm-harvest -a claude-code`. Or copy the skill folder (.claude/skills/ghm-harvest in mattgierhart/PRD-driven-context-engineering) into .claude/skills/ghm-harvest in your project. Claude Code loads it when a task matches its description.

How do I install Ghm Harvest in Codex?

Run `npx skills add mattgierhart/PRD-driven-context-engineering --skill ghm-harvest -a codex`. Or copy the skill folder (.claude/skills/ghm-harvest in mattgierhart/PRD-driven-context-engineering) into .agents/skills/ghm-harvest in your project. Codex loads it when a task matches its description.

Can I use Ghm Harvest in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add mattgierhart/PRD-driven-context-engineering --skill ghm-harvest -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ghm-harvest, .gemini/skills/ghm-harvest, .github/skills/ghm-harvest and .opencode/skills/ghm-harvest in your project.

What does Ghm Harvest need to run?

SKILL.md names no scripts, command-line tools or credentials: Ghm Harvest is instructions for the agent only. Its frontmatter pre-approves these tools: Read, Write, Edit, Glob, Grep.

Does Ghm Harvest access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Ghm Harvest safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Ghm Harvest use?

Ghm Harvest is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Ghm Harvest use?

About 1.1k tokens (SKILL.md is roughly 4.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 3.3k tokens, read only when the agent opens those files.

What are the alternatives to Ghm Harvest?

Skills that share tags, products or a category with Ghm Harvest: Idea Refinement (addyosmani/agent-skills, 105k stars), Coherence Auditor (GoogleChrome/modern-web-guidance-src, 1.1k stars), Agent Development Specification (SmartSunruiyang/Agent-development-specification, 150 stars) and Agent Relay (AgentWorkforce/relay, 872 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Ghm Harvest?

mattgierhart (a GitHub user) maintains it in mattgierhart/PRD-driven-context-engineering, which has 180 GitHub stars. The repository holds 45 skills in this directory. The repository was last updated on August 31, 2026.

Source: mattgierhart/PRD-driven-context-engineering on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.