/velociraptor-skills:velociraptor-host-analysisfrom velociraptor-skills
Analyzes a single Velociraptor endpoint on Windows, Linux, or macOS using client ID, hostname, or artifact scope. Supports evidence-backed investigation with configurable artifact-scoped analyst pool and synthesis modes.
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.
Analyze one endpoint. Use velociraptor-hunting for cross-host questions and
velociraptor-artifact-selection when the required artifact is unknown. For
existing evidence only, vraptor analyze --flow F.ID --client C.ID --id ID
never collects; see the shared CLI contract.
The CLI defaults to --synthesis full; use it for normal analysis. Only add
--synthesis none when preliminary-only analysis or caller-only final review is
requested. In that mode, retrieve bounded candidates with
vraptor analysis-results and perform the final evidence review and
cross-artifact correlation here. Use --skip-ai when only deterministic
preparation is requested; it takes precedence and prevents all model calls, and
a prepared result is not an AI assessment. Save caller-reviewed host conclusions
as assessment-host.md and hunt conclusions as assessment-hunt.md. Before
using these modes, read the shared
synthesis contract
(saved-summary reuse, pagination, partial coverage, preliminary labels, and the
caller assessment files
provenance and freshness rules) or the
no-AI preparation contract
(outputs, limitations and review status).
Read only what the task needs, before the step it governs:
--force-run decision, resume, reset or forward validation, or when worker,
flow-ranking or saved-state boundaries matter.--force-run, retries, cancellation or any action beyond normal
collection, reuse, monitoring and explicit export.--server-profile, case paths or readiness.--force-run unless already authorized.collect analyze for automatic collection and analysis.--synthesis none, or validated harness dispositions with --synthesis full,
including one artifact/chunk.vraptor --help; do not inspect Python
implementation to discover investigation workflow or CLI semantics.Requests to investigate a host or run a collection group imply collection/reuse through analysis and final review, unless explicitly limited to collection-only, planning, no AI, or existing evidence. Completed collections alone do not finish the task. Follow the shared intent, continuation, and completion rules for long-running monitoring, exact-request resume, and completion checks. An already validated matching analysis checkpoint may be reused.
Inspect saved readiness at session start and reuse valid engagement.json.
Use velociraptor-engagement-setup only when missing, invalid, or affected by
connection/credential/mapping changes or failures. Reuse successful session
analyst checks; do not rerun setup/doctor for every collection. Automatic CLI
validation remains enabled.
Readiness has no age expiry and is bound to setup provenance,
API identity/hash, server fingerprint, org, and live provisioning at <case-root>/<id>/engagement.json.
Resolve the exact client and case directory.
Select --task-mode host-forensics for incident and machine deep dives.
Select response depth independently: rapid for high-signal triage,
standard for normal review, or deep for full bounded forensic chronology.
Use --task-mode compromise-assessment only when environment discovery is
explicitly requested.
For Linux or macOS, use inventory-validated explicit artifacts rather than the
default Windows all target.
Run the canonical command once:
vraptor collect analyze \
--investigation-id IR1234 \
--server-profile lab7 \
--client-id C.1234abcd \
--task-mode host-forensics \
--response-depth deep \
--question "What activity is malicious, security-relevant, or useful host context?"
Optionally add --query-timeout-seconds 1800 for a 30-minute ceiling on each
API query. Default 0 adds no limit and preserves shorter internal deadlines.
This applies to fresh and saved-request analysis, including result queries
and drill-downs. Streamed deadlines include waiting for downstream AI capacity;
endpoint collection and polling timeouts remain separate.
Add --artifact Windows.Forensics.Prefetch for one artifact or
--collection-type execution for a focused bundle.
Let the CLI verify server artifacts, ensure/reuse flows, and manage one batched poll cycle. One in-process coordinator tracks queued/running artifact keys in memory. It must create one task per artifact as each becomes terminal while polling continues.
Monitor flushed DFIR-STATUS markers on stderr; request state.json remains
the durable fallback. Submission and flow-ID discovery are bounded.
Claude managed execution and Codex app-server report completed assistant
messages rather than individual streaming fragments. While waiting, both use
the shared heartbeat (20 seconds by default; override with
--progress-interval-seconds). Request lifecycle and retry events remain visible.
Monitor the atomically refreshed current host report at
<case_root>/<id>/systems/<host>/analysis-host.md, then review the final
request checkpoint and linked per-artifact reports. Default stdout is a bounded
text result containing chat_summary. Keep text output for interactive and
operator-initiated runs. Use --format json only when an explicit downstream
integration will parse the structured response.
Surface every successful or provisional result to the operator.
If collection polling times out, rerun with the reported --request-id; do not
create replacement flows. If the saved request has a missing flow ID, correct the
queue failure and start a new request instead of polling it.
For follow-up, ask one exact question and choose the smallest relevant artifact.
Send every material finding through the bounded CTI enrichment decision,
then merge the returned identity, session, process, file, network,
prevalence, or chronology context into the finding. The CTI worker must not
write analysis-host.md directly.
artifact_preflight.missing_artifacts in the request state.json), do not add --force-run, retry the failed request, or inspect implementation code; follow server-capability recovery.evidence/, cap the replacement report at complete_with_failures, and report a skill-documentation gap when the skills and documented CLI do not define the required operation.The manager polls all request artifacts, fans each newly terminal flow into analysis once, and continues polling unfinished flows. The default reconciliation interval is 30 seconds; completion events may wake it earlier.
The runtime sends a fitting artifact to one analyst. Oversized artifacts split into contiguous chunks and run as artifact lanes in the same host-scoped async scheduler, sharing one runner/client, one flat global concurrency limit, one production-credit bound, and one in-flight token-weight bound. With AI_SKILLS_ANALYST_AGENT_TRANSPORT=codex_app_server, those requests are ephemeral turns on one shared Codex daemon connection, not separate Codex processes.
No nested agent holds a worker slot. With --synthesis full, chunked artifacts
receive one synthesis pass and every host run receives final AI review, including
one artifact with one chunk. With --synthesis none, the caller reviews the
validated candidates. See final-review.md.
AI analyst settings: inspect with vraptor ai config and vraptor ai doctor; run-only overrides include --model, --reasoning-effort, --execution-profile, --ai-config-file, --max-input-tokens and --max-output-tokens (full list). Setup: AI analyst configuration. Budgets and execution: model execution.
Custom Codex provider IDs with base_url and wire_api = "responses" use
the OpenAI adapter; display labels do not select adapters. Reserved azure
and azure_openai IDs retain the Azure adapter and /openai/v1/ endpoint
normalization. Inspect the effective route with vraptor ai config before
analysis; see model execution for routing details.
Inspect the effective model, endpoint and provenance before analysis. Model
selection is independent of artifact profiles, and analysis limits resolve once
per host operation. Artifact profiles use analysis_routes; code owns the
route-to-task mapping and accepts only high-volume, reasoning, and
synthesis.
For diagnosis, --debug writes schema-2 bounded, value-free analysis/host-analysis-validation-debug.json. It covers every collection type and explicit artifact run; records provider/model/protocol selection and provenance, request-option presence, timing, usage, retries, HTTP status, error classification, provider request ID, validation failures, and synthesis status; and excludes prompts, model output, raw provider payloads, stderr, runtime files, raw rows, and evidence values.
Each terminal result component uses profile-projected, repeatable 100,000-row source() windows with 5,000-row packets, 32 MiB logical segment bounds, guarded 20,000-row promotion, and one-row size fallback.
Transport cannot alter request-wide Sxxxx-R<number> identities: aliases bind request, organization, client, Flow, artifact, and component; suffixes are actual component rows. Multi-component Flows get separate monotonic aliases; old local references/state rebuild from authoritative saved Flows.
Optional --time-after, --time-before, and repeatable --time-field arguments
filter analysis of existing exact flows without recollection. Bounds are
timezone-aware and strict (after,before). Logical fields resolve from each
artifact profile before a new collection can be queued. Artifact names containing
EventLogs default to event=EventTime unless explicitly overridden or disabled;
Windows.Detection.PublicIP is explicitly mapped to EventTime. A bounded mixed request
filters artifacts with a known requested/default role and analyzes other
artifacts normally without a time filter. The resolved predicate runs in a
numbered exact source() query before preferred-field projection and transport;
the local evaluator rejects any returned out-of-window row. Source ordinals are
assigned before filtering, so evidence references remain actual component rows.
When a profile has no preferred live projection, retain all source fields after
the server filter rather than reducing the result to timestamp fields alone.
The profile's live projection may include Fqdn or Hostname for live hunt
attribution. Exact-client host analysis removes those simple expressions before
querying because the workflow already resolved the authoritative hostname.
Retain ClientId for source provenance and artifact-native fields such as EVTX
Computer, which can describe event origin rather than workflow host identity.
Review every row once, but return only content that answers the question, changes confidence or priority, or supports a specific follow-up. Omit routine inventory; retain RMM, greyware, or administration only when it changes interpretation.
In host-forensics mode, organize material events as a UTC timeline and link context to the finding it explains. Retain available username/account/SID, logon/session, parent-child process, path/hash/signer, source/destination network tuple, timestamp, and exact source reference. Omit unavailable values rather than infer them.
Use ephemeral CSV, line-oriented exact references, Python-owned hydration and JSON state, and Markdown for humans. Analysts never serialize evidence values, return field names, or build a raw evidence catalogue. See analysis-output-contract.md.
Read only the relevant reference:
artifacts linux-plan, then read
linux-host-analysis.md and one specialist.
Do not infer execution from presence-only artifacts. Do not infer absence from zero rows without applicability and adjacent evidence. Keep presence, execution, persistence, authentication, and network claims distinct.
The canonical run writes:
<case_root>/<id>/systems/<host>/collection/requests/<request-id>/analysis/request-analysis.json
<case_root>/<id>/systems/<host>/collection/requests/<request-id>/analysis/artifact-analysis/<readable-artifact>--<short-hash>.md
<case_root>/<id>/systems/<host>/analysis/<readable-artifact>--<short-hash>.md
<case_root>/<id>/systems/<host>/analysis-host.md
<case_root>/<id>/systems/<host>/host-analysis-state.json
request-analysis.json covers that exact request. The host-root report runs provisionally,
then regenerates from all completed request checkpoints. host-analysis-state.json contains
only current/latest selected-request state, compact artifact checkpoints, and the
final value-free scope scheduler counters. The host analysis/ folder contains
current artifact reports for easy review. Request-specific copies preserve
historical content and checkpoint hashes; rebuilding the host summary refreshes
current reports from validated request history.
Request state.json retains artifact_preflight time, API path/hash and org, plus
queue_progress status, current artifact, counts, errors, and update time.
Each terminal artifact gets one atomically replaced Markdown summary and a matching
terminal component in host-analysis-state.json: complete or failed. A usable
result with coverage loss keeps result_status: complete_with_failures inside the
component. Prompts, CSV, detailed task/chunk records, analyst files, provider events,
and .api-runtime are transient by default. Use --debug-chunk-prompts 0 to
export every rendered chunk to the case debug directory, including its evidence,
raw responses and correction retries. A positive N exports the first N chunks.
The flag alone exports one. Host --skip-ai saves prompts only. Follow the shared
prompt export contract.
Queued/running
status is in-memory only. A failed component does not block sibling artifacts and
remains terminal until explicitly selected for reanalysis. Use
--retry-failed --request-id REQUEST_ID to resume it with accepted chunks reused,
or repeatable --reset-artifact NAME --request-id REQUEST_ID or
--reset-analysis --request-id REQUEST_ID to discard accepted work; none of these
recollects evidence. A chunk whose correction attempts all fail validation is
recorded, then gets one AI repair call in the same run (at most 4 per run;
--chunk-repair-limit 0 disables). A repaired chunk is published but labelled
accepted after AI repair ... verify these rows in Velociraptor; report that
label with any finding from those rows. A chunk that still fails is named in the summary
(for example chunk 71/71 rows 6901-7000 ... failed after 3 attempts) and recorded
value-free in the request's analysis/failed-chunks.json. After the operator reviews
those rows, --waive-failed-chunk KEY --waive-reason TEXT publishes the accepted
chunks with the gap named; never waive a chunk without that review. See
chunk repair and
failed-chunk review.
The response includes structured analysis_result for automation and a bounded Markdown chat_summary with status, assessment, findings, finding-linked context, limitations, and next action; chat/GUI callers surface it without another model call.
The report is question-first:
See report-contract.md.
complete_with_failures when defensible results exist with coverage loss.failed when no defensible analysis is possible.agents/openai.yaml (opens in a new tab)references/analysis-output-contract.md (opens in a new tab)references/detectraptor-host-analysis.md (opens in a new tab)references/extracted-host-evidence.md (opens in a new tab)references/final-review.md (opens in a new tab)references/linux-authentication.md (opens in a new tab)references/linux-host-analysis.md (opens in a new tab)references/linux-persistence-execution.md (opens in a new tab)references/linux-timeline-filesystem.md (opens in a new tab)references/linux-web-container-analysis.md (opens in a new tab)references/macos-host-analysis.md (opens in a new tab)references/operating-contract.md (opens in a new tab)references/report-contract.md (opens in a new tab)references/windows-artifact-analysis.md (opens in a new tab)references/windows-autoruns-analysis.md (opens in a new tab)references/windows-host-analysis.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Generated from the plugin's indexed repository (ig-labs/velociraptor-skills) — no native marketplace selected
npx claudepluginhub p/ig-labs-velociraptor-skills8 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-artifact-selectionInventory and select Velociraptor artifacts and detection scenarios, resolve built-in and site-owned references, and provide field-projection, hunt, stack, normalization, sampling, filtering, and analysis-routing policy. Use when choosing an artifact or scenario, reviewing or optimizing artifact fields, validating site policy, or exporting `artifact_definitions()`. Not for running or reviewing hunts; use velociraptor-hunting./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./velociraptor-engagement-setupSet up and map local, remote and live Velociraptor engagements, including local-server and remote dead-disk mapping. Initialize or resume an investigation, configure reusable operational and AI analyst settings, verify readiness, and inspect or stop owned local resources. Not for collection, hunting, analysis or direct VQL; use velociraptor-collection, velociraptor-hunting, velociraptor-host-analysis or velociraptor-live-api-client./velociraptor-huntingVelociraptor cross-host hunt workflow for Windows, Linux, and macOS. Discover, classify, create, or safely reuse hunts, run grouped or targeted Windows hunts, retry missing clients, analyze live results, review DetectRaptor, correlate artifacts, extract evidence only on request, analyze explicit snapshots or saved exports, and verify operator-requested stops while Velociraptor remains authoritative. Review candidate Autoruns CSVs offline and prepare approved GoldenDB updates. For one endpoint use velociraptor-host-analysis; to choose artifacts use velociraptor-artifact-selection./velociraptor-live-api-clientConnect with existing Velociraptor API credentials, explicitly fetch remote API or endpoint configurations over SSH, run bounded operator-provided VQL, and find or list clients. Use for generic live-server access, direct queries, and client inventory; for setup and mapping, use velociraptor-engagement-setup.Other plugins' skills for the same job