Логотип Maintaining Engagement State

Maintaining Engagement State

Спільнота
trilwu
maintaining-engagement-state

Ведіть надійний журнал, який зберігається після завершення сеансу: фіксуйте походження облікових даних, перелік доступів, артефакти, залишені на цілі й призначені для видалення, підтверджені доказами знахідки та тупикові гілки розслідування. Це допоможе не починати роботу заново й не суперечити власним висновкам, якщо вона триває кілька днів або над нею працюють різні аналітики. Використовуйте цю навичку, коли завдання чи розслідування триває довше одного робочого сеансу, відновлюєте роботу після перерви, передаєте її іншому аналітику, перед завершенням вікна контексту або не можете пояснити, звідки взялися облікові дані чи доступ.

Add to TypingMind

Огляд

Видавецьtrilwu
Репозиторійsecskills
Назва навичкиmaintaining-engagement-state
Зірки
144
Форки
15
Файли в пакеті
Лише інструкції
ЛіцензіяMIT
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Усе необхідне — в інструкціях

    Усе потрібне моделі міститься в інструкціях — жодних додаткових файлів для синхронізації.

  • Відкритий вихідний код

    Видавець на GitHub: trilwu. Перед установленням перегляньте вихідні файли навички.

Встановлення

Установіть навичку ШІ Maintaining Engagement State у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки на GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до розділу «Плагіни» → «Навички».
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/trilwu/secskills/tree/main/secskills-core/skills/maintaining-engagement-state
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Додати навичку → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/trilwu/secskills.git /tmp/secskills
mkdir -p .claude/skills
cp -r /tmp/secskills/secskills-core/skills/maintaining-engagement-state .claude/skills/maintaining-engagement-state
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Maintaining Engagement State в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Maintaining Engagement State, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для певного постачальника, тому навичка Maintaining Engagement State не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож поки навичка не потрібна, токени на її інструкції не витрачаються.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

Maintaining Engagement State

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.

When to Use

  • Any engagement or investigation continuing past a single sitting
  • Resuming after a break, or picking up someone else's work
  • Approaching a context boundary with unrecorded state
  • Handing off between analysts, shifts, or teams
  • Before running anything that writes to a target
  • When you cannot answer "which host did this credential come from?"

When NOT to Use

  • Writing the client-facing deliverable — use reporting-security-findings; this skill produces the raw material that skill consumes
  • Deciding whether a finding is real — that is the relevant testing or analysis skill; record the outcome here either way
  • Chain of custody for evidence that may reach court — legal custody has formal requirements beyond this; use responding-to-incidents and follow the organisation's counsel
  • A single self-contained task finished in one sitting with nothing left on target

The Six Records

Keep these in one file, in the repository or case folder, updated as you go — not reconstructed at the end.

1. Scope and authorization

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:

ModeAllowedRefused
offlineStatic analysis, local samples, emulationAny outbound packet
lab_onlyLab and VM ranges you controlProduction, anything routable
authorized_target_onlyAssets named in scopeEverything not on the list
unrestricted_labIsolated lab network, in writingThe 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.

2. Credential provenance

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:

  • Is it real? Credentials of unknown origin may be planted — see recognizing-deception. If you cannot say where it came from, you cannot rule that out.
  • Was it in scope? A credential harvested from an out-of-scope host taints everything reached with it.
  • What is the blast radius? The client's remediation is "rotate these specific secrets", which requires the list.

Mark anything you cannot trace as provenance: UNKNOWN and treat it as suspect rather than quietly using it.

3. Access inventory

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.

4. Artifact register — the cleanup list

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.

5. Findings with evidence

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.

6. Dead ends

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.

Session Boundary Discipline

Before a session ends — planned or not — the record must answer:

  1. What access do I currently hold, and does it still work?
  2. What have I left on target that is not yet cleaned up?
  3. What was I in the middle of?
  4. What did I rule out, so nobody repeats it?

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.

Handoff

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.

Across Engagements

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.

