Skip to content

Skill format ​

Status: available in the backend: POST /api/v1/skills/validate, /import and GET /api/v1/skills/{id}/export read and write this format (Skills Engine).

A skill is stored in Phantom's database with full version history. For sharing, it is exported and imported as a single SKILL.md file: YAML front matter followed by Markdown.

Example ​

markdown
---
id: finding-validation
name: Finding validation
summary: Confirm a suspected issue with evidence before it becomes a finding.
category: finding-validation
version: 1.2.0
applies_to:
  modules: [findings, proxy]
  objects:
    - kind: finding
      status: [new, triaging]
requires_context:
  - kind: finding
requires_grants:
  - findings.read
  - http_evidence.read
compatible_with:
  - comparer.diff
  - repeater.send
depends_on:
  - id: evidence-integrity
    version: ">=1.0"
config:
  engagement:
    type: enum
    values: [bug-bounty, pentest, audit]
    default: bug-bounty
provenance:
  author: Your Name
  origin: user
  license: LicenseRef-PCL-1.0
checklist:
  - id: reproduce
    check: Does the behaviour reproduce from a clean session?
  - id: marker
    check: Is the effect tied to a unique marker you sent?
  - id: body
    check: Does the response body differ, not only the status code?
---

# Finding validation

Short core guidance comes first. Keep it under the core budget.

## Section: Timing-based issues

Sections are loaded only when needed.

Front matter ​

KeyRequiredNotes
idyeslowercase letters, digits and dashes; unique in its scope
name, summaryyessummary at most 200 characters
categoryyesa built-in category or custom
versionyessemantic version
applies_tonomodules, object kinds and their states, asset technologies
requires_contextnoobjects that must be open or selected
requires_grantsnoresource.action pairs the skill expects
compatible_withnoPhantom capability ids the skill refers to
depends_onnoother skills with version ranges
confignotyped settings: enum, bool, int, string
provenanceyesauthor, origin, license; attribution and changes when adapted from someone else's work
checklistnoordered {id, check} items

Any other key is refused: a skill cannot carry scripts, tool definitions or install steps.

Categories ​

research-methodology, authorization-and-scope, defensive-appsec, threat-modeling, secure-code-review, asset-classification, evidence-integrity, finding-validation, severity-assessment, duplicate-review, remediation, regression-verification, research-memory, reporting, custom.

What front matter may name ​

  • applies_to.modules: Phantom modules such as findings, proxy, history, repeater, reports, notes, assets.
  • applies_to.objects and requires_context: object kinds such as finding, flow, report, asset, target, note, file, each with optional status values.
  • requires_grants: grantable resource.action pairs, e.g. findings.read, testing.execute.
  • compatible_with: Phantom capabilities, e.g. comparer.diff, repeater.send, findings.update, report.validate, history.read. An unknown id is a warning.
  • depends_on: {id, version} with ranges such as >=1.0, ^1.2, ~1.2, 1.x or >=1.0, <2.0.0.

Body ​

  • Markdown only. Raw HTML is shown as text.
  • The part before the first ## Section: heading is the core, loaded when the skill is selected. Keep it short.
  • Each ## Section: <name> heading starts a section loaded on demand.
  • [[kind:id]] references to notes, files, findings, flows, reports and other objects are resolved for the reader, through the reader's permissions; [[skill:<id>]] names another skill.
  • Links may use http, https or mailto, an anchor or a relative path. Phantom never fetches them.

Limits ​

Core at most 4,000 words, each section at most 6,000, the whole skill at most 256 KiB, at most 50 checklist items and 20 dependencies.

Import ​

Imported files are validated and scanned before they are saved: the schema, the limits, references, and instructions aimed at an agent that try to change its rules. Critical findings (overriding the agent's rules, skipping approvals, hiding things from the user, sending data elsewhere, turning off safeguards) refuse the import; milder ones are kept on the version for review. Nothing in a skill can run code or change permissions. An id that already exists needs replace and a greater version. Files exported from Phantom import unchanged.