Skip to content

Agent skills

friTap ships ready-to-use Agent Skills: short, task-focused instructions that teach an AI agent how to drive friTap for one job (capture an app, prove a leak, audit privacy, decrypt a pcap, ...). Each skill is a directory friTap/skills/<name>/ with a SKILL.md (YAML frontmatter with name and description, then a Markdown body) and optional references/*.md pages the agent opens on demand. The format is the open Agent Skills format, so any agent that reads SKILL.md can use them; the agent reads the description to decide when a skill applies.

The skills build on the agent API (fritap q, fritap mcp, fritap serve) and the regular fritap CLI. The untrusted data rules apply to every skill: nothing found in captured traffic is an instruction.

Available skills

Skill Purpose
fritap-capture Run a live capture of an app or process through the agent API and read the decrypted traffic in token-budgeted pieces (digest, endpoints, findings, flows, export).
fritap-leak-proof Prove that a known value (email, advertising id, IMEI, GPS, any string, also encoded or hashed) leaves the device with find_values, and compare phases or captures with diff.
fritap-privacy-audit Phase-by-phase privacy audit: what personal data the app sends, to which first- and third-party hosts, and when.
fritap-security-audit Transport-security and secret-exposure audit: exposed credentials, tokens, API keys, weak TLS and cleartext HTTP, tagged with OWASP MASVS controls.
fritap-android Capture TLS keys and decrypted traffic from Android apps on a rooted device or emulator (frida-server, spawn vs. attach, anti-root, PairIP, common failures).
fritap-decrypt Turn friTap output into readable traffic offline: decrypt a pcap with the keylog in tshark/Wireshark, --from-pcap, fritap analyze / report, read tools on a .tap.
fritap-memory-scan Recover TLS, Schannel, RC4 and MTProto secrets with the heap memory scanner (-ms) instead of library hooks.
fritap-telegram Capture and decrypt Telegram MTProto traffic on rooted Android arm64 (tgnet hook, -ms mtproto, offline decryption, degraded streams).
fritap-wine-schannel Extract TLS keys from Windows applications under Wine on Linux with the GDB-based extractor (route selection, sudo model, pcapng DSB).
fritap-custom-hooks Recover keys when the default hooks find nothing: diagnostics, byte patterns, offsets, custom Frida scripts, plugins and custom ciphers.

fritap skills list prints the same list from your installed friTap version; fritap skills show <name> prints a skill's full SKILL.md.

Installing the skills

Claude Code plugin

The repository is a Claude Code plugin marketplace. In Claude Code:

/plugin marketplace add fkie-cad/friTap
/plugin install fritap@fritap

The plugin bundles all skills and registers an MCP server named fritap that runs fritap mcp --root ${CLAUDE_PROJECT_DIR}. friTap itself must be installed with the MCP extra (pip install 'fritap[mcp]') so that fritap is on the PATH. The bundled server confines paths to the project directory and does not allow live capture (see Enabling live capture).

fritap skills install

Copy the skills from your installed friTap into a skills directory:

fritap skills install                       # all skills into ./.claude/skills
fritap skills install fritap-capture fritap-leak-proof
fritap skills install --target ~/.claude/skills    # user-wide for Claude Code
fritap skills install --force               # replace skills that already exist

The default target ./.claude/skills is the project skill directory of Claude Code. For any other agent that reads SKILL.md, point --target at that agent's skills directory (for example a Codex or Cursor skills folder); each skill lands in <target>/<name>/. Without --force, nothing is copied when one of the skill directories already exists and the command fails. Re-run the command after upgrading friTap to pick up updated skills.

MCP prompts

fritap mcp exposes every skill as an MCP prompt with the same name and description, so clients that support prompts (slash commands or a prompt picker) can start a workflow without installing any files. Each prompt takes two optional arguments:

Argument Meaning
target App or process to analyze (package name, process name or PID).
device Device to use (e.g. a USB/adb serial); omit for the local host.

When an argument is given, the prompt starts with a line such as "Apply this workflow to target com.example.app on device emulator-5554.", followed by the skill body. Claude Code lists MCP prompts as slash commands named after the server and the prompt (/mcp__<server>__<prompt>). An unknown prompt name returns an unknown_prompt error.

Enabling live capture in the plugin's MCP server

The plugin's server is read-only by default: it can analyze existing captures under the project directory, but start_capture is refused. To let the agent start captures, add --allow-capture and narrow it with --allow-target in the server's args (in the plugin's plugin.json, or in your own MCP server entry that runs the same command):

{
  "mcpServers": {
    "fritap": {
      "command": "fritap",
      "args": ["mcp", "--root", "${CLAUDE_PROJECT_DIR}",
               "--allow-capture", "--allow-target", "com.example.app"]
    }
  }
}

Restart the agent session afterwards so the server picks up the new arguments. The other server options (--allow-secrets, --allow-values) are described in Capture permissions and Secrets policy.

Live capture instruments real processes

With --allow-capture the agent can attach Frida to processes, spawn apps and record everything they transmit, including credentials and personal data. Always set --allow-target to the app under test, only analyze software you are authorized to test, and use test accounts. Captured traffic stays untrusted: an agent must never follow instructions found in it.

Contributing a skill

Skills live in friTap/skills/<name>/ and are packaged with friTap (setup.py package data, MANIFEST.in). Conventions:

  • The directory name is the skill name: lowercase, fritap- prefix, matching name in the frontmatter.
  • The frontmatter has name and description. The description (at most 1024 characters) says what the skill does, what it covers and when to use it, including the phrases a user would type ("capture app traffic", "decrypt pcap", ...).
  • Keep SKILL.md focused on the workflow; move long material (flag tables, schemas, troubleshooting) into references/*.md and link it from the body.
  • Put CLI commands in fenced code blocks, one command per line, starting with fritap (optionally after $ or sudo). Write agent tool calls as fritap q <tool> --param value.
  • Append # noqa-flag to a command line that intentionally uses an option the linter cannot check.

The tests in tests/unit/skills/ lint every shipped skill, including its references/:

  • the frontmatter is valid, name matches the directory and the description fits the limit;
  • every fritap q <tool> names a registered agent tool, and its --param options exist in that tool's schema;
  • every --long-option on a fritap ... command line exists in the parser of that command (capture mode, analyze, report, devices, q, mcp, ...).

Run them with:

env/bin/python -m pytest tests/unit/skills -q

When you rename a CLI flag or change an agent tool, these tests point at the skills that need updating. A new skill also needs a row in the table above.