doca-firefly
Use this skill when the user is operating the DOCA Firefly Service container on BlueField — picking the four PTP configuration axes (role / profile / domain / interface), wiring the BlueField PHC + host follower + consumer workload pairing, deciding whether PTP-grade time is even needed (vs.
Install / Use
npx skills add NVIDIA/skills --skill doca-fireflyInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
OperationsSupported Platforms
Tags
Our assessment of doca-firefly
doca-firefly scores 88/100 on our quality scale, 232nd of 487 Operations skills we index (top 48%).
Its SKILL.md is 18 KB long, well organised into 8 sections and no code examples: a thorough specification that gives an agent plenty to work with.
With 3,421 GitHub stars, it is one of the more widely adopted skills in the catalogue.
Maintenance, license and trust
- The repository was last updated 5 days ago, so doca-firefly is actively maintained.
- It is released under the Apache-2.0 license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
doca-firefly compared with similar skills
All 4 of these similar skills score higher than doca-firefly; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| doca-firefly (this skill)by NVIDIA | 88 | 3.4k | 5d ago | SKILL.md |
| algorithmic-artby anthropics | 100 | 177.9k | 6d ago | SKILL.md |
| pptxby anthropics | 100 | 177.9k | 6d ago | SKILL.md |
| designby nextlevelbuilder | 100 | 130.2k | 7d ago | SKILL.md |
| ui-ux-pro-maxby nextlevelbuilder | 100 | 130.2k | 7d ago | SKILL.md |
Frequently asked questions
- How do I install doca-firefly?
- Run
npx skills add NVIDIA/skills --skill doca-firefly. The install tabs above show the steps for each supported agent. - Which AI agents does doca-firefly work with?
- It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is doca-firefly safe to use?
- It is Apache-2.0-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is doca-firefly still maintained?
- The repository was last updated 5 days ago, so doca-firefly is actively maintained.
Skill content
View source on GitHublicense: Apache-2.0 name: doca-firefly description: > Use this skill when the user is operating the DOCA Firefly Service container on BlueField — picking the four PTP configuration axes (role / profile / domain / interface), wiring the BlueField PHC + host follower + consumer workload pairing, deciding whether PTP-grade time is even needed (vs. chrony / NTP), or debugging a Firefly deployment where PTP isn't syncing or the host clock isn't following. Trigger even when the user does not explicitly mention "DOCA Firefly" or "PTP" — typical implicit phrasings include "container green but PTP never advances past LISTENING", "Firefly says synced but the host clock still drifts", "sync acquired but offset is tens of microseconds", "my Rivermax SMPTE workload needs PTP", or "is chrony good enough". Refuse and route elsewhere for installing DOCA, host-side chrony / ptp4l config bodies, PTP topology / boundary-clock design, building DOCA apps that read the disciplined PHC, or other DOCA services (DMS, Flow-Inspector, HBN) — those belong to other skills. metadata: kind: service compatibility: > BlueField-Arm-only DOCA service container; pulled from NVIDIA NGC and started under the BlueField OS container runtime. Host-side install is irrelevant. Requires a reachable PTP master (or runs as the master itself) and a PTP-aware network path; the host-side time follower (chrony / ptp4l / phc2sys reading the BlueField PHC) is also operator-owned.
DOCA Firefly Service
Subsystem inventory (Run-12 correction, verified Run-13). DOCA Firefly is NOT just "a PTP daemon." The shipped
doca_firefly.yamlexposes six PTP-stack subsystems via environment variables, each with its own*_STATE,*_CONFIG_FILE, and (where relevant)*_INTERFACE/*_DEVICEknobs (the count is six because the PTP Monitor subsystem ships an internalphc2sysmonitor client that is distinct from the standalone PHC2SYS subsystem — both ship in the same container image):
- PTP (
PTP_STATE,PTP_INTERFACE,PTP_CONFIG_FILE) — theptp4ldaemon (or master, depending on profile) that drives the BlueField PHC.- PTP Monitor (
MONITOR_STATE,MONITOR_CONFIG_FILE,MONITOR_CLIENT_TYPE,MONITOR_CLIENT_PHC2SYS_INTERFACE,MONITOR_CLIENT_CONNECTION_TIMEOUT) — the monitor server + client surface; the internalphc2sysmonitor client (MONITOR_CLIENT_TYPE=phc2sys) is a real subsystem inside Firefly, not just a host-side concern.- PHC2SYS (
PHC2SYS_STATE,PHC2SYS_ARGS,PHC2SYS_CONFIG_FILE) — the container-internalphc2sysinstance; the bundle previously framedphc2sysas host-only, which is wrong.- PPS (
PPS_STATE,PPS_DEVICE) — the Pulse-Per-Second output (with the additionalenable_while_runninganddo_nothingstates beyond plain enable/disable).- SyncE (
SYNCE_STATE,SYNCE_INTERFACE,SYNCE_CONFIG_FILE) — Synchronous Ethernet frequency distribution; orthogonal to PTP.- Firefly Servo (
SERVO_STATE,SERVO_CONFIG_FILE) — the proprietary Firefly servo loop (alternative to the upstream linuxptp servo).The valid
PROFILEvalues are exactlydefault/media/telco-l2/custom(perdoca_firefly.yamlcomments) — the agent must not invent additional values. Subsystems configured asdefined_by_profileare controlled by the activePROFILE.Configuration-override env vars follow the pattern
CONF_<SUBSYSTEM>_<section>_<key>(e.g.CONF_PTP_global_priority1,CONF_SYNCE_global_backend,CONF_MONITOR_global_telemetry_export); these are the documented surface for overriding individual config keys without shipping a full custom config file.Configuration hierarchy: the mounted Firefly config file is mandatory and owns the primary PTP axes (role, profile, domain, interface, and transport).
CONF_<SUBSYSTEM>_<section>_<key>variables are optional, documented per-key overrides of that file; they are not a second standalone configuration model.
Where to start: This skill is for operating the DOCA Firefly
Service container, not for linking against a library. Firefly is
the PTP / PHC2SYS / PPS / SyncE / Servo / Monitor stack that
drives and observes the BlueField PTP Hardware Clock (PHC); it is
not the host-side time follower, not the consumer workload, and
not a programming surface. If the user wants to deploy the
container, open TASKS.md and start at
## configure. If the question is what shape
of service is Firefly and what PTP roles / profiles does it speak,
start at CAPABILITIES.md. If DOCA is not installed
on the BlueField yet, route to
doca-setup first. If the user's
real question is "I have a Rivermax SMPTE workload and the docs say I
need PTP", the right pairing is this skill plus
doca-rmax — Firefly disciplines
the PHC; Rivermax reads the disciplined time.
Example questions this skill answers well
The CLASSES of Firefly questions this skill is built to answer, each with one worked example. The class is the load-bearing piece; the worked example is one instance.
- "Do I actually need Firefly, or is NTP / chrony good enough?" —
worked example: "my distributed app is fine on chrony today; is
there a reason to add PTP?". Answered by the PTP-vs-NTP path-
selection rule in
CAPABILITIES.md ## Safety policy- the env-prep checklist in
TASKS.md ## configure.
- the env-prep checklist in
- "What four PTP configuration axes do I have to decide before
starting the container?" — worked example: "a SMPTE ST 2110
broadcast plant that wants Firefly in slave role on the wire-side
port". Answered by the four-axis configuration table in
CAPABILITIES.md ## Capabilities and modes- the PTP-config step in
TASKS.md ## configure.
- the PTP-config step in
- "Firefly's container is running but the host's time isn't
following — what did I miss?" — worked example: "
ptp4l/ Firefly says it's locked butchronyc trackingon the host shows drift". Answered by the END-TO-END time-sync discipline inCAPABILITIES.md ## Safety policy- the host-follower step in
TASKS.md ## configure.
- the host-follower step in
- "PTP locks but the offset / jitter is way past spec — what's
wrong with the path?" — worked example: "sync acquired but offset
is in the tens of microseconds". Answered by the PTP-aware-path
rule in
CAPABILITIES.md ## Safety policy- the layered debug ladder in
TASKS.md ## debug.
- the layered debug ladder in
- "How does Firefly pair with a Rivermax SMPTE workload?" —
worked example: "SMPTE ST 2110 video sender that needs to be PTP-
locked". Answered by the Rivermax-pairing rule in
CAPABILITIES.md ## Capabilities and modes- the pairing step in
TASKS.md ## configure, which routes the Rivermax side todoca-rmaxand refuses to collapse the two services into one.
- the pairing step in
- "My Firefly container starts but PTP never reaches
SLAVE/MASTERstate — was it role, domain, profile, or interface?" — worked example: "container green but the ports-state output never advances pastLISTENING". Answered by the four-axis-mismatch rule inCAPABILITIES.md ## Error taxonomy- the layered ladder in
TASKS.md ## debug.
- the layered ladder in
Audience
This skill serves external operators and platform teams who deploy
the DOCA Firefly Service container to provide PTP-grade time
synchronization to time-sensitive workloads on BlueField + the host
behind it. Concretely: people running the Firefly container on
BlueField Arm, choosing its PTP role / profile / domain / interface
from the public Firefly guide, wiring the host-side follower (chrony
with the PHC source, or ptp4l reading the PHC) so the host clock
tracks the BlueField PHC, and validating the end-to-end discipline
before scaling a Rivermax, 5G UPF, financial-trading, or distributed-
database workload that depends on it.
It is not for NVIDIA developers contributing to Firefly itself,
and it is not a programming guide for building applications on
top of DOCA libraries (that is
doca-programming-guide
plus the matching libs/<library> skill). Firefly is a service,
not a library: the operator runs a container and configures PTP via
the documented config surface; they do not link against a
libfirefly.so to write their own program.
Path selection up front. Use Firefly when sub-microsecond, PTP-grade time precision is required on BlueField AND the host (SMPTE ST 2110 broadcast workloads layered on Rivermax, 5G UPF time requirements, distributed systems that need PTP-grade time, anything where NTP / chrony jitter is not tight enough). Do not reach for Firefly when NTP / chrony already meets the workload's time-precision budget, when no PTP-aware switching / boundary-clock infrastructure exists in the path, or when pure software-side time precision is sufficient — in those cases the correct answer is to keep the host's existing chrony / NTP setup and route the agent away from Firefly, not to deploy it speculatively.
When to load this skill
Load this skill when the user is doing hands-on Firefly deployment work on a BlueField where DOCA is already installed. Concretely:
- Deciding whether Firefly is the right answer for the user's time-precision requirement (vs. keeping NTP / chrony on the host).
- Deploying the Firefly container on BlueField Arm — choosing image source per the public DOCA Firefly Service Guide, mounting the Firefly config, and starting / stopping the container.
- Choosing the four PTP configuration axes — PTP role (master /
slave / boundary clock / transparent clock), profile (the
PROFILEenv var accepts EXACTLYdefault/media/telco-l2/customperservices/firefly/doca_firefly.yaml; these map onto industry PTP profile names:default→ IEEE 1588,media→ SMPTE 2059-2,telco-l2→ G.8275.1 only (G.8275.2 corresponds to the separatetelco-l3config, reached viacustom) — do NOT put the industry names directly into the env var), domain number, network interface — for the user's deployment. - Wiring the host-side follower so the host clock tracks the
BlueField PHC (chrony with the PHC source, or
ptp4l/phc2sysreading the PHC) — without this step the host clock does NOT follow the Firefly-disciplined PHC, regardless of how cleanly Firefly comes up. - Pairing Firefly with a time-sensitive consumer workload (Rivermax SMPTE, 5G UPF, finance, distributed databases) and validating the end-to-end discipline.
- Reading the Firefly container's logs, the PHC offset, the ports-state output, or any other documented observability surface to confirm PTP is locked.
- Debugging a Firefly deployment where the container is healthy but PTP is not syncing, or PTP is syncing but the host clock is not following, or sync is up but jitter is past spec.
Do not load this skill for general DOCA orientation, install of
DOCA itself, library-API questions, or non-PTP time topics. For
those, route via
doca-public-knowledge-map,
doca-setup, or the matching
libs/<library> skill.
What this skill provides
This is a thin loader. Substantive material lives in two companion files:
CAPABILITIES.md— Firefly's architecture (container that drives the BlueField PHC
Truncated for display — read the full file on GitHub.
Related Skills
algorithmic-art
177.9kCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems.
pptx
177.9kUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an em…
design
130.2kComprehensive design skill: brand identity, design tokens, UI styling, logo generation (55 styles, Gemini, Atlas Cloud, or MuAPI AI), corporate identity program (50 deliverables, CIP mockups), HTML presentations (Chart.js), banner design (22 styles, social/ads/web/print), icon design (15 styles, SVG…
ui-ux-pro-max
130.2kUI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
