[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71SZR8AWM7A0FKT3STNT4GB":3,"skill-same:01M71SZR8AWM7A0FKT3STNT4GB":68},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":44,"commitSha":45,"skillDirectory":46,"forksCount":47,"repositoryHtmlUrl":48,"repositoryHomepageUrl":49,"ownerHtmlUrl":50,"ownerBlogUrl":51,"ownerDescription":52,"updatedAt":53,"install":54,"resources":67},"01M71SZR8AWM7A0FKT3STNT4GB","agent-eval-skills",null,"Evaluate an existing agent skill with Promptfoo-native behavior, routing, or role-play tests. Use when a skill needs executable evidence that its product promise works. Do not use to author the domain skill itself.","akshay5995\u002Fagent-skill-evals","akshay5995","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F13801224?v=4","01M71SZB1129JYKYQ2PWS8ZJ49","Akshay Ram Vignesh","01M71SZB23EXHHRM0S2HCDY6Y5",3,"MIT","https:\u002F\u002Fgithub.com\u002Fakshay5995\u002Fagent-skill-evals\u002Fblob\u002Fmain\u002Fskills\u002Fagent-eval-skills\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"agent eval skills","agent eval","eval skills","eval","behavior","product","native","evaluate","routing","with","author","needs","play","when","Existing","use","tests","domain","evidence","do","2026-11-10 13:02:02",false,"---\nname: agent-eval-skills\ndescription: Evaluate an existing agent skill with Promptfoo-native behavior, routing, or role-play tests. Use when a skill needs executable evidence that its product promise works. Do not use to author the domain skill itself.\n---\n\n# Agent Skill Evals\n\nBuild a tight red → evidence → green loop. Promptfoo is the runtime; `agent-skill-evals` supplies its provider, assertions, Test Pack, and static checks. Batch related reads and spend agent turns only on evidence that can change the eval.\n\n## 1. Contract\n\nRead the target `SKILL.md`, every file it points to, and existing project tests. State the smallest observable product promise and choose one branch: behavior, routing, or role-play.\n\nComplete when the promise names an observable outcome and the selected branch matches it.\n\n## 2. Scaffold\n\nDetect the repository's package manager and install `agent-skill-evals` and `promptfoo` as development dependencies when absent. Run installed binaries through that package manager:\n\n```sh\npnpm exec agent-skill-evals init --skill \u003Cpath> --adapter \u003Ccodex|claude-code|pi>\n```\n\nAdapt the command to the detected manager, such as `npx agent-skill-evals` for npm. Treat CLI help and generated files as the interface; source and built bundles are outside the setup path.\n\nConfirm the selected Codex, Claude Code, or Pi CLI is installed and authenticated before the runtime eval. Package installation supplies the eval integration, not the agent executable or its credentials. For Claude Code, require `CLAUDE_CODE_OAUTH_TOKEN` from `claude setup-token` or `ANTHROPIC_API_KEY`; the isolated runtime cannot reuse a macOS Keychain login.\n\nComplete when the generated config imports the package's public entry points and `promptfoo eval` remains the runtime command.\n\n## 3. Red\n\nAdd the smallest realistic fixture. When final output cannot prove the promise, add a deterministic verifier that fails before the agent runs. Verify stable structure and facts, not incidental prose: normalize formatting, accept grammatical variation, and reject missing, misplaced, or invented facts. Exact bytes are the contract only when the target skill promises exact bytes.\n\nWhen the promise is unrestricted semantic equivalence and the result is present in final output, use a native Promptfoo model-graded assertion under `promptfoo.assert` rather than growing a synonym list.\n\nComplete when the verifier fails on the missing behavior and passes representative valid variations without accepting an invalid result.\n\n## 4. Evidence\n\nReplace the starter TODO with one realistic case under `tests\u002F` and one `expect` list:\n\n```yaml\nskill: ..\u002Fskills\u002Ftarget-skill\ntests:\n  - prompt: Perform the realistic task.\n    fixture: ..\u002Ffixtures\u002Ftarget-skill\n    preconditions:\n      - verifier.fails: { run: .\u002Fverify.sh }\n    expect:\n      - verifier.succeeds: { run: .\u002Fverify.sh }\n      - file.changes_within: { paths: [expected-output.md] }\n      - tool.not_called: { tool: destructive_action }\n```\n\nFor behavior, explicitly invoke the target skill. For routing, add distractors and prove both `skill.loaded` and `skill.not_loaded`; availability alone is insufficient. For role-play, use `conversation.scripted_user` for deterministic dialogue or `conversation.simulated_user` when variation is the subject, and set `max_turns`.\n\nUse real observed evidence. Local HTTP, command, or MCP mocks may stand in for external systems while preserving the real boundary.\n\nComplete when every assertion traces to the product promise and the case has no unrelated requirements.\n\n## 5. Green\n\nRun the static check before the paid eval, then run Promptfoo through the detected package manager:\n\n```sh\npnpm exec agent-skill-evals check \u003Cskill> --tests \u003Ctest-pack>\npnpm exec promptfoo eval\n```\n\nOn failure, inspect `evidence.json`, the retained World, and verifier output before changing the test. Strengthen the product or its evidence boundary; preserve the target skill's intended behavior.\n\nAfter a representative runtime pass, read the recorded token usage. If the Test Pack has no budget, set a fixed ceiling from that observed run and rerun the eval; if a budget already exists, preserve it. Treat a budget failure as an efficiency regression to minimize by removing unnecessary turns and context rather than raising the ceiling by default.\n\nComplete when static checks pass, the generated runtime eval passes with an authenticated supported CLI, and the rerun stays within a fixed token ceiling. If no authenticated CLI is available, report runtime validation and budget calibration as pending rather than complete.\n\n## Product boundary\n\nKeep the public surface Promptfoo-native: package entry points, realistic examples, evidence assertions, and optional real-boundary mocks. Extend those seams when the eval needs more capability.\n","# Agent Skill Evals\n\nBuild a tight red → evidence → green loop. Promptfoo is the runtime; `agent-skill-evals` supplies its provider, assertions, Test Pack, and static checks. Batch related reads and spend agent turns only on evidence that can change the eval.\n\n## 1. Contract\n\nRead the target `SKILL.md`, every file it points to, and existing project tests. State the smallest observable product promise and choose one branch: behavior, routing, or role-play.\n\nComplete when the promise names an observable outcome and the selected branch matches it.\n\n## 2. Scaffold\n\nDetect the repository's package manager and install `agent-skill-evals` and `promptfoo` as development dependencies when absent. Run installed binaries through that package manager:\n\n```sh\npnpm exec agent-skill-evals init --skill \u003Cpath> --adapter \u003Ccodex|claude-code|pi>\n```\n\nAdapt the command to the detected manager, such as `npx agent-skill-evals` for npm. Treat CLI help and generated files as the interface; source and built bundles are outside the setup path.\n\nConfirm the selected Codex, Claude Code, or Pi CLI is installed and authenticated before the runtime eval. Package installation supplies the eval integration, not the agent executable or its credentials. For Claude Code, require `CLAUDE_CODE_OAUTH_TOKEN` from `claude setup-token` or `ANTHROPIC_API_KEY`; the isolated runtime cannot reuse a macOS Keychain login.\n\nComplete when the generated config imports the package's public entry points and `promptfoo eval` remains the runtime command.\n\n## 3. Red\n\nAdd the smallest realistic fixture. When final output cannot prove the promise, add a deterministic verifier that fails before the agent runs. Verify stable structure and facts, not incidental prose: normalize formatting, accept grammatical variation, and reject missing, misplaced, or invented facts. Exact bytes are the contract only when the target skill promises exact bytes.\n\nWhen the promise is unrestricted semantic equivalence and the result is present in final output, use a native Promptfoo model-graded assertion under `promptfoo.assert` rather than growing a synonym list.\n\nComplete when the verifier fails on the missing behavior and passes representative valid variations without accepting an invalid result.\n\n## 4. Evidence\n\nReplace the starter TODO with one realistic case under `tests\u002F` and one `expect` list:\n\n```yaml\nskill: ..\u002Fskills\u002Ftarget-skill\ntests:\n  - prompt: Perform the realistic task.\n    fixture: ..\u002Ffixtures\u002Ftarget-skill\n    preconditions:\n      - verifier.fails: { run: .\u002Fverify.sh }\n    expect:\n      - verifier.succeeds: { run: .\u002Fverify.sh }\n      - file.changes_within: { paths: [expected-output.md] }\n      - tool.not_called: { tool: destructive_action }\n```\n\nFor behavior, explicitly invoke the target skill. For routing, add distractors and prove both `skill.loaded` and `skill.not_loaded`; availability alone is insufficient. For role-play, use `conversation.scripted_user` for deterministic dialogue or `conversation.simulated_user` when variation is the subject, and set `max_turns`.\n\nUse real observed evidence. Local HTTP, command, or MCP mocks may stand in for external systems while preserving the real boundary.\n\nComplete when every assertion traces to the product promise and the case has no unrelated requirements.\n\n## 5. Green\n\nRun the static check before the paid eval, then run Promptfoo through the detected package manager:\n\n```sh\npnpm exec agent-skill-evals check \u003Cskill> --tests \u003Ctest-pack>\npnpm exec promptfoo eval\n```\n\nOn failure, inspect `evidence.json`, the retained World, and verifier output before changing the test. Strengthen the product or its evidence boundary; preserve the target skill's intended behavior.\n\nAfter a representative runtime pass, read the recorded token usage. If the Test Pack has no budget, set a fixed ceiling from that observed run and rerun the eval; if a budget already exists, preserve it. Treat a budget failure as an efficiency regression to minimize by removing unnecessary turns and context rather than raising the ceiling by default.\n\nComplete when static checks pass, the generated runtime eval passes with an authenticated supported CLI, and the rerun stays within a fixed token ceiling. If no authenticated CLI is available, report runtime validation and budget calibration as pending rather than complete.\n\n## Product boundary\n\nKeep the public surface Promptfoo-native: package entry points, realistic examples, evidence assertions, and optional real-boundary mocks. Extend those seams when the eval needs more capability.\n",{"name":5,"description":7},"main","c6c91646b29f61181c870a59eb6e2bbbe86052a8","skills\u002Fagent-eval-skills",0,"https:\u002F\u002Fgithub.com\u002Fakshay5995\u002Fagent-skill-evals","https:\u002F\u002Fakshay5995.github.io\u002Fagent-skill-evals\u002F","https:\u002F\u002Fgithub.com\u002Fakshay5995","https:\u002F\u002Fakshayram.dev\u002F","\r\n    \r\n    \r\n    \r\n    Loves Tech, Open Source Software,  Football and Dogs \r\n\r\n\r\n\r\n","2026-07-28 00:11:14",{"source":8,"skillName":5,"commands":55,"prompt":65,"zipAvailable":66},[56,59,62],{"tool":57,"command":58},"npx","npx skills add akshay5995\u002Fagent-skill-evals --skill agent-eval-skills",{"tool":60,"command":61},"bunx","bunx skills add akshay5995\u002Fagent-skill-evals --skill agent-eval-skills",{"tool":63,"command":64},"pnpm","pnpm dlx skills add akshay5995\u002Fagent-skill-evals --skill agent-eval-skills","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fakshay5995\u002Fagent-skill-evals\u002Fblob\u002Fmain\u002Fskills\u002Fagent-eval-skills\u002FSKILL.md",true,[],[69,81,94,103,114,126],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":39},"01M71SZPDPZ1S6Z141N8JECEAD","verifier-skill","Use when checking verifier wiring. Do not use for live agent behavior.","https:\u002F\u002Fgithub.com\u002Fakshay5995\u002Fagent-skill-evals\u002Fblob\u002Fmain\u002Fpackages\u002Fpromptfoo\u002Fintegration\u002Ffixtures\u002Fnon-executable-verifier\u002Fskills\u002Fverifier-skill\u002FSKILL.md",[],[76,77,78,38,34,79,32,80,23],"verifier","verifier skill","wiring","live","for",{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":39},"01M71SZM185J4BY27J0E3WX7SG","runtime-fields","Use when validating Agent Skill Evals runtime test fields. Do not use for real agent runs.","https:\u002F\u002Fgithub.com\u002Fakshay5995\u002Fagent-skill-evals\u002Fblob\u002Fmain\u002Fpackages\u002Fpromptfoo\u002Fintegration\u002Ffixtures\u002Fmalformed-runtime-fields\u002Fskills\u002Fruntime-fields\u002FSKILL.md",[],[88,89,90,91,38,92,34,93,32,80],"runtime fields","runtime","fields","evals","test","agent skill",{"skillNo":95,"name":96,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":39},"01M71SZK1DFHNCW3YM640N2CMB","missing-frontmatter","https:\u002F\u002Fgithub.com\u002Fakshay5995\u002Fagent-skill-evals\u002Fblob\u002Fmain\u002Fpackages\u002Fpromptfoo\u002Fintegration\u002Ffixtures\u002Finvalid-skill-metadata\u002Fskills\u002Fmissing-frontmatter\u002FSKILL.md",[],[100,101,102],"frontmatter","missing","missing frontmatter",{"skillNo":104,"name":105,"nameZh":6,"description":106,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":39},"01M71SZGT0H2XSM88BG1HB67Q8","fixtureless-check","Use when validating repository-level checks that do not need a copied fixture. Do not use for agent behavior.","https:\u002F\u002Fgithub.com\u002Fakshay5995\u002Fagent-skill-evals\u002Fblob\u002Fmain\u002Fpackages\u002Fpromptfoo\u002Fintegration\u002Ffixtures\u002Ffixtureless\u002Fskills\u002Ffixtureless-check\u002FSKILL.md",[],[110,111,80,112,23,32,113,38,34],"fixtureless check","check","repository","fixture",{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":39},"01M71SZF92FHTN0WT88NSH88EN","broken-routing","Helps with GitHub workflows.","https:\u002F\u002Fgithub.com\u002Fakshay5995\u002Fagent-skill-evals\u002Fblob\u002Fmain\u002Fpackages\u002Fpromptfoo\u002Fintegration\u002Ffixtures\u002Fbroken-authoring\u002Fskills\u002Fbroken-routing\u002FSKILL.md",[],[27,121,122,28,123,124,125],"broken","broken routing","github","workflows","github workflows",{"skillNo":127,"name":128,"nameZh":6,"description":129,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":130,"categories":131,"keywords":132,"publishedAt":39},"01M71SZCCTF5NE99KSC7W5D5CQ","bugfix-workflow","Use when the user reports a concrete bug in an existing application and\nasks for a code fix. Reproduce the bug, write or run a verifier that\nfails, change the smallest amount of code that makes the verifier pass,\nre-run the verifier, and explain the change.\n\nDo not use for: feature requests, code review, dependency upgrades,\narchitecture changes, or \"make this faster\" requests with no failing\ntest.","https:\u002F\u002Fgithub.com\u002Fakshay5995\u002Fagent-skill-evals\u002Fblob\u002Fmain\u002Fexamples\u002Fskills\u002Fbugfix-workflow\u002FSKILL.md",[],[133,134,135,136,38,137,80,138,139,76,140,141,142,34,33,32,143,144,145,146],"bugfix workflow","bugfix","workflow","code","feature","re","code review","fix","failing","upgrades","explain","architecture","review","reports"]