Skip to content

meltedinhex/analyst-ai-pack / skills/establishing-telemetry-baselines

establishing-telemetry-baselines

Verified

Establishes behavioral baselines from historical telemetry (process, network, or logon events) so hunts can flag rare and first-seen activity instead of relying on static signatures. Activates for requests to build a telemetry baseline, find rare or first-seen activity, or compute frequency baselines for anomaly hunting.

FileKindSize
LICENSEother340 B
SKILL.mdskill md2.8 KB
references/api-reference.mdmarkdown1.2 KB
scripts/analyst.pyscript3.0 KB

references/api-reference.md

View on GitHub
# API Reference: Establishing Telemetry Baselines

## Overview

`scripts/analyst.py` builds frequency baselines from telemetry and scores new data against them.
`baseline` records per-value counts/frequencies for a field; `compare` flags first-seen and rare
values. It parses telemetry only and executes nothing.

## Dependencies

| Package | Version | Purpose |
|---------|---------|---------|
| (stdlib) | — | csv, json, Counter, file IO |

## Core functions

### `baseline(path, field, out)`
Writes a JSON baseline (`field`, `total`, `counts`) for the chosen field.

### `compare(path, field, baseline_file, rarity)`
Returns first-seen values (absent from baseline) and rare values (frequency < `rarity`).

## Usage

```bash
python scripts/analyst.py baseline history.csv --field Image --out baseline.json
python scripts/analyst.py compare new.csv --field Image --baseline baseline.json --rarity 0.01
```

## Sources

- The ThreatHunting Project (stacking / least-frequency-of-occurrence) — https://www.threathunting.net/
- MITRE ATT&CK threat-hunting resources — https://attack.mitre.org/resources/
- Frequency-stacking baseline method from established hunt methodology
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 194kUpdated Claude CodeCodexVerifiedInstall