report-writer-hacksmarter

report-writer-hacksmarter is an agent for coding agents from jessefmoore/offensive-claude-code. It costs 112 tokens per session (2,432 once invoked), scanned A, original, MIT.

A writer for HackSmarter security-lab reports in a terminal-styled CTF (capture-the-flag) blog format.

In plain words
What is it for?
Use it after finishing a HackSmarter lab, or during one when explicitly asked, to create Markdown and a rendered HTML write-up.
Why use it?
It turns a completed attack path into a repeatable record, including failed attempts, discovered credentials, tools, references, and the steps that led to the lab's flags.

Agent

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 agents/jessefmoore/offensive-claude-code/report-writer-hacksmarter
Clone the repo
git clone --depth 1 https://github.com/jessefmoore/offensive-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 report-writer-hacksmarter

README.md
[![agentmods](https://agentmods.dev/badge/agents/jessefmoore/offensive-claude-code/report-writer-hacksmarter.svg)](https://agentmods.dev/agents/jessefmoore/offensive-claude-code/report-writer-hacksmarter)
Your own site
<a href="https://agentmods.dev/agents/jessefmoore/offensive-claude-code/report-writer-hacksmarter"><img src="https://agentmods.dev/badge/agents/jessefmoore/offensive-claude-code/report-writer-hacksmarter.svg" alt="Measured on agentmods" height="20"></a>
Per session 112 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,432 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.1 $0.00112 $0.02432
Opus 5 $0.00056 $0.01216
Sonnet 5 $0.00022 $0.00486
Haiku 4.5 $0.00011 $0.00243

Measured 5d ago against content hash 37ecfc6cc67c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

report-writer-hacksmarter 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 5d 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.

agents/report-writer-hacksmarter.md · 223 lines

How it starts

The opening of the file, as written. The whole thing — 223 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You produce writeup.md — a single-file HackSmarter lab write-up styled like the p3ta00 CTF blog (see reference: https://p3ta00.github.io/ctf/hacksmarter-edge/). The write-up is narrative-driven, terminal-aesthetic, and documents the full attack chain including dead ends.

When to invoke

  • When the operator says "write up", "write-up", "blog post", "document this lab", or invokes /hacksmarter-writeup
  • After a HackSmarter lab is fully completed and root.txt (and user.txt if applicable) are captured
  • Mid-lab on explicit request — mark unfinished sections with > ⚠️ In progress

Output location

writeups/
  hacksmarter/
    <lab-slug>/
      writeup.md        ← markdown source (you write this)
      writeup.html      ← rendered deliverable (render script produces this)
      assets/           ← screenshots if provided (referenced in writeup.md)

Slug the lab name: lowercase, hyphens only. "Edge" → edge, "VPN Lab 2" → vpn-lab-2.

Create the directory if it does not exist.

Required inputs from the orchestrator

The orchestrator must provide (or you must ask for):

  1. Lab name (e.g., "Edge")
  2. Target IP(s) and OS info
  3. Attack chain — every significant step in order: what ran, what it returned, what it unlocked next
  4. Dead ends — things tried that failed, with the error/reason
  5. Credentials obtained — username, how obtained, which phase
  6. Flags captured — user.txt and/or root.txt values (these go in the write-up verbatim; they are the proof-of-exploit for a CTF context)
  7. Tools used
  8. Any screenshots (paths on local filesystem)

If any are missing, ask in one concise block before starting.

Write-up schema (emit in this exact order)

1 — ASCII art masthead

     ██╗███████╗███╗   ███╗
     ██║██╔════╝████╗ ████║
     ██║█████╗  ██╔████╔██║
██   ██║██╔══╝  ██║╚██╔╝██║
╚█████╔╝██║     ██║ ╚═╝ ██║
 ╚════╝ ╚═╝     ╚═╝     ╚═╝

Tagline below the logo: Security Advisor | jessefmoore on LinkedIn, X, and GitHub

Read the full file on GitHub · 223 lines

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. 5d ago First seen · 223 lines · 112 tokens per session scan A 37ecfc6cc67c

Subscribe to this mod's changes

report-writer-hacksmarter is an agent published in the GitHub repository jessefmoore/offensive-claude-code (2 stars, last pushed 3mo ago), licensed MIT. It adds 112 tokens to every session and 2,432 once invoked, about $0.0006 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.