metasploit-cursor-harness: Skill for Cursor

.cursor/skills/msf-post/SKILL.md

msf-post is a skill for 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 Cursor

Written for Cursor: installed under .cursor/.

This is Suzu-Testing/metasploit-cursor-harness's own configuration. It tells Cursor how to work on metasploit-cursor-harness itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything metasploit-cursor-harness configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Suzu-Testing/metasploit-cursor-harness. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Suzu-Testing/metasploit-cursor-harness/main/.cursor/skills/msf-post/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Suzu-Testing/metasploit-cursor-harness

Made for: 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/github.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/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.

agentmods 80×15 button for msf-post

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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. A grade says what 26 rules found in the file — not that it is safe.
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.00036 $0.01926
Opus 5.5 $0.00014 $0.00770
Sonnet 5.5 $0.00007 $0.00385
Haiku 4.5 $0.00004 $0.00193

Measured 1mo ago against content hash 6fbca1ddc22d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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. 1mo 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 2mo ago), licensed MIT. It adds 36 tokens to every session and 1,926 once invoked, about $0.0001 per session on Opus 5.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

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

systematic-debugging

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

obra/superpowers · 21 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 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

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens