Agent skill

Prd V08 Drift Baseline Compare

by mattgierhart in mattgierhart/PRD-driven-context-engineering

Establish baseline → snapshot → compare → history monitoring for any KPI, config, or metric that can drift during PRD v0.8 Deployment & Ops.

MITAuto-check: notesProduct & Project Management

Install Prd V08 Drift Baseline Compare

skills CLI
$ npx skills add mattgierhart/PRD-driven-context-engineering --skill prd-v08-drift-baseline-compare -a claude-code

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

GitHub CLI
$ gh skill install mattgierhart/PRD-driven-context-engineering prd-v08-drift-baseline-compare --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/prd-v08-drift-baseline-compare .claude/skills/prd-v08-drift-baseline-compare && 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
prd-v08-drift-baseline-compare
GitHub stars
180
Token cost
~2.6k tokens
SKILL.md length
989 words
Files
1
Skills in repo
45
Repo updated
First seen
Licence
MIT

At a glance

Establish baseline → snapshot → compare → history monitoring for any KPI, config, or metric that can drift during PRD v0.8 Deployment & Ops.

  • Works in 6 steps: Pick what to monitor — One thing per… → Capture the baseline — Take a snapshot.… → Define drift thresholds → …
  • Requests to monitor drift
  • SKILL.md covers Execution Mode, What This Does, How It Works and Example, plus 9 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Prd V08 Drift Baseline Compare is an agent skill from mattgierhart/PRD-driven-context-engineering. Establish baseline → snapshot → compare → history monitoring for any KPI, config, or metric that can drift during PRD v0.8 Deployment & Ops. Triggers on requests to monitor drift, baseline a value for later comparison, or when user asks "how do we track if X changes?", "baseline this", "config drift", "performance regression", "metric drift", "compare to last week", "is this getting worse?". Outputs MON-DRIFT- entries with baseline + comparison rules.

Its SKILL.md is about 2.6k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Product & Project Management, covering PRD writing and OKRs and executive reporting. 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

  • Requests to monitor drift
  • Baseline a value for later comparison
  • User asks how do we track if X changes?
  • Performance regression

Example prompts

  • “how do we track if X changes?”
  • “baseline this”
  • “config drift”
  • “/prd-v08-drift-baseline-compare”

