/velociraptor-skills:velociraptor-artifact-selectionfrom velociraptor-skills
Inventories and selects Velociraptor artifacts and detection scenarios, resolving built-in and site-owned references. Provides field-projection, hunt, stack, normalization, sampling, filtering, and analysis-routing policy. Use when choosing an artifact or scenario, reviewing fields, validating site policy, or exporting artifact_definitions().
Ships in velociraptor-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Server prerequisite: complete the DetectRaptor bootstrap for each new local or connected live/remote server before server work; a failed import blocks the workflow.
Use the shared vraptor CLI; vraptor analyze only reuses existing evidence.
See the shared CLI contract.
Use this skill before adding a new Velociraptor collection or hunt when the
artifact choice is not already obvious. If the main uncertainty is not the
artifact but the workflow owner, read ../velociraptor-host-analysis/SKILL.md
first so you choose between the one-host and cross-host workflows before
shortlisting artifacts.
Inventory, profile, scenario and policy commands do not mutate the server. Read the shared Velociraptor operation authorization policy before any collection, hunt, import or other server mutation. Live inventory uses the shared server-profile and engagement context; it is instance-only and therefore needs a server profile but no engagement readiness manifest.
This skill inventories the live artifact_definitions() catalog into a
regenerable CSV/JSON cache, filters it by name, description, type or parameter
names, identifies bounded parameters such as DateAfter and DateBefore, and
surfaces analyst caveats, row-volume risk and interpretation bias before a hunt
or collection target is chosen. It produces recommendation-oriented shortlists
for hunt, collection or analysis planning without a separate hunt-only selector.
It resolves one canonical artifact profile with named stack views (optional site
or case overlays), owns artifact field review and optimization so workflow skills
keep no field-policy copies, and resolves common cross-artifact detection
scenarios with required fields, expected signals, benign explanations, caveats
and follow-up artifacts.
DateAfter / DateBefore just because a similar artifact does.--workflow, --question-shape, or --windows-skill before
choosing between velociraptor-hunting and velociraptor-host-analysis.vraptor artifacts linux-plan. It validates the requested mode,
focus, artifact names, and required parameters without starting collection.<case_root>/<id>/.cache/velociraptor/artifacts. Refresh or replace it
instead of creating per-question directories or durable subdirectories for
individual artifact checks; use a temporary directory only for an
intentionally short-lived filtered query. The cache is not evidence and must
never become authoritative workflow state.vraptor artifacts --help; do not
inspect Python implementation to infer inventory, profile, or CLI behavior.For --bundle or --collection-group, use vraptor collect plan first. The
versioned policy resolves ordered alternatives from server inventory, records
target-inapplicable sources, and continues recommended/optional gaps. A missing
core source blocks a custom lane; a standard bundle marks that lane
core_missing and continues other resolvable lanes. Do not replace these
requests with a silently narrowed artifact list.
Use this legacy recovery sequence when a strict --collection-type or explicit
artifact request fails server artifact preflight:
Treat the failed request's artifact_preflight as authoritative for that
check. Confirm checked_at, api_client_path, api_client_sha256, and
org_id. available_artifacts is the requested/server intersection, not the
complete catalog. Do not poll the request when required flow IDs are absent.
Export an inventory only when the preflight is absent, a live artifact request fails, or it predates an API config, artifact import, or org change. Elapsed time alone does not invalidate the preflight:
vraptor artifacts inventory \
--api-client /path/to/api_client.yaml \
--server-profile lab7 \
--output-dir <case_root>/IR1234/.cache/velociraptor/artifacts \
--force-run
Read artifact_definitions_inventory.json as the canonical machine-readable
catalog. Use the generated recommendation JSON/CSV for shortlisting; do not
parse generated CSV back into control logic.
Compare live names with the exact memberships in
../velociraptor-collection/references/collection-types.md.
For a broad baseline question, emit repeated explicit --artifact values for
the complete supported intersection. Recommend a named type only when its
complete membership preserves the intended scope.
Keep high-cost or opt-in artifacts such as
DetectRaptor.Generic.Detection.YaraWebshell explicit.
Return the selected workflow owner, failed request ID, supported artifacts,
unavailable artifacts, proposed command, and coverage limitation. The command
must include --supersedes-request-id FAILED_ID, repeated
--unavailable-artifact values for the exact missing set, and repeated
--artifact values for the exact available set.
Runtime validation rejects stale or incomplete partitions and requests that
already own flows. The final report retains supersession provenance and
cannot claim complete baseline coverage. Do not create readiness manifests,
queue flows, add --force-run to the collection command, or inspect
implementation code.
Artifact-reference precedence is:
explicit --artifact-reference > VELO_ARTIFACT_REFERENCE_PATHS > built-in reference
The built-in reference always supplies the base profile. Explicit or environment paths are ordered overlays. A path may name one JSON file or a directory of JSON files. Site-specific content should remain outside this repository.
Each profile stores stack preferences under review.stacks, keyed by a stable
stack id. Treat each named view as one analytical question: single-field
prevalence views and intentional composite views can coexist for the same
artifact, but do not combine unrelated rarity signals merely because they come
from the same artifact. Set review.default_stack to the lowest-noise first
view. A site overlay can update one named view without replacing the others
because stacks is an object map. Use per-view collection_parameters when a
view depends on optional artifact output, such as Calculate_hashes=Y for
service executable hash stacking.
../../src/vraptor/resources/preferred-artifacts.json is the
canonical schema-4 field policy (sample fields, stacks, aliases, normalizers,
filters, review.vql_select/review.live_vql_select projections, saved-hunt
projection, time_filter and analysis routes) that hunting and host analysis
both resolve. Read the
profile schema rules
before editing a profile or site overlay, and the rest of
artifact field optimization when
reviewing the artifact list, deciding which fields to retain, normalize, stack,
or project, or finding unprofiled artifacts and remaining generic SELECT *
exports. Read field-selection rules
before implementing automated field selection. Apply existing profiles first,
and use automation only to propose missing fields, aliases, normalizers, and
independent stack views for analyst approval.
This skill owns desired review fields, aliases, normalization, stacking and
accepted snapshot field policy. velociraptor-hunting and the
velociraptor-collection runtime own execution of the actual VQL projection and
provenance; velociraptor-hunting and velociraptor-host-analysis own workflow
routing and evidence interpretation, not field-policy copies.
Velociraptor remains authoritative for the complete server-side hunt result. An extraction-time projected snapshot is not a field-for-field raw export and must record its projection. Use a full export when local preservation of every source field is required.
Use
../../src/vraptor/resources/detection-scenarios.json
as the canonical common-scenario catalog. Scenarios are separate from artifact
profiles because one scenario normally combines several artifacts.
Each scenario defines:
Do not include Windows.Registry.Hunter[all] in a detection scenario. It is a
high-cost explicit collection target, not routine supporting or context
evidence. Prefer a dedicated artifact when one answers the question. When a
registry-specific question genuinely requires Registry Hunter, request one
category-scoped preset such as Windows.Registry.Hunter[execution],
Windows.Registry.Hunter[persistence], or
Windows.Registry.Hunter[user-accounts].
Use VELO_DETECTION_SCENARIO_PATHS or repeated --scenario-reference values
for ordered site or case overlays. Explicit command-line references replace the
environment value. Built-in artifact profiles and configured artifact-profile
overlays validate every declared scenario stack id.
Treat scenarios as curated starting hypotheses, not automatic verdicts. The AI may adapt or combine them, but must preserve their field requirements and caveats unless case evidence justifies a documented override.
Treat Windows.Registry.Hunter as eligible for two additional explicit use
cases when the live artifact definition exposes the required parameters:
IocRegex for registry IOC or string searchModifiedAfter and ModifiedBefore for a registry-key Mtime windowPrefer one category-scoped preset and combine the filters when possible. Treat
Windows.Registry.Hunter[all] as opt-in only: use it as the standalone
registry collection when the relevant category cannot be determined and the
wider cost is justified, never in a common scenario, baseline, or fallback
merely for additional context.
For bounded timeline work, treat Registry Hunter as an optional adjacent
registry lane, not a replacement for MFT or event-log timelines. Registry key
Mtime does not prove execution time, persistence creation time, or the write
time of one specific value. Preserve the exact regex and bounds in collection
provenance.
Capability-gate these recommendations against the current
artifact_definitions() inventory. Older servers may not yet expose
IocRegex, ModifiedAfter, or ModifiedBefore.
Export the full catalog to a directory. The helper reuses an existing matching
export by default; add --force-run to recollect after artifact imports, org
changes, or server updates:
vraptor artifacts inventory \
--api-client /path/to/api_client.yaml \
--output-dir <case_root>/IR9001/.cache/velociraptor/artifacts
vraptor artifacts inventory \
--api-client /path/to/api_client.yaml \
--output-dir <case_root>/IR9001/.cache/velociraptor/artifacts \
--force-run
Export only likely EVTX-friendly artifacts, or hunt-oriented candidates with bounded-parameter interest:
vraptor artifacts inventory \
--api-client /path/to/api_client.yaml \
--output-dir <case_root>/IR9001/.cache/velociraptor/artifacts \
--name-regex 'Evtx|EventLogs|DetectRaptor\\.Windows\\.Detection\\.Evtx' \
--parameter-regex 'DateAfter|DateBefore|IocRegex|ChannelRegex|ProviderRegex|IdRegex'
vraptor artifacts inventory \
--api-client /path/to/api_client.yaml \
--output-dir <case_root>/IR9001/.cache/velociraptor/artifacts \
--description-regex 'hunt|logon|event|service|file|registry' \
--parameter-regex 'DateAfter|DateBefore|ModifiedAfter|ModifiedBefore|IocRegex|Glob|Regex'
Build a Windows hunt shortlist for a cross-host question, or a bounded timeline shortlist for post-analysis collection planning:
vraptor artifacts inventory \
--api-client /path/to/api_client.yaml \
--output-dir <case_root>/IR9001/.cache/velociraptor/artifacts \
--workflow hunt \
--question-shape cross-host \
--windows-skill velociraptor-hunting
vraptor artifacts inventory \
--api-client /path/to/api_client.yaml \
--output-dir <case_root>/IR9001/.cache/velociraptor/artifacts \
--workflow collection \
--question-shape bounded-time-window \
--windows-skill velociraptor-host-analysis
Resolve a Linux standard-mode plan from the saved authoritative inventory:
vraptor artifacts linux-plan \
--inventory <case_root>/IR9001/.cache/velociraptor/artifacts/artifact_definitions_inventory.json \
--mode standard \
--distro debian \
--include-optional packages \
--investigation-id IR9001 \
--client-id C.1234abcd
The command emits independent collect check and collect ensure commands
for available validated artifacts. It fails closed when a required capability
or parameter is unavailable and never emits --force-run or export actions.
Validate the built-in reference plus configured site overlays, show one effective profile, and export the resolved machine-readable reference and generated CSV index:
vraptor artifacts profiles \
validate \
--artifact-reference /path/to/site/artifact-profiles.json
vraptor artifacts profiles \
show \
--artifact DetectRaptor.Windows.Detection.Evtx
vraptor artifacts profiles \
export \
--output-dir /path/to/reference-review
Validate, list, show, find by artifact, and export the common detection scenarios, or validate a site scenario overlay:
vraptor artifacts scenarios validate
vraptor artifacts scenarios list
vraptor artifacts scenarios show \
--scenario suspicious-service-creation
vraptor artifacts scenarios for-artifact \
--artifact Windows.System.Services
vraptor artifacts scenarios export \
--output-dir /path/to/reference-review
vraptor artifacts scenarios validate \
--scenario-reference /path/to/site/detection-scenarios.json \
--artifact-reference /path/to/site/artifact-profiles.json
Manage profiles and scenarios as one effective policy:
vraptor artifacts policy validate \
--artifact-reference /path/to/site/artifact-profiles.json \
--scenario-reference /path/to/site/detection-scenarios.json
vraptor artifacts policy show
vraptor artifacts policy explain \
--artifact Windows.NTFS.MFT
vraptor artifacts policy explain \
--scenario suspicious-binary-execution
vraptor artifacts policy export \
--output /path/to/reference-review/artifact-policy-resolved.json
vraptor artifacts policy diff \
--against /path/to/reference-review/artifact-policy-resolved.json \
--check
Each operation loads and validates its policy once, then carries one immutable
snapshot through inventory, filtering, time-scope, stacking, review planning,
and reporting. Treat the reported SHA-256 as the operation policy identity.
Changes to source files during a run apply only to the next operation. The
portable export excludes local absolute paths; source JSON remains the editable
authority, while resolved JSON and CSV files are generated review material.
diff validates the portable schema, counts, provenance ordering, and declared
hashes before comparison. diff --check exits 3 when valid resolved profile
or scenario content differs.
Policy-derived cache identity uses ordered source content hashes, so moving
unchanged overlays is stable while changing bytes or overlay order invalidates
the identity.
The helper writes a disposable, regenerable cache. Velociraptor remains the source of truth; deleting this directory must not trigger collection or invalidate evidence. The cache contains:
artifact_definitions_inventory.csvartifact_definitions_inventory.jsonartifact_definitions_inventory_enriched.csvartifact_definitions_inventory_recommendations.csvartifact_definitions_inventory_recommendations.jsonartifact_definitions_inventory_summary.jsonartifact_profiles_resolved.jsonartifact_profiles_resolved.csvdetection_scenarios_resolved.jsondetection_scenarios_resolved.csvIt prints the main output paths on stdout, including the recommendation files and the summary manifest, so callers do not need to hard-code filenames.
The enriched CSV joins the live artifact inventory to the resolved artifact profiles. JSON is canonical; CSV is a generated analyst-facing index. Use the resolved JSON profile for execution and do not parse the generated CSV back into the control plane.
The recommendation files materialize recommendation-oriented rows with:
hunt, collection, or analysis)velociraptor-hunting or
velociraptor-host-analysis)DateAfter, DateBefore, Glob,
IocRegex, and related bounded-scope controlsreview_strategy, default_stack, stack_view_ids,
stack_view_dimensions, preferred_stack_fields, server_stack_fields,
stack_metrics, preferred_sample_fields, avoid_stack_fields, normalizers,
analysis routes, and recommended_filtersreview-results command templates:
review_sample_command, review_stack_command, and
review_inventory_command, using $INVESTIGATION_ID, $HUNT_ID, and
optional $REVIEW_WHERE placeholders for operator-supplied scopeWhen one or more recommendation filters are present, those files become a
ranked shortlist capped by --top. Without recommendation filters, they stay
as a recommendation-oriented full view of the filtered artifact inventory.
Use these only when needed:
../../src/vraptor/resources/preferred-artifacts.json
Canonical built-in selection, review, stack, normalization, and analysis-route
profiles for supported artifacts.../../src/vraptor/resources/detection-scenarios.json
Canonical common detection-scenario catalog.../velociraptor-host-analysis/references/windows-artifact-analysis.md
Deeper interpretation guidance for execution, timeline, and registry-backed
Windows artifacts.artifact_definitions() export as org-specific reality.
Community imports, custom artifacts, and inherited artifacts can change what
is available.--org-id resolves to root by default. Legacy orgs/<id> values are
normalized to <id> first and retained as a compatibility fallback for
servers that still expect the older form.Windows.System.Services, keep service name, normalized executable path,
ServiceDll, account, executable/DLL hashes, failure command, start mode, and
name-plus-path drift as separate named views. Computing one composite across
all of those fields would over-fragment the baseline.Windows.EventLogs.EvtxHunter is marked as detection_or_keyword; use
IocRegex, WhitelistRegex, EvtxGlob, and time bounds before sampling,
rather than generic EventID or Channel stacking.What SKILL.md sets; muted values are Claude Code's defaults
8 skills in this plugin
/prep-dfir-toolsInstall or refresh shared DFIR tooling on macOS or Linux, including the standalone vraptor Python package, Velociraptor binary, Plaso, Volatility 3, and Sleuth Kit. Use for generic package installation, preparing a DFIR workstation, satisfying missing-tool prerequisites, or validating the local analysis toolchain./velociraptor-collectionQueue or exactly reuse (ensure), monitor, analyze through collect analyze, and explicitly export one-host Velociraptor flows, including collection groups such as run execution, focused artifacts, bounded timelines and saved-request recovery. Use for one-host collection and collect analyze runs and immutable exports. Not for open-ended host investigation; use velociraptor-host-analysis./Generated from the plugin's indexed repository (ig-labs/velociraptor-skills) — no native marketplace selected
npx claudepluginhub p/ig-labs-velociraptor-skillsOther plugins' skills for the same job