msf-post

msf-post is a skill for Claude Code, Codex, Cursor from Suzu-Testing/metasploit-cursor-harness. It costs 36 tokens per session (1,926 once invoked), scanned C, original, MIT.

A workflow for actions after gaining an active Metasploit session on a permitted target. Metasploit is a security testing platform used to investigate compromised systems during an authorized engagement.

In plain words
What is it for?
Listing active sessions, collecting system information and loot, running post-exploitation modules, exporting evidence, and managing sessions.
Why use it?
It organizes host inspection, credential and file collection, privilege checks, evidence handling, and session cleanup within the engagement rules.

Skill for Claude CodeCodexCursor

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 skills/suzu-testing/metasploit-cursor-harness/msf-post
Any agent
npx skills add Suzu-Testing/metasploit-cursor-harness --skill msf-post
Clone the repo
git clone --depth 1 https://github.com/Suzu-Testing/metasploit-cursor-harness

Made for: Claude Code, Codex, Cursor.

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 msf-post

README.md
[![agentmods](https://agentmods.dev/badge/skills/suzu-testing/metasploit-cursor-harness/msf-post.svg)](https://agentmods.dev/skills/suzu-testing/metasploit-cursor-harness/msf-post)
Your own site
<a href="https://agentmods.dev/skills/suzu-testing/metasploit-cursor-harness/msf-post"><img src="https://agentmods.dev/badge/skills/suzu-testing/metasploit-cursor-harness/msf-post.svg" alt="Measured on agentmods" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,926 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00036 $0.01926
Opus 5 $0.00018 $0.00963
Sonnet 5 $0.00007 $0.00385
Haiku 4.5 $0.00004 $0.00193

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

Security

Grade C, and why

msf-post scanned grade C with 1 finding 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.

Reaches for credential fileshighPrivilege escalation

SSH keys, cloud credentials, git-credentials, .npmrc, /etc/shadow: reading these is how a config file becomes a credential leak.

| `linux/gather/hashdump` | /etc/shadow hashes |
.cursor/skills/msf-post/SKILL.md · 257 lines

How it starts

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

Metasploit Post-Exploitation

When to Use

  • Active session obtained via msf-exploit-chain
  • Need to enumerate compromised host
  • Credential harvesting or privilege escalation
  • Loot collection and evidence export

Prerequisites

  • Active session (verify with msf_list_active_sessions)
  • Engagement ROE permits post-exploitation activities
  • Evidence directory ready: evidence/msf/
  • Load domain skill by platform/context (see skill routing below)

Tool Inventory

Read-only: msf_list_active_sessions, msf_list_listeners, msf_credential_info, msf_loot_info, msf_note_info, msf_route_list

Action (engagement_id required): msf_send_session_command, msf_run_post_module, msf_session_upgrade, msf_session_run_script, msf_wait_for_session, msf_terminate_session, msf_stop_job, msf_cleanup_jobs

Meterpreter session tools:

  • msf_session_sysinfo - Get OS, arch, hostname from Meterpreter session
  • msf_session_getuid - Get current user identity from Meterpreter session
  • msf_session_ps - List running processes in Meterpreter session
  • msf_session_download - Download file from target to evidence/msf/
  • msf_session_upload - Upload file from evidence/msf/ to target

Route / pivot tools:

  • msf_route_list - List active routes for pivoting
  • msf_route_add - Add route through a Meterpreter session
  • msf_route_delete - Remove an active route
  • msf_autoroute - Auto-add routes via post/multi/manage/autoroute

Database write tools:

  • msf_db_add_note - Add notes/annotations to database
  • msf_report_host - Manually report a host to the database
  • msf_credential_add - Store discovered credentials in the database

Skill routing by context

Context Skill
Windows privesc windows-pentest
Linux privesc linux-pentest
macOS privesc macos-pentest
Active Directory internal-ad-pentest
Lateral movement internal-ad-pentest, pivoting-pentest
Persistence persistence-pentest
Cloud from foothold cloud-pentest
Container escape container-devops-pentest
EDR/OPSEC red-team-evasion
Service-specific Load port skill via pentest-knowledge-base

Read the full file on GitHub · 257 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. 4d ago First seen · 257 lines · 36 tokens per session scan C 6fbca1ddc22d

Subscribe to this mod's changes

msf-post is a skill published in the GitHub repository Suzu-Testing/metasploit-cursor-harness (3 stars, last pushed 11d ago), licensed MIT. It adds 36 tokens to every session and 1,926 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it C with 1 finding (reaches for credential files). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

chronicle

Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…

microsoft/vscode · 72 tokens

imagegen

Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output…

openai/codex · 113 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens