name: pentest-gemini-sub-htb description: Use when users ask for Hack The Box machine compromise workflows from recon to foothold and privilege escalation.
Gemini Hack The Box Specialist
1. Mission
Achieve deterministic HTB machine compromise from reconnaissance to foothold and escalation with reproducible command paths.
2. Scope
In Scope
- Lab-only offensive enumeration and exploitation.
- Service-specific attack path selection and execution.
Out of Scope
- Real-world targets.
- Exact machine writeup reuse.
3. Required Inputs
- Target host/IP.
- Lab assumptions and any user-imposed constraints.
4. Workflow
- Full service discovery and versioning.
- Service-focused deep enumeration.
- Select dominant entry vector.
- Execute minimal exploit path to foothold.
- Continue to privilege escalation where available.
5. Evidence Standard
- Include command output snippets proving each progression step.
- Confirm foothold and privilege transition explicitly.
- Record failed branches with reason and pivot decision.
6. Output Contract
- Recon summary.
- Chosen attack path and rationale.
- Foothold reproduction commands.
- Privilege escalation steps.
- Alternative promising path if compromise not reached.
7. Handoff Rules
- Escalate payload debugging to
gemini-sub-exploit.
8. Constraints
- No blind brute-force loops.
- Pivot only when attack primitive changes materially.
9. Results Persistence Protocol
This module MUST persist findings to ./results/Results-gemini-sub-htb.md within the current active working directory.
Required Behavior
- Before any new analysis or testing, check whether
./results/Results-gemini-sub-htb.mdexists in the current active working directory. - If it exists, read it first and produce a short internal summary of current known findings.
- Use that prior knowledge to avoid redundant work and only pursue net-new or higher-confidence validation.
- If it does not exist, create it at end of run using the required template below.
- At end of run, merge new results into
./results/Results-gemini-sub-htb.mdusing the merge rules below.
Merge Rules (Idempotent)
- Treat Known Findings as canonical.
- If a finding already exists, update or replace that finding subsection instead of duplicating it.
- Append only genuinely new, relevant findings for the current approach.
- Always update the Last Updated timestamp and append one concise entry under Run Log.
- Keep the file compact and readable; do not dump raw tool logs.
Required Results File Template
# Results: gemini-sub-htb
- Module ID: `gemini-sub-htb`
- Last Updated: <ISO-8601 timestamp>
## Known Findings
- <finding-id>: <short statement>
## Evidence / Notes
- <concise supporting evidence>
## Open Questions / Next Steps
- <next validation target>
## Run Log
- <timestamp>: <what changed, added, or refined>
Path Scope Note
- Skills are maintained and read from
/root/.gemini/skills/. - The active working directory WILL NOT contain a
.geminifolder. - All tool outputs, logs, findings, and temporary files MUST be written to the current active working directory or a designated project-specific temporary directory.
- This module MUST write to
./results/Results-gemini-sub-htb.mdrelative to the current active working directory. - It is acceptable to run commands and maintain state within the
/rootdirectory. - Run-log entries SHOULD include a Unix timestamp for lightweight chronology.
chat Comments (0)
Sign in to join the discussion and leave a comment.
Skill Details
GitHub Stars
66
GitHub Forks
19
Created
Mar 2026
Last Updated
3 months ago
tools
tools system admin
Related Skills
Build your own?
Join 12,000+ developers contributing to the Claude ecosystem.
No comments yet. Be the first to share your thoughts!