Rationalizations to Reject

  • "I'll remember where that came from." You will not, and neither will the next session. Unattributable credentials are unusable in a report and indistinguishable from planted ones.
  • "It's all in my terminal history." History has no reasoning, no timestamps you can trust, no failures, and no record of what you concluded. It is also routinely lost with the session.
  • "I'll write the cleanup list at the end." The end is exactly when memory is worst and the list is longest. Artifacts written from memory are always incomplete, and the omissions stay on production.
  • "Nobody needs my dead ends." They are the difference between a reported negative result and an unexamined gap, and they stop the next session spending six hours re-cracking the same hash.
  • "I'll clean up as I go, so no register is needed." Then the register costs you one line per artifact and proves it. Without it you cannot demonstrate the estate was returned to its prior state.
  • "The client only wants the findings." Until an alert fires next month and they need to know whether the account you created was yours. Unclaimed artifacts get investigated as intrusions.
  • "Recording failures makes the engagement look weak." An engagement with no recorded negatives looks unmethodical, not successful. Coverage is a finding.

References

  • reporting-security-findings — consumes this record to produce the deliverable
  • recognizing-deception — why unattributable credentials are dangerous, not merely untidy
  • responding-to-incidents — the investigation-side equivalent, including formal evidence handling

Поширені запитання

Що робить навичка ШІ Maintaining Engagement State?

Ведіть надійний журнал, який зберігається після завершення сеансу: фіксуйте походження облікових даних, перелік доступів, артефакти, залишені на цілі й призначені для видалення, підтверджені доказами знахідки та тупикові гілки розслідування. Це допоможе не починати роботу заново й не суперечити власним висновкам, якщо вона триває кілька днів або над нею працюють різні аналітики. Використовуйте цю навичку, коли завдання чи розслідування триває довше одного робочого сеансу, відновлюєте роботу після перерви, передаєте її іншому аналітику, перед завершенням вікна контексту або не можете пояснит...

Навіщо використовувати Maintaining Engagement State у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Maintaining Engagement State — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Maintaining Engagement State у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/trilwu/secskills/tree/main/secskills-core/skills/maintaining-engagement-state. TypingMind прочитає файл SKILL.md і встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Maintaining Engagement State?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Maintaining Engagement State?

Зі скількома забажаєте. У TypingMind ви можете використовувати Maintaining Engagement State із будь-якою моделлю, яка підтримує навички, зокрема з GPT, Claude, Gemini, Grok, DeepSeek, Mistral чи Llama. Для цього ви використовуєте власні ключі API.

Чи безкоштовна навичка ШІ Maintaining Engagement State?

Так. На GitHub цю навичку публікує trilwu за ліцензією MIT. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це набір інструкцій для повторного використання, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти, які вона може викликати, — код, який десь виконується й повертає результат. Натомість навичка ШІ дає моделі знання й пояснює порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі
Логотип affaan-m

Quarkus Security

affaan-m
СпільнотаПопулярне

Найкращі практики безпеки Quarkus для автентифікації, авторизації, JWT/OIDC, RBAC, перевірки вхідних даних, CSRF, керування секретами та безпеки залежностей.

39.1K
261.1K
Інструкції
Відкрити
Логотип affaan-m

Quarkus Verification

affaan-m
СпільнотаПопулярне

Цикл перевірки для проєктів Quarkus: збирання, статичний аналіз, тести з покриттям, сканування безпеки, нативна компіляція та перевірка diff перед випуском або створенням PR.

39.1K
261.1K
Інструкції
Відкрити
Логотип affaan-m

Springboot Security

affaan-m
СпільнотаПопулярне

Рекомендації з Spring Security щодо автентифікації й авторизації, валідації, CSRF, секретів, заголовків, обмеження частоти запитів і безпеки залежностей у сервісах Java Spring Boot.

39.1K
261.1K
Інструкції
Відкрити
Логотип affaan-m

Agent Architecture Audit

affaan-m
СпільнотаПопулярне

Повна діагностика агентів і LLM-застосунків. Перевіряє 12 рівнів стека агента на регресії обгорток, забруднення пам’яті, збої дисципліни роботи з інструментами, приховані цикли відновлення та порушення рендерингу. Формує список висновків, упорядкованих за серйозністю, і виправлення з акцентом на код. Незамінний інструмент для розробників, які створюють застосунки на основі агентів, автономні цикли або функції з використанням LLM.

39.1K
261.1K
Інструкції
Відкрити

Створіть власний робочий простір зі ШІ вже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