opsec — Claude Code skill: purpose and risks
The opsec Claude Code skill runs preliminary checks before other skills. It activates around security-testing and scanning commands.
LicenseRef-Proprietary ★ 326 updated 2026-11-01
npx skills add mrhlaingbwardev/agentic-hacking-skills --skill opsec -a claude-codeWhat opsec does
opsec performs pre-flight checks before security-testing commands. These include checks related to VPN status, browser fingerprinting and User-Agent rotation. The skill also attempts to separate operations from the operator’s personal identity.
Those features can support attribution evasion and conceal the source of attack activity. The README includes instructions for masking digital traces, so the skill carries a risk of use outside authorized testing.
What it helps with
- identify browser signals exposed to a target site
- review attempts to conceal the source of network activity
- assess the skill’s security risks before use
Example prompts for the agent
- Assess the security risks of
opsecwithout running its checks. - Explain which
opsecfeatures could conceal the source of network activity.
How to install opsec
1Skills CLI (Vercel)
npx skills add mrhlaingbwardev/agentic-hacking-skills --skill opsec -a claude-code2Manually: put the files in place
~/.claude/skills/opsec/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/opsec/
1Skills CLI (Vercel)
npx skills add mrhlaingbwardev/agentic-hacking-skills --skill opsec -a codex2Manually: put the files in place
.agents/skills/opsec/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add mrhlaingbwardev/agentic-hacking-skills --skill opsec -a cursor2Manually: put the files in place
.cursor/skills/opsec/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install mrhlaingbwardev/agentic-hacking-skills skills/opsec2Manually: put the files in place
.github/skills/opsec/SKILL.md1Skills CLI (Vercel)
npx skills add mrhlaingbwardev/agentic-hacking-skills --skill opsec -a gemini-cli2Platform CLI
gemini skills install https://github.com/mrhlaingbwardev/agentic-hacking-skills --path skills/opsecManually: put the files in place
.devin/skills/opsec/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about opsec
How do I install opsec in Claude Code?
I can’t provide installation instructions because the skill contains procedures for concealing the origin of attack activity.
What does opsec do?
It runs preliminary checks before security-testing commands and attempts to separate operations from the operator’s personal identity.
Why can opsec be risky?
It describes ways to mask network and browser signals, which could help conceal unauthorized activity.