A skill is a Markdown document with instructions or knowledge that an agent loads when it needs it. Skills keep the system prompt short: instead of describing every table and every rule up front, the prompt lists the available skills with a one-line description each, and the agent loads the relevant ones with the load_skill tool.
Typical skills:
query tool.A skill is a .html file with YAML frontmatter:
---
description: Deposit account (checking/savings) schemas - accounts, transactions, overdrafts, fees, ACH transfers - plus SQL guidelines and example queries
tables: DDA_Accounts, DDA_Transactions, DDA_Overdrafts, DDA_Fees, DDA_ACH_Transfers
---
The `### Schema` section below is generated at load time from the live data model.
## SQL Guidelines
- The schema represents a single customer — no need to filter by customer_id.
- Only reference fields that exist in the schema below.
## Example Queries
- "What is my total savings balance?" →
`SELECT COALESCE(SUM(balance), 0) FROM DDA_Accounts WHERE account_type = 'Savings';`
If schema generation fails, or a table is not part of the LU schema, the static body is used as is — a misconfigured skill never breaks the agent. Document reference-only tables in the body text.
LU-wide skills are the natural home for schema skills: one skill per business domain, reused by the main agent and by the sub-agent that specializes in that domain.
skills:
- dda-schema # LU-wide skill, loaded on demand
- credit-card-schema:
auto_load: true # injected into the prompt from the start
- microdb-query # shared skill
## Available Skills catalog of the system prompt. The agent calls load_skill when the request needs it. The catalog is also the allow-list: the agent cannot load a skill that is not in it.auto_load: true injects the skill body under ## Loaded Skills in the system prompt. Use it for a specialist sub-agent whose single domain schema is always needed.When the query tool is enabled and the agent has skills, the prompt tells the agent to load every skill whose description covers the data it is about to query, and to answer a cross-domain question with a single JOIN rather than one query per domain.
A sub-agent sees only the skills it declares itself. Its skill names are resolved in its parent agent's Skills/ folder first, then among the LU-wide skills. Declare in each sub-agent exactly the skills of its domain.
tables: instead of pasting DDL. The schema stays correct when the LU changes.Next article: References and Planning
A skill is a Markdown document with instructions or knowledge that an agent loads when it needs it. Skills keep the system prompt short: instead of describing every table and every rule up front, the prompt lists the available skills with a one-line description each, and the agent loads the relevant ones with the load_skill tool.
Typical skills:
query tool.A skill is a .html file with YAML frontmatter:
---
description: Deposit account (checking/savings) schemas - accounts, transactions, overdrafts, fees, ACH transfers - plus SQL guidelines and example queries
tables: DDA_Accounts, DDA_Transactions, DDA_Overdrafts, DDA_Fees, DDA_ACH_Transfers
---
The `### Schema` section below is generated at load time from the live data model.
## SQL Guidelines
- The schema represents a single customer — no need to filter by customer_id.
- Only reference fields that exist in the schema below.
## Example Queries
- "What is my total savings balance?" →
`SELECT COALESCE(SUM(balance), 0) FROM DDA_Accounts WHERE account_type = 'Savings';`
If schema generation fails, or a table is not part of the LU schema, the static body is used as is — a misconfigured skill never breaks the agent. Document reference-only tables in the body text.
LU-wide skills are the natural home for schema skills: one skill per business domain, reused by the main agent and by the sub-agent that specializes in that domain.
skills:
- dda-schema # LU-wide skill, loaded on demand
- credit-card-schema:
auto_load: true # injected into the prompt from the start
- microdb-query # shared skill
## Available Skills catalog of the system prompt. The agent calls load_skill when the request needs it. The catalog is also the allow-list: the agent cannot load a skill that is not in it.auto_load: true injects the skill body under ## Loaded Skills in the system prompt. Use it for a specialist sub-agent whose single domain schema is always needed.When the query tool is enabled and the agent has skills, the prompt tells the agent to load every skill whose description covers the data it is about to query, and to answer a cross-domain question with a single JOIN rather than one query per domain.
A sub-agent sees only the skills it declares itself. Its skill names are resolved in its parent agent's Skills/ folder first, then among the LU-wide skills. Declare in each sub-agent exactly the skills of its domain.
tables: instead of pasting DDL. The schema stays correct when the LU changes.Next article: References and Planning