AGENT SKILL

skill-evals

Multi-arm evaluation harness and pre-activation quality linter for AI agent skills to quantitatively measure adherence, effect, and token economy before deployment.

License 许可
MIT
最近更新
2026-11-14
Stars
★ 0
Forks
1

01 前言 Front Matter

name
skill-evals
tools
Bash, Read, Write
license
MIT
metadata
{ "repo": "https://github.com/sanjeevafk/agent-skill-evals" }
description
Multi-arm evaluation harness and pre-activation quality linter for AI agent skills to quantitatively measure adherence, effect, and token economy before deployment.

03 SKILL.md 正文

Skill Evals & Pre-Activation Quality Linter

A quantitative, multi-arm evaluation harness and pre-activation quality gate for AI agent skills (SKILL.md). Built on the research principles of Sergii Makarevych (2026) and the Poteto Verification Playbooks.

When to Activate

  • Testing any new or modified SKILL.md before promoting it to the active runtime context.
  • Benchmarking candidate skills against a length control arm to isolate prompt-length placebo gains.
  • Running pre-activation linting to enforce directive density ($\ge 1.5\text{ directives/KB}$) and detect conversational fluff.
  • Bulk auditing an active skill inventory to eliminate prompt bloaters and security vulnerabilities.

Core Directives

  • Lint Before Evaluating: Always execute python3 ~/.agents/scripts/lint_skill.py <path> as Stage 0 to abort early on low-density prose or security issues.
  • Run the 3-Arm Trial: Execute python3 ~/.agents/scripts/eval_skill.py <skill_name> --prompt "<task>" across Baseline (Arm A), Candidate (Arm B), and Length Control (Arm C).
  • Apply the Decision Matrix:
    • Adherence < 70%: Reject with REWRITE TEXT. The agent cannot parse or execute the instructions.
    • Arm B $\le$ Arm C: Reject with DROP IDEA (FOLKLORE). The skill delivers no causal lift beyond length expansion.
    • Arm B $>$ Arm C $>$ Arm A: Accept with SHIP & PIN. The skill demonstrates verified causal improvement.
  • Audit Suite Inventory: Periodically sweep ~/.gemini/config/skills with python3 ~/.agents/scripts/audit_suite.py to identify context bloaters (> 20 KB) and demote them to warehouse cold storage.

Repository

The complete standalone evaluation harness, linter CLI, and test suite are maintained in sanjeevafk/agent-skill-evals.

04 同仓库更多 Skills

sanjeevafk
sanjeevafk/agent-skills

zarr-python

Chunked N-D arrays for cloud storage (Zarr-Python 3). Compressed arrays, parallel I/O, S3/GCS via fsspec, NumPy/Dask/Xarray compatible, for large-scale scientific computing pipelines.

★ 0
sanjeevafk
sanjeevafk/agent-skills

whiteboard-diagrams

Create accurate, simple, hand-drawn whiteboard diagrams from a user's process, system, architecture, learning workflow, comparison, or causal explanation. Use when the user asks for a scribbly whiteboard visual, educational workflow graphic, hand-drawn explainer, or diagram like the bundled reference; ask one focused clarification question when the subject or relationships are missing, then generate and visually verify the final image.

★ 0
sanjeevafk
sanjeevafk/agent-skills

webapp-testing

Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.

★ 0
sanjeevafk
sanjeevafk/agent-skills

web-artifacts-builder

Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.

★ 0
sanjeevafk
sanjeevafk/agent-skills

verification-loop

A comprehensive verification system for Claude Code sessions.

★ 0
sanjeevafk
sanjeevafk/agent-skills

vercel-deploy

Deploy applications and websites to Vercel. Use when the user requests deployment actions like "deploy my app", "deploy and give me the link", "push this live", or "create a preview deployment".

★ 0