scaffolding
Skill2 starsChanged 6 months agoMITView on GitHub
Template-based file generation for new agents and skills
5 other projects use a version of this.
Adopted by
Most recently taken up by
- korallis/skills-collectiontheir own version, first seen Aug 28, 2026
- OdradekAI/bundles-forgetheir own version, first seen Apr 21, 2026
- troyjthomas/ios-agent-skillstheir own version, first seen Apr 7, 2026
- renathoaz/arsyntheir own version, first seen Mar 24, 2026
- AvinashP/AgentsAtlastheir own version, first seen Mar 2, 2026
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- OdradekAI/bundles-forge★ 229same name
- korallis/skills-collection★ 18same name
- AvinashP/AgentsAtlas★ 7same name
- renathoaz/arsyn★ 2same name
- troyjthomas/ios-agent-skills★ 2same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository7 other files it gives its agents.
- AGENTS.mdAGENTS.md
- changelog-generationSkill
- documentation-refreshSkill
- examplesSkill
- lintingSkill
- release-prepSkill
- schema-validationSkill
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 6 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
6
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 25
User intent: Create a new MCP server agent with standard skills
- Distinctive: line 129
Never include real user data in generated examples
- Very specific: line 130
Use placeholder values like user-123, example@example.com
- Distinctive: line 131
Don't include actual API keys or secrets in templates
- Distinctive: line 135
Write access required for output directory
- Distinctive: line 136
Create parent directories if they don't exist
- Distinctive: line 137
Never overwrite existing files without explicit consent (overwrite: true)
“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Scaffolding
Capability
Generates AGENTS.md and SKILL.md files from Handlebars templates, creating a complete directory structure with proper frontmatter, required sections, and skill definitions for all agent types.
MCP Tools
| Tool | Input Schema | Output | Rate Limit |
scaffold_agent | z.object({ agentId: z.string(), displayName: z.string(), agentType: z.enum(['mcp','orchestrator','classifier','router','evaluator']), outputDir: z.string(), description: z.string().optional(), version: z.string().optional(), overwrite: z.boolean().optional(), skills: z.array(z.object({ skillId: z.string(), displayName: z.string(), skillType: z.enum(['tool','orchestration','evaluation','routing']), description: z.string().optional() })).optional() }) | { created: string[], skipped: string[], errors: string[] } | 30 RPM |
Usage Examples
Example 1: Scaffold a new MCP server agent
- User intent: Create a new MCP server agent with standard skills
- Tool call:
{ "name": "scaffold_agent", "arguments": { "agentId": "my-data-agent", "displayName": "My Data Agent", "agentType": "mcp", "outputDir": "./agents/my-data-agent", "description": "A data processing MCP server agent", "skills": [ { "skillId": "data-query", "displayName": "Data Query", "skillType": "tool" }, { "skillId": "data-validation", "displayName": "Data Validation", "skillType": "tool" } ] } } - Expected response:
{ "created": [ "./agents/my-data-agent/AGENTS.md", "./agents/my-data-agent/skills/data-query/skill.md", "./agents/my-data-agent/skills/data-validation/skill.md" ], "skipped": [], "errors": [] }
Example 2: Scaffold an orchestrator with dry-run
- User intent: Preview what would be generated without writing files
- Use the CLI:
agents-md-kit scaffold \ --agent-id my-orchestrator \ --display-name "My Orchestrator" \ --agent-type orchestrator \ --output-dir ./agents/my-orchestrator \ --skills routing,circuit-breaker \ --dry-run Expected output:
Lists files that would be created with whether they already exist. No files written.
Example 3: Scaffold with library API
import { generateFiles, previewGeneration } from "@reaatech/agents-markdown-scaffold";
const config = {
agentType: "mcp",
agentId: "my-agent",
displayName: "My Agent",
outputDir: "./my-agent",
overwrite: false,
skills: [
{ skillId: "echo", displayName: "Echo", skillType: "tool" },
],
};
// Dry-run preview
const preview = previewGeneration(config);
// Generate files
const result = generateFiles(config);
console.log(result.created, result.skipped, result.errors);Generated Structure
outputDir/
├── AGENTS.md # Full template with all required sections
└── skills/
└── {skill-id}/
└── skill.md # Full template with all required sectionsError Handling
Known Failure Modes
| Failure | Cause | Recovery |
| Directory exists | Output directory already has files | Skip existing files, report in skipped |
| Invalid agentId | Contains invalid characters | Return error with valid format suggestion |
| Permission denied | No write access to directory | Return error suggesting permission fix |
| Invalid agentType | Not a recognized agent type | Return error with valid type list |
Recovery Strategies
- Existing files: Skip files that already exist (or overwrite if configured)
- Invalid IDs: Suggest using lowercase alphanumeric with hyphens only
- Permission issues: Suggest running with appropriate permissions
- Unknown types: Return list of valid agent types
Security Considerations
PII Handling
- Never include real user data in generated examples
- Use placeholder values like
user-123,example@example.com - Don't include actual API keys or secrets in templates
Permissions
- Write access required for output directory
- Create parent directories if they don't exist
- Never overwrite existing files without explicit consent (overwrite: true)
Audit Logging
- Log all scaffold operations with agentId and output path
- Include request_id for tracing
- Track files created and skipped
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

