maclocal-api: Skill for Codex

.codex/skills/codex-promptfoo-agentic-eval/SKILL.md

codex-promptfoo-agentic-eval is a skill for Codex from scouzi1966/maclocal-api. It costs 67 tokens per session (1,836 once invoked), scanned A, original, MIT.

A Promptfoo-based test workflow for AFM, the system being evaluated for structured output, tool calls, grammar constraints, streaming, concurrency, and agent tasks. It separates AFM bugs, model-quality problems, and test-harness bugs, and records where each test came from.

In plain words
What is it for?
Use it to choose and run evaluation areas such as tool calling, structured output, agent behavior, frameworks, or OpenCode. It supports different test profiles, serial or concurrent runs, and reviewing existing reports.
Why use it?
It provides a structured way to run or review agent tests instead of judging failures informally. It also makes clear whether a result is functional testing, model evaluation, or both.

Skill for Codex

Written for Codex: installed under .codex/. Also seen: mentions Codex; built for openclaw; mentions OpenCode.

This is scouzi1966/maclocal-api's own configuration. It tells Codex how to work on maclocal-api itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything maclocal-api configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node Scripts/feature-promptfoo-agentic/judges/classify-failures.mjs <report.json>.

Reuse

Borrowing it

Nothing to install: this file belongs to scouzi1966/maclocal-api. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/scouzi1966/maclocal-api/main/.codex/skills/codex-promptfoo-agentic-eval/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/scouzi1966/maclocal-api

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for codex-promptfoo-agentic-eval

README.md
[![agentmods](https://agentmods.dev/badge/skills/scouzi1966/maclocal-api/codex-promptfoo-agentic-eval/github.svg)](https://agentmods.dev/skills/scouzi1966/maclocal-api/codex-promptfoo-agentic-eval)
Your own site
<a href="https://agentmods.dev/skills/scouzi1966/maclocal-api/codex-promptfoo-agentic-eval"><img src="https://agentmods.dev/badge/skills/scouzi1966/maclocal-api/codex-promptfoo-agentic-eval/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for codex-promptfoo-agentic-eval

Your own site · 80×15
<a href="https://agentmods.dev/skills/scouzi1966/maclocal-api/codex-promptfoo-agentic-eval"><img src="https://agentmods.dev/badge/skills/scouzi1966/maclocal-api/codex-promptfoo-agentic-eval.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,836 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00067 $0.01836
Opus 5.5 $0.00027 $0.00734
Sonnet 5.5 $0.00013 $0.00367
Haiku 4.5 $0.00007 $0.00184

Measured 1mo ago against content hash 72ad070d6678, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

codex-promptfoo-agentic-eval scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.codex/skills/codex-promptfoo-agentic-eval/SKILL.md · 237 lines

How it starts

The opening of the file, as written. The whole thing — 237 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Promptfoo Agentic Eval

Use this skill when the user wants to run, expand, or interpret the Promptfoo agentic suite for AFM.

This skill is for two linked goals:

  • AFM functional validation
  • model-quality evaluation for agentic use

Always distinguish:

  • afm_bug
  • model_quality
  • harness_bug

Always report provenance for the suite you run:

  • afm_internal
  • primary_source
  • public_benchmark_inspired
  • synthetic

Never present a benchmark-inspired or synthetic suite as if it were a public benchmark import.

First questions to ask

Before running the suite, ask the user the minimum needed questions:

  1. Which model should be tested?
  2. Which scope should be run?
    • structured
    • structured-stress
    • toolcall
    • toolcall-quality
    • agentic
    • frameworks
    • opencode
    • all
    • one profile only: default, adaptive-xml, adaptive-xml-grammar
  3. Is the goal:
    • AFM functional QA
    • model quality
    • both
  4. Should the run stay serial/safe, or include concurrency cases?
  5. Should you only review existing reports, or also execute the harness?
  6. Should the run prefer:
    • primary-source-only cases
    • public-benchmark-inspired cases
    • synthetic representative cases
    • mixed

If the user does not specify, assume:

  • model: the repo's current primary MLX model under test
  • scope: all
  • goal: both
  • run mode: serial/safe first
  • action: execute and then review
  • provenance preference: mixed, but explicitly labeled

Working directory

Run from:

cd /Volumes/edata/codex/dev/git/maclocal-api/NEXT/maclocal-api

Main assets

Read only what is needed:

  • Scripts/feature-promptfoo-agentic/README.md
  • Scripts/feature-promptfoo-agentic/run-promptfoo-agentic.sh
  • Scripts/feature-promptfoo-agentic/providers/afm_provider.mjs
  • Scripts/feature-promptfoo-agentic/matrix/functional-matrix.yaml
  • Scripts/feature-promptfoo-agentic/matrix/failure-classification.yaml
  • docs/roadmap/promptfoo-agentic-matrix.md

Read the full file on GitHub · 237 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 237 lines · 67 tokens per session scan A 72ad070d6678

Subscribe to this mod's changes

codex-promptfoo-agentic-eval is a skill published in the GitHub repository scouzi1966/maclocal-api (348 stars, last pushed 12d ago), licensed MIT. It adds 67 tokens to every session and 1,836 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

triage-ticket

Triage an Acme support ticket - set priority, area and next step using Acme's priority matrix.

osaurus-ai/osaurus · 26 tokens

code-review

Review diffs and change sets for bugs, regressions, risks, and missing tests.

HybridAIOne/hybridclaw · 21 tokens

dotty-av-test

Run local black-box voice tests against the physical Dotty robot by playing a TTS prompt through the workstation speakers while the C920 records video and room audio. Use when testing Dotty's wake word, ASR, spoken response, expressions, or end-to-end voice behavior on this bench.

BrettKinny/dotty-stackchan · 64 tokens

load-testing

Use when designing and executing load testing, stress testing, endurance testing, spike testing, and performance testing. Includes test planning, test script creation, result analysis, and performance optimization. Based on CPE certification and performance testing best practices.

Omar-Obando/qwen-orchestrator · 50 tokens

test-automation-architecture

Use when designing test automation frameworks, implementing page object patterns, creating test reporting systems, and managing parallel test execution. Includes test strategy, test data management, and test infrastructure setup. Based on CTFL-TA and ISTQB Advanced Level certifications.

Omar-Obando/qwen-orchestrator · 55 tokens

testing-strategy

Use when designing comprehensive testing strategies, implementing test coverage, setting up CI/CD quality gates, and defining unit, integration, and E2E test approaches. Includes testing pyramid, coverage thresholds, and test automation best practices. Based on software testing certification standards and industry…

Omar-Obando/qwen-orchestrator · 59 tokens