Requirements

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

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Pick what to monitor — One thing per MON-DRIFT- entry. Must be
  2. Capture the baseline — Take a snapshot. Date it. Store in version control or a known location (status/baselines/, monitoring/snapshots/…
  3. Define drift thresholds
  4. Set compare cadence — How often does this get re-snapshotted?
  5. Build the compare procedure — A script or runbook that
  6. Plan auto-baselining after intentional change [standard+] — When the team makes a deliberate change (ships a feature that should improve…

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
    • Bash

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    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

Prd V08 Drift Baseline Compare loads about 2.6k tokens when it runs. Until then it costs about 122 tokens; SKILL.md has 989 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~122
When it runs · the whole SKILL.md, loaded when a task matches
~2.6k

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: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Read, Write, Edit, Glob, Grep, Bash

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). 989 words, ~2,576 tokens.

Download SKILL.mdSave it as .claude/skills/prd-v08-drift-baseline-compare/SKILL.md (or your agent's skills folder).
name
prd-v08-drift-baseline-compare
description
Establish baseline → snapshot → compare → history monitoring for any KPI, config, or metric that can drift during PRD v0.8 Deployment & Ops. Triggers on requests to monitor drift, baseline a value for later comparison, or when user asks "how do we track if X changes?", "baseline this", "config drift", "performance regression", "metric drift", "compare to last week", "is this getting worse?". Outputs MON-DRIFT-* entries with baseline + comparison rules.
allowed-tools
Read, Write, Edit, Glob, Grep, Bash
context
fork
execution_modes.default
standard
execution_modes.supports
quick, standard, deep

Drift: Baseline / Compare / History

Position in workflow: v0.8 Monitoring Setup → v0.8 Drift: Baseline / Compare / History → v0.8 Runbook Creation

Execution Mode

Default is standard. See .claude/rules/08-skill-execution-modes.md for selection logic.

ModeWhat this skill produces
quickOne metric / config / dataset baselined; weekly compare schedule; simple threshold alert
standard3–5 things monitored; baseline + tiered thresholds (warn / critical); compare cadence; history retention
deepFull portfolio; multi-dimensional comparison (per segment, per environment); regression-cause matrix; auto-baselining after intentional change

What This Does

Generalizes a pattern AgriciDaniel's claude-seo skill encodes for SEO drift — baseline → snapshot → compare → history — into a reusable monitoring shape that works for any metric, config, or dataset that can change over time and needs to be watched.

This is drift monitoring, distinct from alerting on absolute thresholds. Alerting answers "is X over the line right now?" Drift monitoring answers "is X different from last week's normal?" — which catches slow regressions that absolute thresholds miss.

Examples of things worth drift-monitoring:

  • KPI: activation rate week-over-week
  • AI search position: ChatGPT/Perplexity ranking for target queries
  • Config: feature-flag rollout percentages
  • Performance: p95 latency by endpoint
  • Cost: per-user infra cost
  • Marketing: per-channel CAC trend
  • Content: changelog post engagement
  • Third-party: vendor pricing pages (price hikes), competitor feature pages (parity loss)

How It Works

  1. Pick what to monitor — One thing per MON-DRIFT- entry. Must be:
    • Quantifiable (number, percentage, list, configuration value)
    • Snapshotable (captureable at a point in time, ideally automatically)
    • Causally interpretable (when it changes, you know enough to investigate)
  2. Capture the baseline — Take a snapshot. Date it. Store in version control or a known location (status/baselines/, monitoring/snapshots/, etc.).
  3. Define drift thresholds:
    • Warn: meaningful change (e.g., 10% drift in a KPI; any change in a config value)
    • Critical: serious change (e.g., 25% KPI drop; breaking config change)
    • Recalibrate: intentional change that should refresh the baseline (e.g., after a feature rollout, the baseline is wrong; refresh it)
  4. Set compare cadence — How often does this get re-snapshotted?
    • Hot (hourly/daily): production KPIs, AI search positions during a launch
    • Warm (weekly): standard product KPIs, content engagement
    • Cool (monthly): vendor pricing, competitor feature parity, infra cost
  5. Build the compare procedure — A script or runbook that:
    • Takes a new snapshot
    • Diffs against baseline
    • Computes drift % per dimension
    • Emits warn/critical signals at thresholds
    • Appends to history log
  6. Plan auto-baselining after intentional change [standard+] — When the team makes a deliberate change (ships a feature that should improve activation), the old baseline becomes wrong. Define what triggers a baseline refresh and who approves it.

Example

Monitoring AI search position for the target query "best CRO tool for SaaS founders" across 3 surfaces. (Generalized from AEO Audit re-test cadence.)

Baseline (2026-04-01):

ChatGPT: not mentioned (rank: --)
Perplexity: rank 4 of 5, miscategorized as "analytics"
AI Overviews: not mentioned
Sources cited: [competitor1.com, competitor2.com, reddit.com/r/SaaS]

Thresholds:

  • Warn: rank changes by ≥1, sources list changes, miscategorization persists
  • Critical: dropped from any surface where previously mentioned

Compare cadence: weekly during launch month, monthly after.

Re-snapshot (2026-04-15):

ChatGPT: rank 3 of 5 (NEW)         ← improved
Perplexity: rank 3 of 5, category corrected (NEW)   ← improved
AI Overviews: rank 5 of 7 (NEW)    ← improved
Sources cited: [+ ourdomain.com (NEW), ...]

Compare output: 3 surfaces improved. Likely cause: alternatives-pages campaign + new CRO-anchored blog post indexed.

History append: 2026-04-01 → 2026-04-15 row added to history log.

Action: No alert; positive drift. Baseline can stay (next compare in 2 weeks). If the trend reverses, the baseline catches it.

What You Get Back

  • MON-DRIFT-* entries (one per monitored thing) — Baseline snapshot, thresholds, cadence, compare procedure, history pointer
  • History logs in status/drift-history/<id>.jsonl (or similar) — Append-only record of compare results
  • Compare scripts (scripts/drift/<id>.sh or equivalent) when automatable

When to Use It

TriggerMode
Post-launch — need ongoing watch on KPIsstandard
AEO Audit results to maintainstandard
Competitor feature parity trackingstandard
Vendor / third-party pricing watchquick
Performance regression huntingdeep
Infrastructure cost trendquick

Do not use for things that are already covered by threshold-based alerting (RED/USE metrics, MON-* alerts). Drift is for trends; alerting is for absolutes.

Show full SKILL.md (384 more words)Show less

Consumes

  • MON-* monitoring infrastructure (from v0.8 Monitoring Setup) — Data sources for KPI/performance drift; existing dashboards
  • KPI-* metric definitions (from v0.3 + v0.9) — What's worth watching
  • CFD-* competitor research (from v0.2 + ongoing) — For competitor-parity drift
  • GTM-AEO-* Coverage Matrix (from v0.9 AEO Audit) — For AI search position drift
  • BR-PRICING-* (from v0.3 + v0.9 Offer) — For pricing drift on our side; vendor-pricing drift watches their side
  • DEP-* release entries — Intentional changes that may trigger baseline refresh

Produces

  • MON-DRIFT-* entries with Type=Drift-Baseline — One per monitored thing
  • History logs in status/drift-history/ — Append-only diff history
  • Compare scripts in scripts/drift/ (when automatable)
  • Baseline-refresh approvals — Recorded when an intentional change resets a baseline

Output Template

MON-DRIFT-XXX: Baseline — [What is being monitored]
Type: Drift-Baseline
Category: [KPI | AI-Search | Config | Performance | Cost | Vendor | Competitor]
Owner: [Person / role]
Status: Active

Subject: [Specific thing — e.g., "ChatGPT rank for query 'best CRO tool for SaaS'"]

Baseline (YYYY-MM-DD):
  [Snapshot — values, list, config dump, etc.]

Thresholds:
  Warn: [Condition — e.g., "rank change ≥1 OR sources list changes"]
  Critical: [Condition — e.g., "dropped from any surface previously mentioned"]
  Recalibrate-trigger: [What intentional change resets the baseline]

Compare cadence: [Hourly | Daily | Weekly | Monthly | Triggered]
Compare procedure: [Script path OR manual runbook reference]

History: status/drift-history/<id>.jsonl

Re-snapshot history:
  - YYYY-MM-DD: [summary of last compare result]
  - YYYY-MM-DD: ...

Linked IDs: MON-XXX (data source), KPI-YYY or CFD-ZZZ or GTM-AEO-AAA (subject)

Anti-Patterns

PatternSignalFix
Stale baselineComparing today's value against a 12-month-old baseline that no longer reflects "normal"Add recalibrate-trigger conditions; refresh after intentional changes
Drift alerting on noiseCritical alert fires every week for 2% movementThreshold is too tight; widen warn, tighten critical
No history logSnapshot, compare, alert, forgetAppend-only history is the whole point; without it, you can't see trends
Monitoring everything50 MON-DRIFT-* entries, nobody reads anyPick the 3–5 things that matter; archive the rest
No causal interpretation"Drift detected" with no investigation pathEach drift signal should map to candidate causes (recent release, competitor move, AI surface change)
Drift instead of alertingUsing drift for things that need absolute thresholdsDrift = trends; absolutes (latency > 500ms) = alerting

Quality Gates

Before activating drift monitoring:

  • Subject is quantifiable and snapshotable
  • Baseline captured with explicit date
  • Warn and critical thresholds defined
  • Compare cadence committed
  • Compare procedure (script or runbook) exists
  • History log path defined and writable
  • Recalibrate-trigger documented (when does baseline get refreshed?)
  • Owner assigned

Downstream Connections

ConsumerWhat it usesExample
Runbook Creation (RUN-)Drift criticals trigger investigation runbooksMON-DRIFT-AEO critical → RUN-investigate-aeo-loss
Launch MetricsDrift on launch KPIs informs go/no-go decisionsKPI-activation drift ≥10% → re-look at GTM
Feedback Loop SetupDrift in customer-facing metrics drives CFD- investigationActivation drift down → CFD- interview cohort
v0.9 AEO Audit (re-run)Drift in AI search positions triggers re-auditAEO drift → re-run aeo-audit
v1.0 Continuous DiscoveryDrift patterns inform discovery questions"Why is X drifting?" → Teresa Torres discovery

Detailed References

  • AgriciDaniel's seo-drift skill — original baseline/compare/history pattern for SEO
  • Site Reliability Engineering (Google) — SLO-burn-rate alerting (related but different)
  • (No bundled references/ — pattern is reusable; the content lives in each MON-DRIFT- entry)

© 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

Just SKILL.md in .claude/skills/prd-v08-drift-baseline-compare of mattgierhart/PRD-driven-context-engineering.

Open the folder on GitHubat commit 30ed1b0

Compare with similar skills

Prd V08 Drift Baseline Compare 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.

Prd V08 Drift Baseline Compare compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Prd V08 Drift Baseline Compare this skillmattgierhart/PRD-driven-context-engineering180—~2.6kAutomated safety check: NotesMIT
Specifygenkovich/sdd171—~3.6kAutomated safety check: PassMIT
Utility Pm Criticproduct-on-purpose/pm-skills716—~1.5kAutomated safety check: PassApache-2.0
Evaluate Artifactandreaskelm/pm-brain234—~1.4kAutomated safety check: PassCustom licence
Notion Pmborghei/Claude-Skills891—~1.7kAutomated safety check: PassMIT
Product Decision Agentdavila7/claude-code-templates33k2 repos~590Automated safety check: PassMIT

Similar skills

  • Specify

    genkovich/sdd

    A skill your agent uses to turn a raw feature idea into a reviewed spec.md — a lightweight Socratic interview front (capture the idea, deep-dive the problem) merged with a full product spec…

    171 GitHub stars~3.6k tokensUpdated 1 mo ago
    Product & Project ManagementAuto-check passed
  • Utility Pm Critic

    product-on-purpose/pm-skills

    Run adversarial review on a PM artifact via the pm-critic sub-agent.

    716 GitHub stars~1.5k tokensUpdated 3 days ago
    Product & Project ManagementAuto-check passed
  • Evaluate Artifact

    andreaskelm/pm-brain

    Evaluate quality of a PM artifact or substantive session output using the shared evaluation procedure — gut check, red/green flags, optional full scored review.

    234 GitHub stars~1.4k tokensUpdated yesterday
    Product & Project ManagementAuto-check passed
  • Notion Pm

    borghei/Claude-Skills

    Notion expert for product management workflows. An agent skill from borghei/Claude-Skills.

    891 GitHub stars~1.7k tokensUpdated 4 days ago
    Product & Project ManagementAuto-check passed
  • Product Decision Agent

    davila7/claude-code-templates

    中文产品决策 Agent。用于中国大陆互联网产品、运营、增长、商业化、数据、项目推进和组织协作场景:产品规划、需求分析、PRD、需求优先级、排期、版本规划、Roadmap、MVP、灰度、上线、迭代、增长停滞、拉新、投放、渠道、裂变、CAC、LTV、ROI、留存、转化、DAU/MAU、GMV、漏斗、社区运营、内容供给、创作者、用户运营、活动运营、私域、会员、定价、指标异常、数据口径、埋点、A/B…

    33k GitHub starsUsed in 2 repos~590 tokens
    Business, Finance & HRAuto-check passed
  • Product Skills

    alirezarezvani/claude-skills

    A skill your agent uses when coordinating product work across the 12 bundled product sub-skills (RICE, OKRs, UX research, design tokens, competitive teardown, analytics, experiments, discovery…

    28k GitHub stars~2.6k tokensUpdated 1 mo ago
    Frontend & DesignAuto-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 Harvest

    mattgierhart/PRD-driven-context-engineering

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

    180 GitHub stars~1.1k tokensUpdated 1 mo ago
    Auto-check passed
  • 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

Questions about Prd V08 Drift Baseline Compare

What does Prd V08 Drift Baseline Compare do?

Establish baseline → snapshot → compare → history monitoring for any KPI, config, or metric that can drift during PRD v0.8 Deployment & Ops. Prd V08 Drift Baseline Compare is an agent skill from mattgierhart/PRD-driven-context-engineering.8 Deployment & Ops.

When should I use Prd V08 Drift Baseline Compare?

Prd V08 Drift Baseline Compare fits situations like: requests to monitor drift; baseline a value for later comparison; user asks how do we track if X changes?; performance regression.

How do I install Prd V08 Drift Baseline Compare in Claude Code?

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

How do I install Prd V08 Drift Baseline Compare in Codex?

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

Can I use Prd V08 Drift Baseline Compare 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 prd-v08-drift-baseline-compare -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/prd-v08-drift-baseline-compare, .gemini/skills/prd-v08-drift-baseline-compare, .github/skills/prd-v08-drift-baseline-compare and .opencode/skills/prd-v08-drift-baseline-compare in your project.

What does Prd V08 Drift Baseline Compare need to run?

SKILL.md names no scripts, command-line tools or credentials: Prd V08 Drift Baseline Compare is instructions for the agent only. Its frontmatter pre-approves these tools: Read, Write, Edit, Glob, Grep, Bash.

Does Prd V08 Drift Baseline Compare 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 Prd V08 Drift Baseline Compare safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Prd V08 Drift Baseline Compare use?

Prd V08 Drift Baseline Compare 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 Prd V08 Drift Baseline Compare use?

About 2.6k tokens (SKILL.md is roughly 10k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Prd V08 Drift Baseline Compare?

Skills that share tags, products or a category with Prd V08 Drift Baseline Compare: Specify (genkovich/sdd, 171 stars), Utility Pm Critic (product-on-purpose/pm-skills, 716 stars), Evaluate Artifact (andreaskelm/pm-brain, 234 stars) and Notion Pm (borghei/Claude-Skills, 891 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Prd V08 Drift Baseline Compare?

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.