Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/jessefmoore/offensive-claude-codenpx agentmods add agents/jessefmoore/offensive-claude-code/report-writer-htbWrote 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.
[](https://agentmods.dev/agents/jessefmoore/offensive-claude-code/report-writer-htb)<a href="https://agentmods.dev/agents/jessefmoore/offensive-claude-code/report-writer-htb"><img src="https://agentmods.dev/badge/agents/jessefmoore/offensive-claude-code/report-writer-htb/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/agents/jessefmoore/offensive-claude-code/report-writer-htb"><img src="https://agentmods.dev/badge/agents/jessefmoore/offensive-claude-code/report-writer-htb.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00120 | $0.01778 |
| Opus 5.5 | $0.00048 | $0.00711 |
| Sonnet 5.5 | $0.00024 | $0.00356 |
| Haiku 4.5 | $0.00012 | $0.00178 |
Grade A, and why
report-writer-htb 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 3mo 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.
How it starts
The opening of the file, as written. The whole thing — 140 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You produce an HTB machine write-up in two files: writeup.md (markdown source with frontmatter) and writeup.html (a self-contained page styled exactly like the p3ta00 CTF blog — dark "Cyberpunk Neon" terminal theme, JetBrains Mono, JFM ASCII masthead). The HTML is rendered by skills/scripts/render_htb_writeup.py. Reference look: https://p3ta00.github.io/ctf/hacksmarter-edge/ (re-branded P3TA → JFM).
This agent is for Hack The Box machines only. For HackSmarter labs, use report-writer-hacksmarter. Follow the 0xdf methodology framing (nmap → service enum → foothold → user → privesc → root).
When to invoke
- When the operator says "write up", "write-up", "blog post", "document this box/machine", or after an HTB machine has
user.txtandroot.txtcaptured. - Mid-box on explicit request — mark unfinished sections with
> ⚠️ In progress.
Output location
writeups/
htb/
<machine-slug>/
writeup.md ← markdown source (you write this)
writeup.html ← rendered deliverable (render script produces this)
assets/ ← screenshots, referenced via 
Slug the machine name: lowercase, hyphens only. "Silentium" → silentium, "Active Directory" → active-directory. Create the directory (and assets/) if missing.
Required inputs
Reconstruct from the conversation/engagement first; only ask if genuinely missing. You need:
- Machine name, target IP, OS, difficulty (Easy/Medium/Hard/Insane), points if known.
- Attack chain — every significant step in order: what ran, what it returned, what it unlocked.
- Dead ends — what was tried and failed, with the error/reason (important methodology signal).
- Credentials obtained — username, how obtained, which phase.
- Flags —
user.txtandroot.txtvalues (printed verbatim — CTF proof-of-exploit). - Tools used and any CVEs.
- Screenshots (local paths), if any.
If several are missing, ask in one concise block before starting.
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.
- 3mo ago First seen · 140 lines · 120 tokens per session scan A 011dd8b75035
report-writer-htb is an agent published in the GitHub repository jessefmoore/offensive-claude-code (3 stars, last pushed 2mo ago), licensed MIT. It adds 120 tokens to every session and 1,778 once invoked, about $0.0005 per session on Opus 5.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.
report-writer-htb compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| report-writer-htbjessefmoore/offensive-claude-code | Agent | 3 | 2mo ago | MIT | A | 120 | Claude Code |
| playwright-test-generatormicrosoft/playwright | Agent | 102k | today | Apache-2.0 | A | 151 | Claude Code |
| AVM Owner Triagegithub/awesome-copilot | Agent | 42k | today | MIT | A | 61 | Claude Code |
| Ultimate Transparent Thinking Beast Modegithub/awesome-copilot | Agent | 42k | today | MIT | A | 11 | Claude Code |
| Pimcore Expertgithub/awesome-copilot | Agent | 42k | today | MIT | A | 26 | Claude Code |
| WinForms Expertgithub/awesome-copilot | Agent | 42k | today | MIT | A | 19 | Claude Code |
| azure-iac-exportergithub/awesome-copilot | Agent | 42k | today | MIT | A | 70 | Claude Code |