CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

subagent-output-schema-contract

Use when spawning an agent()/workpool() subagent with an outputSchema, or a task agent whose frontmatter sets structured: true, to reduce yield retry failures by stating the exact result envelope and required fields in the prompt.

Quality

92%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

Quality

Content

92%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

The body is a tight, high-signal skill: it documents non-obvious failure modes, gives a copy-paste output-contract template with clear placement and scope rules, and closes with a Non-fix section that prevents wasted effort on impossible fixes. The only weakness is minor: a version-gated behavior note ('Since omp 18.10.3') sits in the main flow rather than a deprecated/old-patterns section and could be tightened.

DimensionReasoningScore

Conciseness

The body is lean and assumes Claude's competence — the Problem section documents genuinely non-obvious failure modes (the {"data": ...} envelope, MAX_YIELD_RETRIES=3, the 'result' label pitfall) rather than known concepts. Minor trimmable instances remain: the version-gated line 'Since omp 18.10.3...' is time-sensitive info outside a deprecated/old-patterns section, and the enumerated example field lists are slightly padded, fitting the score-4 anchor rather than a flawless 5.

4 / 5

Actionability

The Practice section supplies a copy-paste-ready contract template ('Output contract: finish by calling yield with {"data": {...}} on success...'), specifies placement (append to the task/prompt text, not just the mechanically attached schema), frequency ('applied every time an outputSchema is supplied'), and covers the nested-array case. For an instruction-only skill this is fully executable guidance covering the common cases, matching the 5 anchor.

5 / 5

Workflow Clarity

This is a simple, single-purpose prompting habit whose single action is unambiguous, and the conditional case is explicitly handled ('apply this to task() only for agents whose frontmatter sets structured: true'). Per the simple-skill exception the single action scores 5; it involves no destructive or batch operations, so no validation cap applies.

5 / 5

Progressive Disclosure

The body is under 50 lines, well-organized into Problem / Practice / Non-fix sections, and needs no external references — no references/, scripts/, or assets/ bundle exists and none is required. The under-50-line simple-skill exception applies, so well-organized sections alone merit a 5.

5 / 5

Total

19

/

20

Passed

Description

87%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

The description is a strong single-sentence trigger: it explicitly states both what to do (state the exact result envelope and required fields in the prompt) and exactly when (spawning agent()/workpool() with an outputSchema, or a structured: true task agent). It is highly distinctive with minimal conflict risk; the only gap is that natural synonyms for the trigger terms are not covered, which slightly limits keyword reach.

DimensionReasoningScore

Specificity

Names the precise targets ('agent()/workpool() subagent with an outputSchema', 'a task agent whose frontmatter sets structured: true') and a concrete action ('stating the exact result envelope and required fields in the prompt'). It goes beyond the score-3 anchor's generic 1-2 actions, but describes essentially one mechanism rather than listing multiple specific actions, so it falls short of a 5.

4 / 5

Completeness

The explicit 'Use when spawning an agent()/workpool() subagent with an outputSchema, or a task agent whose frontmatter sets structured: true' answers 'when' with concrete trigger phrases, and 'stating the exact result envelope and required fields in the prompt' clearly answers 'what'. Both are explicit and specific, matching the 5 anchor rather than the 4 anchor where the 'when' could be more explicit.

5 / 5

Trigger Term Quality

Terms like 'spawning', 'agent()', 'workpool()', 'outputSchema', 'structured: true', and 'yield retry failures' are exactly what a user writing workflow scripts would naturally say. Good keyword coverage matching the score-4 anchor, though natural synonyms such as 'structured output' or 'result schema' are missing, keeping it from comprehensive 5-level coverage.

4 / 5

Distinctiveness Conflict Risk

Triggers are tightly scoped to a clear niche (outputSchema'd subagent spawns and yield behavior), terms virtually no other skill would fire on. Minimal conflict risk, matching the 5 anchor for a distinct niche with distinct triggers.

5 / 5

Total

18

/

20

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository

phatblat/dotfiles

Path

.omp/agent/managed-skills/subagent-output-schema-contract/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.