doca common
Use this skill whenever the user is doing hands-on DOCA programming on a BlueField DPU or ConnectX NIC and needs the foundation primitives every per-library context rests on — walking the doca_ctx lifecycle, discovering doca_dev / doca_devinfo and gating on doca_*_cap_* before trusting a feature, wiring doca_mmap / doca_buf_inventory / doca_buf for zero-copy I/O across libraries, driving doca_pe for completions, or DOCA Log's two-tier (--sdk-log-level vs app-side) model. Trigger even when the us
Documentation & Preview
Skill Benchmark: doca-common
> ✅ Overall verdict: PASS — Recommended for publication
Publication Recommendation
Recommended for publication based on the completed evaluation evidence in this report.
Evaluation Metadata
- Skill:
doca-common - Evaluation date: 2026-10-12
- Evaluator version:
1.5.6 - Agents: Claude Code (
aws/anthropic/bedrock-claude-opus-4-8), Codex (openai/openai/gpt-5.5) - Tasks: 4 evaluation tasks (3 positive, 1 negative)
- Dataset digest:
sha256:9e22539842a371b035b6820995478cb465ac90fc3e65d8d974e6798810076bb7(skill-evaluator-dataset-snapshot/1) - Attempts per task: 1
- Environment:
k8s-sandbox - Tier 2 evidence: required for publication
- Tier 3 evidence: required for publication
Each task attempt ran in its own isolated sandbox pod.
What This Report Answers
The three-tier evaluation checks whether the skill:
- is safe to use;
- produces correct answers;
- is discovered and activated when needed;
- helps the agent complete the user's goal and expected workflow; and
- avoids wasted skill and tool usage.
Results at a Glance
| Measure | Claude Code (Baseline → Skill Uplift) | Codex (Baseline → Skill Uplift) | |---|---:|---:| | Overall | 95.9% — baseline ran, but no comparable score was available; uplift unavailable | 95.6% — baseline ran, but no comparable score was available; uplift unavailable | | Security | 100.0% → 100.0% (±0.0 points) | 100.0% → 100.0% (±0.0 points) | | Correctness | 55.0% → 100.0% (+45.0 points) | 85.0% → 100.0% (+15.0 points) | | Discoverability | 100.0% — baseline ran, but no comparable score was available; uplift unavailable | 91.7% — baseline ran, but no comparable score was available; uplift unavailable | | Effectiveness | 54.2% → 98.8% (+44.6 points) | 55.6% → 97.5% (+41.9 points) | | Efficiency | 81.0% — baseline ran, but no comparable score was available; uplift unavailable | 88.7% — baseline ran, but no comparable score was available; uplift unavailable |
How to read this table: baseline is the same task attempted without the target skill. Scores are rounded to one decimal; threshold-adjacent values use additional precision so their displayed band matches the verdict. Uplift is derived from those displayed scores and shown in percentage points.
Example: 47.0% → 92.0% (+45.0 points) means the skill-assisted run scored 92.0%, 45.0 percentage points above its 47.0% no-skill baseline.
A partial dimension was calculated from only the available configured signals; review the detailed report before relying on it.
Token Usage
Actual Tier 3 execution usage is reported for every observed agent/case pair and both conditions.
| Agent | Dataset case | With skill | Without skill | Delta | Change | Coverage | |---|---|---:|---:|---:|---:|---| | claude-code | All cases | 821,044 | 549,131 | +271,913 | +49.52% | skill 4/4; base 4/4 | | claude-code | doca-common.explicit-positive.v1 | 300,937 | 274,595 | +26,342 | +9.59% | skill 1/1; base 1/1 | | claude-code | doca-common.implicit-positive.v1 | 265,827 | 150,294 | +115,533 | +76.87% | skill 1/1; base 1/1 | | claude-code | doca-common.implicit-positive.v2 | 223,635 | 64,385 | +159,250 | +247.34% | skill 1/1; base 1/1 | | claude-code | doca-common.negative.v1 | 30,645 | 59,857 | -29,212 | -48.80% | skill 1/1; base 1/1 | | codex | All cases | 483,642 | 317,292 | +166,350 | +52.43% | skill 4/4; base 4/4 | | codex | doca-common.explicit-positive.v1 | 158,949 | 91,371 | +67,578 | +73.96% | skill 1/1; base 1/1 | | codex | doca-common.implicit-positive.v1 | 162,721 | 113,813 | +48,908 | +42.97% | skill 1/1; base 1/1 | | codex | doca-common.implicit-positive.v2 | 121,637 | 32,708 | +88,929 | +271.89% | skill 1/1; base 1/1 | | codex | doca-common.negative.v1 | 40,335 | 79,400 | -39,065 | -49.20% | skill 1/1; base 1/1 | | ALL AGENTS | Dataset aggregate | 1,304,686 | 866,423 | +438,263 | +50.58% | skill 8/8; base 8/8 |
Prompt tokens include cached reads, so total tokens are prompt + completion (cached is not added twice). The Efficiency score uses (prompt - cached) + completion. N/A means the relevant trajectory counters were not available; coverage is never estimated.
Tier Status
| Tier | Purpose | Status | Evidence | |---|---|---|---| | Tier 1 | Static validation | PASSED WITH OBSERVATIONS | 11 validator(s); 12 finding(s) | | Tier 2 | Semantic deduplication | PASSED WITH OBSERVATIONS | 2 validator(s); 1 finding(s) | | Tier 3 | Live agent evaluation | PASS | 2 agent(s); 4 task(s) |
Findings and Observations
<details> <summary>Show detailed findings and successful checks</summary>
- HIGH DUPLICATE/duplicate: Duplicate content found within TASKS.md:
"## test" in TASKS.md (lines 236-241) vs "## test" in TASKS.md (lines 250-254) (TASKS.md:236)
- MEDIUM QUALITY/quality_discoverability: Description uses first/second person (
skills/libs/doca-common/SKILL.md) - MEDIUM SCHEMA/folder_hierarchy: Unexpected nesting depth for general skill (
skills/libs/doca-common) - MEDIUM SECURITY/Autonomous Decision Making (EA2): Excessive Agency: without checking (
CAPABILITIES.md:43) - LOW QUALITY/quality_discoverability: Description very long (987 chars, recommend 50-150) (
skills/libs/doca-common/SKILL.md) - 8 additional finding(s) are available in the full evaluation artifacts.
</details>
Scoring Methodology
<details> <summary>Show dimension definitions, source signals, and thresholds</summary>
| Dimension | Question | Scored signals | |---|---|---| | Security | Is it safe to use? | security (100%) | | Correctness | Is the answer correct? | accuracy (100%) | | Discoverability | Was the right skill loaded when needed? | skill_execution (100%) | | Effectiveness | Did the skill help complete the task? | goal_accuracy (50%) + behavior_check (50%) | | Efficiency | Did it avoid wasted tool calls and token usage? | skill_efficiency (50%) + token_efficiency (50%) |
- Dimension bands: PASS at 50% or above; NEUTRAL from 40% to below 50%; FAIL below 40%.
- Overall Tier 3 lift: PASS at +5 points or more; FAIL at -10 points or less; values between those bands are NEUTRAL.
- Overall verdict: PASS only when every configured dimension passes for at least one supported agent. Lift is reported as diagnostic evidence and does not override this gate.
- The 50% attempt pass threshold is a separate per-task gate; it is not the dimension pass threshold.
- Effectiveness is the equal-weight mean of goal completion (
goal_accuracy) and expected workflow adherence (behavior_check). - Efficiency is 50% tool-call productivity (the backward-compatible
skill_efficiencywire id) and 50%token_efficiency. Positive-case skill routing is scored under Discoverability, not Efficiency; a negative case without a routing target is N/A. N/A sources are omitted, remaining weights are renormalized, and the dimension is marked partial.
Signals present in this run:
security(Security): unsafe operations, secret leakage, and unauthorized access.skill_execution(Skill Execution): whether the expected skill was selected, decoys were avoided, and the workflow executed.skill_efficiency(Tool Productivity): tool-call productivity (legacy wire id; routing is scored under Discoverability).accuracy(Accuracy): final-answer correctness against the reference answer.goal_accuracy(Goal Accuracy): whether the user's goal was achieved.behavior_check(Behavior Check): whether the expected workflow behavior was followed.token_efficiency(Token Efficiency): actual uncached prompt plus completion usage (50% of Efficiency).
</details>
Freshness
Regenerate this benchmark when the skill, evaluation dataset, target agent/model, evaluator version, environment, or scoring policy changes.