notes

notes is a command for Claude Code from pashki975/thm-claude-kit. It costs 14 tokens per session (308 once invoked), scanned A, original, MIT.

A command for maintaining a structured notes.md file during a TryHackMe or other cybersecurity exercise. It records confirmed facts, credentials, hosts, leads, dead ends, and flags as working memory.

In plain words
What is it for?
Use it to update target details, open ports, technologies, credentials and where they work, reachable hosts, investigation leads, dead ends, flags, and the current stage of the attack.
Why use it?
It keeps the investigation’s important discoveries in one factual place instead of relying on scattered terminal output or memory. This makes it easier to choose the next step and avoid repeating failed attempts.

Command for Claude Code

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/pashki975/thm-claude-kit/notes
Clone the repo
git clone --depth 1 https://github.com/pashki975/thm-claude-kit

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for notes

README.md
[![agentmods](https://agentmods.dev/badge/commands/pashki975/thm-claude-kit/notes.svg)](https://agentmods.dev/commands/pashki975/thm-claude-kit/notes)
Your own site
<a href="https://agentmods.dev/commands/pashki975/thm-claude-kit/notes"><img src="https://agentmods.dev/badge/commands/pashki975/thm-claude-kit/notes.svg" alt="Measured on agentmods" height="20"></a>
Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 308 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00014 $0.00308
Opus 5 $0.00007 $0.00154
Sonnet 5 $0.00003 $0.00062
Haiku 4.5 $0.00001 $0.00031

Measured 4d ago against content hash 0a4fabd53ffe, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

notes scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/commands/notes.md · 44 lines

What it actually says

Update notes.md as the room's working memory (the "room brain"), not a passive log. Review scans/ and our conversation, then keep these sections current and factual — only what's confirmed.

# <Room> — Room Brain

## Goal / stop condition
- (flag string? user+root? specific answer?)

## Kill-chain position
- recon | foothold | lateral/pivot | privesc | domain/loot   ← mark where we are

## Confirmed facts
- Target IP / hostname / OS:
- Open ports & services (with versions):
- Tech stack:

## Creds / keys held        ← most important on complex rooms
| cred | type | works on | tried elsewhere? |
|------|------|----------|------------------|

## Hosts / network
- (every host/subnet found; note reachable vs pivot-only)

## Open leads
- (seen but not yet chased)

## Dead ends
- (tried, didn't pay off — don't loop back)

## Flags
- User:
- Root:

When called, reconcile this with everything we've learned: add new confirmed facts, record every cred and where it does/doesn't work, list new hosts and leads, cross off dead ends, and update the kill-chain position. This file is what lets the coach reason about the room as a whole rather than reacting to the last command.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 44 lines · 14 tokens per session scan A 0a4fabd53ffe

Subscribe to this mod's changes

notes is a command published in the GitHub repository pashki975/thm-claude-kit (2 stars, last pushed 21d ago), licensed MIT. It adds 14 tokens to every session and 308 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.