/secskills-core:maintaining-engagement-statefrom secskills-core
Maintains a durable engagement record spanning sessions: credential provenance, access inventory, artifacts, findings with evidence, and dead-end log. Use for multi-sitting investigations, handoffs, or before context rollover.
Ships in secskills-core. 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.
None: SKILL.md is the whole skill.
An engagement lasts weeks. A session does not. The gap between those two facts is where work gets repeated, findings lose their evidence, credentials become unattributable, and artifacts get left on production because nobody wrote down that they were placed.
This is not administrative overhead bolted onto the real work. Provenance is what makes a finding reportable, and the artifact register is what makes cleanup possible. Neither can be reconstructed afterwards from terminal scrollback.
Assume everything not written to the record is lost: not merely forgotten, but silently lost, so the next session confidently redoes it or contradicts it.
reporting-security-findings;
this skill produces the raw material that skill consumesresponding-to-incidents and follow
the organisation's counselKeep these in one file, in the repository or case folder, updated as you go — not reconstructed at the end.
In-scope targets and explicit exclusions, the testing window, the named contact, and where the authorization letter lives. Copy the exclusions verbatim; paraphrasing scope is how people test the wrong estate.
Record one more field, because "in scope" and "reachable" are different questions. Egress mode says what this engagement is allowed to talk to:
| Mode | Allowed | Refused |
|---|---|---|
offline | Static analysis, local samples, emulation | Any outbound packet |
lab_only | Lab and VM ranges you control | Production, anything routable |
authorized_target_only | Assets named in scope | Everything not on the list |
unrestricted_lab | Isolated lab network, in writing | The public internet |
Name the mode before the first command, not after something reaches further
than you meant. It is the field that catches the two classic mistakes: a
"static-only" malware triage that resolves a C2 domain, and a scoped web test
whose scanner follows a redirect off-estate. When a skill in this repo says an
action needs an isolated lab, it means lab_only or stricter.
Authorization is a gate, not a note. If authorization is pending or absent, reading documentation and planning are fine; scanning, hooking, and exploitation are not.
For every credential, hash, token, or key: what it is, where it came from, how it was obtained, and what it has been used against.
cred-04 | svc_backup NTLM hash
| source: SAM dump, WS-014 (10.2.3.14), local admin via CVE-2021-XXXX
| obtained: 2026-07-27 14:02
| used on: FS-02 (success), DC-01 (failed, no local admin)
| provenance: CONFIRMED
Provenance is not bookkeeping. It answers three questions you will be asked:
recognizing-deception. If you cannot say where it came from, you cannot
rule that out.Mark anything you cannot trace as provenance: UNKNOWN and treat it as
suspect rather than quietly using it.
Each access obtained: host, account, privilege level, the method, and whether it still works. Access decays — sessions die, passwords rotate, hosts reboot. A list of what you had is not a list of what you have.
Every write to a target, recorded at the moment you make it. Files dropped, services or tasks created, accounts added, registry keys, shares, firewall rules, cloud resources, config edits.
art-07 | WS-014 | C:\Windows\Temp\c2.exe | dropped 14:02 | REMOVED 18:40
art-08 | DC-01 | scheduled task "WinUpdateSvc" | created 15:10 | PENDING
art-09 | AWS | IAM user "svc-audit-tmp" | created 16:22 | PENDING
Written afterwards from memory, this list is always incomplete, and what it omits is left on the client's production estate. Two independent parties need it: you, to clean up; and the client's blue team, to distinguish your artifacts from a real intrusion — during and after the engagement.
For an incident investigation the same register covers what you touched on evidence systems, so your activity is separable from the adversary's.
Each finding: what, where, the reproduction steps, the evidence captured, and the impact demonstrated. Capture evidence when you see it — the state that proved it will not survive remediation, a reboot, or a rotated credential.
The record most often skipped and most valuable across sessions: what was tried, against what, and why it failed.
dead-03 | Kerberoast svc_sql | hash cracked? NO after 6h, 14M candidates
dead-04 | SMB signing DC-02 | enforced -- relay not viable
dead-05 | /admin on portal | 403 from all tested source ranges
Without this, the next session re-runs the six-hour crack. Recording negative results is also the difference between "we found nothing there" and "we did not look" in the final report.
Before a session ends — planned or not — the record must answer:
Write these down as you work, not at the end. The session that ends unexpectedly is precisely the one whose state was never captured, and an engagement can lose its context without warning.
A handoff is the same record plus three additions: current position, the immediate next action, and anything time-sensitive (a running crack, an expiring token, a scheduled task that fires at 02:00). If the receiving analyst has to ask "what were you doing?", the handoff failed.
The six records reset each engagement. Two things are worth carrying between them, and both fail the same way — reconstructed from memory, they are wrong.
What the machine can actually do. Before a skill runs a tool, the tool has
to exist, at a known path, at a version whose flags match what the skill
assumes. Guessing /usr/bin/ghidra or jadx and debugging the failure as if
it were the target's fault is a standard way to lose an hour. Keep a local,
machine-specific inventory — tool, real path, version, and for anything that
speaks over a socket (an MCP server, a helper daemon) whether it is not just
installed but registered and answering. Present and ready are different
states: an MCP binary on disk with no running server is not a capability. This
inventory is per-machine and does not belong in a shared repo; treat it the way
you treat ~/.ssh/config — yours, gitignored, assumed by nothing you publish.
What past cases taught. A short, de-identified journal entry per finished case — the scenario, the technique that worked, the dead ends and the hours they cost, the tooling surprise — turns the next similar case from a cold start into a lookup. Keep an index over the entries by scenario, by technique, and by target trait, and read that before starting new work, not the entries themselves; the index is the cheap part. Seed it with a handful of worked reference cases so it is useful on day one rather than after the tenth engagement.
Two disciplines make the journal safe to keep. De-identify at write time, not before sharing — real domains, IPs, tokens, and PII become placeholders the moment the entry is written, so an entry that is never meant to leave still cannot leak if it does. And keep it local by default: contributing lessons to a shared or public location ships engagement detail to a third party, and "the model anonymised it" is not a control you would defend to a client. If a journal is ever shared, that is a deliberate, reviewed decision per entry — not a default step in the workflow.
reporting-security-findings — consumes this record to produce the
deliverablerecognizing-deception — why unattributable credentials are dangerous, not
merely untidyresponding-to-incidents — the investigation-side equivalent, including
formal evidence handlingWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub trilwu/secskills --plugin secskills-core30 skills in this plugin
/analyzing-binariesReverse engineer compiled binaries, firmware, and mobile app packages using triage, static disassembly, decompilation, and dynamic instrumentation. Use when analyzing an executable, ELF/PE/Mach-O file, firmware image, or stripped binary, recovering an algorithm or protocol, or working a CTF reversing challenge./analyzing-dotnet-assembliesReverse engineer .NET assemblies and executables with dnSpyEx, ILSpy, and de4dot — identifying and unwrapping obfuscators and packers, deobfuscating control flow and string encryption, handling single-file and NativeAOT publishes, and patching IL. Use when a binary is a managed PE, when ILSpy shows mangled names or empty method bodies, or when analyzing .NET malware, a loader, or a Windows application./analyzing-firmware-imagesExtract, analyze, and assess firmware images from embedded devices, IoT hardware, routers, and similar targets — filesystem extraction, hardcoded credential discovery, binary analysis across architectures, web interface review, network service enumeration, emulation, and cryptographic assessment. Use when analyzing a firmware update file, reviewing IoT device security, hunting for hardcoded secrets in device firmware, or assessing the attack surface of an embedded system./analyzing-go-binariesReverse engineer Go binaries by recovering function names and types from pclntab and moduledata using GoReSym, redress, and IDA/Ghidra Go plugins, and by reading Go's non-standard calling convention, interface dispatch, and string layout. Use when a binary contains Go runtime strings, when strings show runtime.main or go:buildid, when a stripped binary is unexpectedly large, or when analyzing Go malware or a Go-based service./analyzing-ios-binariesAnalyze iOS applications at the binary level — decrypting FairPlay-protected IPAs with frida-ios-dump or bagbak, inspecting Mach-O load commands, recovering Objective-C headers with class-dump, and reading Swift metadata. Use when working with an IPA or .app bundle, when a downloaded App Store binary shows cryptid=1, when class-dump returns nothing, or when analyzing iOS frameworks and app extensions./analyzing-macos-binariesReverse engineer and security-review macOS applications and Mach-O binaries — thinning universal binaries, recovering Objective-C/Swift structure, reading code-signing entitlements and the hardened runtime, and auditing XPC services, dylib load paths, and TCC privacy exposure. Use when analyzing a .app bundle or Mach-O on macOS, checking entitlements and notarization, hunting a dylib-hijack or XPC privilege bug, or reasoning about Gatekeeper and quarantine.2 plugins ship this exact skill · first indexed Aug 12, 2026
Other plugins' skills for the same job