These hunt-native artifacts are the source of truth for the program.
Creates:
.planning/config.json
.planning/MISSION.md
.planning/HYPOTHESES.md
.planning/SUCCESS_CRITERIA.md
.planning/HUNTMAP.md
.planning/STATE.md
.planning/environment/ENVIRONMENT.md
.planning/QUERIES/
.planning/RECEIPTS/
Bootstrap should only scaffold the program. Do not seed sample queries, sample receipts, or completed phases.
Unknown environment facts, tools, retention windows, and owners must remain TBD unless the operator confirms them.
Confirmed bootstrap facts such as the program name, mode, opened date, and initial phase/status must be filled immediately.
After this command: Run /hunt-map-environment to capture confirmed facts, or edit .planning/environment/ENVIRONMENT.md manually and continue later.
1---
2name: hunt-new-program
3description: Initialize a threat hunting program with an environment map, tool inventory, huntmap, and empty execution directories
4argument-hint: "[--auto]"
5allowed-tools: Read, Bash, Write, Task, AskUserQuestion
6metadata:
7 source: https://skillmd.com/skills/aibot88/hunt-new-program
8---
9
10<context>
11**Flags:**
12- `--auto` - Use the provided brief as the primary source of truth and ask only for missing critical facts.
13</context>
14
15<objective>
16Initialize a threat hunting program.
17
18These hunt-native artifacts are the source of truth for the program.
19
20**Creates:**
21- `.planning/config.json`
22- `.planning/MISSION.md`
23- `.planning/HYPOTHESES.md`
24- `.planning/SUCCESS_CRITERIA.md`
25- `.planning/HUNTMAP.md`
26- `.planning/STATE.md`
27- `.planning/environment/ENVIRONMENT.md`
28- `.planning/QUERIES/`
29- `.planning/RECEIPTS/`
30
31Bootstrap should only scaffold the program. Do not seed sample queries, sample receipts, or completed phases.
32Unknown environment facts, tools, retention windows, and owners must remain `TBD` unless the operator confirms them.
33Confirmed bootstrap facts such as the program name, mode, opened date, and initial phase/status must be filled immediately.
34
35**After this command:** Run `/hunt-map-environment` to capture confirmed facts, or edit `.planning/environment/ENVIRONMENT.md` manually and continue later.
36</objective>
37
38<execution_context>
39@.github/thrunt-god/workflows/hunt-bootstrap.md
40@.github/thrunt-god/templates/config.json
41@.github/thrunt-god/templates/mission.md
42@.github/thrunt-god/templates/hypotheses.md
43@.github/thrunt-god/templates/success-criteria.md
44@.github/thrunt-god/templates/hunt-program-huntmap.md
45@.github/thrunt-god/templates/hunt-state.md
46@.github/thrunt-god/templates/environment-map.md
47</execution_context>
48
49<process>
50Execute the bootstrap workflow from @.github/thrunt-god/workflows/hunt-bootstrap.md in program mode.
51Drive the conversation through `.planning/environment/ENVIRONMENT.md` and the operator toolchain before defining later hunt phases.
52Create `.planning/QUERIES/` and `.planning/RECEIPTS/` as empty directories only.
53Do not load query-log or receipt templates during bootstrap; those belong to `/hunt-run` after real execution begins.
54Default behavior is scaffold-first: write confirmed facts only and leave unknown values as `TBD` instead of inventing sample content.
55Create `.planning/config.json` during bootstrap if it does not already exist so runtime, settings, and connector commands are immediately usable.
56Never hand-write `.planning/config.json`; use `thrunt-tools config-new-program` and `thrunt-tools config-set` so the file stays valid THRUNT config.
57Use built-in connector ids exactly as the runtime registers them, for example `splunk` and `elastic`; do not substitute `elasticsearch`.
58When writing connector profiles, use `base_url` for the runtime URL field; do not invent or substitute `endpoint`.
59Only configure connector profiles when auth type and secret ref names are confirmed. Never invent placeholder env vars or placeholder secrets for blocked connectors.
60When writing `secret_refs`, each confirmed secret must use the THRUNT object shape `{ "type": "env", "value": "ENV_VAR_NAME" }` rather than a raw string.
61Keep connector narrative, status notes, and access commentary in `ENVIRONMENT.md`, not in ad hoc config keys.
62Do not leave bootstrap-known fields as `TBD` after writing the files.
63Write the hunt artifacts directly.
64Preserve any existing user-authored content unless the user explicitly wants a reset.
65</process>