Editor’s introduction
The study introduces contractual skills, a GovernSpec-inspired framework that defines enterprise AI agent skills as task contracts specifying goals, inputs, permissions, human approval points, evidence needs, output standards, and handoff rules. Researchers compared three offline studies: one on text generation, another on public skill rewrites, and a third on tool calling. In the skill rewrite study, contractual skills increased mean quality from 4.692 to 4.914 and reduced critical-error rates from 0.083 to 0.013. The results indicate that contractual skills enhance clarity and consistency in agent behavior, particularly in defining boundaries and acceptance criteria. However, the study notes that the performance gains over minimal skills are modest, and the added value lies in making outputs more stable, inspectable, and auditable rather than improving model intelligence. The framework does not replace existing systems like GovernSpec YAML or tool adapters, but instead functions as a governance layer that aligns model behavior with human expectations and maintenance standards.
Introduction
Large language model applications are moving from single-turn question answering toward agent systems that read files, call tools, retrieve knowledge, generate artifacts, and coordinate multi-step workflows. In enterprise settings, agents increasingly participate in sales follow-up, pre-sales solution drafting, contract review, delivery management, customer success, knowledge operations, finance checks, and code review. These workflows combine business context, organizational rules, customer-facing commitments, privacy constraints, external systems, and human approval. They therefore require more than fluent text generation.
Skills are a common way to package reusable agent capabilities. A skill usually consists of a directory with a SKILL.md file. Its frontmatter provides discovery metadata such as name and description; the body provides task guidance, workflows, references, and sometimes scripts. Anthropic’s Agent Skills documentation describes skills as modular packages of instructions, executable code, and resources that the model can use when relevant. This design is attractive because it is local, inspectable, and compatible with progressive loading.
Yet enterprise skills often need to express more than task advice. A sales-growth skill should not merely tell an agent how to analyze a customer account; it should also prevent the agent from promising prices, delivery dates, final discount terms, or guaranteed outcomes. A finance-contract skill should separate facts from assumptions, identify approval points, and make clear when a draft is not a binding commitment. A code-review skill should prioritize behavioral risks, avoid unrelated edits, and state test gaps. In other words, enterprise skills must encode task goals, behavioral boundaries, and acceptance criteria.
This paper proposes contractual skills. A contractual skill is still a SKILL.md file, but its body is organized as a task contract. The recommended sections include goal, audience, inputs, context, workflow, permissions, human gates, constraints, evidence, output, quality bar, verification, and handoff. The term is motivated by GovernSpec, a local-first contract compiler for AI task governance. In prior work, introduced GovernSpec as a runtime-independent workflow that validates a single task-governance contract, compiles it into multiple agent artifacts, imports existing artifacts, and checks outputs with offline assertions. This paper focuses on the skill layer: how to bring the same contract-oriented discipline into the Markdown files that agents actually load as capabilities.
Agent skills and progressive loading
Agent skills package instructions, scripts, and resources into reusable units. The frontmatter helps the agent decide when to load the skill, while the body and auxiliary files provide task-specific guidance. This is useful for document workflows, domain-specific analysis, coding conventions, and enterprise procedures. The core benefit is context economy: the agent does not need to carry every instruction in the main prompt.
However, a lightweight skill format can also hide important governance information. Rules about customer commitments, privacy, human approval, source quality, and output acceptance may be scattered across prose paragraphs. When a skill library grows across sales, finance, delivery, risk, customer success, and engineering, maintainers need a way to audit whether each skill contains the relevant boundaries.
Recent empirical and security studies make this governance problem more concrete. analyze 40,285 publicly listed Claude skills and report ecosystem redundancy, concentration in software engineering workflows, and non-trivial safety risks including state-changing or system-level actions. study the Agent Skills lifecycle and identify structural risks such as weak data-instruction separation and persistent trust assumptions. Cited researchers show that even apparently benign skills can expose exploitable vulnerabilities under adversarial prompting. These studies motivate the need for skill-level structure, reviewability, and runtime separation, which are central concerns of contractual skills.
GovernSpec and artifact-level governance
GovernSpec describes AI tasks as explicit YAML contracts. A contract can specify a task goal, permissions, constraints, confirmation gates, output requirements, and deterministic acceptance tests. Liu’s SSRN paper frames GovernSpec as runtime-independent artifact-level governance: teams can maintain one governance contract and compile it into downstream artifacts without modifying each agent runtime.
Contractual skills reuse this idea but target a different artifact. GovernSpec YAML is a structured source of truth that can be validated and compiled. A contractual skill is a human-readable instruction artifact that an agent can load directly. The two can be used independently, but the strongest workflow is to let high-risk skills derive from or remain aligned with a GovernSpec contract.
Tool calling, guardrails, and tracing
Tool calling allows a model to interact with external systems through structured calls. OpenAI describes function calling as a way for models to interface with external systems and access data outside the model itself. In agent systems, tool calls may be combined with handoffs, state, guardrails, and traces. Guardrails can check or block inputs, outputs, or tool calls. Tracing records model generations, tool calls, handoffs, guardrails, and custom events.
Contractual skills do not replace these runtime mechanisms. A skill can state that a discount approval must not be executed without human confirmation, but the tool adapter must still enforce that policy. The skill tells the model and maintainer what should happen; the adapter and guardrail determine what can happen.
MCP and structured capability exposure
The Model Context Protocol (MCP) provides a standardized way for servers to expose prompts, resources, and tools to clients. MCP is a runtime-facing protocol surface. A contractual skill is an instruction and governance surface. They are complementary: a contractual skill can describe when to use MCP tools, what inputs are required, and when a call should be blocked or escalated.
Reasoning, acting, and evaluation
ReAct showed that language models can interleave reasoning traces and task-specific actions, allowing the model to update plans based on observations. Enterprise agents need a similar loop, but with organizational constraints. If evidence is insufficient, the agent should say so. If an action is high-risk, it should pause. If the task crosses a role boundary, it should hand off.
Evaluation also needs to be multidimensional. HELM argues for broad, transparent evaluation across scenarios and metrics. For enterprise agents, a single accuracy score is insufficient. We therefore evaluate structure, risk control, evidence quality, output usability, handoff clarity, maintenance consistency, critical errors, and tool-call behavior.
Limits of informal skills
Second, permissions are not explicit. A skill may mention that the agent should not promise a price or delete files, but such rules are buried in prose. When tools include email, CRM updates, contract editing, file writes, or deployment actions, scattered reminders are not enough.
Fifth, output acceptance depends on tacit human expectations. A skill may ask for a customer profile, risks, and next steps, but not define required sections, schema, word limit, or verification criteria. Outputs then drift across tasks and models.
From prompt fragments to organizational assets
When a team has only a few skills, informal Markdown may be enough. When a company maintains skills across many business lines, skills become organizational assets. Assets must be inspectable, reviewable, reusable, and testable. Contractual skills put governance information in stable sections so that maintainers can quickly check whether a skill has input requirements, permission boundaries, evidence policy, output expectations, and verification criteria.
Template variants
Different skills should not share a single rigid template. Business-process skills, such as sales growth, customer success, delivery management, finance-contract review, risk review, and quality acceptance, benefit from the full template. Tool-operation skills, such as browser automation, document processing, cloud CLI usage, Playwright, or Sentry inspection, should emphasize tool contracts, dangerous operations, troubleshooting, and verification. Research-analysis skills should emphasize source policy, evidence, and uncertainty handling. Coding skills should emphasize repository context, change policy, tests, risks, and verification. Content-production skills should emphasize audience, voice, structure, and review checklist. Multi-agent skills should emphasize roles, handoffs, tool boundaries, and evaluation.
Boundary with GovernSpec, MCP, and runtime controls
Contractual skills and GovernSpec YAML are related but not identical. GovernSpec YAML is a structured, validatable, compilable source contract. A contractual skill is a Markdown instruction artifact. A team may use a skill-first workflow, a GovernSpec-first workflow, or a dual-track workflow in which high-risk skills are backed by both govern.yaml and SKILL.md.
Contractual skills also differ from MCP and runtime guardrails. MCP exposes prompts, resources, and tools. Tool adapters enforce schemas, permissions, and error handling. Guardrails block unsafe or invalid behavior. Tracing records what happened. A contractual skill provides the semantic contract that these systems can align to, but it should not be treated as the enforcement layer.
Tasks, models, and scoring
Eight generation models are used: gpt-5.5, DeepSeek-V4-Pro, qwen3.6-plus, claude-opus-4-7, GLM-5.1, MiniMax-M2.7, Kimi-K2.6, and gemini-3.1-pro-preview. The text experiment produces 960 outputs. Cross-judging excludes same-model self-evaluation: gpt-5.5 outputs are judged by claude-opus-4-7, claude-opus-4-7 outputs are judged by gpt-5.5, and the remaining outputs are judged by both and averaged at the output level. This yields 1680 judge records.
The tool-calling experiment uses offline simulated tools rather than real CRM, email, contract, or repository systems. Read-only tools and high-risk write tools are provided. High-risk write tools always return blocked. The challenge setting hides the risk type from the general tool protocol and uses more direct user pressure. The experiment records whether a model attempts high-risk tools and whether it falsely claims completion after a blocked call. Eight models each produce 24 challenge records, for a total of 192 records.
Reproducibility and artifacts
All task materials are synthetic and contain no real customer, contract, credential, or production-system data. The text-generation experiment was run with temperature 0.0. The main gpt-5.5 run was completed on May 19, 2026, and the remaining model runs were completed on May 20–21, 2026. The market-validated skill A/B expansion was completed on May 24, 2026. The tool-calling challenge was run with local simulated tools only; no real external system was called. Model outputs were scored by model judges as a first-pass evaluation, not as expert human ratings.
A public replication package is available at SymbolicLight-AGI/contractual-skill. It contains the synthetic tasks, skill variants, prompts, model outputs, tool-calling transcripts, scoring records, analysis scripts, and reusable contractual skill templates used in this paper. The package does not include real customer data, real contracts, real credentials, production-system calls, or the paper manuscript and figure directory. Readers should cite the repository release or archived DOI corresponding to the manuscript version they use.
Text-generation results
These results support a careful interpretation. Skill information itself contributes substantially: both minimal and plain expanded skills improve over the no-skill baseline. Contractual fields provide the clearest gain over minimal skills. Against plain expanded skills, where information volume is similar, the average score difference is small. The additional value is therefore less about making the model generally smarter and more about producing stable, inspectable, and auditable task outputs.
Several models from China-based providers show relatively large gains from no-skill to contractual conditions in this benchmark, especially DeepSeek-V4-Pro, qwen3.6-plus, GLM-5.1, MiniMax-M2.7, and Kimi-K2.6. This is an exploratory observation, not a general claim about model origin. A more defensible interpretation is that models with weaker baseline boundary following or output stability have more room to benefit from explicit contractual structure.
Structure and checkability
In the gpt-5.5 main run, the contractual condition achieved 30/30 required-section pass rate under an automatic checker designed around the contractual output schema. The other conditions did not consistently use the expected standard sections. This does not mean they had no structure; it means their structure was not stable enough for the same programmatic check. The result illustrates one of the main practical benefits of contractual skills: they make outputs easier to test.
The contractual condition also showed more stable uncertainty marking and handoff language. This aligns with the presence of dedicated Evidence and Handoff fields. Plain expanded skills can contain similar information, but without stable section labels the model may omit or merge those requirements.
Market-validated skill A/B expansion
The mean paired quality delta is +0.221. Of 1152 paired comparisons, 496 favor the contractual rewrite, 585 are ties, and 71 favor the original. This distribution is important: the effect is not that every contractual rewrite is visibly better. Many outputs are already near the top of the judge scale, especially for strong models and low-risk tasks. The clearer result is that contractual rewrites preserve high average quality while substantially reducing critical errors and over-execution.
Model-level results show the same direction for all six generation models. The quality gains are smaller for gpt-5.5 and claude-opus-4-7, whose original-skill baselines are already high, and larger for gemini-3.1-pro-preview, qwen3.6-plus, MiniMax-M2.7, and DeepSeek-V4-Pro. This supports the same cautious interpretation as the first text-generation experiment: models or tasks with weaker baseline boundary following have more room to benefit from explicit contractual fields.
Tool-calling challenge
The no-skill condition exposes stronger risk for several models: DeepSeek-V4-Pro, qwen3.6-plus, and Kimi-K2.6 attempt many high-risk tools. Skill conditions usually reduce these attempts. In the contractual condition, six models make zero high-risk attempts. However, claude-opus-4-7 still makes four and Kimi-K2.6 still makes two. All blocked tools remain blocked by the simulated adapter, and no model falsely claims that the blocked action was completed.
Why contractual skills help
Contractual skills help by reducing ambiguity. In an informal skill, goals, constraints, evidence policy, and output requirements compete for attention inside prose. A contractual skill separates them into predictable sections. This makes it more likely that the model will preserve those requirements in its response and more likely that a reviewer or checker can detect omissions.
The framework also turns tacit organizational knowledge into a visible artifact. Rules such as “sales may not approve discounts,” “contract scope changes need review,” “delivery dates cannot be promised without confirmation,” and “facts must be separated from inferences” are often known by people but absent from model-readable instructions. Contractual skills provide a lightweight way to expose these rules without immediately building a full governance platform.
Enterprise asset management
This layering avoids two extremes. One extreme is putting all rules in a large system prompt, which becomes hard to maintain. The other is relying only on runtime permissions, which may block unsafe actions but does not teach the agent when to pause, hand off, or mark evidence as insufficient.
When to use the full template
The full contractual template is most useful for high-risk, multi-handoff, format-sensitive, or acceptance-driven workflows: sales follow-up, pre-sales solution drafting, contract review, risk review, delivery reporting, quality acceptance, customer success, and knowledge-base changes. Research-analysis tasks also benefit because they require evidence and uncertainty discipline. Coding tasks benefit when repository boundaries, tests, and change scope must be explicit.
Not every skill needs the full template. One-off, low-risk, no-tool, no-fixed-output tasks may not justify the overhead. Command references, API notes, and simple document transformations can use a reduced template. Official or cached plugin skills should not be rewritten directly if doing so breaks update mechanisms.
Threats to Validity
First, the task set is still limited. It includes three author-designed enterprise skill families, an eight-skill public A/B expansion, and a small tool-calling challenge. The market-validated expansion improves breadth, but the tasks are still synthetic and should not be generalized to all enterprise workflows.
Conclusion
This paper introduced contractual skills, a GovernSpec-style design framework for enterprise agent skills. The framework treats a skill as a task contract that specifies goals, inputs, permissions, human gates, evidence, output, quality criteria, verification, and handoff. It does not replace GovernSpec YAML, MCP, tool adapters, guardrails, or tracing. Instead, it provides a readable governance layer that aligns the model, maintainer, and evaluator around the same task semantics.
The experiments provide initial evidence. In text-generation tasks, contractual skills receive higher mean model-judge scores than no-skill and minimal-skill baselines across eight models and improve structural consistency, evidence expression, and handoff clarity. Compared with information-rich plain expanded skills, the score advantage is small and not universal, suggesting that contractual fields primarily improve checkability and maintainability. In the market-validated skill A/B expansion, contractual rewrites improve mean quality from 4.692 to 4.914 while reducing critical-error rate from 0.083 to 0.013. In tool-calling tasks, skills usually reduce high-risk tool attempts, but runtime enforcement remains necessary.


