- Home
- Skills
- Prompt & Skill Engineering
- Skill Md Loader Convention
More screenshots
Works with the AI Agents you already use
Skill Md Loader Convention
Implement a modular, on-demand loading convention for agent skills to save context and organize playbooks.
Free
Skill Md Loader Convention
Example session with this skill installed
My agent's system prompt is stuffed with every playbook it owns and it's eating the context window. Set up the SKILL.md convention: one folder per skill, name/description frontmatter, an index in the prompt, and full bodies loaded on demand through a tool call.
- Read your context and instructions
- Compiled the md loader convention
The agent's instruction library is reorganized around the SKILL.md convention. Each playbook now loads only when the task needs it.
What changed
On disk
skills/
research-digest/
SKILL.md
inbox-triage/
SKILL.md
Each SKILL.md opens with frontmatter:
---
name: research-digest
description: Produce a sourced, skimmable research digest.
---
Validation now enforced
- Names: lowercase letters, digits and hyphens, 2-41 characters.
- Description: one line, capped at 200 characters.
- Body: 20 to 20,000 characters.
Two operations instead of one big prompt
list_skills()reads only frontmatter, so the agent's system prompt carries a one-line index per assigned skill.load(name)reads the full body at run time, through the agent's ownload_skilltool call. A skill not assigned to the caller is refused.
Context cost
An agent assigned ten skills pays for ten index lines, plus the one playbook it actually loads.
Next steps
- Move each existing instruction block into its own folder with frontmatter.
- Assign skills per agent role.
- Add new skills through the approval-gated
propose_skillflow so every playbook is human-reviewed.
Connects securely to your tools. The creator never sees your data.
About this skill
A growing library of agent instructions ends up bloating the context window and drifting between versions. This skill implements a proven architecture for modular instruction loading, allowing agents to fetch specific playbooks only when needed.
What it does
- Standardizes storage by enforcing a strict folder-per-skill structure with frontmatter metadata.
- Optimizes context by providing an index-first approach where agents only load full playbooks via tool calls.
- Validates inputs using strict character limits and naming conventions to ensure system stability.
- Enforces permissions by restricting skill access to specific agent roles or employees.
- Manages lifecycle operations including safe writes, updates, and human-in-the-loop approval gates for agent-generated skills.
How it works
- Initialize the index by calling the list function to retrieve names and descriptions of assigned skills.
- Inject the index into the agent system prompt, instructing it to request the full body when a task matches a description.
- Execute the load tool when the agent identifies a relevant skill, retrieving the full markdown playbook.
- Update or create playbooks using the write tool, which enforces character caps and name patterns.
Why this beats prompting it yourself
Hard-coding every instruction into a system prompt wastes tokens and confuses the model with irrelevant rules. This skill provides a verified structural pattern that keeps agents focused. It moves the complexity of instruction management into a manageable file system that scales without degrading performance.
Use cases
- Build a modular multi-agent system where each agent only "knows" its specific domain playbooks.
- Prevent context overflow in long-running sessions by loading instructions on demand.
- Implement a human-review workflow for instructions generated or modified by AI.
- Centralize organizational playbooks across different teams like research and copywriting.
Known limitations
The frontmatter parser uses simple key-value logic rather than a full YAML engine. Playbooks are strictly capped at 20,000 characters to prevent context exhaustion.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 4 days ago
- Free with an Agensi account
Permissions
What's inside
Frequently Asked Questions
New in Prompt & Skill Engineering
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Prompt & Skill Engineering.